summaryrefslogtreecommitdiff
path: root/src/main/resources/sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/sql')
-rw-r--r--src/main/resources/sql/20180905/update_xmpp_protocol_id.sql2
-rw-r--r--src/main/resources/sql/20180906/update_log_report_sort.sql6
-rw-r--r--src/main/resources/sql/20180906/update_log_sort.sql3
-rw-r--r--src/main/resources/sql/20180907/update_ip_region.sql3
-rw-r--r--src/main/resources/sql/20180910/update_app_business_type.sql24
-rw-r--r--src/main/resources/sql/20180910/update_function_region_dict-20180910.sql3
-rw-r--r--src/main/resources/sql/20180910/update_function_service_dict-20180910.sql6
-rw-r--r--src/main/resources/sql/20180910/update_sys_menu-20180910.sql9
-rw-r--r--src/main/resources/sql/20180911/update_asn_menu.sql1
-rw-r--r--src/main/resources/sql/20180911/update_basic_encrypted_protocol_id.sql3
-rw-r--r--src/main/resources/sql/20180912/update_specific_service_cfg_basic_protocol.sql20
-rw-r--r--src/main/resources/sql/20180913/add_av_sign_sample_cfg.sql3
-rw-r--r--src/main/resources/sql/20180913/update-sys_menu-voip.sql11
-rw-r--r--src/main/resources/sql/20180913/update_dict_IS_SHOW_BUSINESS_TYPE.sql6
-rw-r--r--src/main/resources/sql/20180914/update_function_service_dict.sql3
-rw-r--r--src/main/resources/sql/20180917/add_sys_menu.sql534
-rw-r--r--src/main/resources/sql/20180917/update_region_dict.sql2
-rw-r--r--src/main/resources/sql/20180917/update_service_dict.sql2
-rw-r--r--src/main/resources/sql/20180917/update_statistics_tables.sql447
-rw-r--r--src/main/resources/sql/20180918/add_appFeature.sql97
-rw-r--r--src/main/resources/sql/20180918/update_avAudio.sql7
-rw-r--r--src/main/resources/sql/20180919/update_service_asn.sql2
-rw-r--r--src/main/resources/sql/20180926/update_config_group_info.sql2
-rw-r--r--src/main/resources/sql/20180926/update_dictionary_item.sql4
-rw-r--r--src/main/resources/sql/20180926/update_ip_type.sql2
-rw-r--r--src/main/resources/sql/20180926/update_service.sql3
-rw-r--r--src/main/resources/sql/20180927/update_app_region_sort.sql3
-rw-r--r--src/main/resources/sql/20180928/extend_ip_region.sql29
-rw-r--r--src/main/resources/sql/20180928/update_dict_item_info.sql5
-rw-r--r--src/main/resources/sql/20180928/update_region_ddos.sql2
-rw-r--r--src/main/resources/sql/20180928/update_region_info.sql3
-rw-r--r--src/main/resources/sql/20180928/update_voip.sql5
-rw-r--r--src/main/resources/sql/20180929/update_avAudio.sql3
-rw-r--r--src/main/resources/sql/20180929/update_http_url.sql11
-rw-r--r--src/main/resources/sql/20180930/add_ip_payload.sql4
-rw-r--r--src/main/resources/sql/20180930/update_prococol_dict.sql1
-rw-r--r--src/main/resources/sql/20181004/update_ip_port_show.sql4
-rw-r--r--src/main/resources/sql/20181006/update_ip_addr_region.sql2
-rw-r--r--src/main/resources/sql/20181010/add_bgp_message_type.sql2
-rw-r--r--src/main/resources/sql/20181010/updateKeywords-district.sql10
-rw-r--r--src/main/resources/sql/20181010/update_media_region.sql22
-rw-r--r--src/main/resources/sql/20181011/extend_region_type.sql2
-rw-r--r--src/main/resources/sql/20181015/UPDATE_PROTOCOL_DICT.sql3
-rw-r--r--src/main/resources/sql/20181015/add_dictionary.sql131
-rw-r--r--src/main/resources/sql/20181015/update_function_service.sql3
-rw-r--r--src/main/resources/sql/20181015/update_stream_region.sql1
-rw-r--r--src/main/resources/sql/20181015/update_sys_dict_area.sql20
-rw-r--r--src/main/resources/sql/20181015/update_sys_menu.sql10
-rw-r--r--src/main/resources/sql/20181016/alert_table_id_length.sql4
-rw-r--r--src/main/resources/sql/20181017/alert_table_ddos_ip_cfg.sql3
-rw-r--r--src/main/resources/sql/20181018/add_function_region_mail_address.sql9
-rw-r--r--src/main/resources/sql/20181018/add_function_service_mail_addresss.sql12
-rw-r--r--src/main/resources/sql/20181018/update_sys_menu.sql14
-rw-r--r--src/main/resources/sql/20181019/alert_service_region_dict_table.sql2
-rw-r--r--src/main/resources/sql/20181019/alert_table_website_domain_topic.sql2
-rw-r--r--src/main/resources/sql/20181019/import_service_region_Set.sql33
-rw-r--r--src/main/resources/sql/20181020/update_app_policy_region_service_.sql5
-rw-r--r--src/main/resources/sql/20181020/update_service_dict.sql2
-rw-r--r--src/main/resources/sql/20181021/add_dictionary.sql4
-rw-r--r--src/main/resources/sql/20181022/add_dictionary.sql11
-rw-r--r--src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql10
-rw-r--r--src/main/resources/sql/20181023/add_function_service_mail_addresss.sql11
-rw-r--r--src/main/resources/sql/20181025/add_asn_id.sql2
-rw-r--r--src/main/resources/sql/20181025/alert_http_url_cfg.sql1
-rw-r--r--src/main/resources/sql/20181025/del_from_sys_menu.sql1
-rw-r--r--src/main/resources/sql/20181025/update_intercept_region.sql1
-rw-r--r--src/main/resources/sql/20181026/add_asn_ip_import_dict.sql3
-rw-r--r--src/main/resources/sql/20181026/add_system_dict.sql206
-rw-r--r--src/main/resources/sql/20181026/create_cfg_operation_log_table.sql31
-rw-r--r--src/main/resources/sql/20181026/update_region_dict.sql2
-rw-r--r--src/main/resources/sql/20181026/update_service_dict.sql2
-rw-r--r--src/main/resources/sql/20181030/add_desc_policy_group_info.sql1
-rw-r--r--src/main/resources/sql/20181030/create_table_group_area_info.sql32
-rw-r--r--src/main/resources/sql/20181030/update_ans_ip_region.sql2
-rw-r--r--src/main/resources/sql/20181030/update_region.sql38
-rw-r--r--src/main/resources/sql/20181030/update_service_dict.sql2
-rw-r--r--src/main/resources/sql/20181101/alert_proc_config_and_request.sql354
-rw-r--r--src/main/resources/sql/20181101/update_dictionary_dict.sql18
-rw-r--r--src/main/resources/sql/20181102/update_service_dict.sql20
-rw-r--r--src/main/resources/sql/20181105/alert_pxy_obj_file.sql4
-rw-r--r--src/main/resources/sql/20181105/change_asn_no_range.sql2
-rw-r--r--src/main/resources/sql/20181105/update_region_dict.sql2
-rw-r--r--src/main/resources/sql/20181105/update_region_service_dict.sql2
-rw-r--r--src/main/resources/sql/20181107/update_sys_menu.sql37
-rw-r--r--src/main/resources/sql/20181108/add_pxy_obj_table.sql87
-rw-r--r--src/main/resources/sql/20181109/update_specific_service_cfg_data.sql2
-rw-r--r--src/main/resources/sql/20181112/add_cache_policy121
-rw-r--r--src/main/resources/sql/20181112/update_region_service_dict.sql3
-rw-r--r--src/main/resources/sql/20181112/update_sys_menu.sql4
-rw-r--r--src/main/resources/sql/20181113/update_rate_limit_dict_data.sql10
-rw-r--r--src/main/resources/sql/20181114/code_app_dic.sql680
-rw-r--r--src/main/resources/sql/20181119/code_browser_type_dic.sql61
-rw-r--r--src/main/resources/sql/20181119/code_os_type_dic.sql49
-rw-r--r--src/main/resources/sql/20181119/code_web_service_dic.sql265
-rw-r--r--src/main/resources/sql/20181120/add_data_dict.sql6
-rw-r--r--src/main/resources/sql/20181120/add_region_dict.sql2
-rw-r--r--src/main/resources/sql/20181120/add_user_manage.sql22
-rw-r--r--src/main/resources/sql/20181120/create_user_ip_cfg.sql46
-rw-r--r--src/main/resources/sql/20181120/update_menu_help_url12
-rw-r--r--src/main/resources/sql/20181122/alter_asn_ip_cfg_asn_no.sql2
-rw-r--r--src/main/resources/sql/20181124/add_sys_dict_of_Cfgsync13
-rw-r--r--src/main/resources/sql/20181124/alter_complex_keyword_cfg1
-rw-r--r--src/main/resources/sql/20181126/alter_ddos_ip_cfg_doLog.sql1
-rw-r--r--src/main/resources/sql/20181126/insert_app_ratelimit_dict.sql10
-rw-r--r--src/main/resources/sql/20181126/update_function_region_dict.sql16
-rw-r--r--src/main/resources/sql/20181129/add_ip_reuse_addr_pool.sql39
-rw-r--r--src/main/resources/sql/20181130/update_code_app_dic.sql727
-rw-r--r--src/main/resources/sql/20181130/update_config_sync_data8
-rw-r--r--src/main/resources/sql/20181201/update_app_behavior_dic.sql6
-rw-r--r--src/main/resources/sql/20181201/update_code_protocol_type_dic.sql3
-rw-r--r--src/main/resources/sql/20181201/update_function_region_dict.sql6
-rw-r--r--src/main/resources/sql/20181201/update_ip_reuse_addr_pool.sql2
-rw-r--r--src/main/resources/sql/20181201/update_website_domain_topic.sql2
-rw-r--r--src/main/resources/sql/20181203/add_sys_data_dictionary_name.sql12
-rw-r--r--src/main/resources/sql/20181203/update_function_region_dict.sql10
-rw-r--r--src/main/resources/sql/20181205/update_ip_reuse_policy_cfg.sql1
-rw-r--r--src/main/resources/sql/20181206/update_function_region_dict.sql5
-rw-r--r--src/main/resources/sql/20181207/add_ip_reuse_dnat_policy.sql45
-rw-r--r--src/main/resources/sql/20181207/insert_sys_dict_Data.sql15
-rw-r--r--src/main/resources/sql/20181207/update_function_region_dict.sql8
-rw-r--r--src/main/resources/sql/20181207/update_sys_menu_data.sql11
-rw-r--r--src/main/resources/sql/20181208/update_menu_and_function_dict.sql10
-rw-r--r--src/main/resources/sql/20181208/update_statistics_table_data.sql1
-rw-r--r--src/main/resources/sql/20181208/update_voip_regioncode_dict.sql6
-rw-r--r--src/main/resources/sql/about_asn.sql60
-rw-r--r--src/main/resources/sql/add_app_topic_domain_cfg_add_column20180831.sql2
-rw-r--r--src/main/resources/sql/add_function_region.sql25
-rw-r--r--src/main/resources/sql/add_function_region_303.sql1
-rw-r--r--src/main/resources/sql/add_function_region_dict_columns.sql7
-rw-r--r--src/main/resources/sql/add_function_service.sql9
-rw-r--r--src/main/resources/sql/add_intercepter_ratelimit_and_replace.sql26
-rw-r--r--src/main/resources/sql/add_intercepter_whitelist_service.sql11
-rw-r--r--src/main/resources/sql/add_pxy_obj_keyring.sql31
-rw-r--r--src/main/resources/sql/add_region_sort.sql8
-rw-r--r--src/main/resources/sql/add_spec_add_flag.sql1
-rw-r--r--src/main/resources/sql/alter_ratelimit_varchar.sql10
-rw-r--r--src/main/resources/sql/app_layer_header_cfg.sql60
-rw-r--r--src/main/resources/sql/app_ssl_cert_cfg.sql60
-rw-r--r--src/main/resources/sql/code_dic.sql944
-rw-r--r--src/main/resources/sql/function_region_dict_add_colunm.sql12
-rw-r--r--src/main/resources/sql/function_service_dict_add_colunm.sql3
-rw-r--r--src/main/resources/sql/p2p_hash_cfg.sql55
-rw-r--r--src/main/resources/sql/p2p_keyword_cfg.sql55
-rw-r--r--src/main/resources/sql/statisticsSql.sql231
-rw-r--r--src/main/resources/sql/truncate_tables.sql66
-rw-r--r--src/main/resources/sql/updata_request_info_20180231.sql2
-rw-r--r--src/main/resources/sql/update_attack_type_dict.sql12
-rw-r--r--src/main/resources/sql/update_cfg_index_info-20180820.sql7
-rw-r--r--src/main/resources/sql/update_dict_basic_protocol_encrypted_tunnel_behavior.sql11
-rw-r--r--src/main/resources/sql/update_function_region_dict.sql2
-rw-r--r--src/main/resources/sql/update_function_region_dict_data.sql83
-rw-r--r--src/main/resources/sql/update_int_yes_no.sql1
-rw-r--r--src/main/resources/sql/update_intercepter_whitelist_service_id.sql2
-rw-r--r--src/main/resources/sql/update_ip_addr.sql2
-rw-r--r--src/main/resources/sql/update_ip_domain_ratelimit_invalid.sql2
-rw-r--r--src/main/resources/sql/update_policy_group_auto_increment.sql2
-rw-r--r--src/main/resources/sql/update_protocol_id.sql2
-rw-r--r--src/main/resources/sql/update_redirect_code_dict_order.sql2
-rw-r--r--src/main/resources/sql/update_specific_service_cfg_add_column.sql1
-rw-r--r--src/main/resources/sql/update_steam_items.sql3
-rw-r--r--src/main/resources/sql/update_video_spell_error.sql2
-rw-r--r--src/main/resources/sql/update_website_domain_topic.sql2
-rw-r--r--src/main/resources/sql/字典修改记录.txt12
163 files changed, 6523 insertions, 0 deletions
diff --git a/src/main/resources/sql/20180905/update_xmpp_protocol_id.sql b/src/main/resources/sql/20180905/update_xmpp_protocol_id.sql
new file mode 100644
index 0000000..66ec888
--- /dev/null
+++ b/src/main/resources/sql/20180905/update_xmpp_protocol_id.sql
@@ -0,0 +1,2 @@
+#xmpp的protocol_id由18改为17,与文档一致
+UPDATE function_service_dict SET protocol_id=17 WHERE service_id IN(30,142); \ No newline at end of file
diff --git a/src/main/resources/sql/20180906/update_log_report_sort.sql b/src/main/resources/sql/20180906/update_log_report_sort.sql
new file mode 100644
index 0000000..1870f03
--- /dev/null
+++ b/src/main/resources/sql/20180906/update_log_report_sort.sql
@@ -0,0 +1,6 @@
+ #更改协议菜单跟 anti ddos菜单的顺序
+ UPDATE sys_menu SET sort = 10 WHERE id = 943;
+ #dns菜单从website移动到文本下
+ UPDATE sys_menu SET parent_id = 944, parent_ids = '0,1,780,944,', sort = 40 WHERE id = 786;
+ #修改voip ip菜单国际化
+ UPDATE sys_menu SET CODE='av_voip_ip_control', NAME = 'VoIP IP 管控' WHERE id =975; \ No newline at end of file
diff --git a/src/main/resources/sql/20180906/update_log_sort.sql b/src/main/resources/sql/20180906/update_log_sort.sql
new file mode 100644
index 0000000..06c50c2
--- /dev/null
+++ b/src/main/resources/sql/20180906/update_log_sort.sql
@@ -0,0 +1,3 @@
+ #调整日志音视频url日志,图片url日志菜单的顺序
+ UPDATE sys_menu SET sort = 90 WHERE id = 901;
+ UPDATE sys_menu SET sort = 120 WHERE id = 895; \ No newline at end of file
diff --git a/src/main/resources/sql/20180907/update_ip_region.sql b/src/main/resources/sql/20180907/update_ip_region.sql
new file mode 100644
index 0000000..ca5bfdf
--- /dev/null
+++ b/src/main/resources/sql/20180907/update_ip_region.sql
@@ -0,0 +1,3 @@
+UPDATE function_region_dict SET CONFIG_DIRECTION='0',config_protocol='0' WHERE function_id=300;
+UPDATE function_region_dict SET config_ip_type='4,6',config_port_pattern='1',config_direction='0',config_protocol='0',config_ip_port_show='2' WHERE function_id=401;
+UPDATE function_region_dict SET region_type=1, config_ip_type='4,6',config_port_pattern='1',config_direction='0',config_protocol='0',config_ip_port_show='1' WHERE function_id=406; \ No newline at end of file
diff --git a/src/main/resources/sql/20180910/update_app_business_type.sql b/src/main/resources/sql/20180910/update_app_business_type.sql
new file mode 100644
index 0000000..7850b1f
--- /dev/null
+++ b/src/main/resources/sql/20180910/update_app_business_type.sql
@@ -0,0 +1,24 @@
+#删除旧的字典
+DELETE FROM sys_data_dictionary_item WHERE dictionary_id=(SELECT id FROM sys_data_dictionary_name WHERE mark='APP_BUSINESS_TYPE');
+#添加新的字典 dictionary_id需要根据查询结果替换
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(2,'IM','通信',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(4,'Web','web',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(10,'Media','多媒体如youtube',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(14,'SocilNetwork','社交网络',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(15,'ApplicationMarket','软件更新,应用商城',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(17,'Browser','浏览器',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(20,'VPN','',0,1,1,105);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(268435455,'Unspecified','',0,1,1,105);
+#删除旧的字典
+DELETE FROM sys_data_dictionary_item WHERE dictionary_id=(SELECT id FROM sys_data_dictionary_name WHERE mark='BASIC_PROTOCOL_BUSINESS_TYPE');
+#添加新的字典 dictionary_id需要根据查询结果替换
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(101,'Communication traffic','通信流量',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(102,'EncryptedTraffic','加密流量',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(103,'Tunnel Traffic','隧道流量',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(104,'Web','web',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(105,'DataTransfer','数据传输 如迅雷',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(106,'Email','邮箱',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(107,'Network','网络控制 代理',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(108,'Procy','',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(109,'RemoteAccess','teamviewer',0,1,1,106);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(268435455,'Unspecified','',0,1,1,106); \ No newline at end of file
diff --git a/src/main/resources/sql/20180910/update_function_region_dict-20180910.sql b/src/main/resources/sql/20180910/update_function_region_dict-20180910.sql
new file mode 100644
index 0000000..ce75637
--- /dev/null
+++ b/src/main/resources/sql/20180910/update_function_region_dict-20180910.sql
@@ -0,0 +1,3 @@
+INSERT INTO `function_region_dict` VALUES ('', '', '', '', '', '196', '630', '1', 'MM_SPEAKER_RECOGNIZATION', null, '说话人识别配置', '1', null, null, null, null, '2', '5', null, null, null, null, null, null, '1');
+INSERT INTO `function_region_dict` VALUES ('', '', '', '', '', '197', '631', '1', 'MM_LOGO_DETECTION', null, '台标识别配置', '1', null, null, null, null, '2', '5', null, null, null, null, null, null, '1');
+INSERT INTO `function_region_dict` VALUES ('', '', '', '', '', '198', '632', '1', 'MM_FACE_RECOGNIZATION', null, '人脸识别配置', '1', null, null, null, null, '2', '5', null, null, null, null, null, null, '1');
diff --git a/src/main/resources/sql/20180910/update_function_service_dict-20180910.sql b/src/main/resources/sql/20180910/update_function_service_dict-20180910.sql
new file mode 100644
index 0000000..c20bc72
--- /dev/null
+++ b/src/main/resources/sql/20180910/update_function_service_dict-20180910.sql
@@ -0,0 +1,6 @@
+INSERT INTO `function_service_dict` VALUES ('121', '630', '0', '1', 'reject', '268', 'mm_speaker_recognization_reject', null, '1', null, null, null, null, '');
+INSERT INTO `function_service_dict` VALUES ('122', '630', '0', '16', 'monit', '396', 'mm_speaker_recognization_monit', null, '1', null, null, null, null, '');
+INSERT INTO `function_service_dict` VALUES ('123', '631', '0', '1', 'monit', '397', 'mm_logo_detection_monit', null, '1', null, null, null, null, '');
+INSERT INTO `function_service_dict` VALUES ('124', '631', '0', '16', 'reject', '269', 'mm_logo_detection_reject', null, '1', null, null, null, null, '');
+INSERT INTO `function_service_dict` VALUES ('125', '632', '0', '1', 'monit', '398', 'mm_face_recognization_monit', null, '1', null, null, null, null, '');
+INSERT INTO `function_service_dict` VALUES ('126', '632', '0', '16', 'reject', '270', 'mm_face_recognization_reject', null, '1', null, null, null, null, '');
diff --git a/src/main/resources/sql/20180910/update_sys_menu-20180910.sql b/src/main/resources/sql/20180910/update_sys_menu-20180910.sql
new file mode 100644
index 0000000..bf7b815
--- /dev/null
+++ b/src/main/resources/sql/20180910/update_sys_menu-20180910.sql
@@ -0,0 +1,9 @@
+INSERT INTO `sys_menu` VALUES ('1056', '932', '0,1,86,932,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '85', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 18:56:37', '1', '2018-09-10 14:24:05', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1058', '932', '0,1,86,932,', 'MM_LOGO_DETECTION', '台标识别', '86', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 19:01:25', '1', '2018-09-10 14:25:01', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1059', '932', '0,1,86,932,', 'MM_FACE_RECOGNIZATION', '人脸识别', '87', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 19:03:54', '1', '2018-09-10 14:25:17', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1060', '935', '0,1,150,935,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '85', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:17:32', '1', '2018-09-10 14:25:59', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1061', '935', '0,1,150,935,', 'MM_LOGO_DETECTION', '台标识别', '86', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:23:27', '1', '2018-09-10 14:23:27', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1062', '935', '0,1,150,935,', 'MM_FACE_RECOGNIZATION', '人脸识别', '87', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avSignSample:confirm', '1', '2018-09-10 14:27:13', '1', '2018-09-10 14:27:13', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1063', '938', '0,1,151,938,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '153', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:28:46', '1', '2018-09-10 14:29:24', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1064', '938', '0,1,151,938,', 'MM_LOGO_DETECTION', '台标识别', '154', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:30:27', '1', '2018-09-10 14:30:27', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1065', '938', '0,1,151,938,', 'MM_FACE_RECOGNIZATION', '人脸识别', '155', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '632');
diff --git a/src/main/resources/sql/20180911/update_asn_menu.sql b/src/main/resources/sql/20180911/update_asn_menu.sql
new file mode 100644
index 0000000..b8a68b5
--- /dev/null
+++ b/src/main/resources/sql/20180911/update_asn_menu.sql
@@ -0,0 +1 @@
+UPDATE sys_menu SET CODE='ASN' WHERE CODE='asn_policy' \ No newline at end of file
diff --git a/src/main/resources/sql/20180911/update_basic_encrypted_protocol_id.sql b/src/main/resources/sql/20180911/update_basic_encrypted_protocol_id.sql
new file mode 100644
index 0000000..197a70a
--- /dev/null
+++ b/src/main/resources/sql/20180911/update_basic_encrypted_protocol_id.sql
@@ -0,0 +1,3 @@
+#基础协议,加密隧道行为 protocol_id修改与app一致
+UPDATE function_service_dict SET protocol_id=21 WHERE function_id=407
+UPDATE function_service_dict SET protocol_id=21 WHERE function_id=408 \ No newline at end of file
diff --git a/src/main/resources/sql/20180912/update_specific_service_cfg_basic_protocol.sql b/src/main/resources/sql/20180912/update_specific_service_cfg_basic_protocol.sql
new file mode 100644
index 0000000..d78cc3d
--- /dev/null
+++ b/src/main/resources/sql/20180912/update_specific_service_cfg_basic_protocol.sql
@@ -0,0 +1,20 @@
+delete from specific_service_cfg where cfg_type=3;
+INSERT INTO `specific_service_cfg` VALUES (65, 0, 'Beyond The Range Of Protocol', '', 1, '2018-8-24 11:04:31', 0, 0, 109, 3, 'basic_1', NULL);
+INSERT INTO `specific_service_cfg` VALUES (71, 6, 'GRE', '', 1, '2018-9-10 15:41:12', 0, 0, 115, 3, '107', NULL);
+INSERT INTO `specific_service_cfg` VALUES (73, 8, 'HTTPS', '', 1, '2018-9-10 15:41:47', 0, 0, 117, 3, '104', NULL);
+INSERT INTO `specific_service_cfg` VALUES (74, 9, 'ICMP', '', 1, '2018-9-10 15:42:03', 0, 0, 118, 3, '107', NULL);
+INSERT INTO `specific_service_cfg` VALUES (77, 12, 'IMAPS', '', 1, '2018-9-10 15:43:13', 0, 0, 121, 3, '106', NULL);
+INSERT INTO `specific_service_cfg` VALUES (81, 16, 'NTP', '', 1, '2018-9-10 15:45:37', 0, 0, 125, 3, '112', NULL);
+INSERT INTO `specific_service_cfg` VALUES (83, 18, 'POP3 SSL', '', 1, '2018-9-10 15:46:22', 0, 0, 127, 3, '106', NULL);
+INSERT INTO `specific_service_cfg` VALUES (85, 20, 'QUIC', '', 1, '2018-9-10 15:50:33', 0, 0, 129, 3, '104', NULL);
+INSERT INTO `specific_service_cfg` VALUES (87, 22, 'SMB', '', 1, '2018-9-10 15:52:45', 0, 0, 131, 3, '112', NULL);
+INSERT INTO `specific_service_cfg` VALUES (89, 24, 'SMTPS', '', 1, '2018-9-10 15:53:29', 0, 0, 133, 3, '106', NULL);
+INSERT INTO `specific_service_cfg` VALUES (90, 25, 'SPDY', 'google tcp', 1, '2018-9-10 15:53:58', 0, 0, 134, 3, '104', NULL);
+INSERT INTO `specific_service_cfg` VALUES (91, 28, 'SSH', '', 1, '2018-9-10 15:54:34', 0, 0, 135, 3, '109', NULL);
+INSERT INTO `specific_service_cfg` VALUES (94, 268435455, 'Unspecified', '', 1, '2018-8-28 18:08:09', 0, 0, 138, 3, '268435455', NULL);
+INSERT INTO `specific_service_cfg` VALUES (296, 30, 'SOCKS', '', 1, '2018-9-12 17:28:43', 0, 0, 200, 3, '108', NULL);
+INSERT INTO `specific_service_cfg` VALUES (297, 5, 'FTPS', '', 1, '2018-9-12 17:30:30', 0, 0, 201, 3, '105', NULL);
+INSERT INTO `specific_service_cfg` VALUES (298, 10, 'IKE', '', 1, '2018-9-12 17:32:19', 0, 0, 202, 3, '102', NULL);
+INSERT INTO `specific_service_cfg` VALUES (299, 13, 'IPSEC', '', 1, '2018-9-12 17:33:19', 0, 0, 203, 3, '102', NULL);
+INSERT INTO `specific_service_cfg` VALUES (300, 15, 'L2TP', '', 1, '2018-9-12 17:34:58', 0, 0, 204, 3, '103', NULL);
+INSERT INTO `specific_service_cfg` VALUES (301, 19, 'PPTP', '', 1, '2018-9-12 17:36:17', 0, 0, 205, 3, '103', NULL);
diff --git a/src/main/resources/sql/20180913/add_av_sign_sample_cfg.sql b/src/main/resources/sql/20180913/add_av_sign_sample_cfg.sql
new file mode 100644
index 0000000..e9fb472
--- /dev/null
+++ b/src/main/resources/sql/20180913/add_av_sign_sample_cfg.sql
@@ -0,0 +1,3 @@
+
+-- ------视频场在数据库预置一条compileId为0数据-------------------
+INSERT INTO `av_sign_sample_cfg` VALUES ('10022', '1', '1', '0', '0', '16', '1', null, '0', '2018-09-06 15:56:53', null, null, '158', '2018-09-13 16:43:54', '266', '0', '0', '0', '0', '0', '0', '0', '33', '0', '0');
diff --git a/src/main/resources/sql/20180913/update-sys_menu-voip.sql b/src/main/resources/sql/20180913/update-sys_menu-voip.sql
new file mode 100644
index 0000000..be7765b
--- /dev/null
+++ b/src/main/resources/sql/20180913/update-sys_menu-voip.sql
@@ -0,0 +1,11 @@
+UPDATE sys_menu set permission='avVoipIp:config',href='/ntc/av/voipList' where id=629;
+UPDATE sys_menu set permission='avVoipAccount:config',href='/ntc/av/voipAccountList' where id=630;
+UPDATE sys_menu set permission='avVoipIp:confirm',href='/ntc/av/voipList' where id=662;
+UPDATE sys_menu set permission='avVoipAccount:confirm',href='/ntc/av/voipAccountList' where id=663;
+UPDATE sys_menu set permission='avVoipIp:audit',href='/ntc/av/voipList' where id=832;
+UPDATE sys_menu set permission='avVoipAccount:audit',href='/ntc/av/voipAccountList' where id=833;
+#修改来函和专项权限标识
+update sys_menu set permission='cfg:requestInfo:confirm',name='审核',code='confirm' where id=222;
+update sys_menu set permission='cfg:requestInfo:config',name='操作',code='config' where id=221;
+update sys_menu set permission='basics:taskInfo:config',name='操作',code='config' where id=223;
+update sys_menu set permission='basics:taskInfo:confirm',name='审核',code='confirm' where id=224; \ No newline at end of file
diff --git a/src/main/resources/sql/20180913/update_dict_IS_SHOW_BUSINESS_TYPE.sql b/src/main/resources/sql/20180913/update_dict_IS_SHOW_BUSINESS_TYPE.sql
new file mode 100644
index 0000000..b5d69c6
--- /dev/null
+++ b/src/main/resources/sql/20180913/update_dict_IS_SHOW_BUSINESS_TYPE.sql
@@ -0,0 +1,6 @@
+#先插入字典名字
+INSERT INTO sys_data_dictionary_name (module_name,mark,remark,revision,create_time,modify_time,STATUS) VALUES ('app,基础协议是否展示业务类型','IS_SHOW_BUSINESS_TYPE','','',NOW(),NOW(),1);
+#再查询字典的id
+SELECT * FROM sys_data_dictionary_name WHERE mark='IS_SHOW_BUSINESS_TYPE';
+#添加字典值
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(1,'yes_no','是否',0,1,1,113)
diff --git a/src/main/resources/sql/20180914/update_function_service_dict.sql b/src/main/resources/sql/20180914/update_function_service_dict.sql
new file mode 100644
index 0000000..e7989c2
--- /dev/null
+++ b/src/main/resources/sql/20180914/update_function_service_dict.sql
@@ -0,0 +1,3 @@
+#修改人脸识别阻断和监测的serviceId
+UPDATE `function_service_dict` SET `service_id`='268' , `action`='16' WHERE `dict_id`='121';
+UPDATE `function_service_dict` SET `service_id`='396' , `action`='1' WHERE `dict_id`='122'; \ No newline at end of file
diff --git a/src/main/resources/sql/20180917/add_sys_menu.sql b/src/main/resources/sql/20180917/add_sys_menu.sql
new file mode 100644
index 0000000..fa64877
--- /dev/null
+++ b/src/main/resources/sql/20180917/add_sys_menu.sql
@@ -0,0 +1,534 @@
+INSERT INTO `sys_menu` VALUES ('1', '0', '0,', 'funMenu', '功能菜单', '0', null, null, null, '1', null, '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('2', '1', '0,1,', 'sysManage', '系统设置', '5000', null, null, 'icon-cogs', '1', null, '1', '2013-05-27 08:00:00', '1', '2015-11-22 21:07:28', null, '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('3', '2', '0,1,2,', 'sysAuthor', '系统授权', '4201', '', '', 'icon-check ', '1', '', '1', '2013-05-27 08:00:00', '1', '2018-04-16 15:22:09', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('4', '3', '0,1,2,3,', 'menuManage', '菜单管理', '4202', '/sys/menu', null, 'icon-list-alt', '1', null, '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('5', '4', '0,1,2,3,4,', 'show', '查看', '30', null, null, null, '0', 'sys:menu:view', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('6', '4', '0,1,2,3,4,', 'edit', '修改', '40', null, null, null, '0', 'sys:menu:edit', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('7', '3', '0,1,2,3,', 'roleManage', '角色管理', '4203', '/sys/role/', null, 'icon-lock', '1', null, '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('8', '7', '0,1,2,3,7,', 'show', '查看', '30', null, null, null, '0', 'sys:role:view', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('9', '7', '0,1,2,3,7,', 'edit', '修改', '40', null, null, null, '0', 'sys:role:edit', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('10', '13', '0,1,2,13,', 'dictManage', '字典管理', '4104', '/sys/dict/', '', 'icon-th-list', '1', '', '1', '2013-05-27 08:00:00', '1', '2015-11-19 10:23:46', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('11', '10', '0,1,2,13,10,', 'show', '查看', '30', null, null, null, '0', 'sys:dict:view', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('12', '10', '0,1,2,13,10,', 'edit', '修改', '40', null, null, null, '0', 'sys:dict:edit', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('13', '2', '0,1,2,', 'basicManage', '基本配置', '4100', '', '', 'icon-wrench', '1', '', '1', '2013-05-27 08:00:00', '1', '2018-04-16 15:21:00', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('17', '13', '0,1,2,13,', 'officeManage', '机构管理', '4102', '/sys/office', '', 'icon-th-large', '0', '', '1', '2013-05-27 08:00:00', '1', '2018-07-10 16:55:35', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('18', '17', '0,1,2,13,17,', 'show', '查看', '30', null, null, null, '0', 'sys:office:view', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('19', '17', '0,1,2,13,17,', 'edit', '修改', '40', null, null, null, '0', 'sys:office:edit', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('20', '3', '0,1,2,3,', 'userManage', '用户管理', '4101', '/sys/user/list', '', 'icon-user', '1', '', '1', '2013-05-27 08:00:00', '1', '2018-07-13 10:19:31', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('21', '20', '0,1,2,3,20,', 'show', '查看', '30', null, null, null, '0', 'sys:user:view', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('22', '20', '0,1,2,3,20,', 'edit', '修改', '40', null, null, null, '0', 'sys:user:edit', '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('23', '2', '0,1,2,', 'help', '关于帮助', '4900', '', '', 'icon-question', '0', '', '1', '2013-05-27 08:00:00', '1', '2018-07-09 15:16:23', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('24', '23', '0,1,2,23,', 'home', '官方首页', '4901', '/dashboard/logChart', '_blank', '', '0', '', '1', '2013-05-27 08:00:00', '1', '2018-07-12 09:12:42', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('27', '1', '0,1,', 'panel', '我的面板', '1000', '', '', 'icon-tablet', '0', '', '1', '2013-05-27 08:00:00', '1', '2015-11-22 21:38:11', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('28', '27', '0,1,27,', 'userInfo', '个人信息', '1100', '', '', 'icon-user-md', '0', '', '1', '2013-05-27 08:00:00', '1', '2015-12-18 18:03:41', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('29', '28', '0,1,27,28,', 'userInfo', '个人信息', '1102', '/sys/user/info', null, 'icon-user', '0', null, '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('30', '28', '0,1,27,28,', 'updatePwd', '修改密码', '1103', '/sys/user/modifyPwd', null, 'icon-lock', '0', null, '1', '2013-05-27 08:00:00', '1', '2013-05-27 08:00:00', null, '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('84', '1', '0,1,', 'request_task', '来函专项', '4030', '', '', '', '1', '', '1', '2018-01-30 19:28:43', '1', '2018-05-17 13:20:33', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('85', '84', '0,1,84,', 'requestInfo', '来函信息', '90', '/cfg/request/list', '', 'icon-envelope-open', '1', '', '1', '2018-01-30 19:29:38', '1', '2018-09-13 14:51:17', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('86', '1', '0,1,', 'configuration_manage', '配置管理', '4060', '', '', '', '1', '', '1', '2018-01-30 19:30:37', '1', '2018-04-16 15:41:17', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('109', '1', '0,1,', 'basic_configuration', '基本配置', '4999', '', '', '', '1', '', '1', '2018-01-31 18:59:13', '1', '2018-01-31 18:59:13', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('110', '109', '0,1,109,', 'requestInfo', '来函单位', '30', '/cfg/request/list', '', 'fa fa-file-text-o', '1', '', '1', '2018-01-31 18:59:29', '1', '2018-07-14 13:50:28', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('111', '109', '0,1,109,', 'classification_manage', '分类管理', '60', '/basics/serviceDictInfo/list?itType=1', '', 'fa fa-delicious', '1', 'basics:classification:view', '1', '2018-01-31 18:59:42', '1', '2018-04-16 14:21:18', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('112', '84', '0,1,84,', 'special_tasks', '专项任务', '30', '/basics/taskInfo/list', '', 'fa fa-tasks', '1', '', '1', '2018-01-31 18:59:53', '1', '2018-09-13 14:50:53', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('113', '109', '0,1,109,', 'label_manage', '标签管理', '120', '/basics/serviceDictInfo/list?itType=3', '', 'icon-tag', '1', 'basics:label:view', '1', '2018-01-31 19:00:03', '1', '2018-04-16 13:51:52', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('114', '109', '0,1,109,', 'protect_list', '保护名单', '150', '/cfg/ip/list?serviceId=100800&action=8&cfgName=protect_list&audit=0', '', 'icon-shield', '1', '', '1', '2018-01-31 19:00:34', '1', '2018-04-16 14:13:28', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('115', '13', '0,1,2,13,', 'area_manage', '地域管理', '180', '/basics/sysDictInfo/list?itType=1', '', 'icon-pointer', '1', 'basics:area:view', '1', '2018-01-31 19:00:44', '1', '2018-05-16 14:43:48', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('116', '109', '0,1,109,', 'agreement_ip_configuration', '协议IP配置', '210', '/specific/specificServiceHostCfg/list', '', 'icon-share', '1', 'specific:serviceIp:view', '1', '2018-01-31 19:00:54', '1', '2018-06-13 17:43:23', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('117', '717', '0,1,86,717,', 'ip_spoofing_configuration', '欺骗IP配置', '401', '/cfg/dnsIp/list', '', 'fa fa-sitemap', '1', 'dns:fake:ip:config', '1', '2018-01-31 19:01:14', '1', '2018-06-22 10:49:16', '', '1', null, '0', '0', '401');
+INSERT INTO `sys_menu` VALUES ('150', '1', '0,1,', 'examine_manage', '审核管理', '4070', '', '', '', '1', '', '1', '2018-01-31 19:35:16', '1', '2018-01-31 19:35:33', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('151', '1', '0,1,', 'audit_manage', '审计管理', '4080', '', '', '', '1', '', '1', '2018-01-31 19:35:52', '1', '2018-01-31 19:35:52', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('152', '1', '0,1,', 'log_search', '日志检索', '4090', '', '', '', '1', '', '1', '2018-01-31 19:36:09', '1', '2018-01-31 19:36:18', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('181', '109', '0,1,109,', 'attribute_manage', '性质管理', '70', '/basics/serviceDictInfo/list?itType=2', '', 'fa fa-soccer-ball-o', '1', 'basics:attribute:view', '1', '2018-03-10 18:11:58', '1', '2018-04-16 14:05:01', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('182', '13', '0,1,2,13,', 'isp_manage', '运营商管理', '190', '/basics/sysDictInfo/list?itType=2', '', 'icon-globe', '1', 'basics:isp:view', '1', '2018-03-10 18:16:07', '1', '2018-05-16 14:44:05', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('207', '109', '0,1,109,', 'specific_service_cfg', '特定服务配置', '270', '/specific/specificServiceCfg/list', '', 'fa fa-server', '1', 'specific:service:view', '1', '2018-03-14 12:50:01', '1', '2018-04-16 14:22:03', '特定服务配置管理', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('221', '85', '0,1,84,85,', 'config', '操作', '30', '', '', '', '0', 'cfg:requestInfo:config', '1', '2018-03-19 13:53:50', '1', '2018-09-13 14:57:57', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('222', '85', '0,1,84,85,', 'confirm', '审核', '60', '', '', '', '0', 'cfg:requestInfo:confirm', '1', '2018-03-19 13:55:15', '1', '2018-09-13 14:58:27', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('223', '112', '0,1,84,112,', 'config', '操作', '30', '', '', '', '0', 'basics:taskInfo:config', '1', '2018-03-19 13:59:25', '1', '2018-09-13 14:53:50', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('224', '112', '0,1,84,112,', 'confirm', '审核', '60', '', '', '', '0', 'basics:taskInfo:confirm', '1', '2018-03-19 14:00:26', '1', '2018-09-13 14:53:40', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('233', '111', '0,1,109,111,', 'edit', '修改', '60', '', '', '', '1', 'basics:classification:edit', '1', '2018-03-23 11:51:22', '1', '2018-04-02 09:02:38', '分类菜单修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('234', '111', '0,1,109,111,', 'show', '查看', '30', '', '', '', '1', 'basics:classification:view', '1', '2018-03-23 13:41:02', '1', '2018-04-16 11:18:12', '分类查看标签权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('238', '181', '0,1,109,181,', 'show', '查看', '30', '', '', '', '1', 'basics:attribute:view', '1', '2018-03-23 17:22:49', '1', '2018-04-16 11:18:34', '性质查看权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('239', '181', '0,1,109,181,', 'edit', '修改', '60', '', '', '', '1', 'basics:attribute:edit', '1', '2018-03-23 17:23:20', '1', '2018-03-23 17:23:56', '性质编辑权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('240', '113', '0,1,109,113,', 'show', '查看', '30', '', '', '', '1', 'basics:label:view', '1', '2018-03-23 17:24:51', '1', '2018-04-16 11:19:01', '标签查看权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('241', '113', '0,1,109,113,', 'edit', '修改', '60', '', '', '', '1', 'basics:label:edit', '1', '2018-03-23 17:26:46', '1', '2018-04-10 14:04:05', '标签修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('243', '115', '0,1,2,13,115,', 'show', '查看', '30', '', '', '', '1', 'basics:area:view', '1', '2018-03-26 09:13:19', '1', '2018-04-16 11:19:18', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('244', '115', '0,1,2,13,115,', 'edit', '修改', '60', '', '', '', '1', 'basics:area:edit', '1', '2018-03-26 09:14:31', '1', '2018-03-31 16:59:28', '地域管理修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('245', '182', '0,1,2,13,182,', 'show', '查看', '30', '', '', '', '1', 'basics:isp:view', '1', '2018-03-26 09:16:38', '1', '2018-04-16 11:19:35', '运营商管理查看权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('246', '182', '0,1,2,13,182,', 'edit', '修改', '60', '', '', '', '1', 'basics:isp:edit', '1', '2018-03-26 09:17:13', '1', '2018-03-26 09:17:13', '运营商管理修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('249', '207', '0,1,109,207,', 'show', '查看', '30', '', '', '', '1', 'specific:service:view', '1', '2018-03-26 14:10:05', '1', '2018-04-16 11:21:04', '特定服务管理查看权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('250', '207', '0,1,109,207,', 'edit', '修改', '60', '', '', '', '1', 'specific:service:edit', '1', '2018-03-26 14:11:07', '1', '2018-03-26 14:11:07', '特定服务管理修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('251', '116', '0,1,109,116,', 'show', '查看', '30', '', '', '', '1', 'specific:serviceIp:view', '1', '2018-03-26 14:23:17', '1', '2018-06-13 17:44:36', '协议IP配置查看权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('252', '116', '0,1,109,116,', 'edit', '修改', '60', '', '', '', '1', 'specific:serviceIp:edit', '1', '2018-03-26 14:24:21', '1', '2018-03-26 14:24:21', '协议ip配置修改权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('560', '111', '0,1,109,111,', 'add', '新增', '35', '', '', '', '1', 'basics:classification:add', '1', '2018-04-10 13:50:58', '1', '2018-04-10 13:50:58', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('561', '111', '0,1,109,111,', 'delete', '删除', '90', '', '', '', '1', 'basics:classification:del', '1', '2018-04-10 13:52:44', '1', '2018-04-10 13:52:44', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('562', '181', '0,1,109,181,', 'delete', '删除', '90', '', '', '', '1', 'basics:attribute:del', '1', '2018-04-10 13:52:44', '1', '2018-04-10 13:58:16', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('563', '181', '0,1,109,181,', 'add', '新增', '35', '', '', '', '1', 'basics:attribute:add', '1', '2018-04-10 13:54:50', '1', '2018-04-10 13:54:50', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('564', '113', '0,1,109,113,', 'add', '新增', '35', '', '', '', '1', 'basics:label:add', '1', '2018-04-10 14:03:40', '1', '2018-04-10 14:04:20', '标签新增权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('565', '113', '0,1,109,113,', 'delete', '删除', '90', '', '', '', '1', 'basics:label:del', '1', '2018-04-10 14:05:07', '1', '2018-04-10 14:05:07', '标签删除权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('566', '115', '0,1,2,13,115,', 'add', '新增', '35', '', '', '', '1', 'basics:area:add', '1', '2018-04-10 14:09:06', '1', '2018-04-10 14:09:06', '地域新增权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('567', '115', '0,1,2,13,115,', 'delete', '删除', '90', '', '', '', '1', 'basics:area:del', '1', '2018-04-10 14:09:50', '1', '2018-04-10 14:09:50', '地域删除权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('568', '182', '0,1,2,13,182,', 'add', '新增', '35', '', '', '', '1', 'basics:isp:add', '1', '2018-04-10 14:11:34', '1', '2018-04-10 14:11:34', '运营商新增权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('569', '182', '0,1,2,13,182,', 'delete', '删除', '90', '', '', '', '1', 'basics:isp:del', '1', '2018-04-10 14:12:23', '1', '2018-04-10 14:12:23', '运营商删除权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('572', '116', '0,1,109,116,', 'add', '新增', '35', '', '', '', '1', 'specific:serviceIp:add', '1', '2018-04-10 14:15:17', '1', '2018-04-10 14:15:36', '协议ip新增权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('573', '116', '0,1,109,116,', 'delete', '删除', '90', '', '', '', '1', 'specific:serviceIp:del', '1', '2018-04-10 14:16:19', '1', '2018-04-10 14:16:19', '协议ip删除权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('574', '207', '0,1,109,207,', 'add', '新增', '35', '', '', '', '1', 'specific:service:add', '1', '2018-04-10 14:19:52', '1', '2018-04-10 14:19:52', '特定服务新增权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('575', '207', '0,1,109,207,', 'delete', '删除', '90', '', '', '', '1', 'specific:service:del', '1', '2018-04-10 14:20:28', '1', '2018-04-10 14:20:28', '特定服务删除权限', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('580', '117', '0,1,86,717,117,', 'show', '查看', '30', '', '', '', '0', 'cfg:ip:view', '1', '2018-04-11 14:36:24', '1', '2018-06-14 17:41:11', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('581', '117', '0,1,86,717,117,', 'edit', '修改', '60', '', '', '', '0', 'cfg:dnsip:edit', '1', '2018-04-11 14:36:53', '1', '2018-04-13 13:45:56', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('605', '86', '0,1,86,', 'NTC', 'NTC', '30', '', '', '', '1', '', '1', '2018-05-17 13:22:51', '1', '2018-05-18 09:52:05', '', '0', null, '0', '1', '1');
+INSERT INTO `sys_menu` VALUES ('606', '86', '0,1,86,', 'whitelist', '白名单配置', '10', '', '', '', '1', '', '1', '2018-05-17 13:23:25', '1', '2018-07-31 11:14:17', '', '1', null, '0', '0', '2');
+INSERT INTO `sys_menu` VALUES ('607', '606', '0,1,86,606,', 'ip_whitelist', 'IP白名单', '30', '/ntc/whitelist/ip/list', '', '', '1', 'whitelist:ip:config', '1', '2018-05-17 13:24:54', '1', '2018-07-04 16:47:18', '', '1', null, '0', '0', '3');
+INSERT INTO `sys_menu` VALUES ('608', '606', '0,1,86,606,', 'domain_whitelist', '域名白名单', '60', '/ntc/whitelist/domain/list', '', '', '1', 'whitelist:domain:config', '1', '2018-05-17 13:25:42', '1', '2018-07-04 16:47:33', '', '1', null, '0', '0', '4');
+INSERT INTO `sys_menu` VALUES ('609', '930', '0,1,86,930,', 'ip_control', 'IP地址管控', '10', '/ntc/iplist/list?cfgName=ip_control', '', '', '1', 'iplist:config', '1', '2018-05-17 13:27:06', '1', '2018-08-29 15:55:35', '', '1', null, '0', '0', '5');
+INSERT INTO `sys_menu` VALUES ('610', '931', '0,1,86,931,', 'website_control', '网站管控', '20', '', '', '', '1', '', '1', '2018-05-17 13:27:39', '1', '2018-07-31 10:55:29', '', '1', null, '0', '0', '6');
+INSERT INTO `sys_menu` VALUES ('611', '931', '0,1,86,931,', 'DNS', 'DNS', '10', '/ntc/website/dnsList', '', '', '1', 'website:dns:config', '1', '2018-05-17 13:28:07', '1', '2018-08-03 15:08:14', '', '1', null, '0', '0', '7');
+INSERT INTO `sys_menu` VALUES ('612', '610', '0,1,86,931,610,', 'HTTP', 'HTTP', '10', '/ntc/website/httpList', '', '', '1', 'website:http:config', '1', '2018-05-17 13:28:31', '1', '2018-05-23 09:20:26', '', '1', null, '0', '0', '8');
+INSERT INTO `sys_menu` VALUES ('613', '616', '0,1,86,605,610,612,616,', 'http_ip_control', 'HTTP IP管控', '30', '', '', '', '1', 'http_ip', '1', '2018-05-17 13:29:11', '1', '2018-05-17 13:32:00', '', '0', null, '0', '0', '9');
+INSERT INTO `sys_menu` VALUES ('614', '616', '0,1,86,605,610,612,616,', 'http_url_control', 'HTTP URL管控', '60', '', '', '', '1', 'http_url', '1', '2018-05-17 13:30:15', '1', '2018-05-17 13:32:17', '', '0', null, '0', '0', '10');
+INSERT INTO `sys_menu` VALUES ('615', '616', '0,1,86,605,610,612,616,', 'http_req_hdr_control', 'HTTP 请求头域管控', '90', '', '', '', '1', 'http_req_hdr', '1', '2018-05-17 13:30:50', '1', '2018-05-17 13:32:40', '', '0', null, '0', '0', '11');
+INSERT INTO `sys_menu` VALUES ('616', '612', '0,1,86,605,610,612,', 'http_req_control', 'HTTP 请求管控', '120', '', '', '', '0', 'http_req', '1', '2018-05-17 13:31:31', '1', '2018-07-13 10:28:31', '', '0', null, '0', '0', '12');
+INSERT INTO `sys_menu` VALUES ('617', '612', '0,1,86,605,610,612,', 'http_res_control', 'HTTP应答管控', '150', '', '', '', '0', 'http_res', '1', '2018-05-17 13:33:05', '1', '2018-07-13 10:28:44', '', '0', null, '0', '0', '13');
+INSERT INTO `sys_menu` VALUES ('618', '617', '0,1,86,605,610,612,617,', 'http_res_hdr_control', 'HTTP 应答头域管控', '30', '', '', '', '1', 'http_res_hdr', '1', '2018-05-17 13:33:36', '1', '2018-05-17 13:33:36', '', '0', null, '0', '0', '14');
+INSERT INTO `sys_menu` VALUES ('619', '617', '0,1,86,605,610,612,617,', 'http_res_body_control', 'HTTP 应答内容管控', '60', '', '', '', '1', 'http_res_body', '1', '2018-05-17 13:34:07', '1', '2018-05-17 13:34:07', '', '0', null, '0', '0', '15');
+INSERT INTO `sys_menu` VALUES ('620', '616', '0,1,86,605,610,612,616,', 'http_req_body_control', 'HTTP 请求内容管控', '120', '', '', '', '1', 'http_req_body', '1', '2018-05-17 13:34:42', '1', '2018-05-17 13:34:42', '', '0', null, '0', '0', '16');
+INSERT INTO `sys_menu` VALUES ('621', '611', '0,1,86,605,610,611,', 'dns_ip_control', 'DNS IP管控', '30', '', '', '', '1', 'dns_ip_control', '1', '2018-05-17 13:35:40', '1', '2018-05-17 13:35:40', '', '0', null, '0', '0', '17');
+INSERT INTO `sys_menu` VALUES ('622', '611', '0,1,86,605,610,611,', 'dns_domain_control', 'DNS 域名管控', '60', '', '', '', '1', 'dns_domain_control', '1', '2018-05-17 13:36:09', '1', '2018-05-17 13:36:09', '', '0', null, '0', '0', '18');
+INSERT INTO `sys_menu` VALUES ('623', '932', '0,1,86,932,', 'av_control', '音视频管控', '30', '', '', '', '1', '', '1', '2018-05-17 13:37:03', '1', '2018-07-31 11:02:43', '', '1', null, '0', '0', '19');
+INSERT INTO `sys_menu` VALUES ('624', '623', '0,1,86,932,623,', 'av_content_ip_control', '内容IP管控', '30', '/ntc/av/contIpList', '', '', '1', 'avContIp:config', '1', '2018-05-17 13:38:03', '1', '2018-05-31 17:58:26', '', '1', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('625', '623', '0,1,86,932,623,', 'av_picture_ip_control', '图片IP管控', '60', '/ntc/av/picIpList', '', '', '1', 'avPicIp:config', '1', '2018-05-17 13:39:43', '1', '2018-05-31 15:17:29', '', '1', null, '0', '0', '21');
+INSERT INTO `sys_menu` VALUES ('626', '623', '0,1,86,932,623,', 'av_content_url_control', '内容URL管控', '90', '/ntc/av/contUrlList', '', '', '1', 'avContUrl:config', '1', '2018-05-17 13:40:31', '1', '2018-05-31 17:59:18', '', '1', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('627', '623', '0,1,86,932,623,', 'av_picture_url_control', '图片URL管控', '120', '/ntc/av/picUrlList', '', '', '1', 'avPicUrl:config', '1', '2018-05-17 13:41:10', '1', '2018-05-31 17:59:52', '', '1', null, '0', '0', '23');
+INSERT INTO `sys_menu` VALUES ('628', '932', '0,1,86,932,', 'av_voip_control', 'VoIP管控', '40', '', '', '', '1', 'avVoip:config', '1', '2018-05-17 13:41:49', '1', '2018-08-19 14:41:35', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('629', '628', '0,1,86,932,628,', 'av_voip_ip_control', 'VoIP IP管控', '30', '/ntc/av/voipList', '', '', '1', 'avVoipIp:config', '1', '2018-05-17 13:42:20', '1', '2018-09-13 11:40:20', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('630', '628', '0,1,86,932,628,', 'av_voip_account_control', 'VoIP 账号管控', '60', '/ntc/av/voipAccountList', '', '', '1', 'avVoipAccount:config', '1', '2018-05-17 13:42:50', '1', '2018-09-13 11:40:55', '', '1', null, '0', '0', '25');
+INSERT INTO `sys_menu` VALUES ('631', '623', '0,1,86,932,623,', 'av_sample_control', '样例管控', '180', '', '', '', '1', '', '1', '2018-05-17 13:43:31', '1', '2018-07-13 15:44:55', '配置', '0', null, '0', '0', '27');
+INSERT INTO `sys_menu` VALUES ('632', '932', '0,1,86,932,', 'av_sample_audio_control', '音频样例管控', '60', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:config', '1', '2018-05-17 13:43:55', '1', '2018-07-31 14:21:01', '', '1', null, '0', '0', '28');
+INSERT INTO `sys_menu` VALUES ('633', '932', '0,1,86,932,', 'av_sample_video_control', '视频样例管控', '70', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:config', '1', '2018-05-17 13:45:03', '1', '2018-07-31 14:22:34', '', '1', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('634', '932', '0,1,86,932,', 'av_sample_picture_control', '图片样例管控', '80', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:config', '1', '2018-05-17 13:46:13', '1', '2018-07-31 14:23:19', '', '1', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('635', '932', '0,1,86,932,', 'av_sample_voip_control', 'VoIP样例管控', '90', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:config', '1', '2018-05-17 13:47:01', '1', '2018-07-31 14:23:50', '', '1', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('636', '932', '0,1,86,932,', 'av_sample_audio_porn_control', '音频色情样例管控', '100', '/ntc/av/sample/audioSignSampleList', '', '', '0', 'avSignSample:config', '1', '2018-05-17 13:47:17', '1', '2018-08-03 15:10:14', '', '1', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('637', '932', '0,1,86,932,', 'av_sample_video_porn_control', '视频色情样例管控', '150', '/ntc/av/sample/signSampleList', '', '', '0', 'avSignSample:config', '1', '2018-05-17 13:47:17', '1', '2018-08-03 15:10:22', '', '1', '', '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('638', '150', '0,1,150,', 'NTC', 'NTC', '30', '', '', '', '1', '', '1', '2018-05-17 13:22:51', '1', '2018-05-18 16:26:27', '', '0', null, '0', '1', '1');
+INSERT INTO `sys_menu` VALUES ('639', '150', '0,1,150,', 'whitelist', '白名单配置', '10', '', '', '', '1', '', '1', '2018-05-17 13:23:25', '1', '2018-07-31 11:17:17', '', '1', null, '0', '0', '2');
+INSERT INTO `sys_menu` VALUES ('640', '639', '0,1,150,639,', 'ip_whitelist', 'IP白名单', '30', '/ntc/whitelist/ip/list', '', '', '1', 'whitelist:ip:confirm', '1', '2018-05-17 13:24:54', '1', '2018-07-04 16:47:51', '', '1', null, '0', '0', '3');
+INSERT INTO `sys_menu` VALUES ('641', '639', '0,1,150,639,', 'domain_whitelist', '域名白名单', '60', '/ntc/whitelist/domain/list', '', '', '1', 'whitelist:domain:confirm', '1', '2018-05-17 13:25:42', '1', '2018-07-04 16:48:04', '', '1', null, '0', '0', '4');
+INSERT INTO `sys_menu` VALUES ('642', '933', '0,1,150,933,', 'ip_control', 'IP地址管控', '10', '/ntc/iplist/list?cfgName=ip_control', '', '', '1', 'iplist:confirm', '1', '2018-05-17 13:27:06', '1', '2018-08-29 18:21:07', '', '1', null, '0', '0', '5');
+INSERT INTO `sys_menu` VALUES ('643', '934', '0,1,150,934,', 'website_control', '网站管控', '20', '', '', '', '1', '', '1', '2018-05-17 13:27:39', '1', '2018-07-31 11:24:06', '', '1', null, '0', '0', '6');
+INSERT INTO `sys_menu` VALUES ('644', '934', '0,1,150,934,', 'DNS', 'DNS', '10', '/ntc/website/dnsList', '', '', '1', 'website:dns:confirm', '1', '2018-05-17 13:28:07', '1', '2018-08-03 15:26:44', '', '1', null, '0', '0', '7');
+INSERT INTO `sys_menu` VALUES ('645', '643', '0,1,150,934,643,', 'HTTP', 'HTTP', '10', '/ntc/website/httpList', '', '', '1', 'website:http:confirm', '1', '2018-05-17 13:28:31', '1', '2018-05-23 09:20:39', '', '1', null, '0', '0', '8');
+INSERT INTO `sys_menu` VALUES ('646', '649', '0,1,150,934,643,645,649,', 'http_ip_control', 'HTTP IP管控', '30', '', '', '', '1', 'http_ip', '1', '2018-05-17 13:29:11', '1', '2018-05-17 13:32:00', '', '0', null, '0', '0', '9');
+INSERT INTO `sys_menu` VALUES ('647', '649', '0,1,150,934,643,645,649,', 'http_url_control', 'HTTP URL管控', '60', '', '', '', '1', 'http_url', '1', '2018-05-17 13:30:15', '1', '2018-05-17 13:32:17', '', '0', null, '0', '0', '10');
+INSERT INTO `sys_menu` VALUES ('648', '649', '0,1,150,934,643,645,649,', 'http_req_hdr_control', 'HTTP 请求头域管控', '90', '', '', '', '1', 'http_req_hdr', '1', '2018-05-17 13:30:50', '1', '2018-05-17 13:32:40', '', '0', null, '0', '0', '11');
+INSERT INTO `sys_menu` VALUES ('649', '645', '0,1,150,934,643,645,', 'http_req_control', 'HTTP 请求管控', '120', '', '', '', '1', 'http_req', '1', '2018-05-17 13:31:31', '1', '2018-05-17 13:31:31', '', '0', null, '0', '0', '12');
+INSERT INTO `sys_menu` VALUES ('650', '645', '0,1,150,934,643,645,', 'http_res_control', 'HTTP应答管控', '150', '', '', '', '1', 'http_res', '1', '2018-05-17 13:33:05', '1', '2018-05-17 13:33:05', '', '0', null, '0', '0', '13');
+INSERT INTO `sys_menu` VALUES ('651', '650', '0,1,150,934,643,645,650,', 'http_res_hdr_control', 'HTTP 应答头域管控', '30', '', '', '', '1', 'http_res_hdr', '1', '2018-05-17 13:33:36', '1', '2018-05-17 13:33:36', '', '0', null, '0', '0', '14');
+INSERT INTO `sys_menu` VALUES ('652', '650', '0,1,150,934,643,645,650,', 'http_res_body_control', 'HTTP 应答内容管控', '60', '', '', '', '1', 'http_res_body', '1', '2018-05-17 13:34:07', '1', '2018-05-17 13:34:07', '', '0', null, '0', '0', '15');
+INSERT INTO `sys_menu` VALUES ('653', '649', '0,1,150,934,643,645,649,', 'http_req_body_control', 'HTTP 请求内容管控', '120', '', '', '', '1', 'http_req_body', '1', '2018-05-17 13:34:42', '1', '2018-05-17 13:34:42', '', '0', null, '0', '0', '16');
+INSERT INTO `sys_menu` VALUES ('654', '644', '0,1,150,638,643,644,', 'dns_ip_control', 'DNS IP管控', '30', '', '', '', '1', 'dns_ip_control', '1', '2018-05-17 13:35:40', '1', '2018-05-17 13:35:40', '', '0', null, '0', '0', '17');
+INSERT INTO `sys_menu` VALUES ('655', '644', '0,1,150,638,643,644,', 'dns_domain_control', 'DNS 域名管控', '60', '', '', '', '1', 'dns_domain_control', '1', '2018-05-17 13:36:09', '1', '2018-05-17 13:36:09', '', '0', null, '0', '0', '18');
+INSERT INTO `sys_menu` VALUES ('656', '935', '0,1,150,935,', 'av_control', '音视频管控', '30', '', '', '', '1', '', '1', '2018-05-17 13:37:03', '1', '2018-07-31 11:27:26', '', '1', null, '0', '0', '19');
+INSERT INTO `sys_menu` VALUES ('657', '656', '0,1,150,935,656,', 'av_content_ip_control', '内容IP管控', '30', '/ntc/av/contIpList', '', '', '1', 'avContIp:confirm', '1', '2018-05-17 13:38:03', '1', '2018-05-31 18:01:10', '', '1', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('658', '656', '0,1,150,935,656,', 'av_picture_ip_control', '图片IP管控', '60', '/ntc/av/picIpList', '', '', '1', 'avPicIp:confirm', '1', '2018-05-17 13:39:43', '1', '2018-05-31 15:06:01', '', '1', null, '0', '0', '21');
+INSERT INTO `sys_menu` VALUES ('659', '656', '0,1,150,935,656,', 'av_content_url_control', '内容URL管控', '90', '/ntc/av/contUrlList', '', '', '1', 'avContUrl:confirm', '1', '2018-05-17 13:40:31', '1', '2018-05-31 18:01:49', '', '1', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('660', '656', '0,1,150,935,656,', 'av_picture_url_control', '图片URL管控', '120', '/ntc/av/picUrlList', '', '', '1', 'avPicUrl:confirm', '1', '2018-05-17 13:41:10', '1', '2018-05-31 18:02:08', '', '1', null, '0', '0', '23');
+INSERT INTO `sys_menu` VALUES ('661', '935', '0,1,150,935,', 'av_voip_control', 'VoIP管控', '60', '', '', '', '1', 'avVoip:confirm', '1', '2018-05-17 13:41:49', '1', '2018-09-13 11:30:04', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('662', '661', '0,1,150,935,661,', 'av_voip_ip_control', 'VoIP IP管控', '30', '/ntc/av/voipList', '', '', '1', 'avVoipIp:confirm', '1', '2018-05-17 13:42:20', '1', '2018-09-13 11:41:49', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('663', '661', '0,1,150,935,661,', 'av_voip_account_control', 'VoIP 账号管控', '60', '/ntc/av/voipAccountList', '', '', '1', 'avVoipAccount:confirm', '1', '2018-05-17 13:42:50', '1', '2018-09-13 11:43:21', '', '1', null, '0', '0', '25');
+INSERT INTO `sys_menu` VALUES ('664', '656', '0,1,150,935,656,', 'av_sample_control', '样例管控', '180', '', '', '', '1', '', '1', '2018-05-17 13:43:31', '1', '2018-07-13 15:45:31', '审核', '0', null, '0', '0', '27');
+INSERT INTO `sys_menu` VALUES ('665', '935', '0,1,150,935,', 'av_sample_audio_control', '音频样例管控', '70', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:confirm', '1', '2018-05-17 13:43:55', '1', '2018-07-31 14:27:14', '', '1', null, '0', '0', '28');
+INSERT INTO `sys_menu` VALUES ('666', '935', '0,1,150,935,', 'av_sample_video_control', '视频样例管控', '80', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:confirm', '1', '2018-05-17 13:45:03', '1', '2018-07-31 14:27:57', '', '1', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('667', '935', '0,1,150,935,', 'av_sample_picture_control', '图片样例管控', '90', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:confirm', '1', '2018-05-17 13:46:13', '1', '2018-07-31 14:28:16', '', '1', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('668', '935', '0,1,150,935,', 'av_sample_voip_control', 'VoIP样例管控', '120', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:confirm', '1', '2018-05-17 13:47:01', '1', '2018-07-31 14:28:34', '', '1', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('669', '935', '0,1,150,935,', 'av_sample_audio_porn_control', '音频色情样例管控', '150', '/ntc/av/sample/audioSignSampleList', '', '', '0', 'avSignSample:confirm', '1', '2018-05-17 13:47:17', '1', '2018-08-03 15:31:36', '', '1', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('670', '935', '0,1,150,935,', 'av_sample_video_porn_control', '视频色情样例管控', '150', '/ntc/av/sample/signSampleList', '', '', '0', 'avSignSample:confirm', '1', '2018-05-17 13:47:17', '1', '2018-08-03 15:31:57', '', '1', '', '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('671', '152', '0,1,152,', 'NTC', 'NTC', '30', '', '', '', '1', '', '1', '2018-05-21 10:46:55', '1', '2018-05-21 11:15:47', '', '0', null, '0', '1', '1');
+INSERT INTO `sys_menu` VALUES ('672', '942', '0,1,152,942,', 'av_control', '音视频管控', '30', '', '', '', '1', '', '1', '2018-05-21 10:49:05', '1', '2018-07-31 12:37:24', '', '1', null, '0', '0', '19');
+INSERT INTO `sys_menu` VALUES ('673', '672', '0,1,152,942,672,', 'av_sample_control', '样例管控', '210', '', '', '', '1', '', '1', '2018-05-21 10:50:38', '1', '2018-07-23 16:43:41', '日志', '0', null, '0', '0', '27');
+INSERT INTO `sys_menu` VALUES ('674', '672', '0,1,152,942,672,', 'av_content_ip_control', '内容IP管控', '30', '/log/ntc/mmAvIpLogs', '', '', '1', '', '1', '2018-05-21 10:53:10', '1', '2018-07-23 16:21:29', '', '1', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('675', '673', '0,1,152,671,672,673,', 'av_sample_video_control', '视频样例管控', '60', 'view/logs/pages/test', '', '', '1', '', '1', '2018-05-21 10:57:46', '1', '2018-05-22 16:52:34', '', '0', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('676', '673', '0,1,152,671,672,673,', 'av_sample_picture_control', '图片样例管控', '90', 'view/logs/pages/test', '', '', '1', '', '1', '2018-05-21 10:58:27', '1', '2018-05-25 14:56:00', '', '0', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('677', '673', '0,1,152,671,672,673,', 'av_sample_voip_control', 'VoIP样例管控', '120', 'view/logs/pages/test', '', '', '1', '', '1', '2018-05-21 11:01:27', '1', '2018-05-25 14:56:14', '', '0', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('678', '673', '0,1,152,671,672,673,', 'av_sample_audio_porn_control', '音频色情样例管控', '240', 'view/logs/pages/sinTest', '', '', '1', '', '1', '2018-05-21 11:02:35', '1', '2018-07-18 15:01:13', '', '0', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('679', '673', '0,1,152,671,672,673,', 'av_sample_video_porn_control', '视频色情样例管控', '270', 'view/logs/pages/sinTest', '', '', '1', '', '1', '2018-05-21 11:03:32', '1', '2018-07-18 15:01:37', '', '0', null, '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('680', '610', '0,1,86,931,610,', 'ssl_control', 'ssl配置', '30', '/ntc/website/sslList', '', '', '1', 'website:ssl:config', '1', '2018-05-30 18:00:35', '1', '2018-05-30 18:00:35', '', '1', null, '0', '0', '34');
+INSERT INTO `sys_menu` VALUES ('681', '643', '0,1,150,934,643,', 'ssl_control', 'ssl配置', '30', '/ntc/website/sslList', '', '', '1', 'website:ssl:confirm', '1', '2018-05-30 18:00:35', '1', '2018-05-30 18:00:35', '', '1', '', '0', '0', '34');
+INSERT INTO `sys_menu` VALUES ('682', '931', '0,1,86,931,', 'mail_control', '邮件配置', '30', '/ntc/mail/mailList', '', '', '1', 'mail:config', '1', '2018-06-04 15:05:51', '1', '2018-07-31 10:56:17', '', '1', null, '0', '0', '35');
+INSERT INTO `sys_menu` VALUES ('683', '934', '0,1,150,934,', 'mail_control', '邮件配置', '30', '/ntc/mail/mailList', '', '', '1', 'mail:confirm', '1', '2018-06-04 15:06:32', '1', '2018-07-31 11:24:31', '', '1', null, '0', '0', '35');
+INSERT INTO `sys_menu` VALUES ('684', '931', '0,1,86,931,', 'tunnel_protocol_control', '隧道管控', '50', '', '', '', '1', '', '1', '2018-06-04 15:04:13', '1', '2018-07-31 10:57:04', '', '0', null, '0', '0', '40');
+INSERT INTO `sys_menu` VALUES ('685', '684', '0,1,86,931,684,', 'ssh_control', 'SSH管控', '30', '/ntc/iplist/list?cfgName=ssh_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:09:20', '1', '2018-07-04 09:56:41', '', '0', null, '0', '0', '41');
+INSERT INTO `sys_menu` VALUES ('686', '684', '0,1,86,931,684,', 'openvpn_control', 'Openvpn管控', '60', '/ntc/iplist/list?cfgName=openvpn_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:10:44', '1', '2018-07-04 09:56:20', '', '0', null, '0', '0', '42');
+INSERT INTO `sys_menu` VALUES ('687', '684', '0,1,86,931,684,', 'l2tp_ip_control', 'l2tp管控', '90', '/ntc/iplist/list?cfgName=l2tp_ip_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:11:54', '1', '2018-07-04 09:57:48', '', '0', null, '0', '0', '43');
+INSERT INTO `sys_menu` VALUES ('688', '684', '0,1,86,931,684,', 'pptp_ip_control', 'PPTP管控', '120', '/ntc/iplist/list?cfgName=pptp_ip_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:12:30', '1', '2018-07-04 10:04:21', '', '0', null, '0', '0', '44');
+INSERT INTO `sys_menu` VALUES ('689', '684', '0,1,86,931,684,', 'socks_control', 'socks管控', '150', '/ntc/iplist/list?cfgName=socks_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:13:07', '1', '2018-07-04 10:05:23', '', '0', null, '0', '0', '45');
+INSERT INTO `sys_menu` VALUES ('690', '684', '0,1,86,931,684,', 'gre_control', 'GRE管控', '180', '/ntc/iplist/list?cfgName=gre_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:14:10', '1', '2018-07-04 10:06:44', '', '0', null, '0', '0', '46');
+INSERT INTO `sys_menu` VALUES ('691', '684', '0,1,86,605,684,', 'ike_control', 'IKE管控', '210', '/ntc/iplist/list?cfgName=ike_control', '', '', '0', '', '1', '2018-06-04 15:15:35', '1', '2018-06-29 17:46:46', '', '0', null, '0', '0', '47');
+INSERT INTO `sys_menu` VALUES ('692', '684', '0,1,86,931,684,', 'ipsec_control', 'ipsec管控', '240', '/ntc/iplist/list?cfgName=ipsec_control', '', '', '1', 'iplist:config', '1', '2018-06-04 15:16:21', '1', '2018-07-04 09:52:44', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('693', '931', '0,1,86,931,', 'file_transfer_control', '文件传输', '40', '', '', '', '1', '', '1', '2018-06-05 10:16:20', '1', '2018-07-31 10:57:47', '', '1', null, '0', '0', '50');
+INSERT INTO `sys_menu` VALUES ('694', '693', '0,1,86,931,693,', 'ftp_control', 'FTP配置', '30', '/ntc/fileTransfer/ftpList', '', '', '1', 'fileTransfer:ftp:config', '1', '2018-06-05 10:18:38', '1', '2018-06-05 10:18:38', '', '1', null, '0', '0', '51');
+INSERT INTO `sys_menu` VALUES ('695', '934', '0,1,150,934,', 'file_transfer_control', '文件传输配置', '40', '', '', '', '1', '', '1', '2018-06-05 10:19:03', '1', '2018-07-31 11:26:59', '', '1', null, '0', '0', '50');
+INSERT INTO `sys_menu` VALUES ('696', '695', '0,1,150,934,695,', 'ftp_control', 'FTP配置', '30', '/ntc/fileTransfer/ftpList', '', '', '1', 'fileTransfer:ftp:confirm', '1', '2018-06-05 10:19:33', '1', '2018-06-05 10:19:33', '', '1', null, '0', '0', '51');
+INSERT INTO `sys_menu` VALUES ('697', '86', '0,1,86,', 'other', '其他', '5030', '', '', '', '0', '', '1', '2018-06-06 15:55:03', '1', '2018-08-03 15:22:19', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('698', '697', '0,1,86,697,', 'bgp_control', 'BGP', '30', '/ntc/other/bgpList', '', '', '1', 'other:bgp:config', '1', '2018-06-06 16:12:05', '1', '2018-06-12 15:52:38', '', '1', null, '0', '0', '61');
+INSERT INTO `sys_menu` VALUES ('699', '150', '0,1,150,', 'other', '其他', '5030', '', '', '', '0', '', '1', '2018-06-06 16:13:17', '1', '2018-08-03 15:51:10', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('700', '699', '0,1,150,699,', 'bgp_control', 'BGP', '30', '/ntc/other/bgpList', '', '', '1', 'other:bgp:confirm', '1', '2018-06-06 16:14:56', '1', '2018-06-12 15:53:02', '', '1', null, '0', '0', '61');
+INSERT INTO `sys_menu` VALUES ('701', '610', '0,1,86,931,610,', 'file_digest_control', '文件摘要', '40', '/ntc/fileTransfer/fileDigestList', '', '', '1', 'fileTransfer:fileDigest:config', '1', '2018-06-06 16:25:39', '1', '2018-08-03 15:09:22', '', '1', null, '0', '0', '52');
+INSERT INTO `sys_menu` VALUES ('702', '643', '0,1,150,934,643,', 'file_digest_control', '文件摘要', '40', '/ntc/fileTransfer/fileDigestList', '', '', '1', 'fileTransfer:fileDigest:confirm', '1', '2018-06-06 16:27:11', '1', '2018-08-03 15:30:20', '', '1', null, '0', '0', '52');
+INSERT INTO `sys_menu` VALUES ('703', '940', '0,1,152,940,', 'ip_control', 'IP地址管控', '10', '/log/ntc/ip/list', '', '', '1', '', '1', '2018-06-08 15:29:36', '1', '2018-08-03 16:48:47', '', '1', null, '0', '0', '5');
+INSERT INTO `sys_menu` VALUES ('704', '941', '0,1,152,941,', 'website_control', '网站管控', '30', '', '', '', '1', '', '1', '2018-06-08 15:31:08', '1', '2018-07-31 12:33:21', '', '1', null, '0', '0', '6');
+INSERT INTO `sys_menu` VALUES ('705', '941', '0,1,152,941,', 'DNS', 'DNS', '30', '/log/ntc/dns/list', '', '', '1', '', '1', '2018-06-08 15:32:36', '1', '2018-08-03 16:47:34', '', '1', null, '0', '0', '7');
+INSERT INTO `sys_menu` VALUES ('706', '704', '0,1,152,941,704,', 'HTTP', 'HTTP', '60', '/log/ntc/http/list', '', '', '1', '', '1', '2018-06-08 15:35:45', '1', '2018-06-13 16:44:24', '', '1', null, '0', '0', '8');
+INSERT INTO `sys_menu` VALUES ('707', '704', '0,1,152,941,704,', 'ssl_control', 'ssl配置', '90', '/log/ntc/sslLogs/list', '', '', '1', '', '1', '2018-06-08 15:36:48', '1', '2018-06-08 15:36:48', '', '1', null, '0', '0', '34');
+INSERT INTO `sys_menu` VALUES ('708', '941', '0,1,152,941,', 'mail_control', '邮件管理', '60', '/log/ntc/mail/list', '', '', '1', '', '1', '2018-06-08 15:38:41', '1', '2018-07-31 12:34:55', '', '1', null, '0', '0', '35');
+INSERT INTO `sys_menu` VALUES ('709', '941', '0,1,152,941,', 'tunnel_protocol_control', '隧道管理', '92', '', '', '', '1', '', '1', '2018-06-08 15:39:57', '1', '2018-07-31 12:35:39', '', '0', null, '0', '0', '40');
+INSERT INTO `sys_menu` VALUES ('710', '709', '0,1,152,941,709,', 'pptp_ip_control', 'PPTP', '120', '/log/ntc/pptpLogs/list', '', '', '1', '', '1', '2018-06-08 15:41:53', '1', '2018-06-08 15:41:53', '', '0', null, '0', '0', '44');
+INSERT INTO `sys_menu` VALUES ('711', '709', '0,1,152,941,709,', 'L2TP', 'L2TP', '120', '/log/ntc/l2tpLogs/list', '', '', '1', '', '1', '2018-06-08 15:44:09', '1', '2018-07-11 17:54:23', '', '0', null, '0', '0', '43');
+INSERT INTO `sys_menu` VALUES ('712', '709', '0,1,152,941,709,', 'openvpn_control', 'OpenVPN', '60', '/log/ntc/ntcOpenvpnLogs/list', '', '', '1', '', '1', '2018-06-08 15:45:05', '1', '2018-08-09 21:22:19', '', '0', null, '0', '0', '42');
+INSERT INTO `sys_menu` VALUES ('713', '709', '0,1,152,941,709,', 'IPSEC', 'IPSEC', '240', '/log/ntc/ntcIpsecLogs/list', '', '', '1', '', '1', '2018-06-08 15:46:22', '1', '2018-06-13 14:40:32', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('714', '709', '0,1,152,941,709,', 'SSH', 'SSH', '30', '/log/ntc/ntcSshLogs/list', '', '', '1', '', '1', '2018-06-08 15:47:33', '1', '2018-06-13 14:41:32', '', '0', null, '0', '0', '41');
+INSERT INTO `sys_menu` VALUES ('715', '697', '0,1,86,697,', 'xmpp_control', 'xmpp管控', '60', '/ntc/other/xmppList', '', '', '1', 'other:xmpp:config', '1', '2018-06-12 15:15:41', '1', '2018-06-12 16:55:05', '', '1', null, '0', '0', '62');
+INSERT INTO `sys_menu` VALUES ('716', '109', '0,1,109,', 'policy_group_manage', '策略分组管理', '300', '/basics/policyGroup/policyGroupList', '', 'fa fa-th-large', '1', '', '1', '2018-06-14 17:53:21', '1', '2018-06-25 14:35:12', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('717', '86', '0,1,86,', 'Maintenance', 'Maintenance', '80', '', '', '', '1', '', '1', '2018-06-14 17:55:08', '1', '2018-07-31 11:12:20', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('719', '86', '0,1,86,', 'Proxy', 'PROXY', '70', '', '', '', '1', '', '1', '2018-06-19 17:25:38', '1', '2018-07-31 11:13:01', '代理配置', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('720', '86', '0,1,86,', 'Manipulation', 'Manipulation', '120', '', '', '', '1', '', '1', '2018-06-19 17:27:03', '1', '2018-07-31 11:12:47', 'Manipulation', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('721', '719', '0,1,86,719,', 'intercept_policy', '拦截策略', '30', '', '', '', '1', '', '1', '2018-06-19 17:29:52', '1', '2018-06-20 15:42:05', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('722', '721', '0,1,86,719,721,', 'ip_intercept', 'IP拦截', '30', '/proxy/intercept/ip/list?cfgName=ip_intercept', '', '', '1', 'intercept:ip:config', '1', '2018-06-19 17:38:06', '1', '2018-06-23 13:20:24', '', '1', null, '0', '0', '200');
+INSERT INTO `sys_menu` VALUES ('723', '721', '0,1,86,719,721,', 'domain_intercept', '域名拦截', '60', '/proxy/intercept/domain/list?cfgName=domain_intercept', '', '', '1', 'intercept:domain:config', '1', '2018-06-19 17:39:00', '1', '2018-06-23 13:20:49', '', '0', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('724', '719', '0,1,86,719,', 'control_policy', '控制策略', '60', '', '', '', '1', '', '1', '2018-06-19 17:39:24', '1', '2018-06-19 17:39:24', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('725', '724', '0,1,86,719,724,', 'ip_redirect', 'IP控制', '30', '/proxy/control/ip/list?cfgName=ip_control', '', '', '0', 'control:ip:config', '1', '2018-06-19 17:40:46', '1', '2018-07-24 11:11:32', '', '0', null, '0', '0', '202');
+INSERT INTO `sys_menu` VALUES ('726', '724', '0,1,86,719,724,', 'http_redirect', 'http重定向', '90', '/proxy/control/httpRedirect/list', '', '', '0', 'control:httpRedirect:config', '1', '2018-06-19 17:42:40', '1', '2018-07-24 11:22:52', '', '0', null, '0', '0', '206');
+INSERT INTO `sys_menu` VALUES ('727', '724', '0,1,86,719,724,', 'domain_forward', '域名转发', '60', '/proxy/control/domain/list?cfgName=domain_forward', '', '', '0', 'control:domain:config', '1', '2018-06-19 17:43:26', '1', '2018-07-06 10:10:25', '', '0', null, '0', '0', '204');
+INSERT INTO `sys_menu` VALUES ('728', '724', '0,1,86,719,724,', 'http_req_replace', 'http请求替换', '120', '/proxy/control/httpReqReplace/list', '', '', '0', 'proxy:contol:httpReqReplace:config', '1', '2018-06-19 17:44:23', '1', '2018-07-24 11:12:05', '', '0', null, '0', '0', '205');
+INSERT INTO `sys_menu` VALUES ('729', '724', '0,1,86,719,724,', 'http_res_replace', 'http应答替换', '150', '/proxy/control/httpResReplace/list', '', '', '0', 'proxy:contol:httpResReplace:config', '1', '2018-06-19 17:45:04', '1', '2018-07-24 11:12:20', '', '0', null, '0', '0', '203');
+INSERT INTO `sys_menu` VALUES ('730', '948', '0,1,86,948,', 'ip_multiplex_policy', 'IP复用策略', '30', '/manipulation/ipmulitiplex/list?cfgName=ip_multiplex_policy', '', '', '1', 'ip:mulitiplex:config', '1', '2018-06-19 17:46:40', '1', '2018-08-01 09:43:41', '', '1', null, '0', '0', '300');
+INSERT INTO `sys_menu` VALUES ('731', '86', '0,1,86,', 'target_ip_protect', '目标IP防护', '50', '/manipulation/ddos/list', '', '', '1', 'ddos:ip:config', '1', '2018-06-19 17:48:07', '1', '2018-08-03 15:11:15', '', '1', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('732', '720', '0,1,86,720,', 'ratelimit_config', '限流管理', '90', '', '', '', '1', '', '1', '2018-06-19 17:48:46', '1', '2018-06-19 17:53:48', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('733', '983', '0,1,86,930,983,', 'ip_ratelimit', 'IP限流', '30', '/manipulation/ratelimit/ip/list?cfgName=ip_ratelimit', '', '', '0', 'ip:ratelimit:config', '1', '2018-06-19 17:49:25', '1', '2018-08-03 15:07:47', '', '0', null, '0', '0', '302');
+INSERT INTO `sys_menu` VALUES ('734', '610', '0,1,86,931,610,', 'domain_ratelimit', '域名限流', '20', '/manipulation/ratelimit/domain/list?cfgName=domain_ratelimit', '', '', '0', 'domain:ratelimit:config', '1', '2018-06-19 17:49:56', '1', '2018-08-03 15:08:54', '', '0', null, '0', '0', '303');
+INSERT INTO `sys_menu` VALUES ('735', '717', '0,1,86,717,', 'app_features_config', 'APP特征管理', '270', '', '', '', '1', 'app:features:config', '1', '2018-06-19 17:52:10', '1', '2018-06-20 15:42:52', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('736', '948', '0,1,86,948,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '60', '/maintenance/ipMultiplexPoolCfg/list', '', '', '1', 'ip:mulitiplex:pool:config', '1', '2018-06-19 17:53:20', '1', '2018-08-01 11:01:03', '', '1', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('737', '930', '0,1,86,930,', 'social_app_control', 'APP管理', '60', '', '', '', '1', '', '1', '2018-06-20 15:39:22', '1', '2018-07-31 10:49:40', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('738', '930', '0,1,86,930,', 'social_app_control', 'APP策略', '30', '/app/policyCfgList', '', '', '1', 'app:policy:config', '1', '2018-06-20 15:40:56', '1', '2018-08-03 15:05:32', '', '1', null, '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('739', '735', '0,1,86,717,735,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:config', '1', '2018-06-20 15:42:31', '1', '2018-06-23 12:24:12', '', '1', null, '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('740', '735', '0,1,86,717,735,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:config', '1', '2018-06-20 15:43:48', '1', '2018-06-23 11:57:05', '', '1', null, '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('741', '735', '0,1,86,717,735,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:config', '1', '2018-06-20 15:44:19', '1', '2018-06-23 11:57:39', '', '1', null, '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('742', '735', '0,1,86,717,735,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:config', '1', '2018-06-20 15:45:30', '1', '2018-06-23 11:57:59', '', '1', null, '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('743', '717', '0,1,86,717,', 'dns_res_strategy', '响应策略配置', '330', '/maintenance/dnsResStrategy/list', '', '', '1', 'dns:res:strategy:config', '1', '2018-06-20 17:59:52', '1', '2018-06-22 10:48:02', '', '1', null, '0', '0', '400');
+INSERT INTO `sys_menu` VALUES ('744', '941', '0,1,152,941,', 'file_transfer_control', '文件传输管理', '180', '', '', '', '1', '', '1', '2018-06-22 10:23:27', '1', '2018-07-31 12:36:04', '', '1', null, '0', '0', '50');
+INSERT INTO `sys_menu` VALUES ('745', '744', '0,1,152,941,744,', 'ftp_control', 'FTP', '30', '/log/ntc/NtcFtpLogs/list', '', '', '1', '', '1', '2018-06-22 10:25:39', '1', '2018-06-22 10:27:00', '', '1', null, '0', '0', '51');
+INSERT INTO `sys_menu` VALUES ('746', '933', '0,1,150,933,', 'social_app_control', 'APP管理', '90', '', '', '', '1', '', '1', '2018-06-20 15:39:22', '1', '2018-07-31 11:22:48', '', '0', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('747', '933', '0,1,150,933,', 'social_app_control', 'APP策略', '30', '/app/policyCfgList', '', '', '1', 'app:policy:confirm', '1', '2018-06-20 15:40:56', '1', '2018-08-03 15:26:01', '', '1', '', '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('748', '150', '0,1,150,', 'Proxy', 'PROXY', '70', '', '', '', '1', '', '1', '2018-06-19 17:25:38', '1', '2018-08-08 14:59:21', '代理配置', '1', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('749', '150', '0,1,150,', 'Manipulation', 'Manipulation', '120', '', '', '', '1', '', '1', '2018-06-19 17:27:03', '1', '2018-07-31 11:30:06', 'Manipulation', '0', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('750', '150', '0,1,150,', 'Maintenance', 'Maintenance', '80', '', '', '', '1', '', '1', '2018-06-14 17:55:08', '1', '2018-07-31 11:30:38', '', '1', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('751', '750', '0,1,150,750,', 'app_features_config', 'APP特征管理', '270', '', '', '', '1', 'app:features:confirm', '1', '2018-06-19 17:52:10', '1', '2018-06-20 15:42:52', '', '1', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('752', '751', '0,1,150,750,751,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:confirm', '1', '2018-06-20 15:42:31', '1', '2018-06-23 12:24:12', '', '1', '', '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('753', '751', '0,1,150,750,751,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:confirm', '1', '2018-06-20 15:43:48', '1', '2018-06-23 11:57:05', '', '1', '', '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('754', '751', '0,1,150,750,751,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:confirm', '1', '2018-06-20 15:44:19', '1', '2018-06-23 11:57:39', '', '1', '', '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('755', '751', '0,1,150,750,751,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:confirm', '1', '2018-06-20 15:45:30', '1', '2018-06-23 11:57:59', '', '1', '', '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('756', '748', '0,1,150,748,', 'intercept_policy', '拦截策略', '30', '', '', '', '1', '', '1', '2018-06-19 17:29:52', '1', '2018-06-20 15:42:05', '', '1', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('757', '748', '0,1,150,748,', 'control_policy', '控制策略', '60', '', '', '', '1', '', '1', '2018-06-19 17:39:24', '1', '2018-06-19 17:39:24', '', '1', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('758', '757', '0,1,150,748,757,', 'http_redirect', 'http重定向', '60', '/proxy/control/httpRedirect/list', '', '', '1', 'control:httpRedirect:confirm', '1', '2018-06-19 17:42:40', '1', '2018-07-04 10:33:32', '', '0', '', '0', '0', '206');
+INSERT INTO `sys_menu` VALUES ('759', '150', '0,1,150,', 'target_ip_protect', '目标防护IP', '50', '/manipulation/ddos/list', '', '', '1', 'ddos:ip:confirm', '1', '2018-06-29 15:25:40', '1', '2018-08-03 15:36:39', '', '1', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('760', '934', '0,1,150,934,', 'tunnel_protocol_control', '隧道管控', '50', '', '', '', '1', '', '1', '2018-07-04 09:33:59', '1', '2018-07-31 11:25:17', '', '0', null, '0', '0', '40');
+INSERT INTO `sys_menu` VALUES ('761', '760', '0,1,150,934,760,', 'ssh_control', 'SSH管控', '30', '/ntc/iplist/list?cfgName=ssh_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:38:46', '1', '2018-07-04 09:47:04', '', '0', null, '0', '0', '41');
+INSERT INTO `sys_menu` VALUES ('762', '760', '0,1,150,934,760,', 'openvpn_control', 'Openvpn管控', '60', '/ntc/iplist/list?cfgName=openvpn_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:40:42', '1', '2018-07-04 09:47:55', '', '0', null, '0', '0', '42');
+INSERT INTO `sys_menu` VALUES ('763', '760', '0,1,150,934,760,', 'l2tp_ip_control', 'l2tp管控', '90', '/ntc/iplist/list?cfgName=l2tp_ip_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:42:43', '1', '2018-07-04 09:42:43', '', '0', null, '0', '0', '43');
+INSERT INTO `sys_menu` VALUES ('764', '760', '0,1,150,934,760,', 'pptp_ip_control', 'PPTP管控', '120', '/ntc/iplist/list?cfgName=pptp_ip_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:49:04', '1', '2018-07-04 09:49:04', '', '0', null, '0', '0', '44');
+INSERT INTO `sys_menu` VALUES ('765', '760', '0,1,150,934,760,', 'socks_control', 'socks管控', '150', '/ntc/iplist/list?cfgName=socks_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:50:07', '1', '2018-07-04 09:50:07', '', '0', null, '0', '0', '45');
+INSERT INTO `sys_menu` VALUES ('766', '760', '0,1,150,934,760,', 'gre_control', 'GRE管控', '180', '/ntc/iplist/list?cfgName=gre_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 09:51:32', '1', '2018-07-04 09:51:32', '', '0', null, '0', '0', '46');
+INSERT INTO `sys_menu` VALUES ('767', '760', '0,1,150,934,760,', 'ipsec_control', 'ipsec管控', '240', '/ntc/iplist/list?cfgName=ipsec_control', '', '', '1', 'iplist:confirm', '1', '2018-07-04 10:07:56', '1', '2018-07-04 10:07:56', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('768', '756', '0,1,150,748,756,', 'ip_intercept', 'IP拦截', '30', '/proxy/intercept/ip/list?cfgName=ip_intercept', '', '', '1', 'intercept:ip:confirm', '1', '2018-07-04 10:16:24', '1', '2018-07-04 10:16:24', '', '1', null, '0', '0', '200');
+INSERT INTO `sys_menu` VALUES ('769', '721', '0,1,86,719,721,', 'domain_intercept', '域名拦截', '60', '/proxy/intercept/domain/list?cfgName=domain_intercept', '', '', '1', 'intercept:domain:config', '1', '2018-07-04 10:17:29', '1', '2018-07-06 09:53:34', '', '1', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('770', '757', '0,1,150,748,757,', 'ip_redirect', 'IP控制', '30', '/proxy/control/ip/list?cfgName=ip_control', '', '', '1', 'control:ip:confirm', '1', '2018-07-04 10:18:39', '1', '2018-07-17 11:39:33', '', '0', null, '0', '0', '202');
+INSERT INTO `sys_menu` VALUES ('771', '757', '0,1,150,748,757,', 'domain_forward', '域名转发', '90', '/proxy/control/domain/list?cfgName=domain_forward', '', '', '0', 'control:domain:confirm', '1', '2018-07-04 10:19:52', '1', '2018-07-06 10:10:42', '', '0', null, '0', '0', '204');
+INSERT INTO `sys_menu` VALUES ('772', '757', '0,1,150,748,757,', 'http_req_replace', 'http请求替换', '120', '/proxy/control/httpReqReplace/list', '', '', '1', 'proxy:contol:httpReqReplace:confirm', '1', '2018-07-04 10:21:18', '1', '2018-07-04 10:21:18', '', '0', null, '0', '0', '205');
+INSERT INTO `sys_menu` VALUES ('773', '757', '0,1,150,748,757,', 'http_res_replace', 'http应答替换', '150', '/proxy/control/httpResReplace/list', '', '', '1', 'proxy:contol:httpResReplace:confirm', '1', '2018-07-04 10:22:34', '1', '2018-07-04 10:22:34', '', '0', null, '0', '0', '203');
+INSERT INTO `sys_menu` VALUES ('774', '973', '0,1,150,973,', 'ip_multiplex_policy', 'IP复用策略', '60', '/manipulation/ipmulitiplex/list?cfgName=ip_multiplex_policy', '', '', '1', 'ip:mulitiplex:confirm', '1', '2018-07-04 10:23:35', '1', '2018-08-01 10:55:29', '', '1', null, '0', '0', '300');
+INSERT INTO `sys_menu` VALUES ('775', '749', '0,1,150,749,', 'ratelimit_config', '限流管理', '90', '', '', '', '1', '', '1', '2018-07-04 10:25:08', '1', '2018-07-04 10:25:08', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('776', '984', '0,1,150,933,984,', 'ip_ratelimit', 'IP限流', '30', '/manipulation/ratelimit/ip/list?cfgName=ip_ratelimit', '', '', '0', 'ip:ratelimit:confirm', '1', '2018-07-04 10:26:10', '1', '2018-08-03 15:24:21', '', '0', null, '0', '0', '302');
+INSERT INTO `sys_menu` VALUES ('777', '643', '0,1,150,934,643,', 'domain_ratelimit', '域名限流', '20', '/manipulation/ratelimit/domain/list?cfgName=domain_ratelimit', '', '', '0', 'domain:ratelimit:confirm', '1', '2018-07-04 10:27:00', '1', '2018-08-03 15:29:13', '', '0', null, '0', '0', '303');
+INSERT INTO `sys_menu` VALUES ('778', '699', '0,1,150,699,', 'xmpp_control', 'xmpp管控', '60', '/ntc/other/xmppList', '', '', '1', 'other:xmpp:confirm', '1', '2018-07-04 10:40:58', '1', '2018-07-04 10:40:58', '', '1', null, '0', '0', '62');
+INSERT INTO `sys_menu` VALUES ('779', '756', '0,1,150,748,756,', 'domain_intercept', '域名拦截', '60', '/proxy/intercept/domain/list?cfgName=domain_intercept', '', '', '1', 'intercept:domain:confirm', '1', '2018-07-04 10:44:01', '1', '2018-07-04 10:44:01', '', '1', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('780', '1', '0,1,', 'realtime_report', '实时报表', '4091', '', '', '', '1', '', '1', '2018-07-05 13:51:46', '1', '2018-07-05 13:51:46', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('781', '151', '0,1,151,', 'NTC', 'NTC', '30', '', '', '', '1', '', '1', '2018-07-05 13:53:08', '1', '2018-07-13 16:02:32', '', '0', null, '0', '1', '1');
+INSERT INTO `sys_menu` VALUES ('782', '780', '0,1,780,', 'NTC', 'NTC', '30', '', '', '', '1', '', '1', '2018-07-05 13:53:54', '1', '2018-07-05 13:54:58', '', '0', null, '0', '1', '1');
+INSERT INTO `sys_menu` VALUES ('783', '782', '0,1,780,782,', 'test', '测试', '30', '/report/test/list?cfgName=test', '', '', '1', '', '1', '2018-07-05 14:05:45', '1', '2018-07-06 09:18:49', '', '0', null, '0', '0', '9999999');
+INSERT INTO `sys_menu` VALUES ('784', '943', '0,1,780,943,', 'ip_control', 'IP管控', '30', '/report/list?cfgName=ip_control&reportType=1', '', '', '1', '', '1', '2018-07-06 15:03:21', '1', '2018-07-31 12:45:33', '', '1', null, '0', '0', '5');
+INSERT INTO `sys_menu` VALUES ('785', '944', '0,1,780,944,', 'website_control', '网站管控', '30', '', '', '', '1', '', '1', '2018-07-06 16:54:11', '1', '2018-07-31 12:47:54', '', '1', null, '0', '0', '6');
+INSERT INTO `sys_menu` VALUES ('786', '944', '0,1,780,944,', 'DNS', 'DNS', '40', '/report/list?cfgName=DNS&reportType=1', '', '', '1', '', '1', '2018-07-06 16:55:41', '1', '2018-09-06 11:22:13', '', '1', null, '0', '0', '7');
+INSERT INTO `sys_menu` VALUES ('787', '750', '0,1,150,750,', 'ip_spoofing_configuration', '欺骗ip配置', '300', '/cfg/dnsIp/list', '', '', '1', 'dns:fake:ip:confirm', '1', '2018-07-09 10:05:14', '1', '2018-07-09 10:05:53', '', '1', null, '0', '0', '401');
+INSERT INTO `sys_menu` VALUES ('788', '750', '0,1,150,750,', 'dns_res_strategy', '响应策略配置', '330', '/maintenance/dnsResStrategy/list', '', '', '1', 'dns:res:strategy:confirm', '1', '2018-07-09 10:07:58', '1', '2018-07-09 10:09:03', '', '1', null, '0', '0', '400');
+INSERT INTO `sys_menu` VALUES ('789', '973', '0,1,150,973,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '300', '/maintenance/ipMultiplexPoolCfg/list', '', '', '1', 'ip:mulitiplex:pool:confirm', '1', '2018-07-10 17:58:33', '1', '2018-08-01 11:08:57', '', '1', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('790', '785', '0,1,780,944,785,', 'HTTP', 'HTTP', '60', '/report/list?cfgName=HTTP', '', '', '1', '', '1', '2018-07-11 17:19:44', '1', '2018-07-11 17:19:44', '', '1', null, '0', '0', '8');
+INSERT INTO `sys_menu` VALUES ('791', '785', '0,1,780,944,785,', 'ssl_control', 'ssl配置', '90', '/report/list?cfgName=ssl_control', '', '', '1', '', '1', '2018-07-11 17:25:21', '1', '2018-07-11 17:25:21', '', '1', null, '0', '0', '34');
+INSERT INTO `sys_menu` VALUES ('792', '940', '0,1,152,940,', 'social_app_control', 'APP管理', '90', '', '', '', '1', '', '1', '2018-07-11 17:42:02', '1', '2018-07-31 12:32:31', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('793', '944', '0,1,780,944,', 'mail_control', '邮件管理', '60', '/report/list?cfgName=mail_control', '', '', '1', '', '1', '2018-07-11 17:28:22', '1', '2018-07-31 12:48:20', '', '1', null, '0', '0', '35');
+INSERT INTO `sys_menu` VALUES ('794', '944', '0,1,780,944,', 'tunnel_protocol_control', '隧道管控', '92', '', '', '', '1', '', '1', '2018-07-11 17:29:39', '1', '2018-07-31 12:48:39', '', '0', null, '0', '0', '40');
+INSERT INTO `sys_menu` VALUES ('795', '940', '0,1,152,940,', 'social_app_control', 'APP策略', '20', '/log/ntc/ntcAppLogs/list', '', '', '1', '', '1', '2018-07-11 17:43:42', '1', '2018-08-03 16:45:45', '', '0', null, '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('796', '794', '0,1,780,944,794,', 'ssh_control', 'SSH管控', '30', '/report/list?cfgName=ssh_control', '', '', '1', '', '1', '2018-07-11 17:30:37', '1', '2018-07-12 08:36:58', '', '0', null, '0', '0', '41');
+INSERT INTO `sys_menu` VALUES ('797', '152', '0,1,152,', 'Manipulation', 'Manipulation', '120', '', '', '', '1', '', '1', '2018-07-11 17:47:30', '1', '2018-07-11 18:04:13', '', '0', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('798', '794', '0,1,780,944,794,', 'openvpn_control', 'OPENVPN', '60', '/report/list?cfgName=openvpn_control', '', '', '1', '', '1', '2018-07-11 17:33:57', '1', '2018-07-12 08:37:43', '', '0', null, '0', '0', '42');
+INSERT INTO `sys_menu` VALUES ('799', '794', '0,1,780,944,794,', 'pptp_ip_control', 'PPTP', '120', '/report/list?cfgName=pptp_ip_control', '', '', '1', '', '1', '2018-07-11 17:36:46', '1', '2018-07-11 17:41:44', '', '0', null, '0', '0', '44');
+INSERT INTO `sys_menu` VALUES ('800', '794', '0,1,780,944,794,', 'l2tp_ip_control', 'L2TP', '90', '/report/list?cfgName=l2tp_ip_control', '', '', '1', '', '1', '2018-07-11 17:37:37', '1', '2018-07-12 08:40:52', '', '0', null, '0', '0', '43');
+INSERT INTO `sys_menu` VALUES ('801', '152', '0,1,152,', 'target_ip_protect', '目标IP防护', '60', '/log/ntc/ntcDdosLogs/list', '', '', '1', '', '1', '2018-07-11 17:52:12', '1', '2018-08-03 16:48:03', '', '1', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('802', '709', '0,1,152,671,709,', 'IPSEC', 'IPSEC', '270', '/report/list?cfgName=IPSEC', '', '', '1', '', '1', '2018-07-11 17:45:31', '1', '2018-07-11 17:45:31', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('803', '945', '0,1,780,945,', 'av_control', '音视频管控', '30', '', '', '', '1', '', '1', '2018-07-11 17:46:20', '1', '2018-07-31 12:50:24', '', '1', null, '0', '0', '19');
+INSERT INTO `sys_menu` VALUES ('804', '803', '0,1,780,945,803,', 'av_sample_control', '样例管控', '180', '', '', '', '1', '', '1', '2018-07-11 17:46:55', '1', '2018-07-18 12:47:07', '报表', '0', null, '0', '0', '27');
+INSERT INTO `sys_menu` VALUES ('805', '945', '0,1,780,945,', 'av_sample_audio_control', '音频样例管控', '70', '/report/list?cfgName=av_sample_audio_control', '', '', '1', '', '1', '2018-07-11 17:47:40', '1', '2018-07-31 14:45:02', '', '1', null, '0', '0', '28');
+INSERT INTO `sys_menu` VALUES ('806', '794', '0,1,780,944,794,', 'ipsec_control', 'IPSEC', '150', '/report/list?cfgName=ipsec_control', '', '', '1', '', '1', '2018-07-12 08:45:38', '1', '2018-07-12 08:45:38', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('807', '151', '0,1,151,', 'whitelist', '白名单配置', '10', '', '', '', '1', '', '1', '2018-07-13 11:26:21', '1', '2018-07-31 11:35:56', '', '1', null, '0', '0', '2');
+INSERT INTO `sys_menu` VALUES ('808', '807', '0,1,151,807,', 'ip_whitelist', 'IP白名单', '10', '/ntc/whitelist/ip/list', '', '', '1', 'whitelist:ip:audit', '1', '2018-07-13 11:27:39', '1', '2018-07-13 13:36:16', '', '1', null, '0', '0', '3');
+INSERT INTO `sys_menu` VALUES ('809', '807', '0,1,151,807,', 'domain_whitelist', '域名白名单', '20', '/ntc/whitelist/domain/list', '', '', '1', 'whitelist:domain:audit', '1', '2018-07-13 14:33:43', '1', '2018-07-13 14:33:43', '', '1', null, '0', '0', '4');
+INSERT INTO `sys_menu` VALUES ('810', '936', '0,1,151,936,', 'ip_control', 'IP地址管控', '10', '/ntc/iplist/list?cfgName=ip_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:35:34', '1', '2018-08-29 18:20:35', '', '1', null, '0', '0', '5');
+INSERT INTO `sys_menu` VALUES ('811', '937', '0,1,151,937,', 'website_control', '网站管控', '20', '', '', '', '1', '', '1', '2018-07-13 14:37:34', '1', '2018-07-31 11:38:56', '', '1', null, '0', '0', '6');
+INSERT INTO `sys_menu` VALUES ('812', '937', '0,1,151,937,', 'DNS', 'DNS', '10', '/ntc/website/dnsList', '', '', '1', 'website:dns:audit', '1', '2018-07-13 14:38:24', '1', '2018-08-03 15:46:27', '', '1', null, '0', '0', '7');
+INSERT INTO `sys_menu` VALUES ('813', '811', '0,1,151,937,811,', 'HTTP', 'HTTP', '10', '/ntc/website/httpList', '', '', '1', 'website:http:audit', '1', '2018-07-13 14:39:10', '1', '2018-07-13 14:39:10', '', '1', null, '0', '0', '8');
+INSERT INTO `sys_menu` VALUES ('814', '811', '0,1,151,937,811,', 'ssl_control', 'ssl配置', '30', '/ntc/website/sslList', '', '', '1', 'website:ssl:audit', '1', '2018-07-13 14:40:05', '1', '2018-07-13 14:40:05', '', '1', null, '0', '0', '34');
+INSERT INTO `sys_menu` VALUES ('815', '937', '0,1,151,937,', 'mail_control', '邮件配置', '30', '/ntc/mail/mailList', '', '', '1', 'mail:audit', '1', '2018-07-13 14:41:35', '1', '2018-07-31 11:39:22', '', '1', null, '0', '0', '35');
+INSERT INTO `sys_menu` VALUES ('816', '937', '0,1,151,937,', 'tunnel_protocol_control', '隧道管控', '50', '', '', '', '1', '', '1', '2018-07-13 14:42:07', '1', '2018-07-31 11:39:58', '', '1', null, '0', '0', '40');
+INSERT INTO `sys_menu` VALUES ('817', '816', '0,1,151,937,816,', 'ssh_control', 'SSH管控', '30', '/ntc/iplist/list?cfgName=ssh_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:43:03', '1', '2018-07-13 14:43:03', '', '1', null, '0', '0', '41');
+INSERT INTO `sys_menu` VALUES ('818', '816', '0,1,151,937,816,', 'openvpn_control', 'Openvpn管控', '60', '/ntc/iplist/list?cfgName=openvpn_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:43:58', '1', '2018-07-13 14:43:58', '', '1', null, '0', '0', '42');
+INSERT INTO `sys_menu` VALUES ('819', '816', '0,1,151,937,816,', 'l2tp_ip_control', 'l2tp管控', '90', '/ntc/iplist/list?cfgName=l2tp_ip_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:44:51', '1', '2018-07-13 14:44:51', '', '1', null, '0', '0', '43');
+INSERT INTO `sys_menu` VALUES ('820', '816', '0,1,151,937,816,', 'pptp_ip_control', 'PPTP管控', '120', '/ntc/iplist/list?cfgName=pptp_ip_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:45:37', '1', '2018-07-13 14:45:37', '', '1', null, '0', '0', '44');
+INSERT INTO `sys_menu` VALUES ('821', '816', '0,1,151,937,816,', 'socks_control', 'socks管控', '150', '/ntc/iplist/list?cfgName=socks_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:46:24', '1', '2018-07-13 14:46:24', '', '1', null, '0', '0', '45');
+INSERT INTO `sys_menu` VALUES ('822', '816', '0,1,151,937,816,', 'gre_control', 'GRE管控', '180', '/ntc/iplist/list?cfgName=gre_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:47:15', '1', '2018-07-13 14:47:15', '', '1', null, '0', '0', '46');
+INSERT INTO `sys_menu` VALUES ('823', '816', '0,1,151,937,816,', 'ipsec_control', 'ipsec管控', '210', '/ntc/iplist/list?cfgName=ipsec_control', '', '', '1', 'iplist:audit', '1', '2018-07-13 14:47:55', '1', '2018-07-13 14:47:55', '', '0', null, '0', '0', '48');
+INSERT INTO `sys_menu` VALUES ('824', '938', '0,1,151,938,', 'av_control', '音视频管控', '110', '', '', '', '1', '', '1', '2018-07-13 14:51:51', '1', '2018-07-31 11:41:23', '', '1', null, '0', '0', '19');
+INSERT INTO `sys_menu` VALUES ('825', '151', '0,1,151,', 'other', '其他', '5030', '', '', '', '0', '', '1', '2018-07-13 14:53:39', '1', '2018-08-03 15:50:48', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('826', '937', '0,1,151,937,', 'file_transfer_control', '文件传输', '40', '', '', '', '1', '', '1', '2018-07-13 15:06:21', '1', '2018-08-01 12:56:46', '', '1', null, '0', '0', '50');
+INSERT INTO `sys_menu` VALUES ('827', '824', '0,1,151,938,824,', 'av_content_ip_control', '内容IP管控', '30', '/ntc/av/contIpList', '', '', '1', 'avContIp:audit', '1', '2018-07-13 15:07:40', '1', '2018-07-13 15:07:40', '', '1', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('828', '824', '0,1,151,938,824,', 'av_picture_ip_control', '图片IP管控', '60', '/ntc/av/picIpList', '', '', '1', 'avPicIp:audit', '1', '2018-07-13 15:08:36', '1', '2018-07-13 15:08:36', '', '1', null, '0', '0', '21');
+INSERT INTO `sys_menu` VALUES ('829', '824', '0,1,151,938,824,', 'av_content_url_control', '内容URL管控', '90', '/ntc/av/contUrlList', '', '', '1', 'avContUrl:audit', '1', '2018-07-13 15:09:22', '1', '2018-07-13 15:10:34', '', '1', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('830', '824', '0,1,151,938,824,', 'av_picture_url_control', '图片URL管控', '120', '/ntc/av/picUrlList', '', '', '1', 'avPicUrl:audit', '1', '2018-07-13 15:10:21', '1', '2018-07-13 15:10:21', '', '1', null, '0', '0', '23');
+INSERT INTO `sys_menu` VALUES ('831', '938', '0,1,151,938,', 'av_voip_control', 'VoIP管控', '120', '', '', '', '1', 'avVoip:audit', '1', '2018-07-13 15:16:54', '1', '2018-09-13 11:30:50', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('832', '831', '0,1,151,938,831,', 'av_voip_ip_control', 'VoIP IP管控', '30', '/ntc/av/voipList', '', '', '1', 'avVoipIp:audit', '1', '2018-07-13 15:20:11', '1', '2018-09-13 11:45:02', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('833', '831', '0,1,151,938,831,', 'av_voip_account_control', 'VoIP 账号管控', '60', '/ntc/av/voipAccountList', '', '', '1', 'avVoipAccount:audit', '1', '2018-07-13 15:20:55', '1', '2018-09-13 11:45:59', '', '1', null, '0', '0', '25');
+INSERT INTO `sys_menu` VALUES ('835', '824', '0,1,151,938,824,', 'av_sample_control', '样例管控', '180', '', '', '', '1', '', '1', '2018-07-13 15:23:57', '1', '2018-07-13 15:45:58', '审计', '0', null, '0', '0', '27');
+INSERT INTO `sys_menu` VALUES ('836', '938', '0,1,151,938,', 'av_sample_audio_control', '音频样例管控', '130', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:audit', '1', '2018-07-13 15:24:44', '1', '2018-07-31 14:32:11', '', '1', null, '0', '0', '28');
+INSERT INTO `sys_menu` VALUES ('837', '938', '0,1,151,938,', 'av_sample_video_control', '视频样例管控', '140', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:audit', '1', '2018-07-13 15:31:49', '1', '2018-07-31 14:32:36', '', '1', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('838', '835', '0,1,151,781,824,835,', 'test、', '测试', '90', '', '', '', '1', '', '1', '2018-07-13 16:08:09', '1', '2018-07-13 16:08:09', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('839', '835', '0,1,151,781,824,835,', 'test', 'test', '210', '', '', '', '1', '', '1', '2018-07-13 16:13:03', '1', '2018-07-13 16:14:40', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('840', '938', '0,1,151,938,', 'av_sample_picture_control', '图片样例管控', '150', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:audit', '1', '2018-07-13 16:06:06', '1', '2018-07-31 14:32:54', '', '1', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('841', '938', '0,1,151,938,', 'av_sample_voip_control', 'VoIP样例管控', '160', '/ntc/av/sample/fileSampleList', '', '', '1', 'avFileSample:audit', '1', '2018-07-13 16:07:22', '1', '2018-08-03 15:49:01', '', '1', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('842', '938', '0,1,151,938,', 'av_sample_audio_porn_control', '音频色情样例管控', '170', '/ntc/av/sample/audioSignSampleList', '', '', '0', 'avSignSample:audit', '1', '2018-07-13 16:15:45', '1', '2018-08-03 15:48:09', '', '1', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('843', '938', '0,1,151,938,', 'av_sample_video_porn_control', '视频色情样例管控', '180', '/ntc/av/sample/signSampleList', '', '', '0', 'avSignSample:audit', '1', '2018-07-13 16:19:11', '1', '2018-08-03 15:48:20', '', '1', null, '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('844', '826', '0,1,151,937,826,', 'ftp_control', 'FTP配置', '30', '/ntc/fileTransfer/ftpList', '', '', '1', 'fileTransfer:ftp:audit', '1', '2018-07-13 16:20:23', '1', '2018-07-13 16:20:23', '', '1', null, '0', '0', '51');
+INSERT INTO `sys_menu` VALUES ('845', '811', '0,1,151,937,811,', 'file_digest_control', '文件摘要', '40', '/ntc/fileTransfer/fileDigestList', '', '', '1', 'fileTransfer:fileDigest:audit', '1', '2018-07-13 16:21:05', '1', '2018-08-03 15:47:37', '', '1', null, '0', '0', '52');
+INSERT INTO `sys_menu` VALUES ('846', '936', '0,1,151,936,', 'social_app_control', 'APP管理', '90', '', '', '', '1', '', '1', '2018-07-13 16:23:53', '1', '2018-07-31 11:37:48', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('847', '936', '0,1,151,936,', 'social_app_control', 'APP策略', '50', '/app/policyCfgList', '', '', '1', 'app:policy:audit', '1', '2018-07-13 16:24:37', '1', '2018-08-03 15:45:01', '', '1', null, '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('848', '825', '0,1,151,825,', 'bgp_control', 'BGP', '30', '/ntc/other/bgpList', '', '', '1', 'other:bgp:audit', '1', '2018-07-13 16:25:40', '1', '2018-07-13 16:25:40', '', '1', null, '0', '0', '61');
+INSERT INTO `sys_menu` VALUES ('849', '825', '0,1,151,825,', 'xmpp_control', 'xmpp管控', '60', '/ntc/other/xmppList', '', '', '1', 'other:xmpp:audit', '1', '2018-07-13 16:26:25', '1', '2018-07-13 16:26:25', '', '1', null, '0', '0', '62');
+INSERT INTO `sys_menu` VALUES ('850', '151', '0,1,151,', 'Proxy', 'PROXY', '70', '', '', '', '1', '', '1', '2018-07-13 16:27:17', '1', '2018-07-31 11:44:02', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('851', '850', '0,1,151,850,', 'intercept_policy', '拦截策略', '30', '', '', '', '1', '', '1', '2018-07-13 16:27:49', '1', '2018-07-13 16:27:49', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('852', '850', '0,1,151,850,', 'control_policy', '控制策略', '60', '', '', '', '1', '', '1', '2018-07-13 16:28:33', '1', '2018-07-13 16:28:33', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('853', '851', '0,1,151,850,851,', 'ip_intercept', 'IP拦截', '30', '/proxy/intercept/ip/list?cfgName=ip_intercept', '', '', '1', 'intercept:ip:audit', '1', '2018-07-13 16:29:26', '1', '2018-07-13 16:29:26', '', '1', null, '0', '0', '200');
+INSERT INTO `sys_menu` VALUES ('854', '851', '0,1,151,850,851,', 'domain_intercept', '域名拦截', '60', '/proxy/intercept/domain/list?cfgName=domain_intercept', '', '', '1', 'intercept:domain:audit', '1', '2018-07-13 16:30:17', '1', '2018-07-13 16:30:17', '', '1', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('855', '852', '0,1,151,850,852,', 'ip_redirect', 'IP控制', '30', '/proxy/control/ip/list?cfgName=ip_control', '', '', '1', 'control:ip:audit', '1', '2018-07-13 16:31:14', '1', '2018-07-17 11:39:50', '', '0', null, '0', '0', '202');
+INSERT INTO `sys_menu` VALUES ('856', '852', '0,1,151,850,852,', 'http_redirect', 'http重定向', '60', '/proxy/control/httpRedirect/list', '', '', '1', 'control:httpRedirect:audit', '1', '2018-07-13 16:32:34', '1', '2018-07-13 16:32:34', '', '0', null, '0', '0', '206');
+INSERT INTO `sys_menu` VALUES ('857', '852', '0,1,151,850,852,', 'http_req_replace', 'http请求替换', '90', '/proxy/control/httpReqReplace/list', '', '', '1', 'proxy:contol:httpReqReplace:audit', '1', '2018-07-13 16:33:27', '1', '2018-07-13 16:33:27', '', '0', null, '0', '0', '205');
+INSERT INTO `sys_menu` VALUES ('858', '852', '0,1,151,850,852,', 'http_res_replace', 'http应答替换', '120', '/proxy/control/httpResReplace/list', '', '', '1', 'proxy:contol:httpResReplace:audit', '1', '2018-07-13 16:34:36', '1', '2018-07-13 16:34:36', '', '0', null, '0', '0', '203');
+INSERT INTO `sys_menu` VALUES ('859', '151', '0,1,151,', 'Manipulation', 'Manipulation', '130', '', '', '', '1', '', '1', '2018-07-13 16:35:28', '1', '2018-07-31 11:44:25', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('860', '972', '0,1,151,972,', 'ip_multiplex_policy', 'IP复用策略', '30', '/manipulation/ipmulitiplex/list?cfgName=ip_multiplex_policy', '', '', '1', 'ip:mulitiplex:audit', '1', '2018-07-13 16:36:16', '1', '2018-08-01 10:43:36', '', '1', null, '0', '0', '300');
+INSERT INTO `sys_menu` VALUES ('861', '151', '0,1,151,', 'target_ip_protect', '目标IP防护', '50', '/manipulation/ddos/list', '', '', '1', 'ddos:ip:audit', '1', '2018-07-13 16:37:17', '1', '2018-08-03 15:49:25', '', '1', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('862', '859', '0,1,151,859,', 'ratelimit_config', '限流管理', '90', '', '', '', '1', '', '1', '2018-07-13 16:37:53', '1', '2018-07-13 16:37:53', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('863', '985', '0,1,151,936,985,', 'ip_ratelimit', 'IP限流', '30', '/manipulation/ratelimit/ip/list?cfgName=ip_ratelimit', '', '', '0', 'ip:ratelimit:audit', '1', '2018-07-13 16:38:35', '1', '2018-08-03 15:42:34', '', '0', null, '0', '0', '302');
+INSERT INTO `sys_menu` VALUES ('864', '811', '0,1,151,937,811,', 'domain_ratelimit', '域名限流', '20', '/manipulation/ratelimit/domain/list?cfgName=domain_ratelimit', '', '', '0', 'domain:ratelimit:audit', '1', '2018-07-13 16:39:35', '1', '2018-08-03 15:46:57', '', '0', null, '0', '0', '303');
+INSERT INTO `sys_menu` VALUES ('865', '151', '0,1,151,', 'Maintenance', 'Maintenance', '80', '', '', '', '1', '', '1', '2018-07-13 16:40:36', '1', '2018-07-31 11:44:38', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('866', '865', '0,1,151,865,', 'app_features_config', 'APP特征管理', '30', '', '', '', '1', 'app:features:audit', '1', '2018-07-13 16:41:14', '1', '2018-07-13 16:41:14', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('867', '866', '0,1,151,865,866,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:audit', '1', '2018-07-13 16:42:22', '1', '2018-07-13 16:44:29', '', '1', null, '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('868', '866', '0,1,151,865,866,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:audit', '1', '2018-07-13 16:43:31', '1', '2018-07-13 16:44:55', '', '1', null, '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('869', '866', '0,1,151,865,866,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:audit', '1', '2018-07-13 16:45:53', '1', '2018-07-13 16:45:53', '', '1', null, '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('870', '866', '0,1,151,865,866,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:audit', '1', '2018-07-13 16:46:41', '1', '2018-07-13 16:46:41', '', '1', null, '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('871', '972', '0,1,151,972,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '60', '/maintenance/ipMultiplexPoolCfg/list', '', '', '1', 'ip:mulitiplex:pool:audit', '1', '2018-07-13 16:47:31', '1', '2018-08-01 10:46:04', '', '1', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('872', '865', '0,1,151,865,', 'dns_res_strategy', '响应策略配置', '90', '/maintenance/dnsResStrategy/list', '', '', '1', 'dns:res:strategy:audit', '1', '2018-07-13 16:48:45', '1', '2018-07-13 16:49:44', '', '1', null, '0', '0', '400');
+INSERT INTO `sys_menu` VALUES ('873', '865', '0,1,151,865,', 'ip_spoofing_configuration', '欺骗IP配置', '120', '/cfg/dnsIp/list', '', '', '1', 'dns:fake:ip:audit', '1', '2018-07-13 16:54:27', '1', '2018-07-13 16:54:27', '', '1', null, '0', '0', '401');
+INSERT INTO `sys_menu` VALUES ('874', '750', '0,1,150,750,', 'ip_spoofing_configuration', '欺骗IP配置', '360', '/cfg/dnsIp/list', '', '', '1', 'dns:fake:ip:confirm', '1', '2018-07-13 16:56:31', '1', '2018-07-13 16:56:31', '', '0', null, '0', '0', '401');
+INSERT INTO `sys_menu` VALUES ('875', '1', '0,1,', 'dashboard', 'dashboard', '50', '/dashboard/logChart', '', '', '1', '', '1', '2018-07-17 09:19:55', '1', '2018-09-15 13:47:53', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('876', '875', '0,1,875,', 'traffic_chart', '流量统计图表', '30', '/dashboard/logChart', '', '', '1', '', '1', '2018-07-17 09:24:46', '1', '2018-08-29 17:51:10', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('877', '945', '0,1,780,945,', 'av_sample_video_control', '视频样例管控', '80', '/report/list?cfgName=av_sample_video_control', '', '', '1', '', '1', '2018-07-18 10:18:22', '1', '2018-08-30 14:21:55', '', '1', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('878', '945', '0,1,780,945,', 'av_sample_picture_control', '图片样例管控', '90', '/report/list?cfgName=av_sample_picture_control', '', '', '1', '', '1', '2018-07-18 10:25:00', '1', '2018-07-31 14:45:47', '', '1', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('879', '945', '0,1,780,945,', 'av_sample_voip_control', 'VoIP样例管控', '120', '/report/list?cfgName=av_sample_voip_control', '', '', '1', '', '1', '2018-07-18 10:29:15', '1', '2018-07-31 14:46:08', '', '1', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('880', '945', '0,1,780,945,', 'av_sample_audio_porn_control', '音频色情样例管控', '150', '/report/list?cfgName=av_sample_audio_porn_control', '', '', '1', '', '1', '2018-07-18 10:31:48', '1', '2018-07-31 14:46:24', '', '1', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('881', '945', '0,1,780,945,', 'av_sample_video_porn_control', '视频色情样例管控', '180', '/report/list?cfgName=av_sample_vedio_porn_control', '', '', '1', '', '1', '2018-07-18 10:33:25', '1', '2018-07-31 14:46:41', '', '1', null, '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('882', '943', '0,1,780,943,', 'social_app_control', 'APP管理', '90', '', '', '', '1', '', '1', '2018-07-18 10:35:19', '1', '2018-07-31 12:46:28', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('883', '943', '0,1,780,943,', 'social_app_control', 'APP协议日志', '90', '/report/list?cfgName=social_app_control', '', '', '1', '', '1', '2018-07-18 10:42:05', '1', '2018-08-29 16:55:28', '', '1', null, '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('884', '944', '0,1,780,944,', 'file_transfer_control', '文件传输管理', '150', '', '', '', '1', '', '1', '2018-07-18 10:44:00', '1', '2018-07-31 12:49:03', '', '1', null, '0', '0', '50');
+INSERT INTO `sys_menu` VALUES ('885', '884', '0,1,780,944,884,', 'ftp_control', 'FTP', '30', '/report/list?cfgName=ftp_control', '', '', '1', '', '1', '2018-07-18 10:45:30', '1', '2018-07-18 10:45:30', '', '1', null, '0', '0', '51');
+INSERT INTO `sys_menu` VALUES ('886', '780', '0,1,780,', 'Manipulation', 'Manipulation', '120', '', '', '', '1', '', '1', '2018-07-18 10:51:24', '1', '2018-08-01 10:11:12', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('887', '780', '0,1,780,', 'target_ip_protect', '目标IP防护', '30', '/report/list?cfgName=target_ip_protect', '', '', '1', '', '1', '2018-07-18 10:53:19', '1', '2018-08-03 16:49:27', '', '1', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('888', '940', '0,1,152,940,', 'dk_behavior', '行为识别', '30', '/log/manipulation/dkbehaviorLogs', '', '', '1', '', '1', '2018-07-18 10:57:13', '1', '2018-08-13 18:23:21', '', '0', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('889', '673', '0,1,152,671,672,673,', 'av_content_ip_control', '内容IP管控', '180', '', '', '', '1', '', '1', '2018-07-18 11:26:51', '1', '2018-07-18 14:56:41', '', '0', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('890', '803', '0,1,780,945,803,', 'av_picture_ip_control', '图片IP管控', '60', '/report/list?cfgName=av_picture_ip_control', '', '', '1', '', '1', '2018-07-18 11:28:10', '1', '2018-07-18 12:56:19', '', '1', null, '0', '0', '21');
+INSERT INTO `sys_menu` VALUES ('891', '803', '0,1,780,945,803,', 'av_content_url_control', '内容URL管控', '90', '/report/list?cfgName=av_content_url_control', '', '', '1', '', '1', '2018-07-18 11:29:02', '1', '2018-07-18 12:56:43', '', '1', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('892', '803', '0,1,780,945,803,', 'av_picture_url_control', '图片URL管控', '120', '/report/list?cfgName=av_picture_url_control', '', '', '1', '', '1', '2018-07-18 11:30:07', '1', '2018-07-18 12:57:08', '', '1', null, '0', '0', '23');
+INSERT INTO `sys_menu` VALUES ('893', '672', '0,1,152,942,672,', 'av_picture_ip_control', '图片IP管控', '60', '/log/ntc/mmPicIpLogs', '', '', '1', '', '1', '2018-07-18 11:33:52', '1', '2018-07-23 16:43:00', '', '1', null, '0', '0', '21');
+INSERT INTO `sys_menu` VALUES ('894', '673', '0,1,152,671,672,673,', 'av_content_url_control', '内容URL管控', '300', '', '', '', '1', '', '1', '2018-07-18 11:34:34', '1', '2018-07-18 15:11:48', '', '0', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('895', '672', '0,1,152,942,672,', 'av_picture_url_control', '图片URL管控', '120', '/log/ntc/mmPicUrlLogs', '', '', '1', '', '1', '2018-07-18 11:35:22', '1', '2018-09-06 11:55:45', '', '1', null, '0', '0', '23');
+INSERT INTO `sys_menu` VALUES ('896', '946', '0,1,152,942,946,', 'av_voip_ip_control', 'VoIP IP', '150', '/log/ntc/mmVoipIpLogs', '', '', '1', '', '1', '2018-07-18 11:37:01', '1', '2018-08-08 14:36:18', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('898', '803', '0,1,780,945,803,', 'av_content_ip_control', '内容IP管控', '30', '/report/list?cfgName=av_content_ip_control', '', '', '1', '', '1', '2018-07-18 12:45:05', '1', '2018-07-18 12:45:05', '', '1', null, '0', '0', '20');
+INSERT INTO `sys_menu` VALUES ('900', '945', '0,1,780,945,', 'av_voip_control', 'VoIP管控', '60', '', '', '', '1', '', '1', '2018-07-18 12:54:28', '1', '2018-08-01 16:36:11', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('901', '672', '0,1,152,942,672,', 'av_content_url_control', '内容URL管控', '90', '/log/ntc/mmAvUrlLogs', '', '', '1', '', '1', '2018-07-18 16:34:31', '1', '2018-09-06 11:56:51', '', '1', null, '0', '0', '22');
+INSERT INTO `sys_menu` VALUES ('902', '930', '0,1,86,930,', 'basic_protocol', '基础协议', '20', '/basicprotocol/list', '', '', '1', 'basicprotocol:config', '1', '2018-07-23 10:24:17', '1', '2018-08-29 18:24:19', '', '1', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('903', '930', '0,1,86,930,', 'encrypted_tunnel_behavior', '加密隧道行为', '50', '/encryptedtunnelbehav/list', '', '', '1', 'encryptedtunnelbehav:config', '1', '2018-07-23 10:26:12', '1', '2018-07-31 10:50:51', '', '1', null, '0', '0', '408');
+INSERT INTO `sys_menu` VALUES ('904', '946', '0,1,152,942,946,', 'av_voip_account_control', 'VoIP Account管控', '180', '/log/ntc/mmAvVoipAccountLogs', '', '', '0', '', '1', '2018-07-23 16:26:23', '1', '2018-09-13 11:34:05', '', '1', null, '0', '0', '25');
+INSERT INTO `sys_menu` VALUES ('905', '942', '0,1,152,942,', 'av_sample_audio_control', '音频样例', '90', '/log/ntc/mmSampleAudioLogs', '', '', '1', '', '1', '2018-07-23 16:29:05', '1', '2018-07-31 14:36:33', '', '1', null, '0', '0', '28');
+INSERT INTO `sys_menu` VALUES ('906', '942', '0,1,152,942,', 'av_sample_video_control', '视频样例', '100', '/log/ntc/mmSampleVideoLogs', '', '', '1', '', '1', '2018-07-23 16:29:56', '1', '2018-07-31 14:36:53', '', '1', null, '0', '0', '29');
+INSERT INTO `sys_menu` VALUES ('907', '942', '0,1,152,942,', 'av_sample_picture_control', '图片样例', '110', '/log/ntc/mmSamplePicLogs', '', '', '1', '', '1', '2018-07-23 16:32:20', '1', '2018-07-31 14:37:22', '', '1', null, '0', '0', '30');
+INSERT INTO `sys_menu` VALUES ('908', '942', '0,1,152,942,', 'av_sample_voip_control', 'VoIP样例', '120', '/log/ntc/mmSampleVoipLogs', '', '', '1', '', '1', '2018-07-23 16:35:43', '1', '2018-07-31 14:37:42', '', '1', null, '0', '0', '31');
+INSERT INTO `sys_menu` VALUES ('909', '942', '0,1,152,942,', 'av_sample_audio_porn', '音频色情样例', '150', '/log/ntc/mmSampleAudioLevelLogs', '', '', '1', '', '1', '2018-07-23 16:38:13', '1', '2018-07-31 14:37:58', '', '1', null, '0', '0', '32');
+INSERT INTO `sys_menu` VALUES ('910', '942', '0,1,152,942,', 'av_sample_video_porn', '视频色情样例', '180', '/log/ntc/mmSampleVideoLevelLogs', '', '', '1', '', '1', '2018-07-23 16:39:13', '1', '2018-07-31 14:38:21', '', '1', null, '0', '0', '33');
+INSERT INTO `sys_menu` VALUES ('911', '724', '0,1,86,719,724,', 'http_block', 'HTTP管控', '180', '/proxy/control/httpRedirect/httpBlockList', '', '', '1', 'control:httpBlock:config', '1', '2018-07-24 11:06:03', '1', '2018-07-25 10:42:57', '', '1', null, '0', '0', '207');
+INSERT INTO `sys_menu` VALUES ('912', '724', '0,1,86,719,724,', 'http_redirect', 'HTTP重定向', '210', '/proxy/control/httpRedirect/httpRedirectList', '', '', '1', 'control:httpRedirect:config', '1', '2018-07-24 11:06:49', '1', '2018-07-24 11:15:35', '', '1', null, '0', '0', '208');
+INSERT INTO `sys_menu` VALUES ('913', '724', '0,1,86,719,724,', 'http_replace', 'HTTP替换', '240', '/proxy/control/httpRedirect/httpReplaceList', '', '', '1', 'control:httpReplace:config', '1', '2018-07-24 11:08:34', '1', '2018-07-25 10:43:28', '', '1', null, '0', '0', '209');
+INSERT INTO `sys_menu` VALUES ('914', '724', '0,1,86,719,724,', 'http_monit', 'HTTP监测', '270', '/proxy/control/httpRedirect/httpMonitList', '', '', '1', 'control:httpMonit:config', '1', '2018-07-24 11:08:59', '1', '2018-07-25 10:43:52', '', '1', null, '0', '0', '210');
+INSERT INTO `sys_menu` VALUES ('915', '724', '0,1,86,719,724,', 'http_whitelist', 'HTTP白名单', '300', '/proxy/control/httpRedirect/httpWhitelistList', '', '', '1', 'control:httpWhitelist:config', '1', '2018-07-24 11:09:35', '1', '2018-07-25 10:44:13', '', '1', null, '0', '0', '211');
+INSERT INTO `sys_menu` VALUES ('916', '933', '0,1,150,933,', 'basic_protocol', '基础协议', '20', '/basicprotocol/list', '', '', '1', 'basicprotocol:confirm', '1', '2018-07-24 18:13:37', '1', '2018-07-31 11:21:18', '', '1', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('917', '757', '0,1,150,748,757,', 'http_block', 'HTTP管控', '30', '/proxy/control/httpRedirect/httpBlockList', '', '', '1', 'control:httpBlock:confirm', '1', '2018-07-25 10:38:37', '1', '2018-07-25 10:45:08', '', '1', null, '0', '0', '207');
+INSERT INTO `sys_menu` VALUES ('918', '757', '0,1,150,748,757,', 'http_redirect', 'HTTP重定向', '60', '/proxy/control/httpRedirect/httpRedirectList', '', '', '1', 'control:httpRedirect:confirm', '1', '2018-07-25 10:39:14', '1', '2018-07-25 10:45:32', '', '1', null, '0', '0', '208');
+INSERT INTO `sys_menu` VALUES ('919', '757', '0,1,150,748,757,', 'http_replace', 'HTTP替换', '90', '/proxy/control/httpRedirect/httpReplaceList', '', '', '1', 'control:httpReplace:confirm', '1', '2018-07-25 10:39:43', '1', '2018-07-25 10:45:46', '', '1', null, '0', '0', '209');
+INSERT INTO `sys_menu` VALUES ('920', '757', '0,1,150,748,757,', 'http_monit', 'HTTP监测', '120', '/proxy/control/httpRedirect/httpMonitList', '', '', '1', 'control:httpMonit:confirm', '1', '2018-07-25 10:40:56', '1', '2018-07-25 10:46:04', '', '1', null, '0', '0', '210');
+INSERT INTO `sys_menu` VALUES ('921', '757', '0,1,150,748,757,', 'http_whitelist', 'HTTP白名单', '150', '/proxy/control/httpRedirect/httpWhitelistList', '', '', '1', 'control:httpWhitelist:confirm', '1', '2018-07-25 10:41:31', '1', '2018-07-25 10:46:25', '', '1', null, '0', '0', '211');
+INSERT INTO `sys_menu` VALUES ('922', '852', '0,1,150,748,852,', 'http_block', 'HTTP管控', '30', '/proxy/control/httpRedirect/httpBlockList', '', '', '1', 'control:httpBlock:audit', '1', '2018-07-25 10:38:37', '1', '2018-07-25 10:45:08', '', '1', '', '0', '0', '207');
+INSERT INTO `sys_menu` VALUES ('923', '852', '0,1,150,748,852,', 'http_redirect', 'HTTP重定向', '60', '/proxy/control/httpRedirect/httpRedirectList', '', '', '1', 'control:httpRedirect:audit', '1', '2018-07-25 10:39:14', '1', '2018-07-25 10:45:32', '', '1', '', '0', '0', '208');
+INSERT INTO `sys_menu` VALUES ('924', '852', '0,1,150,748,852,', 'http_replace', 'HTTP替换', '90', '/proxy/control/httpRedirect/httpReplaceList', '', '', '1', 'control:httpReplace:audit', '1', '2018-07-25 10:39:43', '1', '2018-07-25 10:45:46', '', '1', '', '0', '0', '209');
+INSERT INTO `sys_menu` VALUES ('925', '852', '0,1,150,748,852,', 'http_monit', 'HTTP监测', '120', '/proxy/control/httpRedirect/httpMonitList', '', '', '1', 'control:httpMonit:audit', '1', '2018-07-25 10:40:56', '1', '2018-07-25 10:46:04', '', '1', '', '0', '0', '210');
+INSERT INTO `sys_menu` VALUES ('926', '852', '0,1,150,748,852,', 'http_whitelist', 'HTTP白名单', '150', '/proxy/control/httpRedirect/httpWhitelistList', '', '', '1', 'control:httpWhitelist:audit', '1', '2018-07-25 10:41:31', '1', '2018-07-25 10:46:25', '', '1', '', '0', '0', '211');
+INSERT INTO `sys_menu` VALUES ('927', '933', '0,1,150,933,', 'encrypted_tunnel_behavior', '加密隧道行为', '40', '/encryptedtunnelbehav/list', '', '', '1', 'encryptedtunnelbehav:confirm', '1', '2018-07-25 16:07:12', '1', '2018-07-31 11:23:22', '', '1', null, '0', '0', '408');
+INSERT INTO `sys_menu` VALUES ('928', '936', '0,1,151,936,', 'encrypted_tunnel_behavior', '加密隧道行为', '60', '/encryptedtunnelbehav/list', '', '', '1', 'encryptedtunnelbehav:audit', '1', '2018-07-25 16:08:03', '1', '2018-07-31 11:38:24', '', '1', null, '0', '0', '408');
+INSERT INTO `sys_menu` VALUES ('929', '936', '0,1,151,936,', 'basic_protocol', '基础协议', '40', '/basicprotocol/list', '', '', '1', 'basicprotocol:audit', '1', '2018-07-25 16:09:26', '1', '2018-08-09 08:46:00', '', '1', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('930', '86', '0,1,86,', 'protocol_and_app', '协议及应用', '20', '', '', '', '1', '', '1', '2018-07-31 10:44:33', '1', '2018-07-31 10:44:33', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('931', '86', '0,1,86,', 'text_content_monitor', '文本内容监测', '30', '', '', '', '1', '', '1', '2018-07-31 10:54:42', '1', '2018-07-31 10:54:42', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('932', '86', '0,1,86,', 'multimedia', '多媒体', '40', '', '', '', '1', '', '1', '2018-07-31 11:02:01', '1', '2018-07-31 11:02:01', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('933', '150', '0,1,150,', 'protocol_and_app', '协议及应用', '20', '', '', '', '1', '', '1', '2018-07-31 11:18:19', '1', '2018-07-31 11:18:19', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('934', '150', '0,1,150,', 'text_content_monitor', '文本内容监管', '30', '', '', '', '1', '', '1', '2018-07-31 11:19:17', '1', '2018-07-31 11:19:17', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('935', '150', '0,1,150,', 'multimedia', '多媒体', '40', '', '', '', '1', '', '1', '2018-07-31 11:19:46', '1', '2018-07-31 11:19:46', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('936', '151', '0,1,151,', 'protocol_and_app', '协议及应用', '20', '', '', '', '1', '', '1', '2018-07-31 11:34:07', '1', '2018-07-31 11:34:07', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('937', '151', '0,1,151,', 'text_content_monitor', '文本内容监管', '30', '', '', '', '1', '', '1', '2018-07-31 11:34:37', '1', '2018-07-31 11:34:37', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('938', '151', '0,1,151,', 'multimedia', '多媒体', '40', '', '', '', '1', '', '1', '2018-07-31 11:35:08', '1', '2018-07-31 11:35:08', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('939', '152', '0,1,152,', 'whitelist', '白名单', '30', '', '', '', '1', '', '1', '2018-07-31 11:51:21', '1', '2018-07-31 11:51:21', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('940', '152', '0,1,152,', 'protocol_and_app', '协议及应用', '10', '', '', '', '1', '', '1', '2018-07-31 12:27:51', '1', '2018-07-31 12:27:51', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('941', '152', '0,1,152,', 'text_content_monitor', '文本内容监管', '90', '', '', '', '1', '', '1', '2018-07-31 12:28:36', '1', '2018-07-31 12:28:36', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('942', '152', '0,1,152,', 'multimedia', '多媒体', '110', '', '', '', '1', '', '1', '2018-07-31 12:29:31', '1', '2018-07-31 12:29:31', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('943', '780', '0,1,780,', 'protocol_and_app', '协议及应用', '10', '', '', '', '1', '', '1', '2018-07-31 12:44:03', '1', '2018-09-06 11:14:05', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('944', '780', '0,1,780,', 'text_content_monitor', '文本内容监管', '90', '', '', '', '1', '', '1', '2018-07-31 12:47:17', '1', '2018-07-31 12:47:17', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('945', '780', '0,1,780,', 'multimedia', '多媒体', '100', '', '', '', '1', '', '1', '2018-07-31 12:50:02', '1', '2018-08-01 10:10:44', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('946', '942', '0,1,152,942,', 'av_voip_control', 'VoIP管控', '60', '', '', '', '1', '', '1', '2018-07-31 14:41:54', '1', '2018-07-31 14:41:54', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('947', '720', '0,1,86,720,', 'ddos_system', 'DDOS系统', '30', '', '', '', '1', '', '1', '2018-08-01 09:41:09', '1', '2018-08-01 09:41:09', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('948', '86', '0,1,86,', 'ip_reuse_system', 'IP复用系统', '60', '', '', '', '1', '', '1', '2018-08-01 09:43:15', '1', '2018-08-03 15:12:15', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('949', '948', '0,1,86,720,948,', 'IP_reuse_addr_pool', 'IP复用地址池', '60', '', '', '', '1', '', '1', '2018-08-01 09:44:51', '1', '2018-08-01 09:44:51', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('950', '749', '0,1,150,749,', 'ddos_system', 'DDOS系统', '30', '', '', '', '1', '', '1', '2018-08-01 09:45:37', '1', '2018-08-01 09:45:37', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('951', '152', '0,1,152,', 'Proxy', 'PROXY', '130', '', '', '', '1', '', '1', '2018-08-01 10:02:38', '1', '2018-08-01 10:02:38', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('952', '951', '0,1,152,951,', 'intercept_policy', '拦截策略', '30', '', '', '', '1', '', '1', '2018-08-01 10:03:38', '1', '2018-08-01 10:03:38', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('953', '951', '0,1,152,951,', 'control_policy', '控制策略', '60', '', '', '', '1', '', '1', '2018-08-01 10:04:12', '1', '2018-08-01 10:04:12', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('954', '952', '0,1,152,951,952,', 'ip_intercept', 'IP拦截', '30', '/log/pxy/ipInterceptlogs', '', '', '1', '', '1', '2018-08-01 10:06:11', '1', '2018-08-01 10:14:22', '', '0', null, '0', '0', '200');
+INSERT INTO `sys_menu` VALUES ('955', '952', '0,1,152,951,952,', 'domain_intercept', '域名拦截', '60', '/log/pxy/domainInterceptlogs', '', '', '1', '', '1', '2018-08-01 10:07:55', '1', '2018-08-01 10:14:50', '', '0', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('956', '780', '0,1,780,', 'Proxy', 'PROXY', '130', '', '', '', '1', '', '1', '2018-08-01 10:10:19', '1', '2018-08-02 15:44:17', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('957', '956', '0,1,780,956,', 'intercept_policy', '拦截策略', '30', '', '', '', '1', '', '1', '2018-08-01 10:12:04', '1', '2018-08-01 10:12:04', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('958', '956', '0,1,780,956,', 'control_policy', '控制策略', '60', '', '', '', '1', '', '1', '2018-08-01 10:12:32', '1', '2018-08-01 10:12:32', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('959', '953', '0,1,152,951,953,', 'http_block', 'HTTP管控', '30', '/log/pxy/httpBlocklogs', '', '', '1', '', '1', '2018-08-01 10:16:26', '1', '2018-08-01 10:16:26', '', '1', null, '0', '0', '207');
+INSERT INTO `sys_menu` VALUES ('960', '953', '0,1,152,951,953,', 'http_redirect', 'HTTP重定向', '60', '/log/pxy/httpRedirectlogs', '', '', '1', '', '1', '2018-08-01 10:17:41', '1', '2018-08-01 10:17:41', '', '1', null, '0', '0', '208');
+INSERT INTO `sys_menu` VALUES ('961', '886', '0,1,780,886,', 'ddos_system', 'DDOS系统', '30', '', '', '', '1', '', '1', '2018-08-01 10:17:44', '1', '2018-08-01 10:17:44', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('962', '953', '0,1,152,951,953,', 'http_replace', 'HTTP替换', '90', '/log/pxy/httpReplacelogs', '', '', '1', '', '1', '2018-08-01 10:18:38', '1', '2018-08-01 10:18:38', '', '1', null, '0', '0', '209');
+INSERT INTO `sys_menu` VALUES ('963', '953', '0,1,152,951,953,', 'http_monit', 'HTTP监测', '120', '/log/pxy/httpMonitogs', '', '', '1', '', '1', '2018-08-01 10:19:48', '1', '2018-08-01 10:19:48', '', '1', null, '0', '0', '210');
+INSERT INTO `sys_menu` VALUES ('964', '886', '0,1,780,886,', 'ip_reuse_system', 'IP复用系统', '60', '', '', '', '1', '', '1', '2018-08-01 10:20:09', '1', '2018-08-01 10:20:09', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('965', '964', '0,1,780,886,964,', 'ip_multiplex_policy', 'IP复用策略', '30', '/report/list?cfgName=ip_multiplex_policy', '', '', '1', '', '1', '2018-08-01 10:23:21', '1', '2018-08-01 10:24:39', '', '0', null, '0', '0', '300');
+INSERT INTO `sys_menu` VALUES ('966', '964', '0,1,780,886,964,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '60', '/report/list?cfgName=ip_multiplex_pool_config', '', '', '1', '', '1', '2018-08-01 10:26:41', '1', '2018-08-01 10:50:29', '', '0', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('967', '797', '0,1,152,797,', 'ddos_system', 'DDOS系统', '30', '', '', '', '1', '', '1', '2018-08-01 10:32:41', '1', '2018-08-01 10:32:41', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('968', '797', '0,1,152,797,', 'ip_reuse_system', 'IP复用系统', '60', '', '', '', '0', '', '1', '2018-08-01 10:34:27', '1', '2018-08-02 15:40:29', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('969', '968', '0,1,152,797,968,', 'ip_multiplex_policy', 'IP复用策略', '30', '', '', '', '1', '', '1', '2018-08-01 10:36:06', '1', '2018-08-01 10:36:06', '', '0', null, '0', '0', '300');
+INSERT INTO `sys_menu` VALUES ('970', '968', '0,1,152,797,968,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '60', '', '', '', '1', '', '1', '2018-08-01 10:37:03', '1', '2018-08-01 10:52:20', '', '0', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('971', '859', '0,1,151,859,', 'ddos_system', 'DDOS系统', '30', '', '', '', '1', '', '1', '2018-08-01 10:40:55', '1', '2018-08-01 10:40:55', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('972', '151', '0,1,151,', 'ip_reuse_system', 'IP复用系统', '60', '', '', '', '1', '', '1', '2018-08-01 10:42:45', '1', '2018-08-03 15:49:51', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('973', '150', '0,1,150,', 'ip_reuse_system', 'IP复用系统', '60', '', '', '', '1', '', '1', '2018-08-01 10:54:48', '1', '2018-08-03 15:37:14', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('974', '973', '0,1,150,749,973,', 'ip_multiplex_pool_config', 'IP复用地址池配置', '60', '/maintenance/ipMultiplexPoolCfg/list', '', '', '1', 'ip:mulitiplex:pool:audit', '1', '2018-08-01 10:56:50', '1', '2018-08-01 10:56:50', '', '0', null, '0', '0', '406');
+INSERT INTO `sys_menu` VALUES ('975', '900', '0,1,780,945,900,', 'av_voip_ip_control', 'VoIP IP 管控', '30', '/report/list?cfgName=av_voip_control', '', '', '1', '', '1', '2018-08-01 16:40:40', '1', '2018-09-06 13:22:09', '', '1', null, '0', '0', '24');
+INSERT INTO `sys_menu` VALUES ('976', '900', '0,1,780,945,900,', 'av_voip_account_control', 'VoIP Account管控', '60', '/report/list?cfgName=av_voip_account_control', '', '', '1', '', '1', '2018-08-01 16:42:07', '1', '2018-08-29 17:31:02', '', '1', null, '0', '0', '25');
+INSERT INTO `sys_menu` VALUES ('977', '957', '0,1,780,956,957,', 'ip_intercept', 'IP拦截', '30', '/report/list?cfgName=ip_intercept', '', '', '1', '', '1', '2018-08-01 16:43:54', '1', '2018-08-01 16:43:54', '', '0', null, '0', '0', '200');
+INSERT INTO `sys_menu` VALUES ('978', '957', '0,1,780,956,957,', 'domain_intercept', '域名拦截', '60', '/report/list?cfgName=domain_intercept', '', '', '1', '', '1', '2018-08-01 16:44:53', '1', '2018-08-01 16:44:53', '', '0', null, '0', '0', '201');
+INSERT INTO `sys_menu` VALUES ('979', '958', '0,1,780,956,958,', 'http_block', 'HTTP管控', '30', '/report/list?cfgName=http_block', '', '', '1', '', '1', '2018-08-01 16:45:56', '1', '2018-08-01 16:45:56', '', '1', null, '0', '0', '207');
+INSERT INTO `sys_menu` VALUES ('980', '958', '0,1,780,956,958,', 'http_redirect', 'HTTP重定向', '60', '/report/list?cfgName=http_redirect', '', '', '1', '', '1', '2018-08-01 16:47:32', '1', '2018-08-01 16:47:32', '', '1', null, '0', '0', '208');
+INSERT INTO `sys_menu` VALUES ('981', '958', '0,1,780,956,958,', 'http_replace', 'HTTP替换', '90', '/report/list?cfgName=http_replace', '', '', '1', '', '1', '2018-08-01 16:48:40', '1', '2018-08-01 16:48:40', '', '1', null, '0', '0', '209');
+INSERT INTO `sys_menu` VALUES ('982', '958', '0,1,780,956,958,', 'http_monit', 'HTTP监测', '120', '/report/list?cfgName=http_monit', '', '', '1', '', '1', '2018-08-01 16:49:33', '1', '2018-08-01 16:49:33', '', '1', null, '0', '0', '210');
+INSERT INTO `sys_menu` VALUES ('983', '930', '0,1,86,930,', 'ip_protocol', 'IP协议', '5', '', '', '', '1', '', '1', '2018-08-03 15:06:27', '1', '2018-08-03 15:06:27', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('984', '933', '0,1,150,933,', 'ip_protocol', 'IP协议', '10', '', '', '', '1', '', '1', '2018-08-03 15:23:26', '1', '2018-08-03 15:23:26', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('985', '936', '0,1,151,936,', 'ip_protocol', 'IP协议', '10', '', '', '', '1', '', '1', '2018-08-03 15:41:35', '1', '2018-08-03 15:41:35', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('986', '940', '0,1,152,940,', 'ip_protocol', 'IP协议', '120', '', '', '', '1', '', '1', '2018-08-03 16:36:01', '1', '2018-08-03 16:36:01', '', '0', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('991', '693', '0,1,86,931,693,', 'p2p_control', 'P2P配置', '60', '/ntc/fileTransfer/p2pList', '', '', '1', 'fileTransfer:p2p:config', '1', '2018-08-14 14:58:02', '1', '2018-08-14 14:58:02', '', '1', null, '0', '0', '510');
+INSERT INTO `sys_menu` VALUES ('992', '695', '0,1,150,934,695,', 'p2p_control', 'P2P配置', '60', '/ntc/fileTransfer/p2pList', '', '', '1', 'fileTransfer:p2p:confirm', '1', '2018-08-14 20:00:53', '1', '2018-08-14 20:00:53', '', '1', null, '0', '0', '510');
+INSERT INTO `sys_menu` VALUES ('993', '826', '0,1,151,937,826,', 'p2p_control', 'P2P配置', '60', '/ntc/fileTransfer/p2pList', '', '', '1', 'fileTransfer:p2p:audit', '1', '2018-08-14 20:14:07', '1', '2018-08-15 19:53:51', '', '1', null, '0', '0', '510');
+INSERT INTO `sys_menu` VALUES ('994', '152', '0,1,152,', 'other', '其他', '160', '', '', '', '1', '', '1', '2018-08-17 10:46:33', '1', '2018-08-17 10:46:33', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('995', '994', '0,1,152,994,', 'bgp_control', 'BGP', '30', '/log/ntc/other/bgpLogs', '', '', '1', '', '1', '2018-08-17 10:48:17', '1', '2018-08-17 10:48:46', '', '1', null, '0', '0', '61');
+INSERT INTO `sys_menu` VALUES ('996', '940', '0,1,152,940,', 'basic_protocol', '基础协议日志', '60', '/log/manipulation/dkbehaviorLogs', '', '', '1', '', '1', '2018-08-18 17:50:18', '1', '2018-08-18 17:53:10', '', '1', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('997', '940', '0,1,152,940,', 'social_app_control', 'APP协议日志', '90', '/log/manipulation/dkbehaviorLogs', '', '', '1', '', '1', '2018-08-18 17:51:38', '1', '2018-08-27 09:26:32', '', '1', null, '0', '0', '63');
+INSERT INTO `sys_menu` VALUES ('998', '940', '0,1,152,940,', 'encrypted_tunnel_behavior', '隧道行为日志', '120', '/log/manipulation/dkbehaviorLogs', '', '', '1', '', '1', '2018-08-18 17:52:12', '1', '2018-08-18 17:55:31', '', '1', null, '0', '0', '408');
+INSERT INTO `sys_menu` VALUES ('999', '744', '0,1,152,941,744,', 'p2p_control', 'P2P配置', '60', '/log/ntc/p2pLogs', '', '', '1', '', '1', '2018-08-18 18:05:28', '1', '2018-08-20 10:06:16', '', '1', null, '0', '0', '510');
+INSERT INTO `sys_menu` VALUES ('1000', '884', '0,1,780,944,884,', 'p2p_control', 'P2P配置', '60', '/report/list?cfgName=p2p_control', '', '', '1', '', '1', '2018-08-18 18:15:20', '1', '2018-08-29 17:22:17', '', '1', null, '0', '0', '510');
+INSERT INTO `sys_menu` VALUES ('1001', '735', '0,1,86,717,735,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:config', '1', '2018-08-19 19:42:02', '1', '2018-08-19 19:47:57', '', '1', null, '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1002', '735', '0,1,86,717,735,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:config', '1', '2018-08-19 19:45:53', '1', '2018-08-19 19:48:16', '', '1', null, '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1003', '751', '0,1,150,750,751,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:confirm', '1', '2018-08-19 20:01:36', '1', '2018-08-19 20:01:36', '', '1', null, '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1004', '751', '0,1,150,750,751,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:confirm', '1', '2018-08-19 20:02:57', '1', '2018-08-19 20:03:35', '', '1', null, '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1005', '866', '0,1,151,865,866,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:audit', '1', '2018-08-19 20:04:52', '1', '2018-08-19 20:04:52', '', '1', null, '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1006', '866', '0,1,151,865,866,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:audit', '1', '2018-08-19 20:06:16', '1', '2018-08-19 20:06:16', '', '1', null, '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1007', '717', '0,1,86,717,', 'app_built_in_features_config', 'APP内置特征维护', '270', '', '', '', '1', 'app:features:config', '1', '2018-06-19 17:52:10', '1', '2018-08-20 09:52:53', '', '0', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('1008', '1007', '0,1,86,717,1007,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:config', '1', '2018-06-20 15:42:31', '1', '2018-06-23 12:24:12', '', '0', '', '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('1009', '1007', '0,1,86,717,1007,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:config', '1', '2018-06-20 15:43:48', '1', '2018-06-23 11:57:05', '', '0', '', '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('1010', '1007', '0,1,86,717,1007,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:config', '1', '2018-06-20 15:44:19', '1', '2018-06-23 11:57:39', '', '0', '', '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('1011', '1007', '0,1,86,717,1007,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:config', '1', '2018-06-20 15:45:30', '1', '2018-06-23 11:57:59', '', '0', '', '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('1012', '750', '0,1,150,750,', 'app_built_in_features_config', 'APP内置特征维护', '270', '', '', '', '1', 'app:features:confirm', '1', '2018-06-19 17:52:10', '1', '2018-06-20 15:42:52', '', '0', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('1013', '1012', '0,1,150,750,1012,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:confirm', '1', '2018-06-20 15:42:31', '1', '2018-06-23 12:24:12', '', '0', '', '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('1014', '1012', '0,1,150,750,1012,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:confirm', '1', '2018-06-20 15:43:48', '1', '2018-06-23 11:57:05', '', '0', '', '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('1015', '1012', '0,1,150,750,1012,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:confirm', '1', '2018-06-20 15:44:19', '1', '2018-06-23 11:57:39', '', '0', '', '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('1016', '1012', '0,1,150,750,1012,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:confirm', '1', '2018-06-20 15:45:30', '1', '2018-06-23 11:57:59', '', '0', '', '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('1017', '865', '0,1,151,865,', 'app_built_in_features_config', 'APP内置特征维护', '30', '', '', '', '0', 'app:features:audit', '1', '2018-07-13 16:41:14', '1', '2018-08-25 12:19:31', '', '0', '', '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('1018', '1017', '0,1,151,865,1017,', 'app_ip_config', 'APP协议IP配置', '30', '/app/ipCfgList', '', '', '1', 'app:ip:audit', '1', '2018-07-13 16:42:22', '1', '2018-07-13 16:44:29', '', '0', '', '0', '0', '405');
+INSERT INTO `sys_menu` VALUES ('1019', '1017', '0,1,151,865,1017,', 'app_http_config', 'HTTP特征', '60', '/app/httpCfgList', '', '', '1', 'app:http:audit', '1', '2018-07-13 16:43:31', '1', '2018-07-13 16:44:55', '', '0', '', '0', '0', '402');
+INSERT INTO `sys_menu` VALUES ('1020', '1017', '0,1,151,865,1017,', 'app_domain_config', '域名特征', '90', '/app/domainCfgList', '', '', '1', 'app:domain:audit', '1', '2018-07-13 16:45:53', '1', '2018-07-13 16:45:53', '', '0', '', '0', '0', '403');
+INSERT INTO `sys_menu` VALUES ('1021', '1017', '0,1,151,865,1017,', 'app_byte_config', '字节特征配置', '120', '/app/byteCfgList', '', '', '1', 'app:byte:audit', '1', '2018-07-13 16:46:41', '1', '2018-07-13 16:46:41', '', '0', '', '0', '0', '404');
+INSERT INTO `sys_menu` VALUES ('1022', '1007', '0,1,86,717,1007,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:config', '1', '2018-08-19 19:42:02', '1', '2018-08-19 19:47:57', '', '0', '', '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1023', '1007', '0,1,86,717,1007,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:config', '1', '2018-08-19 19:45:53', '1', '2018-08-19 19:48:16', '', '0', '', '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1024', '1012', '0,1,150,750,1012,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:confirm', '1', '2018-08-19 20:01:36', '1', '2018-08-19 20:01:36', '', '0', '', '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1025', '1012', '0,1,150,750,1012,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:confirm', '1', '2018-08-19 20:02:57', '1', '2018-08-19 20:03:35', '', '0', '', '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1026', '1017', '0,1,151,865,1017,', 'app_ssl_config', 'SSL证书特征配置', '180', '/app/sslCfgList', '', '', '1', 'app:ssl:audit', '1', '2018-08-19 20:04:52', '1', '2018-08-19 20:04:52', '', '0', '', '0', '0', '520');
+INSERT INTO `sys_menu` VALUES ('1027', '1017', '0,1,151,865,1017,', 'app_header_config', '报头配置', '150', '/app/headerCfgList', '', '', '1', 'app:header:audit', '1', '2018-08-19 20:06:16', '1', '2018-08-19 20:06:16', '', '0', '', '0', '0', '530');
+INSERT INTO `sys_menu` VALUES ('1028', '717', '0,1,86,717,', 'file_strategy', '文件策略', '431', '/proxy/fileStrategy/list', '', '', '1', 'proxy:fileStrategy:config', '1', '2018-08-20 22:32:05', '1', '2018-08-20 22:32:05', '', '1', null, '0', '0', '512');
+INSERT INTO `sys_menu` VALUES ('1029', '750', '0,1,150,750,', 'file_strategy', '文件策略', '360', '/proxy/fileStrategy/list', '', '', '1', 'proxy:fileStrategy:confirm', '1', '2018-08-20 22:39:51', '1', '2018-08-20 22:39:51', '', '1', null, '0', '0', '512');
+INSERT INTO `sys_menu` VALUES ('1030', '865', '0,1,151,865,', 'file_strategy', '文件策略', '150', '/proxy/fileStrategy/list', '', '', '1', 'proxy:fileStrategy:audit', '1', '2018-08-20 22:40:47', '1', '2018-08-20 22:40:47', '', '1', null, '0', '0', '512');
+INSERT INTO `sys_menu` VALUES ('1031', '735', '0,1,86,717,735,', 'app_tcp_config', 'APP TCP会话字节数特征', '200', '/app/tcpCfgList', '', '', '1', 'app:tcp:config', '1', '2018-08-22 15:25:41', '1', '2018-08-23 14:48:35', '', '1', null, '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1032', '735', '0,1,86,717,735,', 'app_topic_domain_cfg', 'APP主题网站', '230', '/app/topicDomainCfgList', '', '', '1', 'app:topic:config', '1', '2018-08-23 11:00:13', '1', '2018-08-23 16:45:58', '', '1', null, '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1033', '751', '0,1,150,750,751,', 'app_topic_domain_cfg', 'APP主题网站', '210', '/app/topicDomainCfgList', '', '', '1', 'app:topic:confirm', '1', '2018-08-23 11:44:16', '1', '2018-08-24 11:05:56', '', '1', null, '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1034', '866', '0,1,151,865,866,', 'app_topic_domain_cfg', 'APP主题网站', '210', '/app/topicDomainCfgList', '', '', '1', 'app:topic:audit', '1', '2018-08-23 11:45:28', '1', '2018-08-24 11:06:22', '', '1', null, '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1035', '751', '0,1,150,750,751,', 'app_tcp_config', 'APP TCP会话字节数特征', '240', '/app/tcpCfgList', '', '', '1', 'app:tcp:confirm', '1', '2018-08-23 15:04:18', '1', '2018-08-23 15:04:18', '', '1', null, '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1036', '717', '0,1,86,717,', 'intercept_file_strategy', '拦截证书策略', '461', '/proxy/intercept/strateagy/list', '', '', '1', 'proxy:intercept:config', '1', '2018-08-23 20:44:31', '1', '2018-08-23 20:44:31', '', '1', null, '0', '0', '570');
+INSERT INTO `sys_menu` VALUES ('1037', '750', '0,1,150,750,', 'intercept_file_strategy', '拦截证书策略', '390', '/proxy/intercept/strateagy/list', '', '', '1', 'proxy:intercept:confirm', '1', '2018-08-23 20:52:55', '1', '2018-08-23 20:52:55', '', '1', null, '0', '0', '570');
+INSERT INTO `sys_menu` VALUES ('1038', '865', '0,1,151,865,', 'intercept_file_strategy', '拦截证书策略', '180', '/proxy/intercept/strateagy/list', '', '', '1', 'proxy:intercept:audit', '1', '2018-08-23 21:00:10', '1', '2018-08-23 21:00:10', '', '1', null, '0', '0', '570');
+INSERT INTO `sys_menu` VALUES ('1039', '109', '0,1,109,', 'asn_ip_configuration', 'ASN IP配置', '330', '/basics/asn/list', '', 'fa fa-industry', '1', 'asn:ip:config', '1', '2018-08-26 11:26:46', '1', '2018-08-28 15:30:04', '', '1', null, '0', '0', '600');
+INSERT INTO `sys_menu` VALUES ('1040', '866', '0,1,151,865,866,', 'app_tcp_config', 'APP TCP会话字节数特征', '240', '/app/tcpCfgList', '', '', '1', '', '1', '2018-08-28 10:14:00', '1', '2018-08-28 10:14:00', '', '0', null, '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1041', '1007', '0,1,86,717,1007,', 'app_tcp_config', 'APP TCP会话字节数特征', '200', '/app/tcpCfgList', '', '', '1', 'app:tcp:config', '1', '2018-08-22 15:25:41', '1', '2018-08-23 14:48:35', '', '0', '', '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1042', '1012', '0,1,150,750,1012,', 'app_tcp_config', 'APP TCP会话字节数特征', '240', '/app/tcpCfgList', '', '', '1', 'app:tcp:confirm', '1', '2018-08-23 15:04:18', '1', '2018-08-23 15:04:18', '', '0', '', '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1043', '1017', '0,1,151,865,1017,', 'app_tcp_config', 'APP TCP会话字节数特征', '240', '/app/tcpCfgList', '', '', '1', '', '1', '2018-08-28 10:14:00', '1', '2018-08-28 10:14:00', '', '0', '', '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1044', '1007', '0,1,86,717,1007,', 'app_topic_domain_cfg', 'APP主题网站', '230', '/app/topicDomainCfgList', '', '', '1', 'app:topic:config', '1', '2018-08-23 11:00:13', '1', '2018-08-23 16:45:58', '', '0', '', '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1045', '1012', '0,1,150,750,1012,', 'app_topic_domain_cfg', 'APP主题网站', '210', '/app/topicDomainCfgList', '', '', '1', 'app:topic:confirm', '1', '2018-08-23 11:44:16', '1', '2018-08-24 11:05:56', '', '0', '', '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1046', '1017', '0,1,151,865,1017,', 'app_topic_domain_cfg', 'APP主题网站', '210', '/app/topicDomainCfgList', '', '', '1', 'app:topic:audit', '1', '2018-08-23 11:45:28', '1', '2018-08-24 11:06:22', '', '0', '', '0', '0', '560');
+INSERT INTO `sys_menu` VALUES ('1047', '866', '0,1,151,865,866,', 'app_tcp_config', 'APP TCP会话字节数特征', '240', '/app/tcpCfgList', '', '', '1', 'app:tcp:audit', '1', '2018-08-28 10:23:01', '1', '2018-08-28 10:23:01', '', '1', null, '0', '0', '550');
+INSERT INTO `sys_menu` VALUES ('1048', '1007', '0,1,86,717,1007,', 'app_built_in_features_config', 'APP内置特征文件', '260', '/app/appBuiltinFeatureFileList', '', '', '1', 'app:built_in_file:config', '1', '2018-08-28 10:59:16', '1', '2018-08-28 10:59:16', '', '0', null, '0', '0', '100001');
+INSERT INTO `sys_menu` VALUES ('1049', '930', '0,1,86,930,', 'ASN', 'asn策略', '80', '/cfg/asnPolicy/list', '', '', '1', 'asn:policy:config', '1', '2018-08-29 14:38:31', '1', '2018-08-29 16:59:07', '', '1', null, '0', '0', '601');
+INSERT INTO `sys_menu` VALUES ('1050', '943', '0,1,780,943,', 'basic_protocol', '基础协议日志', '60', '/report/list?cfgName=basic_protocol', '', '', '1', '', '1', '2018-08-29 16:56:14', '1', '2018-08-29 16:56:14', '', '1', null, '0', '0', '407');
+INSERT INTO `sys_menu` VALUES ('1051', '943', '0,1,780,943,', 'encrypted_tunnel_behavior', '隧道行为日志', '120', '/report/list?cfgName=encrypted_tunnel_behavior', '', '', '1', '', '1', '2018-08-29 16:57:15', '1', '2018-08-29 16:57:15', '', '1', null, '0', '0', '408');
+INSERT INTO `sys_menu` VALUES ('1052', '780', '0,1,780,', 'other', '其他', '160', '', '', '', '1', '', '1', '2018-08-29 17:48:24', '1', '2018-08-29 17:48:24', '', '1', null, '0', '0', null);
+INSERT INTO `sys_menu` VALUES ('1053', '1052', '0,1,780,1052,', 'bgp_control', 'BGP', '30', '/report/list?cfgName=bgp_control', '', '', '1', '', '1', '2018-08-29 17:49:16', '1', '2018-08-29 17:49:16', '', '1', null, '0', '0', '61');
+INSERT INTO `sys_menu` VALUES ('1054', '933', '0,1,150,933,', 'ASN', 'asn策略', '70', '/cfg/asnPolicy/list', '', '', '1', 'asn:policy:confirm', '1', '2018-08-30 09:17:37', '1', '2018-08-30 09:18:38', '', '1', null, '0', '0', '601');
+INSERT INTO `sys_menu` VALUES ('1055', '936', '0,1,151,936,', 'ASN', 'asn策略', '90', '/cfg/asnPolicy/list', '', '', '1', 'asn:policy:audit', '1', '2018-08-30 21:23:40', '1', '2018-08-30 21:23:40', '', '1', null, '0', '0', '601');
+INSERT INTO `sys_menu` VALUES ('1056', '932', '0,1,86,932,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '85', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 18:56:37', '1', '2018-09-10 14:24:05', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1058', '932', '0,1,86,932,', 'MM_LOGO_DETECTION', '台标识别', '86', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 19:01:25', '1', '2018-09-10 14:25:01', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1059', '932', '0,1,86,932,', 'MM_FACE_RECOGNIZATION', '人脸识别', '87', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avFileSample:config', '1', '2018-09-08 19:03:54', '1', '2018-09-10 14:25:17', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1060', '935', '0,1,150,935,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '85', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:17:32', '1', '2018-09-10 14:25:59', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1061', '935', '0,1,150,935,', 'MM_LOGO_DETECTION', '台标识别', '86', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:23:27', '1', '2018-09-10 14:23:27', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1062', '935', '0,1,150,935,', 'MM_FACE_RECOGNIZATION', '人脸识别', '87', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avSignSample:confirm', '1', '2018-09-10 14:27:13', '1', '2018-09-10 14:27:13', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1063', '938', '0,1,151,938,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '153', '/ntc/av/sample/fileSampleSpeakerList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:28:46', '1', '2018-09-10 14:29:24', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1064', '938', '0,1,151,938,', 'MM_LOGO_DETECTION', '台标识别', '154', '/ntc/av/sample/fileSampleLogoList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:30:27', '1', '2018-09-10 14:30:27', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1065', '938', '0,1,151,938,', 'MM_FACE_RECOGNIZATION', '人脸识别', '155', '/ntc/av/sample/fileSampleFaceList', '', '', '1', 'avFileSample:audit', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1067', '942', '0,1,152,942,', 'MM_SPEAKER_RECOGNIZATION', '说话人识别', '115', '/log/ntc/mmSampleSpeakerLogs', '', '', '1', '', '1', '2018-09-17 10:28:26', '1', '2018-09-17 10:30:06', '', '1', null, '0', '0', '630');
+INSERT INTO `sys_menu` VALUES ('1068', '1', '0,1,', 'test Menu', 'test Menu', '5030', '/gwall/nis/dashboard/logChart', '', '', '1', '', '1', '2018-09-17 10:56:24', '1', '2018-09-17 10:58:09', '', '1', null, '0', '1', null);
+INSERT INTO `sys_menu` VALUES ('1069', '942', '0,1,152,942,', 'MM_LOGO_DETECTION', '台标识别', '116', '/log/ntc/mmSampleLogoLogs', '', '', '1', '', '1', '2018-09-17 11:06:35', '1', '2018-09-17 11:07:49', '', '1', null, '0', '0', '631');
+INSERT INTO `sys_menu` VALUES ('1070', '942', '0,1,152,942,', 'MM_FACE_RECOGNIZATION', '人脸识别', '117', '/log/ntc/mmSampleFaceLogs', '', '', '1', '', '1', '2018-09-17 11:08:49', '1', '2018-09-17 11:08:49', '', '1', null, '0', '0', '632');
+INSERT INTO `sys_menu` VALUES ('1071', '152', '0,1,152,', 'test', '测试', '190', '', '', '', '1', '', '1', '2018-09-17 16:38:57', '1', '2018-09-17 16:38:57', '', '0', null, '0', '0', null);
diff --git a/src/main/resources/sql/20180917/update_region_dict.sql b/src/main/resources/sql/20180917/update_region_dict.sql
new file mode 100644
index 0000000..94f72a4
--- /dev/null
+++ b/src/main/resources/sql/20180917/update_region_dict.sql
@@ -0,0 +1,2 @@
+#update account and DNS match_method=0,1,2,3
+update function_region_dict set config_match_method='0,1,2,3' where dict_id in (16,28);
diff --git a/src/main/resources/sql/20180917/update_service_dict.sql b/src/main/resources/sql/20180917/update_service_dict.sql
new file mode 100644
index 0000000..2034319
--- /dev/null
+++ b/src/main/resources/sql/20180917/update_service_dict.sql
@@ -0,0 +1,2 @@
+#update audio sample porn is_valid=0
+update function_service_dict set is_valid=0 where dict_id in( 9,10) \ No newline at end of file
diff --git a/src/main/resources/sql/20180917/update_statistics_tables.sql b/src/main/resources/sql/20180917/update_statistics_tables.sql
new file mode 100644
index 0000000..66ef70e
--- /dev/null
+++ b/src/main/resources/sql/20180917/update_statistics_tables.sql
@@ -0,0 +1,447 @@
+ALTER EVENT exec_procs ON COMPLETION PRESERVE DISABLE;
+
+ALTER TABLE cfg_num_statistics ADD COLUMN statistic_time datetime NULL COMMENT 'ͳ��ʱ��';
+ALTER TABLE request_num_statistics ADD COLUMN statistic_time datetime NULL COMMENT 'ͳ��ʱ��';
+update cfg_num_statistics set cfg_type=0;
+ALTER TABLE cfg_num_statistics CHANGE cfg_type compile_id int null default 0;
+ALTER TABLE request_num_statistics add compile_id int null default 0;
+
+delete from statistics_tables;
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (1, 'app_byte_cfg', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (2, 'app_domain_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (3, 'app_features_index', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (4, 'app_http_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (5, 'app_id_cfg', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (6, 'app_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (7, 'app_policy_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (8, 'asn_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (9, 'av_cont_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (10, 'av_cont_url_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (11, 'av_file_sample_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (12, 'av_pic_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (13, 'av_pic_url_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (14, 'av_sign_sample_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (15, 'av_voip_account_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (16, 'av_voip_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (17, 'byte_features_cfg', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (18, 'complex_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (19, 'ddos_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (20, 'dns_domain_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (21, 'dns_ip_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (22, 'dns_res_strategy', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (23, 'file_digest_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (24, 'ftp_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (25, 'http_body_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (26, 'http_req_head_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (27, 'http_res_head_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (28, 'http_url_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (29, 'ip_multiplex_pool_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (30, 'ip_port_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (31, 'l2tp_url_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (32, 'mail_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (33, 'multiple_cfg_relation', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (34, 'num_boundary_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (35, 'policy_group_info', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (36, 'pptp_url_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (37, 'ssl_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (38, 'p2p_hash_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (39, 'p2p_keyword_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (40, 'ntc_subscribe_id_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (41, 'app_ssl_cert_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (42, 'app_layer_header_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (43, 'app_topic_domain_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (44, 'app_session_cfg', 0, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (45, 'intercept_pkt_bin', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (46, 'ntc_bgp_as_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (47, 'ntc_bgp_as_cfg', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (48, 'pxy_obj_keyring', 1, '');
+
+INSERT INTO statistics_tables
+ ()
+VALUES
+ (49, 'proxy_file_strategy_cfg', 1, '');
+
+drop PROCEDURE proc_statistics_config;
+drop PROCEDURE proc_statistics_request;
+-- ----------------------------
+-- Procedure structure for proc_statistics_config
+-- ----------------------------
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_config`()
+BEGIN
+
+ DECLARE ntime VARCHAR(40);/*��ǰʱ��*/
+
+ DECLARE tabName VARCHAR(500);
+
+ DECLARE description VARCHAR(500);
+
+ DECLARE deleteSql VARCHAR(500);
+
+ DECLARE done INT;/*�α��ʶ*/
+
+ DECLARE flag INT;/*ѭ����ʶ*/
+
+ DECLARE proc_log_table VARCHAR(100);/*�洢������־��*/
+
+ DECLARE proc_name VARCHAR(100);/*�洢��������*/
+
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+
+ DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK;
+
+ SET done=0;
+
+ SET proc_log_table='proc_exec_log';
+
+ SET proc_name='proc_statistics_config';
+
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%k:%S');
+
+ set @deleteSql := 'delete from cfg_num_statistics';
+
+ PREPARE execs FROM @deleteSql;
+
+ EXECUTE execs;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+ OPEN icursor;
+
+ loop_iloop:LOOP
+
+ FETCH icursor INTO tabName;
+
+ SET description=tabName;
+
+ set @descriptionStart=concat(description,'��ͳ��start');
+
+ /*ͳ�Ƶ�ǰ���ñ����ݵ�ͳ�Ʊ���start*/
+
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql1;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ set @insert_statistics_sql :=concat('insert into cfg_num_statistics(statistic_time,function_id,service_id,action,compile_id,cfg_state) select now(),function_id,service_id,action,compile_id,if(is_audit=3,3,if(is_audit=2,2,if(is_audit=1,1,if(is_valid=0,0,if(is_valid,-1,-1))))) cfg_state from ',tabName);
+
+ PREPARE execs FROM @insert_statistics_sql;
+
+ EXECUTE execs;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ set @descriptionEnd=concat(description,'��ͳ��end');
+
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql2;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ /*ͳ�Ƶ�ǰ���ñ����ݵ�ͳ�Ʊ���end*/
+
+ IF done=1 THEN
+
+ LEAVE loop_iloop;
+
+ ELSE
+
+ SET flag=0;
+
+ END IF;
+
+ IF flag=0 THEN
+
+ SET done=0;
+
+ END IF;
+
+ END LOOP;
+
+ CLOSE icursor;
+
+ COMMIT;
+
+END;;
+DELIMITER ;
+
+-- ----------------------------
+-- Procedure structure for proc_statistics_request
+-- ----------------------------
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_request`()
+BEGIN
+ DECLARE ntime VARCHAR(40);/*��ǰʱ��*/
+ DECLARE tabName VARCHAR(500);
+ DECLARE description VARCHAR(500);
+ DECLARE deleteSql VARCHAR(500);
+ DECLARE done INT;/*�α��ʶ*/
+ DECLARE flag INT;/*ѭ����ʶ*/
+ DECLARE proc_log_table VARCHAR(100);/*�洢������־��*/
+ DECLARE proc_name VARCHAR(100);/*�洢��������*/
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+ DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK;
+ SET done=0;
+ SET proc_log_table='proc_exec_log';
+ SET proc_name='proc_statistics_request';
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%k:%S');
+ set @deleteSql := 'delete from request_num_statistics';
+ PREPARE execs FROM @deleteSql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+ OPEN icursor;
+ loop_iloop:LOOP
+ FETCH icursor INTO tabName;
+ SET description=tabName;
+ set @descriptionStart=concat(description,'��requestͳ��start');
+ /*ͳ�Ƶ�ǰ���ñ����ݵ�ͳ�Ʊ���start*/
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql1;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @insert_statistics_sql :=concat('insert into request_num_statistics(statistic_time,function_id,service_id,request_id,compile_id) select now(),function_id,service_id,request_id,compile_id from ',tabName,' where request_id <> 0 and is_valid <> -1 and is_audit <> 3');
+ PREPARE execs FROM @insert_statistics_sql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @descriptionEnd=concat(description,'��requestͳ��end');
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql2;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ /*ͳ�Ƶ�ǰ���ñ����ݵ�ͳ�Ʊ���end*/
+ IF done=1 THEN
+ LEAVE loop_iloop;
+ ELSE
+ SET flag=0;
+ END IF;
+ IF flag=0 THEN
+ SET done=0;
+ END IF;
+ END LOOP;
+ CLOSE icursor;
+ COMMIT;
+END;;
+DELIMITER ;
+
+ALTER EVENT exec_procs ON COMPLETION PRESERVE ENABLE;
diff --git a/src/main/resources/sql/20180918/add_appFeature.sql b/src/main/resources/sql/20180918/add_appFeature.sql
new file mode 100644
index 0000000..997941b
--- /dev/null
+++ b/src/main/resources/sql/20180918/add_appFeature.sql
@@ -0,0 +1,97 @@
+#add app payload and app dns
+INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`) VALUES ('127', '561', '0', '1', 'monit', '1025', 'app_payload', NULL, '1', '1', NULL, NULL, NULL, '1');
+INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`) VALUES ('129', '562', '0', '1', 'monit', '1027', 'app_dns', NULL, '1', NULL, NULL, NULL, NULL, '1');
+INSERT INTO `function_region_dict` (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) VALUES ('', '0', '0,1,2', '0,1', '0,1,2,3', '203', '561', '1', 'APP_PAYLOAD', 'C2S_session_size,S2C_session_size,L2_header,L3_header', 'APP载荷特征', '1', NULL, NULL, NULL, NULL, '1', '3', NULL, NULL, NULL, NULL, NULL, NULL, '1');
+INSERT INTO `function_region_dict` (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) VALUES ('', '0', '0,1,2', '0,1', '0,1,2,3', '204', '562', '1', 'APP_DNS', 'DNS_Name', 'APP DNS域名', '1', NULL, '0000-00-00 00:00:00', NULL, '0000-00-00 00:00:00', '1', '3', '', '', '', '', '', '', '1');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1075', '735', '0,1,86,717,735,', 'APP_PAYLOAD', 'APP PAYLOAD', '260', '/app/headerCfgList', '', '', '1', 'app:header:config', '1', '2018-09-16 21:40:49', '1', '2018-09-16 21:40:49', '', '1', NULL, '0', '0', '561');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1072', '751', '0,1,150,750,751,', 'APP_PAYLOAD', 'APP PAYLOAD', '270', '/app/headerCfgList', '', '', '1', 'app:header:confirm', '1', '2018-09-16 21:43:11', '1', '2018-09-16 21:43:11', '', '1', NULL, '0', '0', '561');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1073', '751', '0,1,150,750,751,', 'APP_DNS', 'APP DNS', '300', '/app/headerCfgList', '', '', '1', 'app:header:confirm', '1', '2018-09-16 21:43:42', '1', '2018-09-16 21:54:08', '', '1', NULL, '0', '0', '562');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1074', '735', '0,1,86,717,735,', 'APP_DNS', 'APP DNS', '290', '/app/headerCfgList', '', '', '1', 'app:header:config', '1', '2018-09-16 21:54:57', '1', '2018-09-16 21:54:57', '', '1', NULL, '0', '0', '562');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1076', '866', '0,1,86,717,866,', 'APP_PAYLOAD', 'APP PAYLOAD', '260', '/app/headerCfgList', '', '', '1', 'app:header:audit', '1', '2018-09-16 21:40:49', '1', '2018-09-16 21:40:49', '', '1', NULL, '0', '0', '561');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1077', '866', '0,1,86,717,866,', 'APP_DNS', 'APP DNS', '290', '/app/headerCfgList', '', '', '1', 'app:header:audit', '1', '2018-09-16 21:54:57', '1', '2018-09-16 21:54:57', '', '1', NULL, '0', '0', '562');
+
+#delete 550 app tcp session config
+update function_region_dict set is_valid=0 where function_id=550;
+update function_service_dict set is_valid=0 where function_id=550;
+update sys_menu set del_flag=0 where function_id=550;
+update statistics_tables set is_valid=0 where id=44;
+#delete 404 app byte config
+update function_region_dict set is_valid=0 where function_id=404;
+update function_service_dict set is_valid=0 where function_id=404;
+update sys_menu set del_flag=0 where function_id=404;
+update statistics_tables set is_valid=0 where id=1;
+#delete 530 app header config
+update function_region_dict set is_valid=0 where function_id=530;
+update function_service_dict set is_valid=0 where function_id=530;
+update sys_menu set del_flag=0 where function_id=530;
+update statistics_tables set is_valid=0 where id=42;
+
+#update app ssl regionValue
+update function_region_dict set config_region_value=APP_SSL where function_id=520;
+#update app ssl old value
+update app_ssl_cert_cfg set cfg_type='APP_SSL' where service_id=1029;
+
+#update ssl disctrict new info
+DELETE from sys_data_dictionary_item where dictionary_id=110;
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2204, '1', 'SSL_SNI', 'SSL_SNI', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2205, '2', 'SSL_FP', 'SSL_FP', 0, 0, 0, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2206, '3', 'serialNumber', 'serialNumber', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2207, '4', 'issuer_commonName', 'issuer_commonName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2208, '5', 'issuer_organizationName', 'issuer_organizationName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2209, '6', 'issuer_countryName', 'issuer_countryName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2210, '7', 'subject_commonName', 'subject_commonName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2211, '8', 'subject_organizationName', 'subject_organizationName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2212, '9', 'subject_countryName', 'subject_countryName', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2213, '10', 'notBefore', 'notBefore', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2214, '11', 'notAfter', 'notAfter', 0, 1, 1, 110);
+
+INSERT INTO sys_data_dictionary_item
+ ()
+VALUES
+ (2215, '12', 'Algorithm_Id', 'Algorithm_Id', 0, 1, 1, 110);
+
+
+
diff --git a/src/main/resources/sql/20180918/update_avAudio.sql b/src/main/resources/sql/20180918/update_avAudio.sql
new file mode 100644
index 0000000..bf7c4f1
--- /dev/null
+++ b/src/main/resources/sql/20180918/update_avAudio.sql
@@ -0,0 +1,7 @@
+#修改基于音视频传输的IP PORT阻断业务的业务ID,由0x100改为0x10F
+update function_service_dict set service_id='271' where dict_id='21';
+#修改基于音视频传输的URL阻断业务的业务ID,由0x101改为0x110
+update function_service_dict set service_id='272' where dict_id='30';
+#音视频添加action白名单
+INSERT INTO `function_service_dict` VALUES (130,20, 0, 128, 'whitelist', 256, 'av_content_ip_whitelist', '', 1, NULL, NULL, NULL, NULL, '2');
+INSERT INTO `function_service_dict` VALUES (131,22, 0, 128, 'whitelist', 257, 'av_content_url_whitelist', '', 1, NULL, NULL, NULL, NULL, '2'); \ No newline at end of file
diff --git a/src/main/resources/sql/20180919/update_service_asn.sql b/src/main/resources/sql/20180919/update_service_asn.sql
new file mode 100644
index 0000000..f995af9
--- /dev/null
+++ b/src/main/resources/sql/20180919/update_service_asn.sql
@@ -0,0 +1,2 @@
+delete from function_service_dict where dict_id=117;
+UPDATE function_service_dict set service_name='ANS_POLICY_MONIT',SERVICE_DESC='ANS_POLICY_MONIT' where dict_id=119; \ No newline at end of file
diff --git a/src/main/resources/sql/20180926/update_config_group_info.sql b/src/main/resources/sql/20180926/update_config_group_info.sql
new file mode 100644
index 0000000..9e5c643
--- /dev/null
+++ b/src/main/resources/sql/20180926/update_config_group_info.sql
@@ -0,0 +1,2 @@
+ALTER TABLE config_group_info MODIFY COLUMN group_type INT(11) NULL COMMENT '1:app ip,2:内容,3:区域 ,4 asn';
+ALTER TABLE config_group_info ADD COLUMN compile_id INT(11) NULL COMMENT 'app ip 对应的编译ID'; \ No newline at end of file
diff --git a/src/main/resources/sql/20180926/update_dictionary_item.sql b/src/main/resources/sql/20180926/update_dictionary_item.sql
new file mode 100644
index 0000000..878c137
--- /dev/null
+++ b/src/main/resources/sql/20180926/update_dictionary_item.sql
@@ -0,0 +1,4 @@
+#配置是否记录日志修改
+delete from sys_data_dictionary_item where dictionary_id = '103';
+INSERT INTO `sys_data_dictionary_item` (`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('0', 'no', '否', '0', '1', '1', '103');
+INSERT INTO `sys_data_dictionary_item` (`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('1', 'yes', '是', '0', '1', '1', '103'); \ No newline at end of file
diff --git a/src/main/resources/sql/20180926/update_ip_type.sql b/src/main/resources/sql/20180926/update_ip_type.sql
new file mode 100644
index 0000000..e973221
--- /dev/null
+++ b/src/main/resources/sql/20180926/update_ip_type.sql
@@ -0,0 +1,2 @@
+UPDATE function_region_dict SET config_ip_type='4,6' WHERE config_ip_type='4,6,46,64,10';
+DELETE FROM sys_data_dictionary_item WHERE dictionary_id=(SELECT ID FROM sys_data_dictionary_name WHERE mark='IP_TYPE') AND item_code IN (46,64,10); \ No newline at end of file
diff --git a/src/main/resources/sql/20180926/update_service.sql b/src/main/resources/sql/20180926/update_service.sql
new file mode 100644
index 0000000..b028285
--- /dev/null
+++ b/src/main/resources/sql/20180926/update_service.sql
@@ -0,0 +1,3 @@
+#update national code
+update function_service_dict set service_name='APP_PAYLOAD' where dict_id in (127,132);
+update function_service_dict set service_name='APP_DNS' where dict_id in (129,133); \ No newline at end of file
diff --git a/src/main/resources/sql/20180927/update_app_region_sort.sql b/src/main/resources/sql/20180927/update_app_region_sort.sql
new file mode 100644
index 0000000..67a8067
--- /dev/null
+++ b/src/main/resources/sql/20180927/update_app_region_sort.sql
@@ -0,0 +1,3 @@
+UPDATE function_region_dict SET config_region_code=3,config_region_sort=3 WHERE function_id=63 AND dict_id=180;
+UPDATE function_region_dict SET config_region_sort=2 WHERE function_id=63 AND dict_id=78;
+UPDATE function_region_dict SET config_region_code=5,config_region_sort=5 WHERE function_id=34 AND dict_id=174;
diff --git a/src/main/resources/sql/20180928/extend_ip_region.sql b/src/main/resources/sql/20180928/extend_ip_region.sql
new file mode 100644
index 0000000..471eb4c
--- /dev/null
+++ b/src/main/resources/sql/20180928/extend_ip_region.sql
@@ -0,0 +1,29 @@
+UPDATE function_service_dict SET region_code=1 WHERE function_id=5 AND region_code='1,3';
+UPDATE function_service_dict SET region_code=2 WHERE function_id=5 AND region_code='2,3';
+UPDATE function_service_dict SET is_valid=1 WHERE function_id=5 AND ACTION=1;
+UPDATE function_service_dict SET is_valid=0 WHERE function_id=5 AND ACTION=96;
+
+INSERT INTO function_service_dict (function_id,protocol_id,ACTION,action_code,service_id,service_name,service_desc,is_valid,region_code) VALUES(5,0,64,'ratelimit',1057,'ip_ratelimit','ip地址限速',1,1);
+
+#根据PROTOCOL字典查出的值替换63
+SELECT id FROM sys_data_dictionary_name WHERE mark= 'PROTOCOL';
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(8,'IPSEC','IPSEC',0,1,1,63);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(15,'GRE','GRE',0,1,1,63);
+
+UPDATE function_region_dict SET is_valid=0 WHERE function_id=5 AND config_region_value ='NTC_SUBSCRIBE_ID';
+UPDATE function_region_dict SET config_protocol='0,6,17,1,8,15' WHERE function_id=5 AND config_region_value ='INLINE_IP_CB';
+UPDATE function_region_dict SET config_protocol='0,6,17,1,8,15' WHERE function_id=5 AND config_region_value ='INLINE_IP_CB';
+update function_region_dict set config_ip_type='4,6' where region_type=1 and config_ip_type like '%,46,64,10%';
+UPDATE function_service_dict SET region_code=4 WHERE function_id=5 AND action_code='ratelimit';
+INSERT INTO function_region_dict (function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type,config_ip_type,config_ip_pattern,config_port_pattern,config_direction,config_protocol,config_ip_port_show,config_region_sort)VALUES(5,4,'LIMIT_IP','IP限流',1,1,1,'4,6','1,2,3','1,2','0,1','0,6,17','1,2',4);
+
+
+
+#asn region
+INSERT INTO function_region_dict (config_service_type,function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type,config_region_sort)
+VALUES ('asn',5,5,'NTC_ASN_IP','asn',1,1,1,5);
+# asn service
+INSERT INTO function_service_dict (function_id,protocol_id,ACTION,action_code,service_id,service_name,service_desc,is_valid,region_code)
+VALUES (5,0,16,'reject',37,'ans_reject','ANS_REJECT',1,5);
+INSERT INTO function_service_dict (function_id,protocol_id,ACTION,action_code,service_id,service_name,service_desc,is_valid,region_code)
+VALUES (5,0,1,'monit',149,'ans_monit','ANS_MONIT',1,5); \ No newline at end of file
diff --git a/src/main/resources/sql/20180928/update_dict_item_info.sql b/src/main/resources/sql/20180928/update_dict_item_info.sql
new file mode 100644
index 0000000..309d1c0
--- /dev/null
+++ b/src/main/resources/sql/20180928/update_dict_item_info.sql
@@ -0,0 +1,5 @@
+#delete ip resuse ip group add snat ip and dnat ip
+delete from sys_data_dictionary_item where dictionary_id=83 and id =1114;
+INSERT INTO sys_data_dictionary_item VALUES (2600, '2', 'SNAT IP', 'ip����', 0, 1, 1, 83);
+INSERT INTO sys_data_dictionary_item VALUES (2601, '3', 'DNAT IP', 'ip����', 0, 1, 1, 83);
+
diff --git a/src/main/resources/sql/20180928/update_region_ddos.sql b/src/main/resources/sql/20180928/update_region_ddos.sql
new file mode 100644
index 0000000..8ab3e2c
--- /dev/null
+++ b/src/main/resources/sql/20180928/update_region_ddos.sql
@@ -0,0 +1,2 @@
+#ddos ip config info update
+update function_region_dict set config_ip_pattern='1,3' ,config_port_pattern='1' ,config_direction='1' where dict_id=74
diff --git a/src/main/resources/sql/20180928/update_region_info.sql b/src/main/resources/sql/20180928/update_region_info.sql
new file mode 100644
index 0000000..2e06608
--- /dev/null
+++ b/src/main/resources/sql/20180928/update_region_info.sql
@@ -0,0 +1,3 @@
+#delte ip whitelist subscribe
+update function_region_dict set is_valid=0 where dict_id=189;
+
diff --git a/src/main/resources/sql/20180928/update_voip.sql b/src/main/resources/sql/20180928/update_voip.sql
new file mode 100644
index 0000000..ec2f220
--- /dev/null
+++ b/src/main/resources/sql/20180928/update_voip.sql
@@ -0,0 +1,5 @@
+ #voip ip跟voip account 合二为一
+update sys_menu set href = "/ntc/av/voipList" where id = 831;
+update function_service_dict set service_name='av_voip_monit' where dict_id=17
+update function_service_dict set service_name='av_voip_reject' where dict_id=16
+update function_region_dict set config_region_value='MM_SUBSCRIBE_ID',function_id=24,config_region_code=2 where dict_id=208
diff --git a/src/main/resources/sql/20180929/update_avAudio.sql b/src/main/resources/sql/20180929/update_avAudio.sql
new file mode 100644
index 0000000..2251bca
--- /dev/null
+++ b/src/main/resources/sql/20180929/update_avAudio.sql
@@ -0,0 +1,3 @@
+#音视频添加action白名单置位无效
+update function_service_dict set is_valid='0' where dict_id='130';
+update function_service_dict set is_valid='0' where dict_id='131'; \ No newline at end of file
diff --git a/src/main/resources/sql/20180929/update_http_url.sql b/src/main/resources/sql/20180929/update_http_url.sql
new file mode 100644
index 0000000..e8de4be
--- /dev/null
+++ b/src/main/resources/sql/20180929/update_http_url.sql
@@ -0,0 +1,11 @@
+INSERT INTO `function_service_dict` ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`) VALUES ( '6', '4', '16', 'reject', '17', 'website_http_reject', NULL, '1', NULL, NULL, NULL, NULL, '1,2,3,4,5,6');
+INSERT INTO `function_service_dict` ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`) VALUES ( '6', '4', '1', 'monit', '129', 'website_http_monit', NULL, '1', NULL, NULL, NULL, NULL, '1,2,3,4,5,6');
+
+update function_region_dict set function_id='6' , config_service_type='http_url' where dict_id='15';
+
+#ip复用地址池
+INSERT INTO `function_service_dict` ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`) VALUES ( '633', '0', '96', 'loop', '832', 'ip_reuse_adress_pool_loop', NULL, '1', NULL, NULL, NULL, NULL, NULL);
+INSERT INTO `function_region_dict` (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) VALUES (NULL, NULL, NULL, NULL, NULL, '633', '1', 'IR_STATIC_IP_POOL_CB', NULL, 'IP复用地址池配置', '1', NULL, NULL, NULL, NULL, '2', '2', '4,6', '1,2,3', '1,2', '0', '0', '1', '1');
+
+#http_url白名单
+update function_region_dict set function_id='6' where dict_id='15'; \ No newline at end of file
diff --git a/src/main/resources/sql/20180930/add_ip_payload.sql b/src/main/resources/sql/20180930/add_ip_payload.sql
new file mode 100644
index 0000000..d60b945
--- /dev/null
+++ b/src/main/resources/sql/20180930/add_ip_payload.sql
@@ -0,0 +1,4 @@
+update function_service_dict set function_id=212 where dict_id=110;
+update function_region_dict set function_id=212 where dict_id=167;
+INSERT INTO function_region_dict VALUES
+ ('', '', '', '', '', 230, 212, 1, 'PXY_INTERCEPT_IP', '', 'IP PAYLOAD', 1, NULL, NULL, NULL, NULL, 1, 1, '4,6', '1,2,3', '1,2', '0', '17,1', '1,2', 1);
diff --git a/src/main/resources/sql/20180930/update_prococol_dict.sql b/src/main/resources/sql/20180930/update_prococol_dict.sql
new file mode 100644
index 0000000..f0e7cca
--- /dev/null
+++ b/src/main/resources/sql/20180930/update_prococol_dict.sql
@@ -0,0 +1 @@
+UPDATE sys_data_dictionary_item SET item_value='all' WHERE dictionary_id=(SELECT id FROM sys_data_dictionary_name WHERE mark='protocol') AND item_code=0; \ No newline at end of file
diff --git a/src/main/resources/sql/20181004/update_ip_port_show.sql b/src/main/resources/sql/20181004/update_ip_port_show.sql
new file mode 100644
index 0000000..7c09182
--- /dev/null
+++ b/src/main/resources/sql/20181004/update_ip_port_show.sql
@@ -0,0 +1,4 @@
+ALTER TABLE function_region_dict MODIFY config_ip_port_show VARCHAR(10) NULL COMMENT '源ip展示、源端口展示、目的ip展示、目的端口展示1、2、3、4';
+UPDATE function_region_dict SET config_ip_port_show ='1,2,3,4' WHERE config_ip_port_show ='1,2';
+UPDATE function_region_dict SET config_ip_port_show ='1,2' WHERE config_ip_port_show ='1';
+UPDATE function_region_dict SET config_ip_port_show ='3,4' WHERE config_ip_port_show ='2'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181006/update_ip_addr_region.sql b/src/main/resources/sql/20181006/update_ip_addr_region.sql
new file mode 100644
index 0000000..21247f2
--- /dev/null
+++ b/src/main/resources/sql/20181006/update_ip_addr_region.sql
@@ -0,0 +1,2 @@
+UPDATE function_region_dict SET config_protocol='6,17,1,8,15' WHERE function_id=5 AND config_region_value='INLINE_IP_CB';
+UPDATE function_region_dict SET config_protocol='6,17' WHERE function_id=5 AND config_region_value='LIMIT_IP'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181010/add_bgp_message_type.sql b/src/main/resources/sql/20181010/add_bgp_message_type.sql
new file mode 100644
index 0000000..f7a2c5a
--- /dev/null
+++ b/src/main/resources/sql/20181010/add_bgp_message_type.sql
@@ -0,0 +1,2 @@
+INSERT INTO sys_data_dictionary_name (`id`,`module_name`,`mark`,`remark`,`revision`,`create_time`,`modify_time`,`status`) VALUES(115,'BGP消息类型','BGP_MESSAGE_TYPE','','','2018-10-10 16:28:05','2018-10-10 16:28:05',1);
+insert into sys_data_dictionary_item (`id`,`item_code`,`item_value`,`item_desc`,`item_sort`,`status`,`type`,`dictionary_id`) values (2602,1,'open','',0,1,1,115),(2603,2,'keepalive','',0,1,1,115),(2604,3,'update','',0,1,1,115),(2605,4,'notification','',0,1,1,115)
diff --git a/src/main/resources/sql/20181010/updateKeywords-district.sql b/src/main/resources/sql/20181010/updateKeywords-district.sql
new file mode 100644
index 0000000..ee6a518
--- /dev/null
+++ b/src/main/resources/sql/20181010/updateKeywords-district.sql
@@ -0,0 +1,10 @@
+ALTER TABLE ssl_keyword_cfg MODIFY cfg_keywords VARCHAR(2048),MODIFY district varchar(128);
+ALTER TABLE app_ssl_cert_cfg MODIFY cfg_keywords VARCHAR(2048);
+ALTER TABLE app_string_feature_cfg MODIFY cfg_keywords VARCHAR(2048);
+ALTER TABLE byte_features_cfg MODIFY cfg_desc VARCHAR(128);
+ALTER TABLE complex_keyword_cfg MODIFY district VARCHAR(128);
+ALTER TABLE dns_domain_cfg MODIFY district VARCHAR(128);
+ALTER TABLE http_req_head_cfg MODIFY district VARCHAR(128);
+ALTER TABLE http_res_head_cfg MODIFY district VARCHAR(128);
+ALTER TABLE intercept_pkt_bin MODIFY district VARCHAR(128);
+ALTER TABLE mail_keyword_cfg MODIFY district VARCHAR(128),MODIFY cfg_keywords VARCHAR(2048); \ No newline at end of file
diff --git a/src/main/resources/sql/20181010/update_media_region.sql b/src/main/resources/sql/20181010/update_media_region.sql
new file mode 100644
index 0000000..0c8a722
--- /dev/null
+++ b/src/main/resources/sql/20181010/update_media_region.sql
@@ -0,0 +1,22 @@
+#流媒体协议配置
+update function_service_dict set service_id='39',protocol_id='23' where dict_id='30';
+update function_service_dict set service_id='151',protocol_id='23' where dict_id='31';
+#流媒体协议 增加IP配置
+INSERT INTO `function_region_dict` (`function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) VALUES ('22', '', '1', 'NTC_UNIVERSAL_IP', '流媒体协议 IP配置', '1', '1', '1', NULL, '0000-00-00 00:00:00', NULL, '0000-00-00 00:00:00', '', '', '', '4,6', '', '', '1,2,3', '1,2', '0,1', '0,6,17', '1,2,3,4', '1');
+update function_region_dict set config_region_value='NTC_STREAMING_MEDIA_URL' where dict_id='25';
+
+#voip配置
+update function_service_dict set service_id='38',protocol_id='22' where dict_id='16';
+update function_service_dict set service_id='150',protocol_id='22' where dict_id='17';
+#voip 配置
+update function_region_dict set config_region_value='NTC_UNIVERSAL_IP' where dict_id='8';
+update function_region_dict set config_region_value='NTC_VOIP_ACCOUNT' where dict_id='16';
+update function_region_dict set is_valid=0 where dict_id='208';
+
+#文件摘要配置
+update function_service_dict set service_id='399' where dict_id='59';
+update function_service_dict set service_id='273' where dict_id='60';
+
+update function_region_dict set config_region_value ='MM_FILE_DIGEST' where dict_id='50';
+update function_region_dict set is_valid='0' where dict_id='187';
+
diff --git a/src/main/resources/sql/20181011/extend_region_type.sql b/src/main/resources/sql/20181011/extend_region_type.sql
new file mode 100644
index 0000000..029d326
--- /dev/null
+++ b/src/main/resources/sql/20181011/extend_region_type.sql
@@ -0,0 +1,2 @@
+ALTER TABLE function_region_dict MODIFY COLUMN region_type INT(1) NOT NULL COMMENT '1IP类,2字符串类,3增强字符串类,4数值类,5摘要类,6回调类,7 ASN';
+UPDATE function_region_dict SET region_type=7 WHERE config_region_value='NTC_ASN_IP' AND function_id=5; \ No newline at end of file
diff --git a/src/main/resources/sql/20181015/UPDATE_PROTOCOL_DICT.sql b/src/main/resources/sql/20181015/UPDATE_PROTOCOL_DICT.sql
new file mode 100644
index 0000000..e475a79
--- /dev/null
+++ b/src/main/resources/sql/20181015/UPDATE_PROTOCOL_DICT.sql
@@ -0,0 +1,3 @@
+INSERT INTO sys_data_dictionary_item VALUES(2725,50,'ESP','ESP',0,1,1,63),(2726,51,'AH','AH',0,1,1,63)
+
+UPDATE function_region_dict SET config_protocol='6,17,1,15,50,51' WHERE function_id=5 AND config_region_value='INLINE_IP_CB'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181015/add_dictionary.sql b/src/main/resources/sql/20181015/add_dictionary.sql
new file mode 100644
index 0000000..69101fd
--- /dev/null
+++ b/src/main/resources/sql/20181015/add_dictionary.sql
@@ -0,0 +1,131 @@
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (116, '��������ǿ��', 'INTERCEPT_DOMAIN_INTENSITY', '', 'user:����Ա,2018-10-16 18:01:23edit|user:����Ա,2018-10-16 18:00:52edit|user:����Ա,2018-10-15 17:52:08edit|user:����Ա,2018-10-15 17:37:44edit|user:����Ա,2018-10-15 15:24:55edit|user:����Ա,2018-10-15 15:24:37edit', "2018/10/15 15:24:04", "2018/10/16 18:01:23", 1);
+
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (117, '������', 'RATE_LIMIT', '', '', "2018/10/16 18:30:43", "2018/10/16 18:30:43", 1);
+
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (118, '���Ŷ�', 'CONFIDENCE_INTERVAL', '', '', "2018/10/16 19:13:15", "2018/10/16 19:13:15", 1);
+
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (119, 'ʮ������', 'IS_HEX', '', '', "2018/10/18 11:41:24", "2018/10/18 11:41:24", 1);
+
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (120, '��Сд����', 'CASE_INSENSTIVE', '', '', "2018/10/18 11:44:58", "2018/10/18 11:44:58", 1);
+
+ INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2729, '1', 'no', 'NO', 0, 1, 1, 116);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2730, '2', 'yes', 'YES', 0, 1, 1, 116);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2731, '0.001', '0.001', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2732, '0.002', '0.002', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2733, '0.003', '0.003', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2734, '0.004', '0.004', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2735, '0.005', '0.005', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2736, '0.006', '0.006', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2737, '0.007', '0.007', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2738, '0.008', '0.008', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2739, '0.009', '0.009', '', 0, 1, 1, 117);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2740, '75', '75', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2741, '80', '80', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2742, '85', '85', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2743, '90', '90', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2744, '95', '95', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2745, '100', '100', '', 0, 1, 1, 118);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2746, '1', 'hex', 'ʮ������', 0, 1, 1, 119);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2747, '0', 'not_hex', '��ʮ������', 0, 1, 1, 119);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2748, '1', 'case_senstive', '����', 0, 1, 1, 120);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2749, '0', 'case_insenstive', '������', 0, 1, 1, 120);
+
+
diff --git a/src/main/resources/sql/20181015/update_function_service.sql b/src/main/resources/sql/20181015/update_function_service.sql
new file mode 100644
index 0000000..1136712
--- /dev/null
+++ b/src/main/resources/sql/20181015/update_function_service.sql
@@ -0,0 +1,3 @@
+update function_service_dict set is_valid=0 where dict_id=137 ;
+update function_service_dict set function_id=5,region_code=4 where dict_id=108
+update function_region_dict set function_id=5,config_region_value='PXY_INTERCEPT_IP' where dict_id=228 \ No newline at end of file
diff --git a/src/main/resources/sql/20181015/update_stream_region.sql b/src/main/resources/sql/20181015/update_stream_region.sql
new file mode 100644
index 0000000..4293d9d
--- /dev/null
+++ b/src/main/resources/sql/20181015/update_stream_region.sql
@@ -0,0 +1 @@
+update function_region_dict set config_expr_type='1' ,config_match_method='0' where dict_id='25'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181015/update_sys_dict_area.sql b/src/main/resources/sql/20181015/update_sys_dict_area.sql
new file mode 100644
index 0000000..c1f60a7
--- /dev/null
+++ b/src/main/resources/sql/20181015/update_sys_dict_area.sql
@@ -0,0 +1,20 @@
+delete from sys_dict_info where item_type=1;
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('8', '1', '7172', 'Astana', '阿斯塔纳市', '0', '1', '1', '1', '1', '2018-05-30 10:08:30', '1', '2018-05-30 10:11:48', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('9', '1', '7272', 'Almaty', '阿拉木图市', '0', '1', '1', '1', '1', '2018-05-30 10:09:00', '1', '2018-05-30 10:12:29', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('10', '1', '7292', 'Aktau', '阿克套', '0', '1', '1', '1', '1', '2018-05-30 10:12:12', '1', '2018-05-30 10:12:20', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('11', '1', '72822', 'Taldykurgan', '塔尔德库尔干', '0', '1', '1', '1', '1', '2018-05-30 10:13:42', '1', '2018-06-05 15:49:38', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('12', '1', '7132', 'Aktubinsk', '阿克图宾斯克', '0', '1', '1', '1', '1', '2018-05-30 10:14:36', '1', '2018-05-30 10:14:36', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('13', '1', '7122', 'Atyrau', '阿特劳州', '0', '1', '1', '1', '1', '2018-05-30 10:15:11', '1', '2018-05-30 10:15:45', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('14', '1', '7182', 'Pavlodar', '巴甫洛达尔州', '0', '1', '1', '1', '1', '2018-05-30 10:15:27', '1', '2018-05-30 10:15:38', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('15', '1', '7162', 'Kokshetau', '科克舍套', '0', '1', '1', '1', '1', '2018-05-30 10:15:59', '1', '2018-05-30 10:16:06', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('16', '1', '7212', 'Karaganda', '卡拉干达州', '0', '1', '1', '1', '1', '2018-05-30 10:16:24', '1', '2018-05-30 10:16:24', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('17', '1', '7142', 'Kostanay', '科斯塔奈州', '0', '1', '1', '1', '1', '2018-05-30 10:16:43', '1', '2018-05-30 10:16:43', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('18', '1', '7242', 'Kyzylorda', '克孜勒奥尔达州', '0', '1', '1', '1', '1', '2018-05-30 10:17:04', '1', '2018-05-30 10:22:54', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('19', '1', '7252', 'Shymkent', '奇姆肯特', '0', '1', '1', '1', '1', '2018-05-30 10:21:14', '1', '2018-05-30 10:21:14', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('20', '1', '7152', 'Petropavl', '彼得罗巴甫尔', '0', '1', '1', '1', '1', '2018-05-30 10:21:29', '1', '2018-05-30 10:22:37', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('21', '1', '7222', 'Semey', '塞米伊', '0', '1', '1', '1', '1', '2018-05-30 10:21:51', '1', '2018-05-30 10:22:45', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('22', '1', '7262', 'Taraz', '塔拉兹', '0', '1', '1', '1', '1', '2018-05-30 10:22:11', '1', '2018-05-30 10:22:11', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('23', '1', '7112', 'Uralsk', '乌拉尔斯克州', '0', '1', '1', '1', '1', '2018-05-30 10:22:28', '1', '2018-08-07 17:40:13', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('24', '1', '7232', 'Ust-Kamenogorsk', '乌斯季卡缅诺戈尔斯克', '0', '1', '1', '1', '1', '2018-10-15 12:59:02', '1', '2018-10-15 12:59:06', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('25', '1', '7102', 'Zhezkazgan', '杰兹卡兹甘', '0', '1', '1', '1', '1', '2018-10-15 13:02:07', '1', '2018-10-15 13:02:10', '0');
+INSERT INTO `sys_dict_info` (`sys_dict_id`, `item_type`, `item_code`, `item_value`, `item_desc`, `parent_id`, `is_leaf`, `level_no`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_initianlize`) VALUES ('26', '1', '717', 'NationalCenter', '国家中心', '0', '1', '1', '1', '1', '2018-10-15 13:02:58', '1', '2018-10-15 13:03:01', '0');
diff --git a/src/main/resources/sql/20181015/update_sys_menu.sql b/src/main/resources/sql/20181015/update_sys_menu.sql
new file mode 100644
index 0000000..a831f25
--- /dev/null
+++ b/src/main/resources/sql/20181015/update_sys_menu.sql
@@ -0,0 +1,10 @@
+#增加ddos相关菜单
+INSERT INTO `sys_menu` VALUES ('1138', '801', '0,1,152,801,', 'protected_ddos', '保护ddos攻击', '10', '/log/ntc/ntcDdosLogs/list?isBlock=1', '', '', '1', '', '1', '2018-09-17 16:38:57', '1', '2018-09-17 16:38:57', '', '0', null, '0', '0', '301');
+INSERT INTO `sys_menu` VALUES ('1139', '801', '0,1,152,801,', 'usual_ddos', '常用ddos攻击', '20', '/log/ntc/ntcDdosLogs/list?isBlock=0', '', '', '1', '', '1', '2018-09-17 16:38:57', '1', '2018-09-17 16:38:57', '', '0', null, '0', '0', '305');
+UPDATE sys_menu set href='',function_id=null where id=801;
+#增加邮件地址菜单
+INSERT INTO `sys_menu` VALUES ('1140', '931', '0,1,86,931,', 'mail_address', '邮件地址配置', '5', '/ntc/mail/mailList', '', '', '1', 'mail:config', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+INSERT INTO `sys_menu` VALUES ('1141', '934', '0,1,150,934,', 'mail_address', '邮件地址审核', '5', '/ntc/mail/mailList', '', '', '1', 'mail:confirm', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+INSERT INTO `sys_menu` VALUES ('1142', '937', '0,1,151,937,', 'mail_address', '邮件地址审计', '5', '/ntc/mail/mailList', '', '', '1', 'mail:audit', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+
+
diff --git a/src/main/resources/sql/20181016/alert_table_id_length.sql b/src/main/resources/sql/20181016/alert_table_id_length.sql
new file mode 100644
index 0000000..c813706
--- /dev/null
+++ b/src/main/resources/sql/20181016/alert_table_id_length.sql
@@ -0,0 +1,4 @@
+alter table cfg_num_statistics modify column id bigint auto_increment;
+alter table request_num_statistics modify column id bigint auto_increment;
+alter table proc_exec_log modify column id bigint auto_increment;
+alter table sys_log modify column id bigint auto_increment; \ No newline at end of file
diff --git a/src/main/resources/sql/20181017/alert_table_ddos_ip_cfg.sql b/src/main/resources/sql/20181017/alert_table_ddos_ip_cfg.sql
new file mode 100644
index 0000000..8f92662
--- /dev/null
+++ b/src/main/resources/sql/20181017/alert_table_ddos_ip_cfg.sql
@@ -0,0 +1,3 @@
+ALTER TABLE ddos_ip_cfg ADD antiddos_protocol varchar(255) DEFAULT NULL COMMENT '目前支持TCP_SYN, DNS, NTP,单选。';
+ALTER TABLE ddos_ip_cfg ADD bps_threadshold bigint(20) DEFAULT NULL COMMENT ' 即DDoS攻击保护动作触发阈值,每秒Bit数';
+ALTER TABLE ddos_ip_cfg ADD pps_threadshold bigint(20) DEFAULT NULL COMMENT ' 即DDoS攻击保护动作触发阈值,每秒包数,'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181018/add_function_region_mail_address.sql b/src/main/resources/sql/20181018/add_function_region_mail_address.sql
new file mode 100644
index 0000000..54a11e5
--- /dev/null
+++ b/src/main/resources/sql/20181018/add_function_region_mail_address.sql
@@ -0,0 +1,9 @@
+#增加邮件地址头域,subscribe_id
+INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
+VALUES
+ ('', '1', '0,1', '0,1,2', '0,1,2,3', 599, 37, 1, 'NTC_MAIL_HDR', 'From,To', '邮件地址头域配置', 1, NULL, NULL, NULL, NULL, 1, 3, '', '', '', '', '', '', 1);
+INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
+VALUES
+ ('', '', '', '', '', 600, 37, 2, 'NTC_SUBSCRIBE_ID', '', '邮件地址subscribeId配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 2);
diff --git a/src/main/resources/sql/20181018/add_function_service_mail_addresss.sql b/src/main/resources/sql/20181018/add_function_service_mail_addresss.sql
new file mode 100644
index 0000000..1b0e85d
--- /dev/null
+++ b/src/main/resources/sql/20181018/add_function_service_mail_addresss.sql
@@ -0,0 +1,12 @@
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
+VALUES
+ ('37', '5', '128', 'whitelist', '8888', 'mail_address_whitelist', NULL, '0', NULL, NULL, NULL, NULL, '1,2');
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
+VALUES
+ ('37', '5', '1', 'monit', '132', 'mail_address_monit', NULL, '1', NULL, NULL, NULL, NULL, '1,2');
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
+VALUES
+ ('37', '5', '16', 'reject', '20', 'mail_address_reject', NULL, '1', NULL, NULL, NULL, NULL, '1,2');
diff --git a/src/main/resources/sql/20181018/update_sys_menu.sql b/src/main/resources/sql/20181018/update_sys_menu.sql
new file mode 100644
index 0000000..3b6d5f6
--- /dev/null
+++ b/src/main/resources/sql/20181018/update_sys_menu.sql
@@ -0,0 +1,14 @@
+#增加邮件主菜单
+INSERT INTO `sys_menu` VALUES ('1144', '931', '0,1,86,931,', 'mail', '邮件', '5', '', '', '', '1', '', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '');
+INSERT INTO `sys_menu` VALUES ('1145', '934', '0,1,150,934,', 'mail', '邮件', '5', '', '', '', '1', '', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '');
+INSERT INTO `sys_menu` VALUES ('1146', '937', '0,1,151,937,', 'mail', '邮件', '5', '', '', '', '1', '', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '');
+#增加邮件地址菜单
+INSERT INTO `sys_menu` VALUES ('1140', '1144', '0,1,86,931,1144,', 'mail_address', '邮件地址配置', '10', '/ntc/mail/mailList', '', '', '1', 'mail:config', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+INSERT INTO `sys_menu` VALUES ('1141', '1145', '0,1,150,934,1145,', 'mail_address', '邮件地址审核', '10', '/ntc/mail/mailList', '', '', '1', 'mail:confirm', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+INSERT INTO `sys_menu` VALUES ('1142', '1146', '0,1,151,937,1146,', 'mail_address', '邮件地址审计', '10', '/ntc/mail/mailList', '', '', '1', 'mail:audit', '1', '2018-09-10 14:31:09', '1', '2018-09-10 14:31:09', '', '1', null, '0', '0', '37');
+#修改邮件菜单
+UPDATE sys_menu set parent_id='1144',parent_ids='0,1,86,931,1144,',code='advanced',sort='30' where id=682;
+UPDATE sys_menu set parent_id='1145',parent_ids='0,1,150,934,1145,',code='advanced',sort='30' where id=683;
+UPDATE sys_menu set parent_id='1146',parent_ids='0,1,151,937,1146,',code='advanced',sort='30' where id=815;
+
+
diff --git a/src/main/resources/sql/20181019/alert_service_region_dict_table.sql b/src/main/resources/sql/20181019/alert_service_region_dict_table.sql
new file mode 100644
index 0000000..9ae61bf
--- /dev/null
+++ b/src/main/resources/sql/20181019/alert_service_region_dict_table.sql
@@ -0,0 +1,2 @@
+ALTER TABLE function_region_dict ADD is_import int(2) DEFAULT 0 COMMENT '域是否是否支持导出';
+ALTER TABLE function_service_dict ADD is_import int(2) DEFAULT 0 COMMENT '业务是否支持导出'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql b/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql
new file mode 100644
index 0000000..24d220f
--- /dev/null
+++ b/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql
@@ -0,0 +1,2 @@
+#域名修改长度为1024
+ALTER TABLE website_domain_topic MODIFY domain VARCHAR(1024); \ No newline at end of file
diff --git a/src/main/resources/sql/20181019/import_service_region_Set.sql b/src/main/resources/sql/20181019/import_service_region_Set.sql
new file mode 100644
index 0000000..0c9ce65
--- /dev/null
+++ b/src/main/resources/sql/20181019/import_service_region_Set.sql
@@ -0,0 +1,33 @@
+#ip addr
+update function_service_dict set is_import=1 where function_id=5 and is_valid=1 and dict_id in(23,24,25,108);
+update function_region_dict set is_import=1 where function_id=5 and is_valid=1 and dict_id in(27,35,228);
+#basic
+update function_service_dict set is_import=1 where function_id=407 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=407 and is_valid=1 and dict_id in(107);
+#tunnel
+update function_service_dict set is_import=1 where function_id=408 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=408 and is_valid=1 and dict_id in(157);
+#ip payload
+update function_service_dict set is_import=1 where function_id=212 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=212 and is_valid=1 and dict_id in(230);
+#app
+update function_service_dict set is_import=1 where function_id=63 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=63 and is_valid=1 and dict_id in(78);
+#dns
+update function_service_dict set is_import=1 where function_id=7 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=7 and is_valid=1 and dict_id in(28,29);
+#url
+update function_service_dict set is_import=1 where function_id=6 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=6 and is_valid=1 ;
+#url advanced
+update function_service_dict set is_import=1 where function_id=8 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=8 and is_valid=1 and dict_id in(9,10,11,12,13,14);
+#mail
+update function_service_dict set is_import=1 where function_id=37 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=37 and is_valid=1 and dict_id in(599);
+#mail advanced
+update function_service_dict set is_import=1 where function_id=35 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=35 and is_valid=1 and dict_id in(30,31,33);
+#ftp
+update function_service_dict set is_import=1 where function_id=51 and is_valid=1 ;
+update function_region_dict set is_import=1 where function_id=51 and is_valid=1 and dict_id in(36,37,38); \ No newline at end of file
diff --git a/src/main/resources/sql/20181020/update_app_policy_region_service_.sql b/src/main/resources/sql/20181020/update_app_policy_region_service_.sql
new file mode 100644
index 0000000..5eb1622
--- /dev/null
+++ b/src/main/resources/sql/20181020/update_app_policy_region_service_.sql
@@ -0,0 +1,5 @@
+UPDATE function_service_dict SET region_code='1,2,3' WHERE function_id=63;
+UPDATE function_service_dict SET region_code='1,2,3' WHERE function_id=407;
+UPDATE function_service_dict SET region_code='1,2,3' WHERE function_id=408;
+
+UPDATE function_region_dict SET is_import=1 WHERE function_id=8 AND dict_id=14;
diff --git a/src/main/resources/sql/20181020/update_service_dict.sql b/src/main/resources/sql/20181020/update_service_dict.sql
new file mode 100644
index 0000000..6a0555a
--- /dev/null
+++ b/src/main/resources/sql/20181020/update_service_dict.sql
@@ -0,0 +1,2 @@
+#��Ч���õ�ҵ��
+update function_service_dict set is_valid=0 where dict_id in(21,22,28,29,32,33,39,40,43,44,45,46,47,48,49,50,51,52,55,56,102,103) \ No newline at end of file
diff --git a/src/main/resources/sql/20181021/add_dictionary.sql b/src/main/resources/sql/20181021/add_dictionary.sql
new file mode 100644
index 0000000..bd9112d
--- /dev/null
+++ b/src/main/resources/sql/20181021/add_dictionary.sql
@@ -0,0 +1,4 @@
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('121', '视频转图片关键帧', 'VIDEO_TO_PICTURE', '用于判断视频样例配置是否转为关键帧图片生成样例文件,词条标识为function_id,值为布尔类型,是则转关键帧图片再生成样例,否则保持源文件生成样例', 'user:管理员,2018-10-19 16:26:12edit', '2018-10-19 15:32:20', '2018-10-19 16:26:12', '1');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2752', '29', 'true', '', '0', '1', '1', '121');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2753', '632', 'true', '', '0', '1', '1', '121');
+
diff --git a/src/main/resources/sql/20181022/add_dictionary.sql b/src/main/resources/sql/20181022/add_dictionary.sql
new file mode 100644
index 0000000..4b83102
--- /dev/null
+++ b/src/main/resources/sql/20181022/add_dictionary.sql
@@ -0,0 +1,11 @@
+#取消审核时增加来函信息 数据库增加字段
+ALTER TABLE dns_ip_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE dns_res_strategy ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE ip_port_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE ddos_ip_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE av_file_sample_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE cfg_index_info ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE app_policy_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE pxy_obj_keyring ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE file_digest_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函';
+ALTER TABLE ip_multiplex_pool_cfg ADD cancel_request_id int(11) DEFAULT NULL COMMENT '取消审核来函'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql b/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql
new file mode 100644
index 0000000..4ea0c67
--- /dev/null
+++ b/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql
@@ -0,0 +1,10 @@
+#增加网页关键字请求跟应答
+INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
+VALUES
+ ('', '1', '0,1', '0,1,2', '0,1,2,3', 601, 635, 1, 'NTC_HTTP_REQ_BODY', '', '网站关键字请求内容配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 1);
+
+ INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
+VALUES
+ ('', '1', '0,1', '0,1,2', '0,1,2,3', 602, 635, 2, 'NTC_HTTP_RES_BODY', '', '网站关键字应答内容配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 2);
diff --git a/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql b/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql
new file mode 100644
index 0000000..2963f1b
--- /dev/null
+++ b/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql
@@ -0,0 +1,11 @@
+#更新邮件地址白名单服务id
+UPDATE function_service_dict set service_id=66 where dict_id=147;
+
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`,`is_import`)
+VALUES
+ ('635', '4', '1', 'monit', '152', 'http_keyword_monit', NULL, '1', NULL, NULL, NULL, NULL, '1,2',1);
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`,`is_import`)
+VALUES
+ ('635', '4', '16', 'reject', '40', 'http_keyword_reject', NULL, '1', NULL, NULL, NULL, NULL, '1,2',1);
diff --git a/src/main/resources/sql/20181025/add_asn_id.sql b/src/main/resources/sql/20181025/add_asn_id.sql
new file mode 100644
index 0000000..182d0bb
--- /dev/null
+++ b/src/main/resources/sql/20181025/add_asn_id.sql
@@ -0,0 +1,2 @@
+ALTER TABLE config_group_info ADD COLUMN asn_id INT(11) NULL COMMENT 'asn 组对应的asn号'
+ALTER TABLE policy_group_info ADD COLUMN asn_no INT(11) NULL COMMENT 'asn 组对应的asn号' \ No newline at end of file
diff --git a/src/main/resources/sql/20181025/alert_http_url_cfg.sql b/src/main/resources/sql/20181025/alert_http_url_cfg.sql
new file mode 100644
index 0000000..8cbd233
--- /dev/null
+++ b/src/main/resources/sql/20181025/alert_http_url_cfg.sql
@@ -0,0 +1 @@
+ALTER TABLE cfg_index_info ADD source_compile_id bigint(20) DEFAULT 0 COMMENT '��http���ݹؼ��ֹ���'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181025/del_from_sys_menu.sql b/src/main/resources/sql/20181025/del_from_sys_menu.sql
new file mode 100644
index 0000000..d7b4f8f
--- /dev/null
+++ b/src/main/resources/sql/20181025/del_from_sys_menu.sql
@@ -0,0 +1 @@
+UPDATE sys_menu SET del_flag=0 WHERE id=116 AND CODE='agreement_ip_configuration'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181025/update_intercept_region.sql b/src/main/resources/sql/20181025/update_intercept_region.sql
new file mode 100644
index 0000000..d0da8e7
--- /dev/null
+++ b/src/main/resources/sql/20181025/update_intercept_region.sql
@@ -0,0 +1 @@
+update function_region_dict set is_valid=0 where dict_id in(94,95); \ No newline at end of file
diff --git a/src/main/resources/sql/20181026/add_asn_ip_import_dict.sql b/src/main/resources/sql/20181026/add_asn_ip_import_dict.sql
new file mode 100644
index 0000000..7f46957
--- /dev/null
+++ b/src/main/resources/sql/20181026/add_asn_ip_import_dict.sql
@@ -0,0 +1,3 @@
+#加入导入asn ip是否全量下发的开关
+INSERT INTO sys_data_dictionary_name (id,module_name, mark, remark, revision, create_time, modify_time, STATUS) VALUES ( 124,'asn ip导入是否全量下发', 'IS_ASN_IP_IMPORT_ALL', '', '', '2018-10-26 15:28:29.494', '2018-10-26 15:28:29.494', 1) ;
+INSERT INTO sys_data_dictionary_item (id,item_code, item_value, item_desc, item_sort, STATUS, TYPE, dictionary_id) VALUES (2958,1, 'yes_no', '1是;0不是', 0, 1, 1, 124) ; \ No newline at end of file
diff --git a/src/main/resources/sql/20181026/add_system_dict.sql b/src/main/resources/sql/20181026/add_system_dict.sql
new file mode 100644
index 0000000..db0079a
--- /dev/null
+++ b/src/main/resources/sql/20181026/add_system_dict.sql
@@ -0,0 +1,206 @@
+#增加业务配置功能与操作字典
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('122', '系统业务配置操作方法', 'SYS_SERVICE_OPERATION', '系统业务配置操作方法', '', '2018-10-26 10:33:26', '2018-10-26 10:33:26', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('123', '系统业务功能', 'SYS_SERVICE_FUNCTION', '系统业务功能描述,code为function_id,value为国际化code', '', '2018-10-26 11:54:53', '2018-10-26 11:54:53', '1');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2763', 'httpList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2764', 'dnsList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2765', 'saveHttpCfg', 'saveOrUpdate', '新增或保存', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2766', 'updateHttpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2767', 'auditHttpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2768', 'sslList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2769', 'saveSslCfg', 'saveOrUpdate', '新增或保存', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2770', 'updateSslCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2771', 'auditSslCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2772', 'saveDnsCfg', 'saveOrUpdate', '新增或保存', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2773', 'updateDnsCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2774', 'auditDnsCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2775', 'exportHttp', 'export', '导出', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2776', 'exportdns', 'export', '导出', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2777', 'exportssl', 'export', '导出', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2778', 'list', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2779', 'saveOrUpdate', 'saveOrUpdate', '新增或保存', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2780', 'delete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2781', 'audit', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2782', 'saveVoip', 'saveOrUpdate', '新增或保存', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2783', 'voipCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2784', 'updateVoipValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2785', 'auditVoip', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2786', 'contIpList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2787', 'saveContIp', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2788', 'updateAvContIpValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2789', 'auditContIp', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2790', 'picIpList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2791', 'savePicIp', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2792', 'updateAvPicIpValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2793', 'auditPicIp', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2794', 'contUrlList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2795', 'saveContUrl', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2796', 'updateAvContUrlValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2797', 'auditContUrl', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2798', 'picUrlList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2799', 'savePicUrl', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2800', 'updateAvPicUrlValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2801', 'auditPicUrl', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2802', 'fileSampleList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2803', 'saveFileSample', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2804', 'updateAvFileSampleValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2805', 'auditAvFileSample', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2806', 'audioSignSampleList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2807', 'saveAudioSignSample', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2808', 'updateAvSignSampleValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2809', 'auditAvAudioSignSample', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2810', 'signSampleList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2811', 'auditAvSignSample', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2812', 'saveBgpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2813', 'updateBgpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2814', 'auditBgpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2815', 'ftpList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2816', 'saveFtpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2817', 'updateFtpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2818', 'auditFtpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2819', 'fileDigestList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2820', 'saveFileDigestCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2821', 'updateFileDigestValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2822', 'auditFileDigestCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2823', 'p2pList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2824', 'saveP2pCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2825', 'updateP2pCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2826', 'auditP2pCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2827', 'updateIpPortCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2828', 'mailList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2829', 'saveMailCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2830', 'updateMailCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2831', 'auditMailCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2832', 'ipList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2833', 'saveIpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2834', 'updateIpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2835', 'auditIp', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2836', 'domainList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2837', 'saveOrUpdateDomain', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2838', 'updateDomainValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2839', 'deleteDomain', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2840', 'auditDomain', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2841', 'saveXmppCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2842', 'updateXmppCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2843', 'auditXmppCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2844', 'snatlist', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2845', 'snatsaveOrUpdate', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2846', 'snatdelete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2847', 'snataudit', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2849', 'saveOrUpdateIp', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2850', 'deleteIp', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2852', 'snatPolicyList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2853', 'saveOrUpdateSnat', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2854', 'snatDelete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2855', 'auditSnat', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2856', 'dnatPolicyList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2857', 'saveOrUpdateDnat', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2858', 'dnatDelete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2859', 'auditDnat', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2860', 'reqList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2861', 'reqSaveOrUpdate', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2862', 'reqDelete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2863', 'reqAudit', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2864', 'reslist', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2865', 'resSaveOrUpdate', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2866', 'resDelete', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2867', 'resAudit', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2868', 'fileStrategyList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2869', 'saveInterceptIpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2870', 'updateInterceptIpValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2871', 'auditInterceptIpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2872', 'policyCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2873', 'saveAppPolicyCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2874', 'updateAppPolicyCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2875', 'auditAppPolicyCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2876', 'ipCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2877', 'saveAppIpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2878', 'updateAppIpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2879', 'auditAppIpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2880', 'httpCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2881', 'saveAppHttpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2882', 'updateAppHttpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2883', 'auditAppHttpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2884', 'domainCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2885', 'saveAppDomainCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2886', 'updateAppDomainCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2887', 'auditAppDomainCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2888', 'byteCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2889', 'saveAppByteCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2890', 'updateAppByteCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2891', 'auditAppByteCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2892', 'sslCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2893', 'saveAppSslCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2894', 'updateAppSslCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2895', 'auditAppSslCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2896', 'tcpCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2897', 'saveAppTcpCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2898', 'updateAppTcpCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2899', 'auditAppTcpCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2900', 'headerCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2901', 'saveAppHeaderCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2902', 'updateAppHeaderCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2903', 'auditAppHeaderCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2904', 'TopicDomainCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2905', 'saveAppTopicDomainCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2906', 'updateAppTopicDomainCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2907', 'auditAppTopicDomainCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2908', 'multiFeatureCfgList', 'query', '查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2909', 'saveAppMultiFeatureCfg', 'saveOrUpdate', '新增或查询', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2910', 'updateAppFeatureCfgValid', 'delete', '删除', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2911', 'auditAppFeatureCfg', 'examine', '审核', '0', '1', '1', '122');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2912', '3', 'ip_whitelist', 'ip白名单', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2913', '5', 'ip_control', 'ip管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2914', '6', 'http_url_title', 'url管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2915', '7', 'dns_control', 'dns管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2916', '8', 'http_control', 'http综合管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2917', '22', 'streaming_media', '流媒体协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2918', '24', 'av_voip_control', 'voip协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2919', '28', 'av_sample_audio_control', '音频样例管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2920', '29', 'av_sample_video_control', '视频样例管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2921', '30', 'av_sample_picture_control', '图片样例管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2922', '31', 'av_sample_voip_control', 'voip样例管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2923', '33', 'av_sample_video_porn_control', '视频色情场景管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2924', '34', 'ssl_control', 'ssl协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2925', '35', 'mail_multiple_control', '邮件综合管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2926', '37', 'mail_address', '邮件地址管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2927', '51', 'ftp_control', 'ftp管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2928', '52', 'file_digest_control', '文件摘要管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2929', '61', 'bgp_control', 'bgp协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2930', '62', 'xmpp_control', 'xmpp协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2931', '63', 'social_app_control', 'app策略管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2932', '200', 'ip_intercept', '代理ip拦截', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2933', '201', 'domain_intercept', '代理域名拦截', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2934', '207', 'http_block', '代理封堵', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2935', '208', 'http_reddirect', '代理重定向', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2936', '209', 'http_replace', '代理替换', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2937', '210', 'http_monit', '代理监测', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2938', '211', 'http_whitelist', '代理白名单', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2939', '212', 'ip_payload', '代理ip拦截替换', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2940', '300', 'snat_policy', '源地址转换策略', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2941', '301', 'target_ip_protect', 'ddos管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2942', '304', 'dnat_policy', '目的地址转换策略', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2943', '400', 'dns_res_strategy', '响应策略配置', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2944', '401', 'ip_spoofing_configuration', '欺骗ip配置', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2945', '402', 'app_http_config', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2946', '403', 'app_domain_config', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2947', '405', 'app_ip_config', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2948', '406', 'dnat_multiplex', 'dnat复用地址池', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2949', '407', 'basic_protocol', '基础协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2950', '408', 'encrypted_tunnel_behavior', '隧道行为管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2951', '510', 'p2p_control', 'P2P协议管控', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2952', '520', 'APP_SSL', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2953', '560', 'app_topic_domain_cfg', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2954', '561', 'APP_PAYLOAD', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2955', '562', 'APP_DNS', '', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2956', '570', 'intercept_file_strategy', '拦截证书策略', '0', '1', '1', '123');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2957', '633', 'snat_multiplex', 'SNAT地址池管理', '0', '1', '1', '123');
+#增加音视频配置规则量限制字典
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('125', '业务规则限制', 'SERVICE_RULE_LIMIT', '业务规则限制,code为serviceId,value为最大有效配置规则量(按compileId计算)', '', '2018-10-26 17:28:12', '2018-10-26 17:28:12', '1');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2960', '261', '10000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2961', '389', '1000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2962', '262', '10000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2963', '390', '1000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2964', '263', '1000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2965', '391', '1000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2966', '264', '1000', '', '0', '1', '1', '125');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2967', '392', '1000', '', '0', '1', '1', '125');
diff --git a/src/main/resources/sql/20181026/create_cfg_operation_log_table.sql b/src/main/resources/sql/20181026/create_cfg_operation_log_table.sql
new file mode 100644
index 0000000..9585bbd
--- /dev/null
+++ b/src/main/resources/sql/20181026/create_cfg_operation_log_table.sql
@@ -0,0 +1,31 @@
+CREATE TABLE `sys_cfg_operation_log` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `type` int(2) NOT NULL DEFAULT 1 COMMENT '日志类型',
+ `title` varchar(255) NOT NULL COMMENT '日志标题',
+ `create_by` varchar(64) NOT NULL COMMENT '创建者',
+ `create_date` datetime NOT NULL COMMENT '创建时间',
+ `remote_addr` varchar(255) NOT NULL COMMENT '操作IP地址',
+ `user_agent` varchar(255) DEFAULT NULL COMMENT '用户代理',
+ `request_uri` varchar(255) NOT NULL COMMENT '请求URI',
+ `method` varchar(5) NOT NULL COMMENT '操作方式',
+ `state` int(2) NOT NULL DEFAULT 1 COMMENT '行为状态:1-成功 2-失败',
+ `consumer_time` int(11) DEFAULT 0 COMMENT '消费时间',
+ `params` text DEFAULT NULL COMMENT '操作提交的数据',
+ `exception` text DEFAULT NULL COMMENT '异常信息',
+ `compile_id` int(11) DEFAULT NULL,
+ `cfg_id` bigint(20) DEFAULT NULL,
+ `function_id` int(11) NOT NULL DEFAULT 0,
+ `method_name` varchar(128) DEFAULT NULL,
+ `audit_state` int(11) DEFAULT NULL,
+ `action` varchar(255) DEFAULT NULL,
+ `operation` varchar(64) DEFAULT NULL,
+ `function_name` varchar(255) DEFAULT '',
+ PRIMARY KEY (`id`),
+ KEY `sys_log_create_by` (`create_by`) USING BTREE,
+ KEY `sys_log_request_uri` (`request_uri`) USING BTREE,
+ KEY `sys_log_type` (`type`) USING BTREE,
+ KEY `sys_log_create_date` (`create_date`) USING BTREE,
+ KEY `sys_log_function_id` (`function_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='业务配置操作行为日志';
+#增加配置操作行为日志菜单
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1150', '42', '0,1,2,42,', 'cfg_operation_log', '配置审计日志', '4431', '/sys/log/cfgOperationLogList', '', '', '1', 'sys:cfgOperationLog:view', '1', '2018-10-24 18:57:00', '1', '2018-10-24 18:57:00', '', '1', NULL, '0', '0', NULL);
diff --git a/src/main/resources/sql/20181026/update_region_dict.sql b/src/main/resources/sql/20181026/update_region_dict.sql
new file mode 100644
index 0000000..9d51a2a
--- /dev/null
+++ b/src/main/resources/sql/20181026/update_region_dict.sql
@@ -0,0 +1,2 @@
+#IP��ַȥ��ip range����
+update function_region_dict set config_ip_pattern='1,3' where dict_id='35'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181026/update_service_dict.sql b/src/main/resources/sql/20181026/update_service_dict.sql
new file mode 100644
index 0000000..5347736
--- /dev/null
+++ b/src/main/resources/sql/20181026/update_service_dict.sql
@@ -0,0 +1,2 @@
+#修改Proxy 控制策略中IP协议类型
+update function_region_dict set config_protocol='0,6,17' where dict_id in(84,90,96,105,101) \ No newline at end of file
diff --git a/src/main/resources/sql/20181030/add_desc_policy_group_info.sql b/src/main/resources/sql/20181030/add_desc_policy_group_info.sql
new file mode 100644
index 0000000..e22b2b8
--- /dev/null
+++ b/src/main/resources/sql/20181030/add_desc_policy_group_info.sql
@@ -0,0 +1 @@
+ALTER TABLE policy_group_info ADD COLUMN description varchar(200) DEFAULT '' \ No newline at end of file
diff --git a/src/main/resources/sql/20181030/create_table_group_area_info.sql b/src/main/resources/sql/20181030/create_table_group_area_info.sql
new file mode 100644
index 0000000..df27c0f
--- /dev/null
+++ b/src/main/resources/sql/20181030/create_table_group_area_info.sql
@@ -0,0 +1,32 @@
+/*
+Navicat MariaDB Data Transfer
+
+Source Server : 192.168.10.204
+Source Server Version : 100214
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MariaDB
+Target Server Version : 100214
+File Encoding : 65001
+
+Date: 2018-10-30 10:45:57
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for group_area_info
+-- ----------------------------
+DROP TABLE IF EXISTS `group_area_info`;
+CREATE TABLE `group_area_info` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `group_id` int(11) NOT NULL COMMENT '策略组group_id',
+ `area_code` int(11) NOT NULL COMMENT '区域字典Code值',
+ `is_valid` int(2) NOT NULL DEFAULT 1 COMMENT '-1删除 1有效 0无效',
+ `creator_id` int(11) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL,
+ `edit_time` datetime DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4;
diff --git a/src/main/resources/sql/20181030/update_ans_ip_region.sql b/src/main/resources/sql/20181030/update_ans_ip_region.sql
new file mode 100644
index 0000000..ea9e84e
--- /dev/null
+++ b/src/main/resources/sql/20181030/update_ans_ip_region.sql
@@ -0,0 +1,2 @@
+#ans ip去除 ip range
+UPDATE function_region_dict SET config_ip_pattern='1,3' WHERE function_id=600; \ No newline at end of file
diff --git a/src/main/resources/sql/20181030/update_region.sql b/src/main/resources/sql/20181030/update_region.sql
new file mode 100644
index 0000000..99ea343
--- /dev/null
+++ b/src/main/resources/sql/20181030/update_region.sql
@@ -0,0 +1,38 @@
+#ip白名单导入
+update function_region_dict set is_import=1 where function_id=3 and dict_id=7;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=3 AND dict_id=15;
+#bgp导入
+update function_region_dict set is_import=1 where function_id=61 and dict_id=48;
+update function_region_dict set is_import=1 where function_id=61 and dict_id=168;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=61 ;
+#ssl 导入
+UPDATE function_region_dict SET is_import=1 WHERE function_id=34 and dict_id in(20,21,22,23);
+UPDATE function_service_dict SET is_import=1 WHERE function_id=34;
+#网页关键字导入
+update function_region_dict set is_import=1 where function_id=635;
+#邮件地址
+UPDATE function_region_dict SET is_import=1 WHERE function_id=37 AND dict_id=599;
+UPDATE function_region_dict SET is_import=0 WHERE function_id=37 AND dict_id=600;
+
+#http 高级
+UPDATE function_region_dict SET is_import=1 WHERE function_id=8 AND dict_id IN(9,10,11,12,13);
+#流媒体
+UPDATE function_region_dict SET is_import=1 WHERE function_id=22 AND dict_id IN(25,597);
+#DDOS IP
+UPDATE function_region_dict SET is_import=1,config_ip_port_show='3,4' WHERE function_id=301 AND dict_id IN(74);
+UPDATE function_service_dict SET is_import=1 WHERE function_id=301;
+#SNAT 导入先不做
+UPDATE function_region_dict SET is_import=0,region_type=1,config_ip_port_show='3' WHERE function_id=633;
+UPDATE function_service_dict SET is_import=0 WHERE function_id=633;
+#DNS欺骗IP
+UPDATE function_region_dict SET is_import=1 WHERE function_id=401;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=401;
+#DNS策略
+UPDATE function_region_dict SET is_import=1 WHERE function_id=400;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=400;
+#app ip
+UPDATE function_region_dict SET is_import=1 WHERE function_id=405;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=405;
+#app http
+UPDATE function_region_dict SET is_import=1 WHERE function_id=402 AND is_valid=1;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=402 AND is_valid=1; \ No newline at end of file
diff --git a/src/main/resources/sql/20181030/update_service_dict.sql b/src/main/resources/sql/20181030/update_service_dict.sql
new file mode 100644
index 0000000..72b2eba
--- /dev/null
+++ b/src/main/resources/sql/20181030/update_service_dict.sql
@@ -0,0 +1,2 @@
+#修改http关键字阻断业务号
+update function_service_dict set service_id='40' where dict_id =151 \ No newline at end of file
diff --git a/src/main/resources/sql/20181101/alert_proc_config_and_request.sql b/src/main/resources/sql/20181101/alert_proc_config_and_request.sql
new file mode 100644
index 0000000..5b5a4ef
--- /dev/null
+++ b/src/main/resources/sql/20181101/alert_proc_config_and_request.sql
@@ -0,0 +1,354 @@
+-- MySQL dump 10.16 Distrib 10.2.14-MariaDB, for Linux (x86_64)
+--
+-- Host: localhost Database: gwall_dev
+-- ------------------------------------------------------
+-- Server version 10.2.14-MariaDB-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Dumping routines for database 'gwall_dev'
+--
+/*!50003 DROP PROCEDURE IF EXISTS `exec_procs` */;
+/*!50003 SET @saved_cs_client = @@character_set_client */ ;
+/*!50003 SET @saved_cs_results = @@character_set_results */ ;
+/*!50003 SET @saved_col_connection = @@collation_connection */ ;
+/*!50003 SET character_set_client = utf8 */ ;
+/*!50003 SET character_set_results = utf8 */ ;
+/*!50003 SET collation_connection = utf8_general_ci */ ;
+/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
+/*!50003 SET sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `exec_procs`()
+BEGIN
+ call proc_statistics_config();
+ call proc_statistics_request();
+END ;;
+DELIMITER ;
+/*!50003 SET sql_mode = @saved_sql_mode */ ;
+/*!50003 SET character_set_client = @saved_cs_client */ ;
+/*!50003 SET character_set_results = @saved_cs_results */ ;
+/*!50003 SET collation_connection = @saved_col_connection */ ;
+/*!50003 DROP PROCEDURE IF EXISTS `proc_statistics_config` */;
+/*!50003 SET @saved_cs_client = @@character_set_client */ ;
+/*!50003 SET @saved_cs_results = @@character_set_results */ ;
+/*!50003 SET @saved_col_connection = @@collation_connection */ ;
+/*!50003 SET character_set_client = utf8 */ ;
+/*!50003 SET character_set_results = utf8 */ ;
+/*!50003 SET collation_connection = utf8_general_ci */ ;
+/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
+/*!50003 SET sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_config`()
+BEGIN
+
+ DECLARE ntime VARCHAR(40);/*当前时间*/
+
+ DECLARE otime VARCHAR(40);/*上次统计时间*/
+
+ DECLARE nRow VARCHAR(40);/*本次统计条数*/
+
+ DECLARE tabName VARCHAR(500);
+
+ DECLARE description VARCHAR(500);
+
+ DECLARE deleteSql VARCHAR(500);
+
+ DECLARE done INT;/*游标标识*/
+
+ DECLARE flag INT;/*循环标识*/
+
+ DECLARE t_error INT;/*错误标识*/
+
+ DECLARE proc_log_table VARCHAR(100);/*存储过程日志表*/
+
+ DECLARE proc_name VARCHAR(100);/*存储过程名称*/
+
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION set t_error=1;
+
+ select max(statistic_time) into otime from cfg_num_statistics;
+
+ SET done=0;
+
+ SET t_error=0;
+
+ SET proc_log_table='proc_exec_log';
+
+ SET proc_name='proc_statistics_config';
+
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%i:%S');
+
+ OPEN icursor;
+
+ loop_iloop:LOOP
+
+ FETCH icursor INTO tabName;
+
+ SET description=tabName;
+
+ set @descriptionStart=concat(description,'表统计start');
+
+ /*统计当前配置表数据到统计表中start*/
+
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql1;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+ /*cfg_index_info只统计asn配置*/
+ IF tabName='cfg_index_info' THEN
+
+ set @insert_statistics_sql := concat('insert into cfg_num_statistics(statistic_time,function_id,service_id,action,compile_id,cfg_state) select ','''',ntime,'''',',','function_id,service_id,action,compile_id,if(is_audit=3,3,if(is_audit=2,2,if(is_audit=1,1,if(is_valid=0,0,if(is_valid,-1,-1))))) cfg_state from ',tabName,' where service_id in(37,149)');
+
+ ELSE
+ /*cfg_index_info只统计asn配置*/
+ set @insert_statistics_sql := concat('insert into cfg_num_statistics(statistic_time,function_id,service_id,action,compile_id,cfg_state) select ','''',ntime,'''',',','function_id,service_id,action,compile_id,if(is_audit=3,3,if(is_audit=2,2,if(is_audit=1,1,if(is_valid=0,0,if(is_valid,-1,-1))))) cfg_state from ',tabName);
+
+ END IF;
+
+ PREPARE execs FROM @insert_statistics_sql;
+
+ EXECUTE execs;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ set @descriptionEnd=concat(description,'表统计end');
+
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql2;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+ /*异常退出loop*/
+ IF t_error=1 THEN
+ LEAVE loop_iloop;
+ END IF;
+
+ /*循环结束退出loop*/
+ IF done=1 THEN
+
+ LEAVE loop_iloop;
+
+ ELSE
+
+ SET flag=0;
+
+ END IF;
+
+ IF flag=0 THEN
+
+ SET done=0;
+
+ END IF;
+
+ END LOOP loop_iloop;
+
+ CLOSE icursor;
+ /*取出本次统计条数*/
+ SELECT count(statistic_time) INTO nRow from cfg_num_statistics where statistic_time=ntime;
+
+ IF t_error=1 THEN /*如果异常清楚本次数据*/
+ delete from cfg_num_statistics where statistic_time=ntime;
+ COMMIT;
+ ELSEIF nRow > 0 THEN /*判断本次统计是否有数据录入,如果有则删除上次统计数据,如果没有则不清除上次统计数据*/
+
+ delete from cfg_num_statistics where statistic_time=otime;
+ COMMIT;
+ END IF;
+ COMMIT;
+END ;;
+DELIMITER ;
+/*!50003 SET sql_mode = @saved_sql_mode */ ;
+/*!50003 SET character_set_client = @saved_cs_client */ ;
+/*!50003 SET character_set_results = @saved_cs_results */ ;
+/*!50003 SET collation_connection = @saved_col_connection */ ;
+/*!50003 DROP PROCEDURE IF EXISTS `proc_statistics_request` */;
+/*!50003 SET @saved_cs_client = @@character_set_client */ ;
+/*!50003 SET @saved_cs_results = @@character_set_results */ ;
+/*!50003 SET @saved_col_connection = @@collation_connection */ ;
+/*!50003 SET character_set_client = utf8 */ ;
+/*!50003 SET character_set_results = utf8 */ ;
+/*!50003 SET collation_connection = utf8_general_ci */ ;
+/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
+/*!50003 SET sql_mode = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_request`()
+BEGIN
+
+ DECLARE otime VARCHAR(40);/*上次统计时间*/
+
+ DECLARE ntime VARCHAR(40);/*当前统计时间*/
+
+ DECLARE nRow VARCHAR(40);/*本次统计条数*/
+
+ DECLARE tabName VARCHAR(500);
+
+ DECLARE description VARCHAR(500);
+
+ DECLARE deleteSql VARCHAR(500);
+
+ DECLARE done INT;/*游标标识*/
+
+ DECLARE flag INT;/*循环标识*/
+
+ DECLARE t_error INT;/*错误标识*/
+
+ DECLARE proc_log_table VARCHAR(100);/*存储过程日志表*/
+
+ DECLARE proc_name VARCHAR(100);/*存储过程名称*/
+
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION set t_error=1;
+
+ select max(statistic_time) into otime from request_num_statistics;
+
+ SET done=0;
+
+ SET t_error=0;
+
+ SET proc_log_table='proc_exec_log';
+
+ SET proc_name='proc_statistics_request';
+
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%i:%S');
+
+ OPEN icursor;
+
+ loop_iloop:LOOP
+
+ FETCH icursor INTO tabName;
+
+ SET description=tabName;
+
+ set @descriptionStart=concat(description,'表request统计start');
+
+ /*统计当前配置表数据到统计表中start*/
+
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql1;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+ /*cfg_index_info只统计asn配置*/
+ IF tabName='cfg_index_info' THEN
+
+ set @insert_statistics_sql :=concat('insert into request_num_statistics(statistic_time,function_id,service_id,request_id,compile_id) select ','''',ntime,'''',',','function_id,service_id,request_id,compile_id from ',tabName,' where is_valid <> -1 and is_audit <> 3',' and service_id in(37,149)');
+
+ ELSE
+
+ set @insert_statistics_sql :=concat('insert into request_num_statistics(statistic_time,function_id,service_id,request_id,compile_id) select ','''',ntime,'''',',','function_id,service_id,request_id,compile_id from ',tabName,' where is_valid <> -1 and is_audit <> 3');
+
+ END IF;
+
+
+ PREPARE execs FROM @insert_statistics_sql;
+
+ EXECUTE execs;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ set @descriptionEnd=concat(description,'表request统计end');
+
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+
+ PREPARE execs FROM @v_log_sql2;
+
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+
+ DEALLOCATE PREPARE execs;
+
+ COMMIT;
+
+
+
+ /*统计当前配置表数据到统计表中end*/
+
+ IF done=1 THEN
+
+ LEAVE loop_iloop;
+
+ ELSE
+
+ SET flag=0;
+
+ END IF;
+
+ IF flag=0 THEN
+
+ SET done=0;
+
+ END IF;
+
+ END LOOP;
+
+ CLOSE icursor;
+
+ /*取出本次统计条数*/
+ SELECT count(statistic_time) INTO nRow from request_num_statistics where statistic_time=ntime;
+
+ IF t_error=1 THEN /*如果异常清楚本次数据*/
+ delete from request_num_statistics where statistic_time=ntime;
+ COMMIT;
+ ELSEIF nRow > 0 THEN /*判断本次统计是否有数据录入,如果有则删除上次统计数据,如果没有则不清除上次统计数据*/
+
+ delete from request_num_statistics where statistic_time=otime;
+ COMMIT;
+ END IF;
+ COMMIT;
+
+END ;;
+DELIMITER ;
+/*!50003 SET sql_mode = @saved_sql_mode */ ;
+/*!50003 SET character_set_client = @saved_cs_client */ ;
+/*!50003 SET character_set_results = @saved_cs_results */ ;
+/*!50003 SET collation_connection = @saved_col_connection */ ;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2018-11-01 11:18:23
diff --git a/src/main/resources/sql/20181101/update_dictionary_dict.sql b/src/main/resources/sql/20181101/update_dictionary_dict.sql
new file mode 100644
index 0000000..f329bc8
--- /dev/null
+++ b/src/main/resources/sql/20181101/update_dictionary_dict.sql
@@ -0,0 +1,18 @@
+INSERT INTO sys_data_dictionary_name
+ (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`)
+VALUES
+ (127, 'ANTIDDOS协议', 'ANTIDDOS_PROTOCOL', '', '', "2018/11/1 10:34:00", "2018/11/1 10:34:00", 1);
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2979, 'TCP_SYN', 'TCP_SYN', 'TCP_SYN', 0, 1, 1, 127);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2980, 'UDP_DNS', 'UDP_DNS', 'UDP_DNS', 0, 1, 1, 127);
+
+INSERT INTO sys_data_dictionary_item
+ (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`)
+VALUES
+ (2981, 'UDP_NTP', 'UDP_NTP', 'UDP_NTP', 0, 1, 1, 127);
diff --git a/src/main/resources/sql/20181102/update_service_dict.sql b/src/main/resources/sql/20181102/update_service_dict.sql
new file mode 100644
index 0000000..bb5cc4f
--- /dev/null
+++ b/src/main/resources/sql/20181102/update_service_dict.sql
@@ -0,0 +1,20 @@
+#�޸�advanced��service_name
+UPDATE `function_service_dict` SET `service_name`='website_advanced_reject' WHERE (`dict_id`='18');
+UPDATE `function_service_dict` SET `service_name`='website_advanced_monit' WHERE (`dict_id`='19');
+#�޸�APP PAYLOAD ADMIN��service_name
+UPDATE `function_service_dict` SET `service_name`='APP_PAYLOAD_ADMIN' WHERE (`dict_id`='132');
+#�޸�APP HTTP ADMIN��service_name
+UPDATE `function_service_dict` SET `service_name`='APP_HTTP_ADMIN' WHERE (`dict_id`='134');
+#�޸�APP DNS ADMIN��service_name
+UPDATE `function_service_dict` SET `service_name`='APP_DNS_ADMIN' WHERE (`dict_id`='133');
+#�޸�APP SSL ADMIN��service_name
+UPDATE `function_service_dict` SET `service_name`='APP_SSL_ADMIN' WHERE (`dict_id`='135');
+#�޸�����֤����Ե�service_name
+UPDATE `function_service_dict` SET `service_name`='intercept_file_strategy' WHERE (`dict_id`='116');
+
+#������־��ѯ-ԭʼ�����װ��ʽ�ֵ�
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2976', '0', 'ethernet', '��̫��', '0', '1', '1', '126');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2977', '8', 'PPP', '', '0', '1', '1', '126');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2978', '12', 'Cisco HDLC', '', '0', '1', '1', '126');
+
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('126', '��־��ѯ-ԭʼ�����װ��ʽ', 'ENCAP_TYPE', '', '', '2018-10-31 19:18:11', '2018-10-31 19:18:11', '1');
diff --git a/src/main/resources/sql/20181105/alert_pxy_obj_file.sql b/src/main/resources/sql/20181105/alert_pxy_obj_file.sql
new file mode 100644
index 0000000..9b3c31d
--- /dev/null
+++ b/src/main/resources/sql/20181105/alert_pxy_obj_file.sql
@@ -0,0 +1,4 @@
+ALTER TABLE pxy_obj_keyring ADD cn varchar(400) DEFAULT null COMMENT 'CN��Ϣ';
+ALTER TABLE pxy_obj_keyring ADD alt_name varchar(4000) DEFAULT null COMMENT 'SAN��Ϣ';
+alter table pxy_obj_keyring modify column not_before_time varchar(40);
+alter table pxy_obj_keyring modify column not_after_time varchar(40); \ No newline at end of file
diff --git a/src/main/resources/sql/20181105/change_asn_no_range.sql b/src/main/resources/sql/20181105/change_asn_no_range.sql
new file mode 100644
index 0000000..9f4b915
--- /dev/null
+++ b/src/main/resources/sql/20181105/change_asn_no_range.sql
@@ -0,0 +1,2 @@
+ALTER TABLE config_group_info MODIFY COLUMN asn_id BIGINT(20) NULL COMMENT 'asn 组对应的asn号';
+ALTER TABLE policy_group_info MODIFY COLUMN asn_no BIGINT(20) NULL COMMENT 'asn号'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181105/update_region_dict.sql b/src/main/resources/sql/20181105/update_region_dict.sql
new file mode 100644
index 0000000..e420b3a
--- /dev/null
+++ b/src/main/resources/sql/20181105/update_region_dict.sql
@@ -0,0 +1,2 @@
+UPDATE function_region_dict SET config_ip_port_show = '1' WHERE function_id = 300 AND dict_id = 68;
+UPDATE function_region_dict SET config_ip_port_show = '3,4' WHERE function_id = 304 AND dict_id = 232; \ No newline at end of file
diff --git a/src/main/resources/sql/20181105/update_region_service_dict.sql b/src/main/resources/sql/20181105/update_region_service_dict.sql
new file mode 100644
index 0000000..d9f906a
--- /dev/null
+++ b/src/main/resources/sql/20181105/update_region_service_dict.sql
@@ -0,0 +1,2 @@
+UPDATE function_region_dict SET is_import=1 WHERE function_id=403 AND is_valid=1;
+UPDATE function_service_dict SET is_import=1 WHERE function_id=403 AND is_valid=1; \ No newline at end of file
diff --git a/src/main/resources/sql/20181107/update_sys_menu.sql b/src/main/resources/sql/20181107/update_sys_menu.sql
new file mode 100644
index 0000000..5d8edbe
--- /dev/null
+++ b/src/main/resources/sql/20181107/update_sys_menu.sql
@@ -0,0 +1,37 @@
+alter table sys_menu modify column menu_bg varchar(1024) DEFAULT null COMMENT '原表示背景颜色,现用于记录功能帮助的URL信息';
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/ip_white_list' WHERE (`id`='607');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/ip_address' WHERE (`id`='609');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/DNS' WHERE (`id`='611');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/HTTP_advanced' WHERE (`id`='612');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/stream_media' WHERE (`id`='624');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/voip' WHERE (`id`='628');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/audio_sample' WHERE (`id`='632');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/video_sample' WHERE (`id`='633');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/picture_sample' WHERE (`id`='634');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/voip_sample' WHERE (`id`='635');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/video_scene' WHERE (`id`='637');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/SSL' WHERE (`id`='680');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/Mail_advanced' WHERE (`id`='682');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/FTP' WHERE (`id`='694');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/BGP' WHERE (`id`='698');
+UPDATE sys_menu SET `menu_bg`='/online-help/ysp/file_digest' WHERE (`id`='701');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_redirect_policy' WHERE (`id`='725');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/app' WHERE (`id`='738');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/IP_feature_advance' WHERE (`id`='739');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/HTTP_feature_advance' WHERE (`id`='740');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/domain_feature_advance' WHERE (`id`='741');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/basic_protocol' WHERE (`id`='902');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/tunnel_behavior' WHERE (`id`='903');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_block_policy' WHERE (`id`='911');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_redirect_policy' WHERE (`id`='912');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_replace_policy' WHERE (`id`='913');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_monitor_policy' WHERE (`id`='914');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/https_whiteList_policy' WHERE (`id`='915');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/p2p' WHERE (`id`='991');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/ssl_feature_advance' WHERE (`id`='1001');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/DNS_feature_advance' WHERE (`id`='1086');
+UPDATE sys_menu SET `menu_bg`='/online-help/app/payload_feature_advance' WHERE (`id`='1087');
+UPDATE sys_menu SET `menu_bg`='/online-help/proxy/ip_intercept_policy' WHERE (`id`='1099');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/HTTP_URL' WHERE (`id`='1102');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/Mail' WHERE (`id`='1140');
+UPDATE sys_menu SET `menu_bg`='/online-help/ntc/HTTP_website' WHERE (`id`='1149');
diff --git a/src/main/resources/sql/20181108/add_pxy_obj_table.sql b/src/main/resources/sql/20181108/add_pxy_obj_table.sql
new file mode 100644
index 0000000..461a18a
--- /dev/null
+++ b/src/main/resources/sql/20181108/add_pxy_obj_table.sql
@@ -0,0 +1,87 @@
+INSERT INTO function_service_dict
+ ()
+VALUES
+ (152, 571, 0, 1, 'monit', 640, 'PXY_OBJ_TRUSTED_CA_CERT', '', 1, null, "2018/10/06 14:21:00",null , "2018/10/06 14:21:00", '', 0);
+
+INSERT INTO function_region_dict
+ ()
+VALUES
+ (603, 571, '', 1, 'PXY_OBJ_TRUSTED_CA_CERT', '可信证书配置', 1, 2, 6, null, "2018/10/06 14:21:00", null, "2018/10/06 14:21:00", '', '', '', '', '', '', '', '', '', '', '', 1, 0);
+
+INSERT INTO sys_menu
+ (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`)
+VALUES
+ (1157, 1121, '0,1,86,717,1121,', 'PXY_OBJ_TRUSTED_CA_CERT', '可信证书', 3, '/proxy/intercept/strateagy/trustedCertList', '', '', 1, 'proxy:trustedCert:config', '1', "2018/11/6 14:58:41", '1', "2018/11/6 14:58:41", '', 1, '', 0, 0, 571);
+
+INSERT INTO sys_menu
+ (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`)
+VALUES
+ (1158, 1122, '0,1,150,750,1122,', 'PXY_OBJ_TRUSTED_CA_CERT', '可信证书', 420, '/proxy/intercept/strateagy/trustedCertList', '', '', 1, 'proxy:trustedCert:confirm', '1', "2018/11/6 16:58:48", '1', "2018/11/6 17:00:57", '', 1, '', 0, 0, );
+
+INSERT INTO sys_menu
+ (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`)
+VALUES
+ (1159, 1123, '0,1,151,865,1123,', 'PXY_OBJ_TRUSTED_CA_CERT', '可信证书', 32, '/proxy/intercept/strateagy/trustedCertList', '', '', 1, 'proxy:trustedCert:audit', '1', "2018/11/6 17:00:16", '1', "2018/11/6 17:00:16", '', 1, '', 0, 0, );
+
+
+#add pxy_obj_trusted_ca_cert
+CREATE TABLE `pxy_obj_trusted_ca_cert` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '证书ID',
+ `cfg_desc` varchar(128) DEFAULT '' COMMENT '证书名称',
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `cert_file` varchar(1024) DEFAULT NULL COMMENT '证书路径',
+ `action` int(11) DEFAULT NULL COMMENT '阻断',
+ `is_valid` int(11) DEFAULT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) DEFAULT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `is_area_effective` int(11) NOT NULL DEFAULT 0 COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) NOT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `compile_id` int(11) NOT NULL,
+ `issuer` varchar(1000) DEFAULT '' COMMENT '发者颁',
+ `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8mb4;
+
+#add pxy_obj_trusted_ca_crl
+CREATE TABLE `pxy_obj_trusted_ca_crl` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'crlID',
+ `cfg_desc` varchar(128) DEFAULT '' COMMENT '证书路径',
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `crl_file` varchar(1024) DEFAULT NULL,
+ `cert_id` bigint(20) DEFAULT 0 COMMENT '证书id',
+ `action` int(11) DEFAULT NULL COMMENT '阻断',
+ `is_valid` int(11) DEFAULT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) DEFAULT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `is_area_effective` int(11) NOT NULL DEFAULT 0 COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) NOT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `compile_id` int(11) NOT NULL,
+ `issuer` varchar(128) DEFAULT NULL COMMENT '发者颁',
+ `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4;
+ \ No newline at end of file
diff --git a/src/main/resources/sql/20181109/update_specific_service_cfg_data.sql b/src/main/resources/sql/20181109/update_specific_service_cfg_data.sql
new file mode 100644
index 0000000..68daf57
--- /dev/null
+++ b/src/main/resources/sql/20181109/update_specific_service_cfg_data.sql
@@ -0,0 +1,2 @@
+delete from specific_service_cfg;
+INSERT INTO `specific_service_cfg` VALUES (1,100001,'Skype','Skype',1,'2018-10-10 19:02:04',0,0,1297,1,'2',NULL),(7,100101,'Instagram','',1,'2018-08-28 15:46:48',0,0,8,1,'14',NULL),(8,100201,'Youtube','',1,'2018-08-28 15:46:14',0,0,9,1,'10',NULL),(9,100301,'Facebook','',1,'2018-08-28 15:45:47',0,0,10,1,'14',NULL),(10,100401,'What\'s App','',1,'2018-09-10 17:08:40',0,0,11,1,'2',NULL),(11,100501,'Periscope','',1,'2018-08-28 15:44:36',0,0,12,1,'10',NULL),(12,100601,'Viber','',1,'2018-08-28 15:44:10',0,0,13,1,'2',NULL),(13,100701,'Twitter','',1,'2018-08-28 15:43:37',0,0,14,1,'14',NULL),(14,100801,'Vkontakte','',1,'2018-08-28 15:42:59',0,0,15,1,'14',NULL),(15,100901,'Telegram','',1,'2018-08-28 15:41:18',0,0,16,1,'2',NULL),(17,101101,'Mail agent','',1,'2018-08-28 15:40:47',0,0,18,1,'2',NULL),(18,101201,'FaceTime','',1,'2018-08-28 15:40:20',0,0,19,1,'2',NULL),(20,101301,'Snapchat','',1,'2018-08-28 15:39:40',0,0,35,1,'2',NULL),(21,101401,'Google','',1,'2018-08-28 15:39:13',0,0,36,1,'4',NULL),(22,4,'message','',0,'2018-06-21 14:01:11',21,1,37,1,'',NULL),(28,103301,'Zenmate VPN','',1,'2018-09-21 18:52:31',0,0,13,1,'20',NULL),(29,103201,'HideMyAss VPN','',1,'2018-08-28 15:38:18',0,0,162,1,'20',NULL),(30,103101,'Hola VPN','',1,'2018-08-28 15:37:50',0,0,163,1,'20',NULL),(31,103001,'VPN Master','',1,'2018-09-12 16:32:58',0,0,197,1,'20',NULL),(32,102901,'HotSpot Shield VPN','',1,'2018-08-28 15:36:36',0,0,165,1,'20',NULL),(33,102801,'Tunnel Bear VPN','',1,'2018-09-24 21:52:50',0,0,200,1,'20',NULL),(34,102701,'Orbot','',1,'2018-08-28 15:35:49',0,0,167,1,'20',NULL),(35,102602,'Tor browser','',1,'2018-09-13 15:23:44',0,0,279,1,'20',NULL),(36,102601,'TOR','',1,'2018-10-18 18:17:27',0,0,1798,1,'20',NULL),(37,102501,'Psiphon','',1,'2018-09-24 21:51:49',0,0,199,1,'20',NULL),(38,102401,'Freegate','',1,'2018-09-14 12:36:03',0,0,123,1,'20',NULL),(39,102301,'Zello','',1,'2018-09-07 18:28:58',0,0,414,1,'2',NULL),(40,102201,'WeChat','',1,'2018-08-28 15:32:57',0,0,173,1,'2',NULL),(41,102101,'Badoo social networking','',1,'2018-08-28 15:32:35',0,0,174,1,'14',NULL),(42,102001,'Drugvokrug social networking','',1,'2018-08-28 15:32:09',0,0,175,1,'14',NULL),(43,101901,'PlayMarket','',1,'2018-09-12 18:08:13',0,0,206,1,'15',NULL),(44,101801,'AppStore','',1,'2018-08-28 15:31:22',0,0,177,1,'15',NULL),(45,101703,'Opera mini','',1,'2018-08-28 15:30:58',0,0,178,1,'17',NULL),(46,101702,'Opera Turbo','',1,'2018-08-28 15:30:17',0,0,179,1,'17',NULL),(47,101701,'Opera','',1,'2018-10-08 15:34:00',0,0,992,1,'17',NULL),(48,101601,'Yandex Browser Turbo','',1,'2018-08-28 15:28:53',0,0,181,1,'17',NULL),(49,101501,'Yandex','',1,'2018-08-28 15:12:22',0,0,182,1,'4',NULL),(51,101001,'Odnoklassniki','',1,'2018-08-28 15:09:39',0,0,184,1,'14',NULL),(52,100002,'Skype video calls/calls','',1,'2018-07-23 14:12:02',1,1,72,1,'',NULL),(53,100003,'Skype voice','',1,'2018-07-23 14:12:40',1,1,73,1,'',NULL),(54,100004,'Skype message','',1,'2018-07-23 14:15:01',1,1,74,1,'',NULL),(55,100102,'Instagram video','',1,'2018-07-23 14:15:57',7,1,75,1,'',NULL),(56,100103,'Instagram message','',1,'2018-07-23 14:41:44',7,1,76,1,'',NULL),(57,100104,'Instagram live','',1,'2018-07-23 14:17:01',7,1,77,1,'',NULL),(58,100105,'Instagram adding photos and videos','',1,'2018-07-23 14:18:02',7,1,78,1,'',NULL),(59,100202,'Youtube video','',1,'2018-07-23 14:42:39',8,1,79,1,'',NULL),(60,100203,'Youtube live','',1,'2018-07-23 14:42:59',8,1,80,1,'',NULL),(61,100204,'Youtube adding videos','',1,'2018-07-29 16:31:58',8,1,81,1,'',NULL),(62,100302,'Facebook video','',1,'2018-07-23 14:44:05',9,1,82,1,'',NULL),(63,100303,'Facebook live','',1,'2018-07-23 14:44:49',9,1,83,1,'',NULL),(64,100304,'Facebook message','',1,'2018-07-23 14:45:24',9,1,84,1,'',NULL),(65,0,'Beyond The Range Of Protocol','',1,'2018-08-24 11:04:31',0,0,109,3,'basic_1',NULL),(71,6,'GRE','',1,'2018-09-10 15:41:12',0,0,115,3,'107',NULL),(73,8,'HTTPS','',1,'2018-09-10 15:41:47',0,0,117,3,'104',NULL),(74,9,'ICMP','',1,'2018-09-10 15:42:03',0,0,118,3,'107',NULL),(77,12,'IMAPS','',1,'2018-09-10 15:43:13',0,0,121,3,'106',NULL),(81,16,'NTP','',1,'2018-09-10 15:45:37',0,0,125,3,'112',NULL),(83,18,'POP3 SSL','',1,'2018-09-10 15:46:22',0,0,127,3,'106',NULL),(85,20,'QUIC','',1,'2018-09-10 15:50:33',0,0,129,3,'104',NULL),(87,22,'SMB','',1,'2018-09-10 15:52:45',0,0,131,3,'112',NULL),(89,24,'SMTPS','',1,'2018-09-10 15:53:29',0,0,133,3,'106',NULL),(90,25,'SPDY','google tcp',1,'2018-09-10 15:53:58',0,0,134,3,'104',NULL),(91,28,'SSH','',1,'2018-09-10 15:54:34',0,0,135,3,'109',NULL),(94,268435455,'Unspecified','',1,'2018-08-28 18:08:09',0,0,138,3,'268435455',NULL),(95,6,'GRE','',1,'2018-07-25 09:43:06',0,0,157,2,'',NULL),(96,15,'L2TP','',1,'2018-08-24 11:05:53',0,0,158,2,'0',NULL),(97,19,'PPTP','',1,'2018-07-25 09:43:48',0,0,159,2,'',NULL),(98,61,'OpenVPN','',1,'2018-08-25 12:18:06',0,0,166,2,'0',NULL),(99,26,'SSH-V1','',1,'2018-08-24 11:05:45',0,0,167,2,'0',NULL),(100,27,'SSH-V2','',1,'2018-07-25 13:02:20',0,0,168,2,'',NULL),(101,28,'SSH-other','',1,'2018-08-24 11:05:37',0,0,169,2,'0',NULL),(102,29,'SSL','',1,'2018-08-24 11:05:28',0,0,170,2,'0',NULL),(103,30,'SOCKS','',1,'2018-08-24 11:05:19',0,0,171,2,'0',NULL),(104,13,'IPSEC','',1,'2018-08-24 11:05:11',0,0,172,2,'0',NULL),(105,10,'IKE','',1,'2018-08-24 11:05:03',0,0,173,2,'0',NULL),(106,20,'QUIC','',1,'2018-08-21 16:59:19',0,0,174,2,'0',NULL),(107,1,'multimedia_video','',1,'2018-07-25 15:13:38',106,1,181,2,'',NULL),(108,0,'Beyond The Range Of Application','',1,'2018-08-24 10:57:41',0,0,182,1,'app_10001',NULL),(109,2,'File Transfer','',0,'2018-07-25 15:46:29',106,1,212,2,'',NULL),(110,3,'Remote Control','',0,'2018-07-25 15:46:56',106,1,213,2,'',NULL),(111,4,'Web Browse','',0,'2018-07-25 15:47:34',106,1,214,2,'',NULL),(112,5,'VOIP','',0,'2018-08-21 15:58:52',106,1,215,2,'',NULL),(113,1,'multimedia_video','',1,'2018-07-25 18:24:26',105,1,241,2,'',NULL),(114,2,'File Transfer','',0,'2018-07-25 18:24:49',105,1,242,2,'',NULL),(115,3,'Remote Control','',0,'2018-07-25 18:25:09',105,1,243,2,'',NULL),(116,4,'Web browse','',0,'2018-07-25 18:25:34',105,1,244,2,'',NULL),(117,5,'VOIP','',0,'2018-07-25 18:25:51',105,1,245,2,'',NULL),(118,1,'multimedia_video','',1,'2018-07-25 18:26:14',104,1,246,2,'',NULL),(119,2,'File Transfer','',0,'2018-07-25 18:26:35',104,1,247,2,'',NULL),(120,3,'Remote Control','',0,'2018-07-25 18:26:58',104,1,248,2,'',NULL),(121,4,'Web Browse','',0,'2018-07-25 18:27:22',104,1,249,2,'',NULL),(122,5,'VOIP','',0,'2018-07-25 18:27:55',104,1,250,2,'',NULL),(123,1,'multimedia_video','',1,'2018-07-25 18:28:13',103,1,251,2,'',NULL),(124,2,'File Transfer','',0,'2018-07-25 18:28:29',103,1,252,2,'',NULL),(125,3,'Remote Control','',1,'2018-07-25 18:28:51',103,1,253,2,'',NULL),(126,4,'Web Browse','',0,'2018-07-25 18:29:09',103,1,254,2,'',NULL),(127,5,'VOIP','',0,'2018-07-25 18:29:22',103,1,255,2,'',NULL),(128,1,'multimedia_video','',1,'2018-07-25 18:29:56',102,1,256,2,'',NULL),(129,2,'File Transfer','',0,'2018-07-25 18:30:17',102,1,257,2,'',NULL),(130,3,'Remote Control','',0,'2018-07-25 18:30:34',102,1,258,2,'',NULL),(131,4,'Web Browse','',0,'2018-07-25 18:30:54',102,1,259,2,'',NULL),(132,5,'VOIP','',0,'2018-07-25 18:31:10',102,1,260,2,'',NULL),(133,1,'multimedia_video','',1,'2018-07-25 18:31:27',101,1,261,2,'',NULL),(134,2,'File Transfer','',0,'2018-07-25 18:31:42',101,1,262,2,'',NULL),(135,3,'Remote Control','',0,'2018-07-25 18:32:01',101,1,263,2,'',NULL),(136,4,'Web Browse','',0,'2018-07-25 18:32:46',101,1,264,2,'',NULL),(137,5,'VOIP','',0,'2018-07-25 18:33:06',101,1,265,2,'',NULL),(138,1,'multimedia_video','',1,'2018-07-25 18:33:25',100,1,266,2,'',NULL),(139,2,'File Transfer','',0,'2018-07-25 18:33:37',100,1,267,2,'',NULL),(140,3,'Remote Control','',0,'2018-07-25 18:33:49',100,1,268,2,'',NULL),(141,4,'Web Browse','',0,'2018-07-25 18:34:01',100,1,269,2,'',NULL),(142,5,'VOIP','',0,'2018-07-25 18:34:14',100,1,270,2,'',NULL),(143,1,'multimedia_video','',1,'2018-07-25 18:34:45',99,1,271,2,'',NULL),(144,2,'File Transfer','',0,'2018-07-25 18:34:57',99,1,272,2,'',NULL),(145,3,'Remote Control','',0,'2018-07-25 18:35:09',99,1,273,2,'',NULL),(146,4,'Web Browse','',0,'2018-07-25 18:35:24',99,1,274,2,'',NULL),(147,5,'VOIP','',0,'2018-07-25 18:35:37',99,1,275,2,'',NULL),(148,1,'multimedia_video','',1,'2018-07-25 18:35:51',98,1,276,2,'',NULL),(149,2,'File Transfer','',0,'2018-07-25 18:36:02',98,1,277,2,'',NULL),(150,3,'Remote Control','',0,'2018-07-25 18:36:14',98,1,278,2,'',NULL),(151,4,'Web Browse','',0,'2018-07-25 18:37:00',98,1,279,2,'',NULL),(152,5,'VOIP','',0,'2018-07-25 18:38:55',98,1,280,2,'',NULL),(153,1,'multimedia_video','',1,'2018-07-25 18:39:23',97,1,281,2,'',NULL),(154,2,'File Transfer','',0,'2018-07-25 18:39:34',97,1,282,2,'',NULL),(155,3,'Remote Control','',0,'2018-07-25 18:39:53',97,1,283,2,'',NULL),(156,4,'Web Browse','',0,'2018-07-25 18:49:15',97,1,284,2,'',NULL),(157,5,'VOIP','',0,'2018-07-26 09:03:19',97,1,285,2,'',NULL),(158,1,'multimedia_video','',1,'2018-07-26 09:04:21',96,1,286,2,'',NULL),(159,2,'File Transfer','',0,'2018-07-26 09:04:35',96,1,287,2,'',NULL),(160,3,'Remote Control','',0,'2018-07-26 09:05:02',96,1,288,2,'',NULL),(161,4,'Web Browse','',0,'2018-07-26 09:05:17',96,1,289,2,'',NULL),(162,2,'VOIP','',0,'2018-07-26 09:05:31',96,1,290,2,'',NULL),(163,1,'multimedia_video','',1,'2018-07-26 09:05:48',95,1,291,2,'',NULL),(164,2,'File Transfer','',0,'2018-07-26 09:06:05',95,1,292,2,'',NULL),(165,3,'Remote Control','',0,'2018-07-26 09:06:23',95,1,293,2,'',NULL),(166,4,'Web Browse','',0,'2018-07-26 09:06:39',95,1,294,2,'',NULL),(167,5,'VOIP','',0,'2018-07-26 09:06:57',95,1,295,2,'',NULL),(168,100402,'What\'s App message','',1,'2018-07-26 09:10:20',10,1,296,1,'',NULL),(169,100403,'What\'s App calls/video calls','',1,'2018-07-26 09:10:48',10,1,297,1,'',NULL),(170,100404,'What\'s App transfer','',1,'2018-07-26 09:11:34',10,1,298,1,'',NULL),(171,100502,'Viber calls/video calls','',1,'2018-07-26 09:11:56',12,1,299,1,'',NULL),(172,100503,'Viber message','',1,'2018-07-26 09:12:18',12,1,300,1,'',NULL),(173,100504,'Viber transfer','',1,'2018-07-26 09:12:43',12,1,301,1,'',NULL),(174,100602,'Vkontakte video','',1,'2018-07-26 09:13:15',14,1,302,1,'',NULL),(175,100603,'Vkontakte message','',1,'2018-07-26 09:13:31',14,1,303,1,'',NULL),(176,100604,'Vkontakte live','',1,'2018-07-26 09:13:48',14,1,304,1,'',NULL),(177,100702,'Telegram message','',1,'2018-07-26 09:14:12',15,1,305,1,'',NULL),(178,100703,'Telegram calls/video calls','',1,'2018-07-26 09:14:29',15,1,306,1,'',NULL),(179,100704,'Telegram transfer','',1,'2018-07-26 09:14:46',15,1,307,1,'',NULL),(180,100802,'Odnoklassniki message','',1,'2018-07-26 09:15:33',51,1,308,1,'',NULL),(181,100803,'Odnoklassniki video','',1,'2018-07-26 09:15:53',51,1,309,1,'',NULL),(182,100902,'Mail agent message','',1,'2018-07-26 09:17:13',17,1,310,1,'',NULL),(183,100903,'Mail agent calls','',1,'2018-07-26 09:17:29',17,1,311,1,'',NULL),(184,100904,'Mail agent transfer','',1,'2018-07-26 09:17:47',17,1,312,1,'',NULL),(185,101002,'Facetime video calls','',1,'2018-07-26 09:18:15',18,1,313,1,'',NULL),(186,101003,'Facetime voice calls','',1,'2018-07-26 09:18:32',18,1,314,1,'',NULL),(282,100005,'Skype transfer','Ӧ������Ϊ',1,'2018-09-10 14:30:58',1,1,2,1,'',NULL),(283,102603,'Tor mode','',1,'2018-09-10 16:31:39',0,0,14,1,'20',NULL),(296,30,'SOCKS','',1,'2018-09-12 17:28:43',0,0,200,3,'108',NULL),(297,5,'FTPS','',1,'2018-09-12 17:30:30',0,0,201,3,'105',NULL),(298,10,'IKE','',1,'2018-09-12 17:32:19',0,0,202,3,'102',NULL),(299,13,'IPSEC','',1,'2018-09-12 17:33:19',0,0,203,3,'102',NULL),(300,15,'L2TP','',1,'2018-09-12 17:34:58',0,0,204,3,'103',NULL),(301,19,'PPTP','',1,'2018-09-12 17:36:17',0,0,205,3,'103',NULL),(303,13579,'facetime-hx','dingdingdongdong',0,'2018-09-16 15:48:54',18,1,624,1,'',NULL),(305,121,'XMPP','',1,'2018-09-16 19:17:18',0,0,628,3,'101',NULL),(307,90001,'Advanced Application Test','Advanced Application Test',1,'2018-10-05 12:45:13',0,0,783,1,'4',NULL),(309,300002,'New Applicaiton',NULL,0,'2018-10-08 11:19:10',0,0,956,1,'20',185),(311,300003,'douyin',NULL,0,'2018-10-08 11:19:50',0,0,957,1,'268435455',185),(313,6,'other','',1,'2018-08-21 15:58:52',106,1,215,2,NULL,NULL),(315,6,'other','',1,'2018-07-25 18:25:51',105,1,245,2,NULL,NULL),(317,6,'other','',1,'2018-07-25 18:27:55',104,1,250,2,NULL,NULL),(319,6,'other','',1,'2018-07-25 18:29:22',103,1,255,2,NULL,NULL),(321,6,'other','',1,'2018-07-25 18:31:10',102,1,260,2,NULL,NULL),(323,6,'other','',1,'2018-07-25 18:33:06',101,1,265,2,NULL,NULL),(325,6,'other','',1,'2018-07-25 18:34:14',100,1,270,2,NULL,NULL),(327,6,'other','',1,'2018-07-25 18:35:37',99,1,275,2,NULL,NULL),(329,6,'other','',1,'2018-07-25 18:38:55',98,1,280,2,NULL,NULL),(331,6,'other','',1,'2018-07-26 09:03:19',97,1,285,2,NULL,NULL),(333,6,'other','',1,'2018-07-26 09:05:31',96,1,290,2,NULL,NULL),(335,6,'other','',1,'2018-07-26 09:06:57',95,1,295,2,NULL,NULL); \ No newline at end of file
diff --git a/src/main/resources/sql/20181112/add_cache_policy b/src/main/resources/sql/20181112/add_cache_policy
new file mode 100644
index 0000000..5ab43ac
--- /dev/null
+++ b/src/main/resources/sql/20181112/add_cache_policy
@@ -0,0 +1,121 @@
+drop table IF EXISTS `common_keyword_cfg` ;
+CREATE TABLE `common_keyword_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `replace_content` varchar(500) DEFAULT NULL COMMENT '替换内容, action为replace时填写',
+ `cfg_keywords` varchar(2048) NOT NULL COMMENT '对应maat规范的字符串表keywords字段',
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `expr_type` int(11) NOT NULL COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) DEFAULT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `user_region1` varchar(1024) DEFAULT NULL COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT NULL COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT NULL COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT NULL COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT NULL COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`),
+ UNIQUE KEY `pk_cfg_index_id` (`cfg_id`) USING BTREE,
+ KEY `cfg_index_compileId` (`compile_id`) USING BTREE,
+ KEY `cfg_index_functionId` (`function_id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COMMENT='通用字符串类配置';
+drop table IF EXISTS `complex_keyword_cfg`;
+CREATE TABLE `complex_keyword_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `district` varchar(128) DEFAULT NULL,
+ `keywords` varchar(2048) NOT NULL,
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `expr_type` int(11) NOT NULL COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `cfg_type` varbinary(64) DEFAULT NULL COMMENT '内容类型',
+ `function_id` int(11) NOT NULL COMMENT '菜单ID',
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`),
+ UNIQUE KEY `pk_cfg_index_id` (`cfg_id`) USING BTREE,
+ KEY `cfg_index_compileId` (`compile_id`) USING BTREE,
+ KEY `cfg_index_functionId` (`function_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通用增强字符串配置';
+
+#增加缓存相关字典
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('130', '缓存算法', 'CACHE_KEY', '', '', '2018-11-12 10:25:57', '2018-11-12 10:25:57', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('131', '缓存验证', 'CACHE_NO_REVALIDATE', '', '', '2018-11-12 11:12:55', '2018-11-12 11:12:55', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('132', '缓存动态URL', 'CACHE_DYN_URL', '', '', '2018-11-12 11:14:35', '2018-11-12 11:14:35', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('133', '缓存cookie内容', 'CACHE_COOKIED_CONT', '', 'user:管理员,2018-11-12 11:16:04edit', '2018-11-12 11:15:46', '2018-11-12 11:16:04', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('134', '忽略请求头不缓存', 'IGNORE_REQ_NOCACHE', '', '', '2018-11-12 11:18:09', '2018-11-12 11:18:09', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('135', '忽略响应头不缓存', 'IGNORE_RES_NOCACHE', '', '', '2018-11-12 11:22:42', '2018-11-12 11:22:42', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('136', '强制缓存', 'FORCE_CACHING', '', '', '2018-11-12 11:23:51', '2018-11-12 11:23:51', '1');
+
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2992', 'ignore_query_string', 'ignore_query_string', '', '0', '1', '1', '130');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2993', 'include_cookie', 'include_cookie', '', '0', '1', '1', '130');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2994', '0', 'no', '', '0', '1', '1', '131');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2995', '1', 'yes', '', '0', '1', '1', '131');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2996', '0', 'no', '', '0', '1', '1', '132');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2997', '1', 'yes', '', '0', '1', '1', '132');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3000', '0', 'no', '', '0', '1', '1', '133');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3001', '1', 'yes', '', '0', '1', '1', '133');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3002', '0', 'no', '', '0', '1', '1', '134');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3003', '1', 'yes', '', '0', '1', '1', '134');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3004', '0', 'no', '', '0', '1', '1', '135');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3005', '1', 'yes', '', '0', '1', '1', '135');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3006', '0', 'no', '', '0', '1', '1', '136');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3007', '1', 'yes', '', '0', '1', '1', '136');
+
+#增加缓存功能业务字典
+INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`, `is_import`) VALUES ('154', '213', '0', '48', 'cache', '625', 'proxy_cache_policy_redirect', NULL, '1', NULL, '2018-11-08 11:14:30', NULL, '2018-11-08 11:14:33', '2', '0');
+INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`, `is_import`) VALUES ('155', '213', '0', '128', 'cache_whitelist', '624', 'proxy_cache_policy_whitelist', NULL, '1', NULL, '2018-11-08 11:16:18', NULL, '2018-11-08 11:16:23', NULL, '0');
+INSERT INTO `function_region_dict` (`dict_id`, `function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`, `is_import`) VALUES ('604', '213', NULL, '1', 'PXY_CACHE_HTTP_URL', '代理缓存URL配置', '1', '1', '2', NULL, '2018-11-08 11:20:31', NULL, '2018-11-08 11:20:33', '', '0,1', '0,1,2,3', NULL, '0,1,2', '1', NULL, NULL, NULL, NULL, NULL, '1', '0');
+INSERT INTO `function_region_dict` (`dict_id`, `function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`, `is_import`) VALUES ('605', '213', NULL, '2', 'PXY_CACHE_HTTP_COOKIE', '代理缓存cookie配置', '1', '1', '2', NULL, '2018-11-08 11:22:00', NULL, '2018-11-08 11:22:04', '', '0,1', '0,1,2,3', NULL, '0,1,2', '1', NULL, NULL, NULL, NULL, NULL, '2', '0');
+#增加缓存功能菜单
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1161', '719', '0,1,86,719,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', 'cache:policy:config', '1', '2018-11-08 11:27:45', '1', '2018-11-08 11:27:45', '', '1', NULL, '0', '0', '213');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1162', '748', '0,1,150,748,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', 'cache:policy:confirm', '1', '2018-11-08 11:28:43', '1', '2018-11-08 11:28:43', '', '1', NULL, '0', '0', '213');
+INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1163', '850', '0,1,151,850,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', '', '1', '2018-11-08 11:29:26', '1', '2018-11-08 11:29:26', '', '1', NULL, '0', '0', '213');
+
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('137', '缓存时间单位', 'CACHE_TIME_UNIT', '', '', '2018-11-12 19:29:17', '2018-11-12 19:29:17', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('138', '缓存文件大小', 'CACHE_SIZE_UNIT', '', '', '2018-11-12 19:30:07', '2018-11-12 19:30:07', '1');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3008', 'h', 'Hour', '', '0', '1', '1', '137');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3009', 'm', 'Minute', '', '0', '1', '1', '137');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3010', 's', 'Seconde', '', '0', '1', '1', '137');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3011', 'm', 'MB', '', '0', '1', '1', '138');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3012', 'g', 'GB', '', '0', '1', '1', '138');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3013', 't', 'TB', '', '0', '1', '1', '138');
diff --git a/src/main/resources/sql/20181112/update_region_service_dict.sql b/src/main/resources/sql/20181112/update_region_service_dict.sql
new file mode 100644
index 0000000..4fdef77
--- /dev/null
+++ b/src/main/resources/sql/20181112/update_region_service_dict.sql
@@ -0,0 +1,3 @@
+#修改ddos动作为回流,配置表为NTC_DDOS_PROTECT_TARGET_IP
+UPDATE function_region_dict SET config_region_value='NTC_DDOS_PROTECT_TARGET_IP' WHERE dict_id=74;
+UPDATE function_service_dict SET `action`=96 , action_code='loop' WHERE dict_id=82;
diff --git a/src/main/resources/sql/20181112/update_sys_menu.sql b/src/main/resources/sql/20181112/update_sys_menu.sql
new file mode 100644
index 0000000..6871d74
--- /dev/null
+++ b/src/main/resources/sql/20181112/update_sys_menu.sql
@@ -0,0 +1,4 @@
+#修改日志ddos 为一个菜单
+UPDATE sys_menu SET href='/log/ntc/ntcDdosLogs/list' WHERE id=1138;
+UPDATE sys_menu SET is_show=0 WHERE id=1139;
+
diff --git a/src/main/resources/sql/20181113/update_rate_limit_dict_data.sql b/src/main/resources/sql/20181113/update_rate_limit_dict_data.sql
new file mode 100644
index 0000000..38d096c
--- /dev/null
+++ b/src/main/resources/sql/20181113/update_rate_limit_dict_data.sql
@@ -0,0 +1,10 @@
+delete from sys_data_dictionary_ITEM where dictionary_id=117;
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2731, '0.1', '0.1', '', 1, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2732, '0.2', '0.2', '', 2, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2733, '0.3', '0.3', '', 3, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2734, '0.4', '0.4', '', 4, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2735, '0.5', '0.5', '', 5, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2736, '0.6', '0.6', '', 6, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2737, '0.7', '0.7', '', 7, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2738, '0.8', '0.8', '', 8, 1, 1, 117);
+INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2739, '0.9', '0.9', '', 9, 1, 1, 117);
diff --git a/src/main/resources/sql/20181114/code_app_dic.sql b/src/main/resources/sql/20181114/code_app_dic.sql
new file mode 100644
index 0000000..75b1584
--- /dev/null
+++ b/src/main/resources/sql/20181114/code_app_dic.sql
@@ -0,0 +1,680 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 192.168.10.204_3306
+Source Server Version : 50505
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-11-14 11:47:08
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for code_app_dic
+-- ----------------------------
+DROP TABLE IF EXISTS `code_app_dic`;
+CREATE TABLE `code_app_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `app_name` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `app_name_zh` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `view_code` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '应用编码',
+ `icon` varchar(255) DEFAULT '',
+ `behavior` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '行为细分',
+ `core_app` int(11) DEFAULT NULL COMMENT '是否是核心应用(1:是,0:否)',
+ `app_service_id` int(10) unsigned zerofill DEFAULT NULL COMMENT '业务类型编号',
+ `app_service` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `lib` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT 'lib类别',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=643 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_app_dic
+-- ----------------------------
+INSERT INTO `code_app_dic` VALUES ('1', '超出APP范畴', '超出APP范畴', '0', '', '', '1', null, '', null);
+INSERT INTO `code_app_dic` VALUES ('2', 'Skype', 'Skype', '100001', '', 'Skype video calls/calls\nSkype voice\nSkype message\nSkype transfer', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('3', 'Instagram', 'Instagram', '100101', '', 'Instagram video\nInstagram message\nInstagram live\nInstagram adding photos and videos', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('4', 'Youtube', 'Youtube', '100201', '', 'Youtube video\nYoutube live\nYoutube adding videos', '1', '0000000010', 'Media', null);
+INSERT INTO `code_app_dic` VALUES ('5', 'Facebook', 'Facebook', '100301', '', 'Facebook video\nFacebook live\nFacebook message', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('6', 'What‘s App', 'What‘s App', '100401', '', 'What\'s App message\nWhat\'s App calls/video calls\nWhat\'s App transfer', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('7', 'Periscope', 'Periscope', '100501', '', '', '1', '0000000010', 'Media', null);
+INSERT INTO `code_app_dic` VALUES ('8', 'Viber', 'Viber', '100601', '', 'Viber calls/video calls\nViber message\nViber transfer', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('9', 'Twitter', 'Twitter', '100701', '', '', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('10', 'Vkontakte', 'Vkontakte', '100801', '', 'Vkontakte video\nVkontakte message\nVkontakte live', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('11', 'Telegram', 'Telegram', '100901', '', 'Telegram message\nTelegram calls/video calls\nTelegram transfer', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('12', 'Odnoklassniki', 'Odnoklassniki', '101001', '', 'Odnoklassniki message\nOdnoklassniki video', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('13', 'Mail agent', 'Mail agent', '101101', '', 'Mail agent message\nMail agent calls\nMail agent transfer', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('14', 'FaceTime', 'FaceTime', '101201', '', 'Facetime video calls\nFacetime voice calls', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('15', 'Snapchat', 'Snapchat', '101301', '', '', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('16', 'Google', 'Google', '101401', '', '', '1', '0000000004', 'Web', null);
+INSERT INTO `code_app_dic` VALUES ('17', 'Yandex', 'Yandex', '101501', '', '', '1', '0000000004', 'Web', null);
+INSERT INTO `code_app_dic` VALUES ('18', 'Yandex Browser Turbo', 'Yandex Browser Turbo', '101601', '', '', '1', '0000000017', 'Browser', null);
+INSERT INTO `code_app_dic` VALUES ('19', 'Opera', 'Opera', '101701', '', '', '1', '0000000017', 'Browser', null);
+INSERT INTO `code_app_dic` VALUES ('20', 'Opera Turbo', 'Opera Turbo', '101702', '', '', '1', '0000000017', 'Browser', null);
+INSERT INTO `code_app_dic` VALUES ('21', 'Opera mini', 'Opera mini', '101703', '', '', '1', '0000000017', 'Browser', null);
+INSERT INTO `code_app_dic` VALUES ('22', 'AppStore', 'AppStore', '101801', '', '', '1', '0000000015', 'ApplicationMarket', null);
+INSERT INTO `code_app_dic` VALUES ('23', 'PlayMarket', 'PlayMarket', '101901', '', '', '1', '0000000015', 'ApplicationMarket', null);
+INSERT INTO `code_app_dic` VALUES ('24', 'Drugvokrug social networking', 'Drugvokrug social networking', '102001', '', '', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('25', 'Badoo social networking', 'Badoo social networking', '102101', '', '', '1', '0000000014', 'SocilNetwork', null);
+INSERT INTO `code_app_dic` VALUES ('26', 'WeChat', 'WeChat', '102201', '', '', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('27', 'Zello', 'Zello', '102301', '', '', '1', '0000000002', 'IM', null);
+INSERT INTO `code_app_dic` VALUES ('28', 'Freegate', 'Freegate', '102401', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('29', 'Psiphon', 'Psiphon', '102501', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('30', 'TOR', 'TOR', '102601', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('31', 'Tor browser', 'Tor browser', '102602', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('32', 'Tor mode', 'Tor mode', '102603', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('33', 'Orbot', 'Orbot', '102701', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('34', 'Tunnel Bear VPN', 'Tunnel Bear VPN', '102801', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('35', 'HotSpot Shield VPN', 'HotSpot Shield VPN', '102901', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('36', 'VPN Master', 'VPN Master', '103001', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('37', 'Hola VPN', 'Hola VPN', '103101', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('38', 'HideMyAss VPN', 'HideMyAss VPN', '103201', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('39', 'Zenmate VPN', 'Zenmate VPN', '103301', '', '', '1', '0000000020', 'VPN', null);
+INSERT INTO `code_app_dic` VALUES ('40', 'Unspecified', 'Unspecified', '268435455', '', '', '1', '0000000000', 'Unspecified', null);
+INSERT INTO `code_app_dic` VALUES ('41', 'RFA', '', '200001', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('42', 'VOA', '', '200002', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('43', 'lantern', '', '200003', '', '', null, '0000000020', 'vpn', '');
+INSERT INTO `code_app_dic` VALUES ('44', 'Line', '', '200004', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('45', 'voxer', '', '200005', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('46', 'ZeroNet', '', '200006', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('47', 'Zalo', '', '200007', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('48', 'free_browser', '', '200008', '', '', null, '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('49', 'Diaspora', '', '200009', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('50', 'browsec', '', '200010', '', '', null, '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('51', 'Chrome_plugin_chuguo', '', '200011', '', '', null, '0000000020', 'vpn', '');
+INSERT INTO `code_app_dic` VALUES ('52', 'GoGo_SocksHttp', '', '200012', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('53', 'ultrasurf_chrome', '', '200013', '', '', null, '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('54', 'pinterest', '', '200014', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('55', 'Swisscom', '', '200015', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('56', 'Threema', '', '200016', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('57', 'Circuit_iOS', '', '200017', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('58', 'Chrome_plugin_FastsTunnel', '', '200018', '', '', null, '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('59', 'OoVoo', '', '200019', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('60', 'Vine', '', '200020', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('61', 'Keek', '', '200021', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('62', 'Hi', '', '200022', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('63', 'HeyTell', '', '200023', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('64', 'HikeMessenger', '', '200024', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('65', 'Nonoh', '', '200025', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('66', 'Path', '', '200026', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('67', 'Kik', '', '200027', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('68', 'BBM', '', '200028', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('69', 'Talkray', '', '200029', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('70', 'HelloTalk', '', '200030', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('71', 'Skout', '', '200031', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('72', 'MeetMe', '', '200032', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('73', 'Nextdoor', '', '200033', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('74', 'Shots', '', '200034', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('75', 'Zoosk', '', '200035', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('76', 'TextPlus', '', '200036', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('77', 'Maaii', '', '200037', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('78', 'Ustream', '', '200038', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('79', 'Yikyak', '', '200039', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('80', 'chatsecure', '', '200040', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('81', 'freecalls', '', '200041', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('82', 'SignalPrivateMessenger', '', '200042', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('83', 'USGOV_CIA', '', '200043', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('84', 'USGOV_FBI', '', '200044', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('85', 'USGOV_DHS', '', '200045', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('86', 'shenxun_Secure_Call_android', '', '200046', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('87', 'shenxun_Secure_Call_web', '', '200047', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('88', 'UProxy', '', '200048', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('89', 'soma', '', '200049', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('90', 'PlayerUnknown\'s_Battlegrounds', '', '200050', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('91', 'STEAM', '', '200051', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('92', 'dalai_lama', '', '200052', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('93', 'Steam_forum', '', '200053', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('94', 'Microsoft Online Certificate', '微软在线证书', '200054', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('95', 'sogou_spider', 'sogou_spider', '200055', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('96', 'baidu_mobie', 'baidu_mobie', '200056', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('97', 'Apple Push Service', '苹果推送服务', '200057', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('98', 'IQIYI', '爱奇艺', '200058', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('99', 'baidu_spider', 'baidu_spider', '200059', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('100', 'Weibo', '微博', '200060', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('101', 'Apple captive service', '苹果captive服务', '200061', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('102', 'Microsoft wns', '微软wns', '200062', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('103', '360_safe_pc', '360_safe_pc', '200063', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('104', 'Sogou Public Service', '搜狗公有服务', '200064', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('105', 'Lenovo app_POST service', '联想app_POST服务', '200065', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('106', 'Apple securityd service', '苹果securityd服务', '200066', '', '', null, '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('107', 'Weather pass', '天气通', '200067', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('108', 'Apple Service Pack', '苹果服务包', '200068', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('109', 'Fast pressure', '快压', '200069', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('110', 'SemrushBot', 'SemrushBot', '200070', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('111', 'Adrefs_spider', 'Adrefs_spider', '200071', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('112', 'AndroidDownloadManager', 'AndroidDownloadManager', '200072', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('113', 'XenderTop', 'XenderTop', '200073', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('114', 'microsoft_update', 'microsoft_update', '200074', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('115', 'Youku', '优酷', '200075', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('116', 'Google_spider', 'goolge_spider', '200076', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('117', 'Microsoft User Experience and Telemetry Components', '微软用户体验与遥测组件', '200077', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('118', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', '200078', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('119', 'Microsoft ncsi', '微软ncsi', '200079', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('120', 'Microsoft Privacy Collection Service', '微软隐私收集服务', '200080', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('121', 'uTorrent', 'uTorrent', '200081', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('122', 'Edge', 'Edge', '200082', '', '', null, '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('123', 'Lenovo Music Store', '联想乐商店', '200083', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('124', 'LieBao', 'LieBao', '200084', '', '', null, '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('125', 'majesti_spider', 'majesti_spider', '200085', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('126', 'DotBot', 'DotBot', '200086', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('127', 'Millet Update', '小米Update', '200087', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('128', 'Today’s headlines', '今日头条', '200088', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('129', 'Microsoft live', '微软live', '200089', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('130', 'Microsoft OneNote', '微软OneNote', '200090', '', '', null, '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('131', 'Bing_spider', 'bing_spider', '200091', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('132', 'Apple location service', '苹果位置服务', '200092', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('133', 'Kuaishou', '快手', '200093', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('134', 'LeTV video', '乐视视频', '200094', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('135', 'QQ', 'QQ', '200095', '', '', null, '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('136', 'Wps', 'wps', '200096', '', '', null, '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('137', 'kugou music', '酷狗音乐', '200097', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('138', 'kuwo music', '酷我音乐', '200098', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('139', '360_common_service', '360_common_service', '200099', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('140', 'Camera360', 'Camera360', '200100', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('141', 'Outlook', 'outlook', '200101', '', '', null, '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('142', 'zhihu', '知乎', '200102', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('143', 'Tencent video', '腾讯视频', '200103', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('144', 'funshion', '风行', '200104', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('145', 'QQ shared service', 'QQ共有服务', '200105', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('146', 'Microsoft wdcp service', '微软wdcp服务', '200106', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('147', 'Microsoft Media_center_pc', '微软Media_center_pc', '200107', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('148', '360 phone helper', '360手机助手', '200108', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('149', 'Kingsoft Public Service', '金山公有服务', '200109', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('150', 'Ios_wifi connection', 'ios_wifi连接', '200110', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('151', 'Teamviewer', 'teamviewer', '200111', '', '', null, '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('152', 'Baidu cloud disk', '百度云盘', '200112', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('153', 'Tencent News', '腾讯新闻', '200113', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('154', 'Baidu map', '百度地图', '200114', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('155', 'Panda TV', '熊猫TV', '200115', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('156', 'Thunder', '迅雷', '200116', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('157', 'NetEase cloud music', '网易云音乐', '200117', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('158', 'QQ music', 'QQ音乐', '200118', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('159', 'Itools', 'itools', '200119', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('160', 'Jingdong Finance', '京东金融', '200120', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('161', 'PycURL', 'PycURL', '200121', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('162', 'Yahoo_Spider', 'Yahoo_Spider', '200122', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('163', 'Himalayan FM', '喜马拉雅FM', '200123', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('164', 'Youdao_dict', 'youdao_dict', '200124', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('165', 'Microsoft_spynet', 'microsoft_spynet', '200125', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('166', 'proximicBot', 'proximicBot', '200126', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('167', 'Foxit_reader', 'foxit_reader', '200127', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('168', 'Sohu Video', '搜狐视频', '200128', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('169', 'BlueStacks', 'BlueStacks', '200129', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('170', 'Beauty group', '美团', '200130', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('171', 'Kmplayer', '暴风影音', '200131', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('172', 'TaoBao', '淘宝', '200132', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('173', 'Exabot', 'Exabot', '200133', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('174', 'Ubuntu_apt_get', 'ubuntu_apt_get', '200134', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('175', 'Oriental Fortune', '东方财富通', '200135', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('176', 'JikeSpider', 'JikeSpider', '200136', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('177', 'Itunesstored', 'itunesstored', '200137', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('178', 'GAD map', '高德地图', '200138', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('179', 'ifeng News', '凤凰新闻', '200139', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('180', 'BoardReaderBot', 'BoardReaderBot', '200140', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('181', 'AmazonBot', 'AmazonBot', '200141', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('182', 'Alipay', '支付宝', '200142', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('183', 'Alipay security controls', '支付宝安全控件', '200143', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('184', '360 security guards (antivirus)', '360安全卫士(杀毒)', '200144', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('185', '360 logon service', '360登录服务', '200145', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('186', 'BLP_bbot', 'BLP_bbot', '200146', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('187', 'Keep', 'keep', '200147', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('188', 'WiFi universal key', 'WiFi万能钥匙', '200148', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('189', 'Baidu Music', '百度音乐', '200149', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('190', 'Vip.com', '唯品会', '200150', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('191', 'JD.COM', '京东', '200151', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('192', 'sina', '新浪新闻', '200152', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('193', 'youdao Public service', '有道公有服务', '200153', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('194', 'Jinshan public service', '金山公有服务', '200154', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('195', 'Baidu guard', '百度卫士', '200155', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('196', 'Apple system update service', '苹果系统更新服务', '200156', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('197', 'momo', '陌陌', '200157', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('198', 'CNZZ statistics', 'CNZZ统计', '200158', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('199', 'Microsoft one_drive service', '微软one_drive服务', '200159', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('200', 'WindowsStore', 'WindowsStore', '200160', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('201', 'duba', '毒霸', '200161', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('202', 'Baidu HD', '百度HD', '200162', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('203', 'qunar', '去哪儿旅行', '200163', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('204', 'qianxunyingshi', '千寻影视', '200164', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('205', 'KuaiyanKanShuSpider', 'kuaiyanKanShuSpider', '200165', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('206', 'Mail.RU_Bot_Robot', 'Mail.RU_Bot_Robot', '200166', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('207', 'MpCommunication', 'MpCommunication', '200167', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('208', 'Weather forecast', '天气预报', '200168', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('209', 'Ltx71_spider', 'ltx71_spider', '200169', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('210', 'Ia_archiver', 'ia_archiver', '200170', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('211', 'Ali Wangwang', '阿里旺旺', '200171', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('212', 'UC home page (information)', 'UC首页(资讯)', '200172', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('213', 'Yeti', 'Yeti', '200173', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('214', 'Rtorrent', 'rtorrent', '200174', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('215', 'QQPim', 'QQ同步助手', '200175', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('216', 'NetEase News', '网易新闻', '200176', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('217', 'sina sports', '新浪体育', '200177', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('218', 'Exchange of foreign exchange', '和讯外汇', '200178', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('219', 'BlueStacks update', 'BlueStacks更新', '200179', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('220', 'youdao', '有道云笔记', '200180', '', '', null, '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('221', 'QQ computer housekeeper', 'QQ电脑管家', '200181', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('222', 'UltraEdit', 'UltraEdit', '200182', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('223', 'EasouSpider', 'EasouSpider', '200183', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('224', 'QQ Zone', 'QQ空间', '200184', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('225', 'Foxmail', 'foxmail', '200185', '', '', null, '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('226', 'Pingdom.com', 'Pingdom.com', '200186', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('227', 'Sina Finance', '新浪财经', '200187', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('228', 'QQ one key login', 'QQ一键登录', '200188', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('229', 'Norton', '诺顿', '200189', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('230', 'Baidu waimai', '百度外卖', '200190', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('231', 'YaCy', 'yacy', '200191', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('232', 'Haitong e Haitong', '海通e海通财', '200192', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('233', 'AdsBot-Google', 'AdsBot-Google', '200193', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('234', 'Guangfa Yijin', '广发易淘金', '200194', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('235', 'Ali security program', '阿里安全程序', '200195', '', '', null, '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('236', 'Cliqzbot', 'Cliqzbot', '200196', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('237', 'Mobike', '摩拜单车', '200197', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('238', 'Kingsoft PowerWord', '金山词霸', '200198', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('239', 'meishij', '美食杰', '200199', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('240', 'CCB mobile bank', '建行手机银行', '200200', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('241', 'Mega SkyDrive', 'Mega网盘', '200201', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('242', 'douyu', '斗鱼', '200202', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('243', 'Flamingo_SearchEngine', 'Flamingo_SearchEngine', '200203', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('244', 'Lenovo shop', '联想乐商店', '200204', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('245', 'Uc news', 'Uc新闻', '200205', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('246', 'Volcano small video', '火山小视频', '200206', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('247', 'Meitu Xiu Xiu', '美图秀秀', '200207', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('248', 'Kaspersky', 'Kaspersky', '200208', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('249', 'AcFun', 'AcFun', '200209', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('250', 'Slackbot', 'Slackbot', '200210', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('251', 'Snowball', '雪球', '200211', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('252', 'SafeDNSBot', 'SafeDNSBot', '200212', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('253', 'Great wisdom', '大智慧', '200213', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('254', 'Mailbox of NetEase', '网易邮箱大师', '200214', '', '', null, '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('255', 'peasecod', '豌豆荚', '200215', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('256', 'Gold ten data', '金十数据', '200216', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('257', 'Linkdexbot', 'linkdexbot', '200217', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('258', 'Sina blog', '新浪博客', '200218', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('259', 'Ginger', 'Ginger', '200219', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('260', 'Microsoft activation verification', '微软激活验证', '200220', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('261', 'Facebot', 'Facebot', '200221', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('262', 'Dangdang', '当当', '200222', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('263', 'QQ cyclone', 'QQ旋风', '200223', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('264', 'Wp_feedbot', 'wp_feedbot', '200224', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('265', 'ICBC', '中国工商银行', '200225', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('266', 'Public service', '有道公有服务', '200226', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('267', 'Magpie-crawler', 'magpie-crawler', '200227', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('268', 'xianyu', '闲鱼', '200228', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('269', 'GetIntentBot', 'GetIntentBot', '200229', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('270', 'Papers', 'Papers', '200230', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('271', 'NewsGator', 'NewsGator', '200231', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('272', 'RankFlexBot', 'RankFlexBot', '200232', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('273', 'rogerbot', 'rogerbot', '200233', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('274', 'SurdotlyBot', 'SurdotlyBot', '200234', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('275', 'CheckMarkNetworkBot', 'CheckMarkNetworkBot', '200235', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('276', 'pyspider', 'pyspider', '200236', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('277', 'spbot', 'spbot', '200237', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('278', 'Huaxia Bank', '华夏银行', '200238', '', '', null, '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('279', 'glory of king', '王者荣耀', '200239', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('280', 'msnbot-Products', 'msnbot-Products', '200240', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('281', 'archive.org', 'archive.org', '200241', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('282', 'applebot', 'applebot', '200242', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('283', 'alicall', '阿里通电话', '200243', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('284', 'Superfeedrbot', 'Superfeedrbot', '200244', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('285', 'QQ mailbox', 'QQ邮箱', '200245', '', '', null, '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('286', 'coccocbot-webBot', 'coccocbot-webBot', '200246', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('287', 'dingtalk', '钉钉', '200247', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('288', 'Dragonbot', 'Dragonbot', '200248', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('289', 'Mediatoolkitbot', 'Mediatoolkitbot', '200249', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('290', 'bitcomet', '', '200250', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('291', 'filetopia', '', '200251', '', '', null, '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('292', 'flashget', '', '200252', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('293', 'oracle', '', '200253', '', '', null, '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('294', 'yyvoice', '', '200254', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('295', 'imesh', '', '200255', '', '', null, '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('296', 'citrix', '', '200256', '', '', null, '0000000011', 'NETWORK', '');
+INSERT INTO `code_app_dic` VALUES ('297', 'corba', '', '200257', '', '', null, '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('298', 'dameware', '', '200258', '', '', null, '0000000013', 'RemoteAccess', '');
+INSERT INTO `code_app_dic` VALUES ('299', 'pcanywhere', '', '200259', '', '', null, '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('300', 'qq_rdp', '', '200260', '', '', null, '0000000013', 'RemoteAccess', '');
+INSERT INTO `code_app_dic` VALUES ('301', 'poco', '', '200261', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('302', 'qqdownload', '', '200262', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('303', 'applejuice', '', '200263', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('304', 'stealthnet', '', '200264', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('305', 'winmx', '', '200265', '', '', null, '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('306', 'emule', '', '200266', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('307', 'emule_decrypt', '', '200267', '', '', null, '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('308', 'qvod', '', '200268', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('309', 'mysql', '', '200269', '', '', null, '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('310', 'icecast', '', '200270', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('311', 'mms', '', '200271', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('312', 'pplive', '', '200272', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('313', 'ppstream', '', '200273', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('314', 'sopcast', '', '200274', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('315', 'tvants', '', '200275', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('316', 'sohutv', '', '200276', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('317', 'iku', '', '200277', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('318', 'qqlive', '', '200278', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('319', 'rsync', '', '200279', '', '', null, '0000000007', 'DATA_TRANSFER', '');
+INSERT INTO `code_app_dic` VALUES ('320', 'xunyou_speedup', '', '200280', '', '', null, '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('321', 'msn', '', '200281', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('322', 'popo', '', '200282', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('323', 'sinauc', '', '200283', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('324', 'qqbattle', '', '200284', '', '', null, '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('325', 'quake', '', '200285', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('326', 'xbox', '', '200286', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('327', 'wow', '', '200287', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('328', 'lol', '', '200288', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('329', 'PostgreSQL', '', '200289', '', '', null, '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('330', 'TDS', '', '200290', '', '', null, null, '', '');
+INSERT INTO `code_app_dic` VALUES ('331', 'VMware', '', '200291', '', '', null, '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('332', 'Kontiki', '', '200292', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('333', 'OpenFT', '', '200293', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('334', 'Gnutella', '', '200294', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('335', 'eDonkey', '', '200295', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('336', 'AVI', '', '200296', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('337', 'RealMedia', '', '200297', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('338', 'Windowsmedia', '', '200298', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('339', 'MOVE', '', '200299', '', '', null, null, '', '');
+INSERT INTO `code_app_dic` VALUES ('340', 'Feidian', '', '200300', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('341', 'Zattoo', '', '200301', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('342', 'SHOUTCast', '', '200302', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('343', 'TVUplayer', '', '200303', '', '', null, '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('344', 'VeohTV', '', '200304', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('345', 'Soulseek', '', '200305', '', '', null, '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('346', 'GaduGadu', '', '200306', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('347', 'Oscar', '', '200307', '', '', null, '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('348', 'Yahoo', '', '200308', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('349', 'Battlefield', '', '200309', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('350', 'Halflife2', '', '200310', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('351', 'World of Warcraft', '', '200311', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('352', 'USENET', '', '200312', '', '', null, '0000000004', 'WEB', '');
+INSERT INTO `code_app_dic` VALUES ('353', 'AFP', '', '200313', '', '', null, '0000000007', 'DATA_TRANSFER', '');
+INSERT INTO `code_app_dic` VALUES ('354', 'Truphone', '', '200314', '', '', null, '0000000021', 'VOIP', '');
+INSERT INTO `code_app_dic` VALUES ('355', 'Armagetron', '', '200315', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('356', 'CrossFire', '', '200316', '', '', null, '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('357', 'Dofus', '', '200317', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('358', 'Fiesta', '', '200318', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('359', 'Florensia', '', '200319', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('360', 'Guildwars', '', '200320', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('361', 'HTTP Application Activesync', '', '200321', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('362', 'MapleStory', '', '200322', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('363', 'msSQL', '', '200323', '', '', null, '0000000006', 'Database', '');
+INSERT INTO `code_app_dic` VALUES ('364', 'WARCRAFT3', '', '200324', '', '', null, '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('365', 'World of Kung Fu', '', '200325', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('366', 'MEEBO', '', '200326', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('367', 'DropBox', '', '200327', '', '', null, '0000000003', 'CLOUD', '');
+INSERT INTO `code_app_dic` VALUES ('368', 'HTTP Proxy', '', '200328', '', '', null, '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('369', 'Netflix', '', '200329', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('370', 'CitrixOnline/GotoMeeting', '', '200330', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('371', 'Webex', '', '200331', '', '', null, '0000000019', 'COLLABORATIVE', '');
+INSERT INTO `code_app_dic` VALUES ('372', 'Apple iCloud', '', '200332', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('373', 'Apple iTunes', '', '200333', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('374', 'WindowsUpdate', '', '200334', '', '', null, '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('375', 'Tuenti', '', '200335', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('376', 'LotusNotes', '', '200336', '', '', null, '0000000019', 'COLLABORATIVE', '');
+INSERT INTO `code_app_dic` VALUES ('377', 'RemoteScan', '', '200337', '', '', null, '0000000011', 'NETWORK', '');
+INSERT INTO `code_app_dic` VALUES ('378', 'Spotify', '', '200338', '', '', null, '0000000018', 'STREAMING', '');
+INSERT INTO `code_app_dic` VALUES ('379', 'CiscoVPN', '', '200339', '', '', null, '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('380', 'TeamSpeak', '', '200340', '', '', null, '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('381', 'UbuntuONE', '', '200341', '', '', null, '0000000003', 'CLOUD', '');
+INSERT INTO `code_app_dic` VALUES ('382', 'CNN', '', '200342', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('383', 'Wikipedia', '', '200343', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('384', 'Collectd', '', '200344', '', '', null, '0000000018', 'SYSTEM_OS', '');
+INSERT INTO `code_app_dic` VALUES ('385', 'Redis', '', '200345', '', '', null, '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('386', 'ZeroMQ', '', '200346', '', '', null, '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('387', 'Stracraft', '', '200347', '', '', null, '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('388', 'Simet', '', '200348', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('389', 'OpenSignal', '', '200349', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('390', '99Taxi', '', '200350', '', '', null, '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('391', 'GloboTV', '', '200351', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('392', 'Deezer', '', '200352', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('393', 'Microsoft cloud services', '', '200353', '', '', null, '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('394', 'Twitch', '', '200354', '', '', null, '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('395', 'KakaoTalk Voice and Chat', '', '200355', '', '', null, '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('396', '360.cn', '', '200357', '', '', null, '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('397', '360Safeguard_P2P', '', '200358', '', '', null, '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('398', '4D', '', '200359', '', '', null, '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('399', 'acercloud', '', '200360', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('400', 'acestream', '', '200361', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('401', 'airdroid', '', '200362', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('402', 'airmedia', '', '200363', '', '', null, '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('403', 'akamai', '', '200364', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('404', 'akamai_transfer', '', '200365', '', '', null, '0000000027', '', 'CDN');
+INSERT INTO `code_app_dic` VALUES ('405', 'amanda', '', '200366', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('406', 'amp', '', '200367', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('407', 'Appear.in', '', '200368', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('408', 'ares', '', '200369', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('409', 'ARKSurvivalEvolved', '', '200370', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('410', 'ARMA3Server', '', '200371', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('411', 'ARMA2Server', '', '200372', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('412', 'AvastSecureDNS', '', '200373', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('413', 'azureus', '', '200374', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('414', 'backweb', '', '200375', '', '', null, '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('415', 'BadBaidu', '', '200376', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('416', 'baofeng', '', '200377', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('417', 'bitext', '', '200378', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('418', 'BlackDesertOnline', '', '200379', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('419', 'Blizzard', '', '200380', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('420', 'bmdp', '', '200381', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('421', 'bncs', '', '200382', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('422', 'btdht', '', '200383', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('423', 'btsync', '', '200384', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('424', 'cacaoweb', '', '200385', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('425', 'chatango', '', '200386', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('426', 'chivalry', '', '200387', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('427', 'cirn', '', '200388', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('428', 'cisco_sslvpn', '', '200389', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('429', 'clash_of_clans', '', '200390', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('430', 'Clubbox', '', '200391', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('431', 'cod', '', '200392', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('432', 'cod_waw', '', '200393', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('433', 'combatarms', '', '200394', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('434', 'combatarms_p2p', '', '200395', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('435', 'ConquerOnline', '', '200396', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('436', 'Counterstrike1.6', '', '200397', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('437', 'Checkpoint_RDP', '', '200398', '', '', null, '0000000023', '', 'KEY_EXCHANGE');
+INSERT INTO `code_app_dic` VALUES ('438', 'crashplan', '', '200399', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('439', 'crossout', '', '200400', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('440', 'cryptic', '', '200401', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('441', 'cvs', '', '200402', '', '', null, '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('442', 'dash', '', '200403', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('443', 'dc', '', '200404', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('444', 'db2', '', '200405', '', '', null, '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('445', 'dell_backup', '', '200406', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('446', 'Demonware', '', '200407', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('447', 'destiny', '', '200408', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('448', 'diablo2', '', '200409', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('449', 'isakmp', '', '200410', '', '', null, '0000000023', '', 'KEY_EXCHANGE');
+INSERT INTO `code_app_dic` VALUES ('450', 'jedi', '', '200411', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('451', 'jedi_academy', '', '200412', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('452', 'jx3online', '', '200413', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('453', 'kankan', '', '200414', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('454', 'kaseya', '', '200415', '', '', null, '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('455', 'kazaa', '', '200416', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('456', 'kuaibo', '', '200417', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('457', 'lifeforge', '', '200418', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('458', 'linkproof', '', '200419', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('459', 'litecoin', '', '200420', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('460', 'maxicloud', '', '200421', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('461', 'merakicloud', '', '200422', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('462', 'minecraft', '', '200423', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('463', 'mongo', '', '200424', '', '', null, '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('464', 'msoffice_mac', '', '200425', '', '', null, '0000000011', '', 'BROADCAST');
+INSERT INTO `code_app_dic` VALUES ('465', 'munin', '', '200426', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('466', 'mzinga', '', '200427', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('467', 'n2ping', '', '200428', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('468', 'ncsoft', '', '200429', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('469', 'netcat_cctv', '', '200430', '', '', null, '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('470', 'neverwinter', '', '200431', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('471', 'newerth', '', '200432', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('472', 'nintendo', '', '200433', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('473', 'nntps', '', '200434', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('474', 'noction', '', '200435', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('475', 'noe', '', '200436', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('476', 'norton_backup', '', '200437', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('477', 'omegle', '', '200438', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('478', 'opaserv', '', '200439', '', '', null, '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('479', 'orbit', '', '200440', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('480', 'ourworld', '', '200441', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('481', 'overwatch', '', '200442', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('482', 'diablo3', '', '200443', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('483', 'dianping', '', '200444', '', '', null, '0000000027', '', 'MOBILE_APP');
+INSERT INTO `code_app_dic` VALUES ('484', 'dianshijia', '', '200445', '', '', null, '0000000010', '', 'P2PTV');
+INSERT INTO `code_app_dic` VALUES ('485', 'discord', '', '200446', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('486', 'dogecoin', '', '200447', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('487', 'dota2', '', '200448', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('488', 'douyu_chat', '', '200449', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('489', 'doyo', '', '200450', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('490', 'driveshare', '', '200451', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('491', 'dtls', '', '200452', '', '', null, '0000000022', '', 'ENCRYPT');
+INSERT INTO `code_app_dic` VALUES ('492', 'dueling_network', '', '200453', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('493', 'dvrns', '', '200454', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('494', 'dxp', '', '200455', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('495', 'ea_games', '', '200456', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('496', 'epson', '', '200457', '', '', null, '0000000011', '', 'PRINTING');
+INSERT INTO `code_app_dic` VALUES ('497', 'eso', '', '200458', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('498', 'etrust', '', '200459', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('499', 'fasp', '', '200460', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('500', 'finalfantasy_xiv', '', '200461', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('501', 'flash', '', '200462', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('502', 'fliggy', '', '200463', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('503', 'fortinet', '', '200464', '', '', null, '0000000025', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('504', 'foscam', '', '200465', '', '', null, '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('505', 'freechal', '', '200466', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('506', 'fring', '', '200467', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('507', 'fuckcoin', '', '200468', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('508', 'gamespy', '', '200469', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('509', 'gangsofspace', '', '200470', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('510', 'garena', '', '200471', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('511', 'gearsofwar', '', '200472', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('512', 'giop', '', '200473', '', '', null, '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('513', 'git', '', '200474', '', '', null, '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('514', 'glupteba', '', '200475', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('515', 'gnutella2', '', '200476', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('516', 'gokuchat', '', '200477', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('517', 'google_hangouts', '', '200478', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('518', 'gotomeeting', '', '200479', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('519', 'gprs_tunnel', '', '200480', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('520', 'graal_online_era', '', '200481', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('521', 'gsm', '', '200482', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('522', 'h1z1', '', '200483', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('523', 'halo_online', '', '200484', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('524', 'hamachi', '', '200485', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('525', 'harveys', '', '200486', '', '', null, '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('526', 'hearthstone', '', '200487', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('527', 'heroes_generals', '', '200488', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('528', 'hots', '', '200489', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('529', 'icp', '', '200490', '', '', null, '0000000023', '', 'CACHING');
+INSERT INTO `code_app_dic` VALUES ('530', 'icq', '', '200491', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('531', 'id', '', '200492', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('532', 'idrive_sync', '', '200493', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('533', 'ipmsg', '', '200494', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('534', 'ipop', '', '200495', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('535', 'ipsharkk', '', '200496', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('536', 'palringo', '', '200497', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('537', 'paltalk', '', '200498', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('538', 'pando', '', '200499', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('539', 'panipani', '', '200500', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('540', 'pdbox', '', '200501', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('541', 'planetside2', '', '200502', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('542', 'portmap_rpc', '', '200503', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('543', 'ps4_remoteplay', '', '200504', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('544', 'psn', '', '200505', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('545', 'psn_store', '', '200506', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('546', 'punkbuster', '', '200507', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('547', 'pyzor', '', '200508', '', '', null, '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('548', 'qcloud_ilvb', '', '200509', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('549', 'qqpcmgr', '', '200510', '', '', null, '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('550', 'ramsey_dash', '', '200511', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('551', 'razor', '', '200512', '', '', null, '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('552', 'rbls', '', '200513', '', '', null, '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('553', 'realvnc', '', '200514', '', '', null, '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('554', 'relay', '', '200515', '', '', null, '0000000011', '', 'NAT');
+INSERT INTO `code_app_dic` VALUES ('555', 'revolver_nblbt', '', '200516', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('556', 'rising_storm', '', '200517', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('557', 'roblox', '', '200518', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('558', 'robocraft', '', '200519', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('559', 'rpc_scan', '', '200520', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('560', 'runescape', '', '200521', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('561', 'sanandreas', '', '200522', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('562', 'saprouter', '', '200523', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('563', 'secondlife', '', '200524', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('564', 'serialnumberd', '', '200525', '', '', null, '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('565', 'silkroadonline', '', '200526', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('566', 'smite', '', '200527', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('567', 'snapvpn', '', '200528', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('568', 'spamfighter', '', '200529', '', '', null, '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('569', 'speedin', '', '200530', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('570', 'speedtest', '', '200531', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('571', 'spotify_broadcast', '', '200532', '', '', null, '0000000011', '', 'BROADCAST');
+INSERT INTO `code_app_dic` VALUES ('572', 'sqlexp', '', '200533', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('573', 'starcitizen', '', '200534', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('574', 'starcraft', '', '200535', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('575', 'starleaf', '', '200536', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('576', 'steam_friends', '', '200537', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('577', 'storm_worm', '', '200538', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('578', 'stratum', '', '200539', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('579', 'supl', '', '200540', '', '', null, '0000000027', '', 'LOCATION');
+INSERT INTO `code_app_dic` VALUES ('580', 'svn', '', '200541', '', '', null, '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('581', 'talesrunner', '', '200542', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('582', 'tankix', '', '200543', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('583', 'telecomkey', '', '200544', '', '', null, '0000000021', '', 'TELCO');
+INSERT INTO `code_app_dic` VALUES ('584', 'telnet_exploit', '', '200545', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('585', 'tencent_games', '', '200546', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('586', 'tenfivecoin', '', '200547', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('587', 'tensafe', '', '200548', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('588', 'tera', '', '200549', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('589', 'tetrisonline', '', '200550', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('590', 'thq', '', '200551', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('591', 'tip', '', '200552', '', '', null, '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('592', 'torchlight2', '', '200553', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('593', 'traceroute', '', '200554', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('594', 'trackmania', '', '200555', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('595', 'tremulous', '', '200556', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('596', 'trion', '', '200557', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('597', 'trojan_zeroaccess', '', '200558', '', '', null, '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('598', 'twitcasting', '', '200559', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('599', 'twitch_irc', '', '200560', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('600', 'ubisoft_games', '', '200561', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('601', 'umeye', '', '200562', '', '', null, '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('602', 'vainglory', '', '200563', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('603', 'ventrilo', '', '200564', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('604', 'vivox', '', '200565', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('605', 'vodlocker', '', '200566', '', '', null, '0000000004', '', 'WEB');
+INSERT INTO `code_app_dic` VALUES ('606', 'vpnrobot', '', '200567', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('607', 'vpn_unlimited', '', '200568', '', '', null, '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('608', 'vxworks_exploit', '', '200569', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('609', 'warthunder', '', '200570', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('610', 'weblogic', '', '200571', '', '', null, '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('611', 'web_junk', '', '200572', '', '', null, '0000000028', '', 'MIXED');
+INSERT INTO `code_app_dic` VALUES ('612', 'weiqi', '', '200573', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('613', 'win_message', '', '200574', '', '', null, '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('614', 'wizard101', '', '200575', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('615', 'wns', '', '200576', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('616', 'wolf_et', '', '200577', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('617', 'worm_22105', '', '200578', '', '', null, '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('618', 'wuala', '', '200579', '', '', null, '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('619', 'xfire_p2p', '', '200580', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('620', 'xiami', '', '200581', '', '', null, '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('621', 'xunlei', '', '200582', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('622', 'xunlei_accel', '', '200583', '', '', null, '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('623', 'xunlei_jsq', '', '200584', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('624', 'xunyou', '', '200585', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('625', 'xymon', '', '200586', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('626', 'yahoo_error', '', '200587', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('627', 'yahoo_games', '', '200588', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('628', 'yahoo_webcam', '', '200589', '', '', null, '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('629', 'zabbix', '', '200590', '', '', null, '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('630', 'zeroaccess', '', '200591', '', '', null, '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('631', 'zoom', '', '200592', '', '', null, '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('632', 'zynga', '', '200593', '', '', null, '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('633', 'ICMP_Flood', '', '200594', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('634', 'IPFRAG_Flood', '', '200595', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('635', 'SYN_Flood', '', '200596', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('636', 'ACK_Flood', '', '200597', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('637', 'RST_Flood', '', '200598', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('638', 'DNS_Flood', '', '200599', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('639', 'NTP_Flood', '', '200600', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('640', 'UDP_Flood', '', '200601', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('641', 'HTTP_Flood', '', '200602', '', '', null, '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('642', 'SSDP_Flood', '', '200603', '', '', null, '0000000025', '', '');
diff --git a/src/main/resources/sql/20181119/code_browser_type_dic.sql b/src/main/resources/sql/20181119/code_browser_type_dic.sql
new file mode 100644
index 0000000..1d43c12
--- /dev/null
+++ b/src/main/resources/sql/20181119/code_browser_type_dic.sql
@@ -0,0 +1,61 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 192.168.10.204_3306
+Source Server Version : 50505
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-11-19 16:52:26
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for code_browser_type_dic
+-- ----------------------------
+DROP TABLE IF EXISTS `code_browser_type_dic`;
+CREATE TABLE `code_browser_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `browser_type` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT NULL,
+ `icon` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_browser_type_dic
+-- ----------------------------
+INSERT INTO `code_browser_type_dic` VALUES ('1', 'Unknow', '0', '');
+INSERT INTO `code_browser_type_dic` VALUES ('2', 'Google Chrome', '400001', '');
+INSERT INTO `code_browser_type_dic` VALUES ('3', 'Mozilla Firefox', '400101', '');
+INSERT INTO `code_browser_type_dic` VALUES ('4', 'Safari', '400201', '');
+INSERT INTO `code_browser_type_dic` VALUES ('5', 'MSIE', '400301', '');
+INSERT INTO `code_browser_type_dic` VALUES ('6', 'Opera', '400401', '');
+INSERT INTO `code_browser_type_dic` VALUES ('7', 'Yandex', '400501', '');
+INSERT INTO `code_browser_type_dic` VALUES ('8', 'Android brower', '400601', '');
+INSERT INTO `code_browser_type_dic` VALUES ('9', 'Konqueror', '400701', '');
+INSERT INTO `code_browser_type_dic` VALUES ('10', 'Bing', '400801', '');
+INSERT INTO `code_browser_type_dic` VALUES ('11', 'SogouMobileBrowser', '400901', '');
+INSERT INTO `code_browser_type_dic` VALUES ('12', 'SogouBrowser', '401001', '');
+INSERT INTO `code_browser_type_dic` VALUES ('13', 'OPPO', '401101', '');
+INSERT INTO `code_browser_type_dic` VALUES ('14', 'UCBrowser', '401201', '');
+INSERT INTO `code_browser_type_dic` VALUES ('15', '2345Browser', '401301', '');
+INSERT INTO `code_browser_type_dic` VALUES ('16', 'QQBrowser', '401401', '');
+INSERT INTO `code_browser_type_dic` VALUES ('17', 'QQMobileBrowser', '401501', '');
+INSERT INTO `code_browser_type_dic` VALUES ('18', 'baidubrowser', '401601', '');
+INSERT INTO `code_browser_type_dic` VALUES ('19', 'LieBao', '401701', '');
+INSERT INTO `code_browser_type_dic` VALUES ('20', 'MiuiBrowser', '401801', '');
+INSERT INTO `code_browser_type_dic` VALUES ('21', 'SamsungBrowser', '401901', '');
+INSERT INTO `code_browser_type_dic` VALUES ('22', 'IE', '402001', '');
+INSERT INTO `code_browser_type_dic` VALUES ('23', 'GriOS', '402101', '');
+INSERT INTO `code_browser_type_dic` VALUES ('24', '360SE', '402201', '');
+INSERT INTO `code_browser_type_dic` VALUES ('25', 'Maxthon', '402301', '');
+INSERT INTO `code_browser_type_dic` VALUES ('26', 'The World', '402401', '');
+INSERT INTO `code_browser_type_dic` VALUES ('27', 'JuziBrowser', '402501', '');
+INSERT INTO `code_browser_type_dic` VALUES ('28', 'TencentTraveler', '402601', '');
+INSERT INTO `code_browser_type_dic` VALUES ('29', 'Unspecified', '268435455', '');
diff --git a/src/main/resources/sql/20181119/code_os_type_dic.sql b/src/main/resources/sql/20181119/code_os_type_dic.sql
new file mode 100644
index 0000000..972d58e
--- /dev/null
+++ b/src/main/resources/sql/20181119/code_os_type_dic.sql
@@ -0,0 +1,49 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 192.168.10.204_3306
+Source Server Version : 50505
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-11-19 16:52:36
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for code_os_type_dic
+-- ----------------------------
+DROP TABLE IF EXISTS `code_os_type_dic`;
+CREATE TABLE `code_os_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `os_type` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT NULL,
+ `icon` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_os_type_dic
+-- ----------------------------
+INSERT INTO `code_os_type_dic` VALUES ('1', 'Unknow', '0', '');
+INSERT INTO `code_os_type_dic` VALUES ('2', 'Windows', '300001', '');
+INSERT INTO `code_os_type_dic` VALUES ('3', 'Linux', '300101', '');
+INSERT INTO `code_os_type_dic` VALUES ('4', 'Mac OS X', '300201', '');
+INSERT INTO `code_os_type_dic` VALUES ('5', 'OpenBSD', '300301', '');
+INSERT INTO `code_os_type_dic` VALUES ('6', 'FreeBSD', '300401', '');
+INSERT INTO `code_os_type_dic` VALUES ('7', 'Solaris', '300501', '');
+INSERT INTO `code_os_type_dic` VALUES ('8', 'OpenVMS', '300601', '');
+INSERT INTO `code_os_type_dic` VALUES ('9', 'NeXTSTEP', '300701', '');
+INSERT INTO `code_os_type_dic` VALUES ('10', 'HP-UX', '300801', '');
+INSERT INTO `code_os_type_dic` VALUES ('11', 'Tru64', '300901', '');
+INSERT INTO `code_os_type_dic` VALUES ('12', 'iOS ', '301001', '');
+INSERT INTO `code_os_type_dic` VALUES ('13', 'Blackberry', '301101', '');
+INSERT INTO `code_os_type_dic` VALUES ('14', 'Windows Phone', '301201', null);
+INSERT INTO `code_os_type_dic` VALUES ('15', 'Android', '301301', null);
+INSERT INTO `code_os_type_dic` VALUES ('16', 'Symbian', '301401', null);
+INSERT INTO `code_os_type_dic` VALUES ('17', 'Unspecified', '268435455', null);
diff --git a/src/main/resources/sql/20181119/code_web_service_dic.sql b/src/main/resources/sql/20181119/code_web_service_dic.sql
new file mode 100644
index 0000000..77fd1ce
--- /dev/null
+++ b/src/main/resources/sql/20181119/code_web_service_dic.sql
@@ -0,0 +1,265 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 192.168.10.204_3306
+Source Server Version : 50505
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-11-19 16:52:49
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for code_web_service_dic
+-- ----------------------------
+DROP TABLE IF EXISTS `code_web_service_dic`;
+CREATE TABLE `code_web_service_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '序号',
+ `website` varchar(255) DEFAULT '',
+ `domain_name` varchar(255) DEFAULT '' COMMENT '域名',
+ `view_code` varchar(255) DEFAULT '',
+ `icon` varchar(255) DEFAULT '',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=245 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_web_service_dic
+-- ----------------------------
+INSERT INTO `code_web_service_dic` VALUES ('1', 'Unknow', 'Unknow', '0', '');
+INSERT INTO `code_web_service_dic` VALUES ('2', 'Google', 'Google.com', '1', '');
+INSERT INTO `code_web_service_dic` VALUES ('3', 'Youtube', 'Youtube.com', '1001', '');
+INSERT INTO `code_web_service_dic` VALUES ('4', 'Facebook', 'Facebook.com', '2001', '');
+INSERT INTO `code_web_service_dic` VALUES ('5', 'Baidu', 'Baidu.com', '3001', '');
+INSERT INTO `code_web_service_dic` VALUES ('6', 'Wikipedia', 'Wikipedia.org', '4001', '');
+INSERT INTO `code_web_service_dic` VALUES ('7', 'Reddit', 'Reddit.com', '5001', '');
+INSERT INTO `code_web_service_dic` VALUES ('8', 'Yahoo', 'Yahoo.com', '6001', '');
+INSERT INTO `code_web_service_dic` VALUES ('9', 'Qq', 'Qq.com', '7001', '');
+INSERT INTO `code_web_service_dic` VALUES ('10', 'Taobao', 'Taobao.com', '8001', '');
+INSERT INTO `code_web_service_dic` VALUES ('11', 'Amazon', 'Amazon.com', '9001', '');
+INSERT INTO `code_web_service_dic` VALUES ('12', 'Tmall', 'Tmall.com', '10001', '');
+INSERT INTO `code_web_service_dic` VALUES ('13', 'Twitter', 'Twitter.com', '11001', '');
+INSERT INTO `code_web_service_dic` VALUES ('14', 'Sohu', 'Sohu.com', '12001', '');
+INSERT INTO `code_web_service_dic` VALUES ('15', 'Instagram', 'Instagram.com', '13001', '');
+INSERT INTO `code_web_service_dic` VALUES ('16', 'Vk', 'Vk.com', '14001', '');
+INSERT INTO `code_web_service_dic` VALUES ('17', 'Live', 'Live.com', '15001', '');
+INSERT INTO `code_web_service_dic` VALUES ('18', 'Jd', 'Jd.com', '16001', '');
+INSERT INTO `code_web_service_dic` VALUES ('19', 'Sina', 'Sina.com.cn', '17001', '');
+INSERT INTO `code_web_service_dic` VALUES ('20', 'Weibo', 'Weibo.com', '18001', '');
+INSERT INTO `code_web_service_dic` VALUES ('21', 'Yandex', 'Yandex.ru', '19001', '');
+INSERT INTO `code_web_service_dic` VALUES ('22', '360', '360.cn', '20001', '');
+INSERT INTO `code_web_service_dic` VALUES ('23', 'Netflix', 'Netflix.com', '22001', '');
+INSERT INTO `code_web_service_dic` VALUES ('24', 'Pornhub', 'Pornhub.com', '23001', '');
+INSERT INTO `code_web_service_dic` VALUES ('25', 'Twitch', 'Twitch.tv', '24001', '');
+INSERT INTO `code_web_service_dic` VALUES ('26', 'Linkedin', 'Linkedin.com', '25001', '');
+INSERT INTO `code_web_service_dic` VALUES ('27', 'Csdn', 'Csdn.net', '26001', '');
+INSERT INTO `code_web_service_dic` VALUES ('28', 'Microsoft', 'Microsoft.com', '28001', '');
+INSERT INTO `code_web_service_dic` VALUES ('29', 'Office', 'Office.com', '29001', '');
+INSERT INTO `code_web_service_dic` VALUES ('30', 'Bing', 'Bing.com', '30001', '');
+INSERT INTO `code_web_service_dic` VALUES ('31', 'Ebay', 'Ebay.com', '31001', '');
+INSERT INTO `code_web_service_dic` VALUES ('32', 'Alipay', 'Alipay.com', '32001', '');
+INSERT INTO `code_web_service_dic` VALUES ('33', 'Xvideos', 'Xvideos.com', '33001', '');
+INSERT INTO `code_web_service_dic` VALUES ('34', 'Mail', 'Mail.ru', '34001', '');
+INSERT INTO `code_web_service_dic` VALUES ('35', 'Ok', 'Ok.ru', '35001', '');
+INSERT INTO `code_web_service_dic` VALUES ('36', 'Msn', 'Msn.com', '36001', '');
+INSERT INTO `code_web_service_dic` VALUES ('37', 'Imgur', 'Imgur.com', '39001', '');
+INSERT INTO `code_web_service_dic` VALUES ('38', 'Aliexpress', 'Aliexpress.com', '40001', '');
+INSERT INTO `code_web_service_dic` VALUES ('39', 'Tumblr', 'Tumblr.com', '41001', '');
+INSERT INTO `code_web_service_dic` VALUES ('40', 'Wordpress', 'Wordpress.com', '42001', '');
+INSERT INTO `code_web_service_dic` VALUES ('41', 'Wikia', 'Wikia.com', '43001', '');
+INSERT INTO `code_web_service_dic` VALUES ('42', 'Imdb', 'Imdb.com', '44001', '');
+INSERT INTO `code_web_service_dic` VALUES ('43', 'Whatsapp', 'Whatsapp.com', '45001', '');
+INSERT INTO `code_web_service_dic` VALUES ('44', 'Stackoverflow', 'Stackoverflow.com', '46001', '');
+INSERT INTO `code_web_service_dic` VALUES ('45', 'Github', 'Github.com', '47001', '');
+INSERT INTO `code_web_service_dic` VALUES ('46', 'Livejasmin', 'Livejasmin.com', '48001', '');
+INSERT INTO `code_web_service_dic` VALUES ('47', 'Xhamster', 'Xhamster.com', '49001', '');
+INSERT INTO `code_web_service_dic` VALUES ('48', 'Hao123', 'Hao123.com', '50001', '');
+INSERT INTO `code_web_service_dic` VALUES ('49', 'Blogspot', 'Blogspot.com', '51001', '');
+INSERT INTO `code_web_service_dic` VALUES ('50', 'Deloton', 'Deloton.com', '52001', '');
+INSERT INTO `code_web_service_dic` VALUES ('51', 'Paypal', 'Paypal.com', '53001', '');
+INSERT INTO `code_web_service_dic` VALUES ('52', 'Tribunnews', 'Tribunnews.com', '54001', '');
+INSERT INTO `code_web_service_dic` VALUES ('53', 'Popads', 'Popads.net', '55001', '');
+INSERT INTO `code_web_service_dic` VALUES ('54', 'Apple', 'Apple.com', '56001', '');
+INSERT INTO `code_web_service_dic` VALUES ('55', 'Diply', 'Diply.com', '57001', '');
+INSERT INTO `code_web_service_dic` VALUES ('56', 'Bongacams', 'Bongacams.com', '58001', '');
+INSERT INTO `code_web_service_dic` VALUES ('57', 'Pinterest', 'Pinterest.com', '60001', '');
+INSERT INTO `code_web_service_dic` VALUES ('58', 'Xnxx', 'Xnxx.com', '61001', '');
+INSERT INTO `code_web_service_dic` VALUES ('59', 'Adobe', 'Adobe.com', '62001', '');
+INSERT INTO `code_web_service_dic` VALUES ('60', 'Providr', 'Providr.com', '63001', '');
+INSERT INTO `code_web_service_dic` VALUES ('61', 'Coccoc', 'Coccoc.com', '65001', '');
+INSERT INTO `code_web_service_dic` VALUES ('62', 'Txxx', 'Txxx.com', '66001', '');
+INSERT INTO `code_web_service_dic` VALUES ('63', 'Dropbox', 'Dropbox.com', '67001', '');
+INSERT INTO `code_web_service_dic` VALUES ('64', 'Savefrom', 'Savefrom.net', '69001', '');
+INSERT INTO `code_web_service_dic` VALUES ('65', 'Pixnet', 'Pixnet.net', '70001', '');
+INSERT INTO `code_web_service_dic` VALUES ('66', 'Bbc', 'Bbc.com', '71001', '');
+INSERT INTO `code_web_service_dic` VALUES ('67', 'Thestartmagazine', 'Thestartmagazine.com', '72001', '');
+INSERT INTO `code_web_service_dic` VALUES ('68', 'Quora', 'Quora.com', '73001', '');
+INSERT INTO `code_web_service_dic` VALUES ('69', 'Tianya', 'Tianya.cn', '74001', '');
+INSERT INTO `code_web_service_dic` VALUES ('70', 'Soso', 'Soso.com', '75001', '');
+INSERT INTO `code_web_service_dic` VALUES ('71', 'Chaturbate', 'Chaturbate.com', '76001', '');
+INSERT INTO `code_web_service_dic` VALUES ('72', 'Amazonaws', 'Amazonaws.com', '77001', '');
+INSERT INTO `code_web_service_dic` VALUES ('73', 'Booking', 'Booking.com', '78001', '');
+INSERT INTO `code_web_service_dic` VALUES ('74', 'Espn', 'Espn.com', '79001', '');
+INSERT INTO `code_web_service_dic` VALUES ('75', 'haosou', 'So.com', '80001', '');
+INSERT INTO `code_web_service_dic` VALUES ('76', 'Cnn', 'Cnn.com', '81001', '');
+INSERT INTO `code_web_service_dic` VALUES ('77', 'Craigslist', 'Craigslist.org', '82001', '');
+INSERT INTO `code_web_service_dic` VALUES ('78', 'Nicovideo', 'Nicovideo.jp', '83001', '');
+INSERT INTO `code_web_service_dic` VALUES ('79', 'Xinhuanet', 'Xinhuanet.com', '84001', '');
+INSERT INTO `code_web_service_dic` VALUES ('80', 'Soundcloud', 'Soundcloud.com', '85001', '');
+INSERT INTO `code_web_service_dic` VALUES ('81', 'Tokopedia', 'Tokopedia.com', '86001', '');
+INSERT INTO `code_web_service_dic` VALUES ('82', 'Dailymotion', 'Dailymotion.com', '87001', '');
+INSERT INTO `code_web_service_dic` VALUES ('83', 'Youth', 'Youth.cn', '88001', '');
+INSERT INTO `code_web_service_dic` VALUES ('84', 'Nytimes', 'Nytimes.com', '89001', '');
+INSERT INTO `code_web_service_dic` VALUES ('85', 'Detik', 'Detik.com', '90001', '');
+INSERT INTO `code_web_service_dic` VALUES ('86', 'Ask', 'Ask.com', '91001', '');
+INSERT INTO `code_web_service_dic` VALUES ('87', 'Naver', 'Naver.com', '92001', '');
+INSERT INTO `code_web_service_dic` VALUES ('88', 'Stackexchange', 'Stackexchange.com', '93001', '');
+INSERT INTO `code_web_service_dic` VALUES ('89', 'Dkn', 'Dkn.tv', '94001', '');
+INSERT INTO `code_web_service_dic` VALUES ('90', 'Thepiratebay', 'Thepiratebay.org', '95001', '');
+INSERT INTO `code_web_service_dic` VALUES ('91', 'Roblox', 'Roblox.com', '96001', '');
+INSERT INTO `code_web_service_dic` VALUES ('92', 'Rakuten', 'Rakuten.co.jp', '97001', '');
+INSERT INTO `code_web_service_dic` VALUES ('93', 'Onlinesbi', 'Onlinesbi.com', '98001', '');
+INSERT INTO `code_web_service_dic` VALUES ('94', 'Openload', 'Openload.co', '99001', '');
+INSERT INTO `code_web_service_dic` VALUES ('95', 'Spotify', 'Spotify.com', '100001', '');
+INSERT INTO `code_web_service_dic` VALUES ('96', 'Nih', 'Nih.gov', '101001', '');
+INSERT INTO `code_web_service_dic` VALUES ('97', 'Vimeo', 'Vimeo.com', '102001', '');
+INSERT INTO `code_web_service_dic` VALUES ('98', 'Fc2', 'Fc2.com', '103001', '');
+INSERT INTO `code_web_service_dic` VALUES ('99', 'Aparat', 'Aparat.com', '104001', '');
+INSERT INTO `code_web_service_dic` VALUES ('100', 'Ettoday', 'Ettoday.net', '105001', '');
+INSERT INTO `code_web_service_dic` VALUES ('101', 'Mozilla', 'Mozilla.org', '106001', '');
+INSERT INTO `code_web_service_dic` VALUES ('102', '1688', '1688.com', '107001', '');
+INSERT INTO `code_web_service_dic` VALUES ('103', 'K618', 'K618.cn', '108001', '');
+INSERT INTO `code_web_service_dic` VALUES ('104', 'Exdynsrv', 'Exdynsrv.com', '109001', '');
+INSERT INTO `code_web_service_dic` VALUES ('105', 'Oath', 'Oath.com', '110001', '');
+INSERT INTO `code_web_service_dic` VALUES ('106', 'Ntd', 'Ntd.tv', '111001', '');
+INSERT INTO `code_web_service_dic` VALUES ('107', 'Theguardian', 'Theguardian.com', '112001', '');
+INSERT INTO `code_web_service_dic` VALUES ('108', 'Mediafire', 'Mediafire.com', '113001', '');
+INSERT INTO `code_web_service_dic` VALUES ('109', 'Chase', 'Chase.com', '114001', '');
+INSERT INTO `code_web_service_dic` VALUES ('110', 'Flipkart', 'Flipkart.com', '115001', '');
+INSERT INTO `code_web_service_dic` VALUES ('111', 'Exosrv', 'Exosrv.com', '116001', '');
+INSERT INTO `code_web_service_dic` VALUES ('112', 'Avito', 'Avito.ru', '117001', '');
+INSERT INTO `code_web_service_dic` VALUES ('113', 'Slideshare', 'Slideshare.net', '118001', '');
+INSERT INTO `code_web_service_dic` VALUES ('114', 'Dailymail', 'Dailymail.co.uk', '119001', '');
+INSERT INTO `code_web_service_dic` VALUES ('115', 'Discordapp', 'Discordapp.com', '120001', '');
+INSERT INTO `code_web_service_dic` VALUES ('116', 'Zhihu', 'Zhihu.com', '121001', '');
+INSERT INTO `code_web_service_dic` VALUES ('117', 'Salesforce', 'Salesforce.com', '122001', '');
+INSERT INTO `code_web_service_dic` VALUES ('118', 'Theepochtimes', 'Theepochtimes.com', '123001', '');
+INSERT INTO `code_web_service_dic` VALUES ('119', 'Softonic', 'Softonic.com', '124001', '恶意网站-无图标');
+INSERT INTO `code_web_service_dic` VALUES ('120', 'Globo', 'Globo.com', '125001', '');
+INSERT INTO `code_web_service_dic` VALUES ('121', 'Bukalapak', 'Bukalapak.com', '126001', '');
+INSERT INTO `code_web_service_dic` VALUES ('122', 'Douyu', 'Douyu.com', '127001', '');
+INSERT INTO `code_web_service_dic` VALUES ('123', 'Nextoptim', 'Nextoptim.com', '128001', '');
+INSERT INTO `code_web_service_dic` VALUES ('124', 'Deviantart', 'Deviantart.com', '129001', '');
+INSERT INTO `code_web_service_dic` VALUES ('125', 'Indeed', 'Indeed.com', '130001', '');
+INSERT INTO `code_web_service_dic` VALUES ('126', 'Lolsided', 'Lolsided.com', '131001', '');
+INSERT INTO `code_web_service_dic` VALUES ('127', 'Bles', 'Bles.com', '132001', '');
+INSERT INTO `code_web_service_dic` VALUES ('128', 'Cnet', 'Cnet.com', '133001', '');
+INSERT INTO `code_web_service_dic` VALUES ('129', 'Alibaba', 'Alibaba.com', '134001', '');
+INSERT INTO `code_web_service_dic` VALUES ('130', 'Bet9ja', 'Bet9ja.com', '135001', '');
+INSERT INTO `code_web_service_dic` VALUES ('131', 'Vice', 'Vice.com', '136001', '恶意网站-无图标');
+INSERT INTO `code_web_service_dic` VALUES ('132', 'Lifedaily', 'Lifedaily.com', '137001', '');
+INSERT INTO `code_web_service_dic` VALUES ('133', 'Hotmovs', 'Hotmovs.com', '138001', '');
+INSERT INTO `code_web_service_dic` VALUES ('134', 'Sogou', 'Sogou.com', '139001', '');
+INSERT INTO `code_web_service_dic` VALUES ('135', 'Uol', 'Uol.com.br', '140001', '');
+INSERT INTO `code_web_service_dic` VALUES ('136', 'Doubleclick', 'Doubleclick.net', '141001', '');
+INSERT INTO `code_web_service_dic` VALUES ('137', 'Mercadolivre', 'Mercadolivre.com.br', '142001', '');
+INSERT INTO `code_web_service_dic` VALUES ('138', 'Speakol', 'Speakol.com', '143001', '');
+INSERT INTO `code_web_service_dic` VALUES ('139', 'Babytree', 'Babytree.com', '144001', '');
+INSERT INTO `code_web_service_dic` VALUES ('140', 'Liputan6', 'Liputan6.com', '145001', '');
+INSERT INTO `code_web_service_dic` VALUES ('141', 'Wikihow', 'Wikihow.com', '146001', '');
+INSERT INTO `code_web_service_dic` VALUES ('142', 'China', 'China.com.cn', '147001', '');
+INSERT INTO `code_web_service_dic` VALUES ('143', 'Etsy', 'Etsy.com', '148001', '');
+INSERT INTO `code_web_service_dic` VALUES ('144', 'W3schools', 'W3schools.com', '149001', '');
+INSERT INTO `code_web_service_dic` VALUES ('145', 'Youm7', 'Youm7.com', '150001', '');
+INSERT INTO `code_web_service_dic` VALUES ('146', 'Scribd', 'Scribd.com', '151001', '');
+INSERT INTO `code_web_service_dic` VALUES ('147', 'Rumble', 'Rumble.com', '152001', '');
+INSERT INTO `code_web_service_dic` VALUES ('148', 'Walmart', 'Walmart.com', '153001', '');
+INSERT INTO `code_web_service_dic` VALUES ('149', 'Twimg', 'Twimg.com', '154001', '');
+INSERT INTO `code_web_service_dic` VALUES ('150', 'Yelp', 'Yelp.com', '155001', '');
+INSERT INTO `code_web_service_dic` VALUES ('151', 'Kompas', 'Kompas.com', '156001', '');
+INSERT INTO `code_web_service_dic` VALUES ('152', 'Messenger', 'Messenger.com', '157001', '');
+INSERT INTO `code_web_service_dic` VALUES ('153', 'Onlinevideoconverter', 'Onlinevideoconverter.com', '159001', '');
+INSERT INTO `code_web_service_dic` VALUES ('154', 'Redtube', 'Redtube.com', '160001', '');
+INSERT INTO `code_web_service_dic` VALUES ('155', 'Gmw', 'Gmw.cn', '161001', '');
+INSERT INTO `code_web_service_dic` VALUES ('156', 'Caijing', 'Caijing.com.cn', '162001', '');
+INSERT INTO `code_web_service_dic` VALUES ('157', 'Mama', 'Mama.cn', '163001', '同twitter');
+INSERT INTO `code_web_service_dic` VALUES ('158', 'Chinadaily', 'Chinadaily.com.cn', '164001', '');
+INSERT INTO `code_web_service_dic` VALUES ('159', 'Cricbuzz', 'Cricbuzz.com', '165001', '');
+INSERT INTO `code_web_service_dic` VALUES ('160', 'Ladbible', 'Ladbible.com', '166001', '');
+INSERT INTO `code_web_service_dic` VALUES ('161', 'Doublepimpssl', 'Doublepimpssl.com', '167001', '');
+INSERT INTO `code_web_service_dic` VALUES ('162', 'Steampowered', 'Steampowered.com', '168001', '');
+INSERT INTO `code_web_service_dic` VALUES ('163', 'Mega', 'Mega.nz', '169001', '');
+INSERT INTO `code_web_service_dic` VALUES ('164', 'Yts', 'Yts.am', '170001', '');
+INSERT INTO `code_web_service_dic` VALUES ('165', 'Youporn', 'Youporn.com', '171001', '');
+INSERT INTO `code_web_service_dic` VALUES ('166', 'Buzzfeed', 'Buzzfeed.com', '172001', '');
+INSERT INTO `code_web_service_dic` VALUES ('167', 'Indiatimes', 'Indiatimes.com', '173001', '');
+INSERT INTO `code_web_service_dic` VALUES ('168', 'Hotstar', 'Hotstar.com', '174001', '');
+INSERT INTO `code_web_service_dic` VALUES ('169', 'Cnblogs', 'Cnblogs.com', '175001', '');
+INSERT INTO `code_web_service_dic` VALUES ('170', 'Bet365', 'Bet365.com', '176001', '');
+INSERT INTO `code_web_service_dic` VALUES ('171', 'Wetransfer', 'Wetransfer.com', '177001', '');
+INSERT INTO `code_web_service_dic` VALUES ('172', 'Eastday', 'Eastday.com', '178001', '');
+INSERT INTO `code_web_service_dic` VALUES ('173', 'Rambler', 'Rambler.ru', '179001', '');
+INSERT INTO `code_web_service_dic` VALUES ('174', 'Coinmarketcap', 'Coinmarketcap.com', '180001', '');
+INSERT INTO `code_web_service_dic` VALUES ('175', 'Huanqiu', 'Huanqiu.com', '181001', '');
+INSERT INTO `code_web_service_dic` VALUES ('176', 'Hulu', 'Hulu.com', '182001', '');
+INSERT INTO `code_web_service_dic` VALUES ('177', 'Abs-cbn', 'Abs-cbn.com', '183001', '');
+INSERT INTO `code_web_service_dic` VALUES ('178', 'Steamcommunity', 'Steamcommunity.com', '184001', '');
+INSERT INTO `code_web_service_dic` VALUES ('179', '4chan', '4chan.org', '185001', '');
+INSERT INTO `code_web_service_dic` VALUES ('180', 'Metropcs', 'Metropcs.mobi', '186001', '');
+INSERT INTO `code_web_service_dic` VALUES ('181', 'Zillow', 'Zillow.com', '187001', '');
+INSERT INTO `code_web_service_dic` VALUES ('182', 'Godaddy', 'Godaddy.com', '188001', '');
+INSERT INTO `code_web_service_dic` VALUES ('183', 'Blastingnews', 'Blastingnews.com', '189001', '');
+INSERT INTO `code_web_service_dic` VALUES ('184', 'Washingtonpost', 'Washingtonpost.com', '190001', '');
+INSERT INTO `code_web_service_dic` VALUES ('185', 'Upornia', 'Upornia.com', '191001', '');
+INSERT INTO `code_web_service_dic` VALUES ('186', 'Nownews', 'Nownews.com', '192001', '');
+INSERT INTO `code_web_service_dic` VALUES ('187', 'Hibids10', 'Hibids10.com', '193001', '');
+INSERT INTO `code_web_service_dic` VALUES ('188', 'Aliyun', 'Aliyun.com', '194001', '');
+INSERT INTO `code_web_service_dic` VALUES ('189', 'Fapmeth', 'Fapmeth.com', '195001', '');
+INSERT INTO `code_web_service_dic` VALUES ('190', 'Genius', 'Genius.com', '196001', '');
+INSERT INTO `code_web_service_dic` VALUES ('191', 'Tripadvisor', 'Tripadvisor.com', '197001', '');
+INSERT INTO `code_web_service_dic` VALUES ('192', 'Bilibili', 'Bilibili.com', '198001', '');
+INSERT INTO `code_web_service_dic` VALUES ('193', 'Livejournal', 'Livejournal.com', '199001', '');
+INSERT INTO `code_web_service_dic` VALUES ('194', 'Irctc', 'Irctc.co.in', '200001', '');
+INSERT INTO `code_web_service_dic` VALUES ('195', 'Slack', 'Slack.com', '201001', '');
+INSERT INTO `code_web_service_dic` VALUES ('196', 'Bankofamerica', 'Bankofamerica.com', '202001', '广告网站,无图标');
+INSERT INTO `code_web_service_dic` VALUES ('197', 'Forbes', 'Forbes.com', '203001', '');
+INSERT INTO `code_web_service_dic` VALUES ('198', 'Archive', 'Archive.org', '204001', '广告网站,无图标');
+INSERT INTO `code_web_service_dic` VALUES ('199', 'Ebay-kleinanzeigen', 'Ebay-kleinanzeigen.de', '205001', '');
+INSERT INTO `code_web_service_dic` VALUES ('200', 'Doublepimp', 'Doublepimp.com', '206001', '');
+INSERT INTO `code_web_service_dic` VALUES ('201', 'Foxnews', 'Foxnews.com', '207001', '');
+INSERT INTO `code_web_service_dic` VALUES ('202', 'Wellsfargo', 'Wellsfargo.com', '208001', '');
+INSERT INTO `code_web_service_dic` VALUES ('203', 'Speedtest', 'Speedtest.net', '209001', '');
+INSERT INTO `code_web_service_dic` VALUES ('204', 'Researchgate', 'Researchgate.net', '210001', '');
+INSERT INTO `code_web_service_dic` VALUES ('205', 'Medium', 'Medium.com', '211001', '');
+INSERT INTO `code_web_service_dic` VALUES ('206', 'Gfycat', 'Gfycat.com', '212001', '');
+INSERT INTO `code_web_service_dic` VALUES ('207', 'Exoclick', 'Exoclick.com', '213001', '');
+INSERT INTO `code_web_service_dic` VALUES ('208', '1337x', '1337x.to', '214001', '');
+INSERT INTO `code_web_service_dic` VALUES ('209', 'Ltn', 'Ltn.com.tw', '215001', '');
+INSERT INTO `code_web_service_dic` VALUES ('210', 'Hclips', 'Hclips.com', '216001', '');
+INSERT INTO `code_web_service_dic` VALUES ('211', 'Redd', 'Redd.it', '217001', '');
+INSERT INTO `code_web_service_dic` VALUES ('212', 'Trello', 'Trello.com', '218001', '');
+INSERT INTO `code_web_service_dic` VALUES ('213', 'Duckduckgo', 'Duckduckgo.com', '219001', '');
+INSERT INTO `code_web_service_dic` VALUES ('214', 'Xfinity', 'Xfinity.com', '220001', '');
+INSERT INTO `code_web_service_dic` VALUES ('215', 'Cloudfront', 'Cloudfront.net', '221001', '');
+INSERT INTO `code_web_service_dic` VALUES ('216', 'Blackboard', 'Blackboard.com', '222001', '');
+INSERT INTO `code_web_service_dic` VALUES ('217', 'Elfagr', 'Elfagr.com', '223001', '');
+INSERT INTO `code_web_service_dic` VALUES ('218', 'Weather', 'Weather.com', '224001', '');
+INSERT INTO `code_web_service_dic` VALUES ('219', 'Youdao', 'Youdao.com', '225001', '');
+INSERT INTO `code_web_service_dic` VALUES ('220', 'Sberbank', 'Sberbank.ru', '226001', '');
+INSERT INTO `code_web_service_dic` VALUES ('221', 'Rednet', 'Rednet.cn', '227001', '');
+INSERT INTO `code_web_service_dic` VALUES ('222', 'Iqiyi', 'Iqiyi.com', '228001', '');
+INSERT INTO `code_web_service_dic` VALUES ('223', 'Setn', 'Setn.com', '229001', '');
+INSERT INTO `code_web_service_dic` VALUES ('224', 'People', 'People.com.cn', '230001', '');
+INSERT INTO `code_web_service_dic` VALUES ('225', 'Leboncoin', null, '231001', '');
+INSERT INTO `code_web_service_dic` VALUES ('226', 'Gmx', null, '232001', 'NOTICE!!!:无独立图标');
+INSERT INTO `code_web_service_dic` VALUES ('227', 'Shutterstock', null, '233001', '');
+INSERT INTO `code_web_service_dic` VALUES ('228', 'Blogger', null, '234001', '');
+INSERT INTO `code_web_service_dic` VALUES ('229', 'Ikea', null, '235001', '');
+INSERT INTO `code_web_service_dic` VALUES ('230', 'Kakaku', null, '236001', '');
+INSERT INTO `code_web_service_dic` VALUES ('231', 'Hdzog', null, '237001', '');
+INSERT INTO `code_web_service_dic` VALUES ('232', 'Unspecified', null, '268435455', '');
diff --git a/src/main/resources/sql/20181120/add_data_dict.sql b/src/main/resources/sql/20181120/add_data_dict.sql
new file mode 100644
index 0000000..41b0e09
--- /dev/null
+++ b/src/main/resources/sql/20181120/add_data_dict.sql
@@ -0,0 +1,6 @@
+#用户管理字典信息
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('145', '用户管理', 'USER_TYPE', '', 'user:管理员,2018-11-28 09:48:13edit|user:管理员,2018-11-27 17:50:11edit', '2018-11-27 17:38:36', '2018-11-28 09:48:13', '1');
+
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3181', 'VPN', 'VPN', '', '0', '1', '1', '145');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3182', 'SIP', 'SIP', '', '0', '1', '1', '145');
+
diff --git a/src/main/resources/sql/20181120/add_region_dict.sql b/src/main/resources/sql/20181120/add_region_dict.sql
new file mode 100644
index 0000000..ab8001c
--- /dev/null
+++ b/src/main/resources/sql/20181120/add_region_dict.sql
@@ -0,0 +1,2 @@
+#增加服务器IP配置
+INSERT INTO `function_region_dict` (`dict_id`, `function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`, `is_import`) VALUES ('606', '636', '', '1', 'NTC_SERVER_IP', 'VPN服务器 ip配置', '1', '1', '1', NULL, '0000-00-00 00:00:00', NULL, '0000-00-00 00:00:00', '', '', '', '4', '', '', '3', '1', '0', '0', '3', '1', '1');
diff --git a/src/main/resources/sql/20181120/add_user_manage.sql b/src/main/resources/sql/20181120/add_user_manage.sql
new file mode 100644
index 0000000..af5b46c
--- /dev/null
+++ b/src/main/resources/sql/20181120/add_user_manage.sql
@@ -0,0 +1,22 @@
+#用户管理表
+DROP TABLE IF EXISTS `user_manage`;
+CREATE TABLE `user_manage` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `user_name` varchar(255) NOT NULL,
+ `user_pwd` varchar(255) NOT NULL,
+ `server_ip` varchar(1000) NOT NULL,
+ `user_type` varchar(256) DEFAULT NULL,
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `remarks` varchar(255) DEFAULT '' COMMENT '描述信息',
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4; \ No newline at end of file
diff --git a/src/main/resources/sql/20181120/create_user_ip_cfg.sql b/src/main/resources/sql/20181120/create_user_ip_cfg.sql
new file mode 100644
index 0000000..ed58d29
--- /dev/null
+++ b/src/main/resources/sql/20181120/create_user_ip_cfg.sql
@@ -0,0 +1,46 @@
+#用户管理服务器IP表
+DROP TABLE IF EXISTS `ip_reuse_ip_cfg`;
+CREATE TABLE `ip_reuse_ip_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `ip_type` int(11) NOT NULL COMMENT 'IPV4=4,IPV6=6',
+ `direction` int(11) NOT NULL COMMENT '0双向,1单向,默认缺省为双向。',
+ `protocol` int(11) NOT NULL COMMENT '6表示tcp,17表示udp,0表示任意',
+ `protocol_id` int(11) NOT NULL COMMENT '非0时,maat规范需写入通用IP配置表与通用协议类型配置表 此表固定写0',
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) NOT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `ip_pattern` int(11) NOT NULL,
+ `src_ip_address` varchar(128) NOT NULL,
+ `port_pattern` int(11) NOT NULL,
+ `src_port` varchar(16) NOT NULL,
+ `dest_ip_address` varchar(128) NOT NULL,
+ `dest_port` varchar(16) NOT NULL,
+ `ratelimit` varchar(10) DEFAULT NULL COMMENT '限速比例,0到1之间',
+ `dns_strategy_id` int(11) DEFAULT NULL COMMENT 'DNS IP配置使用,来自dns_ res_strategy表的cfg_id,界面可缺省为0',
+ `IR_TYPE` int(11) DEFAULT NULL COMMENT 'IP复用专用,0:SNAT(IP复用业务),1:DNAT(对外虚拟服务)',
+ `user_region1` varchar(1024) DEFAULT NULL COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT NULL COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT NULL COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT NULL COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT NULL COMMENT '预留自定义域5',
+ `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=415583 DEFAULT CHARSET=utf8mb4; \ No newline at end of file
diff --git a/src/main/resources/sql/20181120/update_menu_help_url b/src/main/resources/sql/20181120/update_menu_help_url
new file mode 100644
index 0000000..e0942e3
--- /dev/null
+++ b/src/main/resources/sql/20181120/update_menu_help_url
@@ -0,0 +1,12 @@
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'http_block', `name` = 'HTTP管控', `sort` = 2, `href` = '/proxy/control/httpRedirect/httpBlockList', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'control:httpBlock:config', `create_by` = '1', `create_date` = '2018-07-24 11:06:03', `update_by` = '1', `update_date` = '2018-07-25 10:42:57', `remarks` = '', `del_flag` = 1, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 207 WHERE `id` = 911;
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'http_monit', `name` = 'HTTP监测', `sort` = 1, `href` = '/proxy/control/httpRedirect/httpMonitList', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'control:httpMonit:config', `create_by` = '1', `create_date` = '2018-07-24 11:08:59', `update_by` = '1', `update_date` = '2018-07-25 10:43:52', `remarks` = '', `del_flag` = 1, `menu_bg` =null, `quick_action` = 0, `is_top` = 0, `function_id` = 210 WHERE `id` = 914;
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'http_redirect', `name` = 'HTTP重定向', `sort` = 3, `href` = '/proxy/control/httpRedirect/httpRedirectList', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'control:httpRedirect:config', `create_by` = '1', `create_date` = '2018-07-24 11:06:49', `update_by` = '1', `update_date` = '2018-07-24 11:15:35', `remarks` = '', `del_flag` = 1, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 208 WHERE `id` = 912;
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'ip_redirect', `name` = 'IP控制', `sort` = 30, `href` = '/proxy/control/ip/list?cfgName=ip_control', `target` = '', `icon` = '', `is_show` = 0, `permission` = 'control:ip:config', `create_by` = '1', `create_date` = '2018-06-19 17:40:46', `update_by` = '1', `update_date` = '2018-07-24 11:11:32', `remarks` = '', `del_flag` = 0, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 202 WHERE `id` = 725;
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'http_replace', `name` = 'HTTP替换', `sort` = 4, `href` = '/proxy/control/httpRedirect/httpReplaceList', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'control:httpReplace:config', `create_by` = '1', `create_date` = '2018-07-24 11:08:34', `update_by` = '1', `update_date` = '2018-07-25 10:43:28', `remarks` = '', `del_flag` = 1, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 209 WHERE `id` = 913;
+UPDATE `sys_menu` SET `parent_id` = 724, `parent_ids` = '0,1,86,719,724,', `code` = 'http_whitelist', `name` = 'HTTP白名单', `sort` = 300, `href` = '/proxy/control/httpRedirect/httpWhitelistList', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'control:httpWhitelist:config', `create_by` = '1', `create_date` = '2018-07-24 11:09:35', `update_by` = '1', `update_date` = '2018-07-25 10:44:13', `remarks` = '', `del_flag` = 1, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 211 WHERE `id` = 915;
+UPDATE `sys_menu` SET `parent_id` = 1096, `parent_ids` = '0,1,86,1096,', `code` = 'ip_payload', `name` = 'IP Payload', `sort` = 2, `href` = '/proxy/intercept/ippayload/list', `target` = '', `icon` = '', `is_show` = 1, `permission` = 'intercept:ippayload:config', `create_by` = '1', `create_date` = '2018-09-26 14:23:23', `update_by` = '1', `update_date` = '2018-10-25 15:53:29', `remarks` = '', `del_flag` = 1, `menu_bg` = null, `quick_action` = 0, `is_top` = 0, `function_id` = 212 WHERE `id` = 1099;
+
+UPDATE `sys_menu` SET menu_bg='/online-help/proxy/control_policy' where id=719;
+UPDATE `sys_menu` SET menu_bg='/online-help/proxy/intercept_policy' where id=724;
+UPDATE `sys_menu` SET menu_bg='/online-help/proxy/cache_policy' where id=1161;
+UPDATE `sys_menu` SET menu_bg='/online-help/proxy/proxy_policy_object' where id=1121; \ No newline at end of file
diff --git a/src/main/resources/sql/20181122/alter_asn_ip_cfg_asn_no.sql b/src/main/resources/sql/20181122/alter_asn_ip_cfg_asn_no.sql
new file mode 100644
index 0000000..c152d3f
--- /dev/null
+++ b/src/main/resources/sql/20181122/alter_asn_ip_cfg_asn_no.sql
@@ -0,0 +1,2 @@
+#�޸�asn ip cfg ��asn id������ user_region1�Ĵ�С,�Ա��������ϴ�������
+ALTER TABLE asn_ip_cfg MODIFY COLUMN user_region1 VARCHAR(20) DEFAULT NULL; \ No newline at end of file
diff --git a/src/main/resources/sql/20181124/add_sys_dict_of_Cfgsync b/src/main/resources/sql/20181124/add_sys_dict_of_Cfgsync
new file mode 100644
index 0000000..e1a3075
--- /dev/null
+++ b/src/main/resources/sql/20181124/add_sys_dict_of_Cfgsync
@@ -0,0 +1,13 @@
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('141', '配置同步状态', 'config_sync_status', '', '', '2018-11-23 10:32:08', '2018-11-23 10:32:08', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('142', '配置同步当前状态', 'currrent_sync_status', '此状态在配置同步时线程定义获取综合服务端的同步状态,随时更新。', '', '2018-11-23 10:34:27', '2018-11-23 10:34:27', '1');
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('143', '配置同步接口URL', 'config_sync_url', '', '', '2018-11-23 10:50:52', '2018-11-23 10:50:52', '1');
+
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3024', '0', 'start', '开始', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3025', '1', 'init', '初始化', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3026', '2', 'doing', '进行中', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3027', '3', 'finish', '完成', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3028', '-1', 'fail', '失败', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3029', 'status', '0', '', '0', '1', '1', '142');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3030', 'get_sync_status', 'http://192.168.10.204:9999/galaxy-service/service/cfg_batch/v1/status', '', '0', '1', '1', '143');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3031', 'sync_send', 'http://192.168.10.204:9999/galaxy-service/service/cfg_batch/v1/configSources', '', '0', '1', '1', '143');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3032', 'sync_cmd', 'http://192.168.10.204:9999/galaxy-service/service/cfg_batch/v1/status', '', '0', '1', '1', '143');
diff --git a/src/main/resources/sql/20181124/alter_complex_keyword_cfg b/src/main/resources/sql/20181124/alter_complex_keyword_cfg
new file mode 100644
index 0000000..23dd845
--- /dev/null
+++ b/src/main/resources/sql/20181124/alter_complex_keyword_cfg
@@ -0,0 +1 @@
+ALTER TABLE complex_keyword_cfg CHANGE COLUMN keywords cfg_keywords VARCHAR(2048) NOT NULL; \ No newline at end of file
diff --git a/src/main/resources/sql/20181126/alter_ddos_ip_cfg_doLog.sql b/src/main/resources/sql/20181126/alter_ddos_ip_cfg_doLog.sql
new file mode 100644
index 0000000..ac0e5dc
--- /dev/null
+++ b/src/main/resources/sql/20181126/alter_ddos_ip_cfg_doLog.sql
@@ -0,0 +1 @@
+alter table ddos_ip_cfg add do_log int(11) COMMENT 'do_log:1记录所有日志2只记录结构化日志。默认是2' \ No newline at end of file
diff --git a/src/main/resources/sql/20181126/insert_app_ratelimit_dict.sql b/src/main/resources/sql/20181126/insert_app_ratelimit_dict.sql
new file mode 100644
index 0000000..79da841
--- /dev/null
+++ b/src/main/resources/sql/20181126/insert_app_ratelimit_dict.sql
@@ -0,0 +1,10 @@
+#add app ratelimit dict data
+INSERT INTO `sys_data_dictionary_name`(`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES (144, 'APP限速', 'APP_RATE_LIMIT', '', '', '2018-11-26 10:54:08', '2018-11-26 10:54:08', 1);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3129, '0.05', '0.05', '0.05', 1, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3130, '0.1', '0.1', '0.1', 2, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3131, '0.15', '0.15', '0.15', 3, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3132, '0.2', '0.2', '0.2', 4, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3133, '0.25', '0.25', '0.25', 5, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3134, '0.3', '0.3', '0.3', 6, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3135, '0.35', '0.35', '0.35', 7, 1, 1, 144);
+INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (3136, '0.4', '0.4', '0.4', 8, 1, 1, 144); \ No newline at end of file
diff --git a/src/main/resources/sql/20181126/update_function_region_dict.sql b/src/main/resources/sql/20181126/update_function_region_dict.sql
new file mode 100644
index 0000000..4f10a78
--- /dev/null
+++ b/src/main/resources/sql/20181126/update_function_region_dict.sql
@@ -0,0 +1,16 @@
+UPDATE
+ function_region_dict
+SET
+ config_region_value = 'IR_STATIC_NOMINEE_IP',
+ config_desc = 'SNAT地址池管理',
+ config_ip_port_show = '1'
+WHERE
+ function_id = 633 AND dict_id = 231;
+
+UPDATE
+ function_region_dict
+SET
+ config_region_value = 'IR_STATIC_NOMINEE_IP',
+ config_desc = 'DNAT地址池管理'
+WHERE
+ function_id = 406 AND dict_id = 75; \ No newline at end of file
diff --git a/src/main/resources/sql/20181129/add_ip_reuse_addr_pool.sql b/src/main/resources/sql/20181129/add_ip_reuse_addr_pool.sql
new file mode 100644
index 0000000..3097c71
--- /dev/null
+++ b/src/main/resources/sql/20181129/add_ip_reuse_addr_pool.sql
@@ -0,0 +1,39 @@
+-- ----------------------------
+-- 地址池管理表
+-- ----------------------------
+DROP TABLE IF EXISTS `ip_reuse_addr_pool`;
+CREATE TABLE `ip_reuse_addr_pool` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `addr_pool_id` int(11) NOT NULL COMMENT '地址池ID',
+ `addr_pool_name` varchar(128) DEFAULT NULL COMMENT '地址池名称',
+ `ip_total` int(11) NOT NULL DEFAULT 0 COMMENT '地址池IP总数',
+ `available_ip_total` int(11) NOT NULL DEFAULT 0 COMMENT '地址池可用IP数',
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT '',
+ `function_id` int(11) NOT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL DEFAULT 0 COMMENT '0否,1是',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个以英文逗号分隔',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `classify` varchar(128) DEFAULT '' COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT '' COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT '' COMMENT '标签id,多个用英文逗号分隔',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `description` varchar(200) DEFAULT '' COMMENT '描述信息',
+ `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函',
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4;
diff --git a/src/main/resources/sql/20181130/update_code_app_dic.sql b/src/main/resources/sql/20181130/update_code_app_dic.sql
new file mode 100644
index 0000000..b33adb4
--- /dev/null
+++ b/src/main/resources/sql/20181130/update_code_app_dic.sql
@@ -0,0 +1,727 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 192.168.10.204_3306
+Source Server Version : 50505
+Source Host : 192.168.10.204:3306
+Source Database : gwall_dev
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-11-30 19:44:48
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for code_app_dic
+-- ----------------------------
+DROP TABLE IF EXISTS `code_app_dic`;
+CREATE TABLE `code_app_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `app_name` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `app_name_zh` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `view_code` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '应用编码',
+ `icon` varchar(255) DEFAULT '',
+ `behavior` varchar(255) CHARACTER SET utf8mb4 DEFAULT '' COMMENT '行为细分',
+ `core_app` int(11) DEFAULT NULL COMMENT '是否是核心应用(1:是,0:否)',
+ `app_service_id` int(10) unsigned zerofill DEFAULT NULL COMMENT '业务类型编号',
+ `app_service` varchar(255) CHARACTER SET utf8mb4 DEFAULT '',
+ `lib` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT 'lib类别',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=690 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_app_dic
+-- ----------------------------
+INSERT INTO `code_app_dic` VALUES ('1', '超出APP范畴', '超出APP范畴', '0', '', '', '1', null, '', '');
+INSERT INTO `code_app_dic` VALUES ('2', 'Skype', 'Skype', '100001', '', 'Skype video calls/calls\nSkype voice\nSkype message\nSkype transfer', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('3', 'Instagram', 'Instagram', '100101', '', 'Instagram video\nInstagram message\nInstagram live\nInstagram adding photos and videos', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('4', 'Youtube', 'Youtube', '100201', '', 'Youtube video\nYoutube live\nYoutube adding videos', '1', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('5', 'Facebook', 'Facebook', '100301', '', 'Facebook video\nFacebook live\nFacebook message', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('6', 'What‘s App', 'What‘s App', '100401', '', 'What\'s App message\nWhat\'s App calls/video calls\nWhat\'s App transfer', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('7', 'Periscope', 'Periscope', '100501', '', '', '1', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('8', 'Viber', 'Viber', '100601', '', 'Viber calls/video calls\nViber message\nViber transfer', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('9', 'Twitter', 'Twitter', '100701', '', '', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('10', 'Vkontakte', 'Vkontakte', '100801', '', 'Vkontakte video\nVkontakte message\nVkontakte live', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('11', 'Telegram', 'Telegram', '100901', '', 'Telegram message\nTelegram calls/video calls\nTelegram transfer', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('12', 'Odnoklassniki', 'Odnoklassniki', '101001', '', 'Odnoklassniki message\nOdnoklassniki video', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('13', 'Mail agent', 'Mail agent', '101101', '', 'Mail agent message\nMail agent calls\nMail agent transfer', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('14', 'FaceTime', 'FaceTime', '101201', '', 'Facetime video calls\nFacetime voice calls', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('15', 'Snapchat', 'Snapchat', '101301', '', '', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('16', 'Google', 'Google', '101401', '', '', '1', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('17', 'Yandex', 'Yandex', '101501', '', '', '1', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('18', 'Yandex Browser Turbo', 'Yandex Browser Turbo', '101601', '', '', '1', '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('19', 'Opera', 'Opera', '101701', '', '', '1', '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('20', 'AppStore', 'AppStore', '101801', '', '', '1', '0000000015', 'ApplicationMarket', '');
+INSERT INTO `code_app_dic` VALUES ('21', 'PlayMarket', 'PlayMarket', '101901', '', '', '1', '0000000015', 'ApplicationMarket', '');
+INSERT INTO `code_app_dic` VALUES ('22', 'Drugvokrug social networking', 'Drugvokrug social networking', '102001', '', '', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('23', 'Badoo social networking', 'Badoo social networking', '102101', '', '', '1', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('24', 'WeChat', 'WeChat', '102201', '', '', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('25', 'Zello', 'Zello', '102301', '', '', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('26', 'Freegate', 'Freegate', '102401', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('27', 'Psiphon', 'Psiphon', '102501', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('28', 'TOR', 'TOR', '102601', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('29', 'Orbot', 'Orbot', '102701', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('30', 'Tunnel Bear VPN', 'Tunnel Bear VPN', '102801', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('31', 'HotSpot Shield VPN', 'HotSpot Shield VPN', '102901', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('32', 'VPN Master', 'VPN Master', '103001', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('33', 'Hola VPN', 'Hola VPN', '103101', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('34', 'HideMyAss VPN', 'HideMyAss VPN', '103201', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('35', 'Zenmate VPN', 'Zenmate VPN', '103301', '', '', '1', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('36', 'SignalPrivateMessenger', 'SignalPrivateMessenger', '103401', '', '', '1', '0000000002', 'IM', '');
+INSERT INTO `code_app_dic` VALUES ('37', 'Unspecified', 'Unspecified', '268435455', '', '', '1', '0268435455', 'Unspecified', '');
+INSERT INTO `code_app_dic` VALUES ('38', 'RFA', 'RFA', '200001', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('39', 'VOA', 'VOA', '200002', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('40', 'lantern', 'lantern', '200003', '', '', '0', '0000000020', 'vpn', '');
+INSERT INTO `code_app_dic` VALUES ('41', 'Line', 'Line', '200004', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('42', 'voxer', 'voxer', '200005', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('43', 'ZeroNet', 'ZeroNet', '200006', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('44', 'Zalo', 'Zalo', '200007', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('45', 'free_browser', 'free_browser', '200008', '', '', '0', '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('46', 'Diaspora', 'Diaspora', '200009', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('47', 'browsec', 'browsec', '200010', '', '', '0', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('48', 'Chrome_plugin_chuguo', 'Chrome_plugin_chuguo', '200011', '', '', '0', '0000000020', 'vpn', '');
+INSERT INTO `code_app_dic` VALUES ('49', 'GoGo_SocksHttp', 'GoGo_SocksHttp', '200012', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('50', 'ultrasurf_chrome', 'ultrasurf_chrome', '200013', '', '', '0', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('51', 'pinterest', 'pinterest', '200014', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('52', 'Swisscom', 'Swisscom', '200015', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('53', 'Threema', 'Threema', '200016', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('54', 'Circuit_iOS', 'Circuit_iOS', '200017', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('55', 'Chrome_plugin_FastsTunnel', 'Chrome_plugin_FastsTunnel', '200018', '', '', '0', '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('56', 'OoVoo', 'OoVoo', '200019', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('57', 'Vine', 'Vine', '200020', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('58', 'Keek', 'Keek', '200021', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('59', 'Hi', 'Hi', '200022', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('60', 'HeyTell', 'HeyTell', '200023', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('61', 'HikeMessenger', 'HikeMessenger', '200024', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('62', 'Nonoh', 'Nonoh', '200025', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('63', 'Path', 'Path', '200026', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('64', 'Kik', 'Kik', '200027', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('65', 'BBM', 'BBM', '200028', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('66', 'Talkray', 'Talkray', '200029', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('67', 'HelloTalk', 'HelloTalk', '200030', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('68', 'Skout', 'Skout', '200031', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('69', 'MeetMe', 'MeetMe', '200032', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('70', 'Nextdoor', 'Nextdoor', '200033', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('71', 'Shots', 'Shots', '200034', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('72', 'Zoosk', 'Zoosk', '200035', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('73', 'TextPlus', 'TextPlus', '200036', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('74', 'Maaii', 'Maaii', '200037', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('75', 'Ustream', 'Ustream', '200038', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('76', 'Yikyak', 'Yikyak', '200039', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('77', 'chatsecure', 'chatsecure', '200040', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('78', 'freecalls', 'freecalls', '200041', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('79', 'SignalPrivateMessenger', 'SignalPrivateMessenger', '200042', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('80', 'USGOV_CIA', 'USGOV_CIA', '200043', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('81', 'USGOV_FBI', 'USGOV_FBI', '200044', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('82', 'USGOV_DHS', 'USGOV_DHS', '200045', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('83', 'shenxun_Secure_Call_android', 'shenxun_Secure_Call_android', '200046', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('84', 'shenxun_Secure_Call_web', 'shenxun_Secure_Call_web', '200047', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('85', 'UProxy', 'UProxy', '200048', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('86', 'soma', 'soma', '200049', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('87', 'PlayerUnknown\'s_Battlegrounds', 'PlayerUnknown\'s_Battlegrounds', '200050', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('88', 'STEAM', 'STEAM', '200051', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('89', 'dalai_lama', 'dalai_lama', '200052', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('90', 'Steam_forum', 'Steam_forum', '200053', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('91', 'Microsoft Online Certificate', 'Microsoft Online Certificate', '200054', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('92', 'sogou_spider', 'sogou_spider', '200055', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('93', 'baidu_mobie', 'baidu_mobie', '200056', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('94', 'Apple Push Service', 'Apple Push Service', '200057', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('95', 'IQIYI', 'IQIYI', '200058', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('96', 'baidu_spider', 'baidu_spider', '200059', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('97', 'Weibo', 'Weibo', '200060', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('98', 'Apple captive service', 'Apple captive service', '200061', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('99', 'Microsoft wns', 'Microsoft wns', '200062', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('100', '360_safe_pc', '360_safe_pc', '200063', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('101', 'Sogou Public Service', 'Sogou Public Service', '200064', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('102', 'Lenovo app_POST service', 'Lenovo app_POST service', '200065', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('103', 'Apple securityd service', 'Apple securityd service', '200066', '', '', '0', '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('104', 'Weather pass', 'Weather pass', '200067', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('105', 'Apple Service Pack', 'Apple Service Pack', '200068', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('106', 'Fast pressure', 'Fast pressure', '200069', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('107', 'SemrushBot', 'SemrushBot', '200070', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('108', 'Adrefs_spider', 'Adrefs_spider', '200071', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('109', 'AndroidDownloadManager', 'AndroidDownloadManager', '200072', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('110', 'XenderTop', 'XenderTop', '200073', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('111', 'microsoft_update', 'microsoft_update', '200074', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('112', 'Youku', 'Youku', '200075', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('113', 'Google_spider', 'Google_spider', '200076', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('114', 'Microsoft User Experience and Telemetry Components', 'Microsoft User Experience and Telemetry Components', '200077', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('115', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', '200078', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('116', 'Microsoft ncsi', 'Microsoft ncsi', '200079', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('117', 'Microsoft Privacy Collection Service', 'Microsoft Privacy Collection Service', '200080', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('118', 'uTorrent', 'uTorrent', '200081', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('119', 'Edge', 'Edge', '200082', '', '', '0', '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('120', 'Lenovo Music Store', 'Lenovo Music Store', '200083', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('121', 'LieBao', 'LieBao', '200084', '', '', '0', '0000000017', 'Browser', '');
+INSERT INTO `code_app_dic` VALUES ('122', 'majesti_spider', 'majesti_spider', '200085', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('123', 'DotBot', 'DotBot', '200086', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('124', 'Millet Update', 'Millet Update', '200087', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('125', 'Today’s headlines', 'Today’s headlines', '200088', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('126', 'Microsoft live', 'Microsoft live', '200089', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('127', 'Microsoft OneNote', 'Microsoft OneNote', '200090', '', '', '0', '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('128', 'Bing_spider', 'Bing_spider', '200091', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('129', 'Apple location service', 'Apple location service', '200092', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('130', 'Kuaishou', 'Kuaishou', '200093', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('131', 'LeTV video', 'LeTV video', '200094', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('132', 'QQ', 'QQ', '200095', '', '', '0', '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('133', 'Wps', 'Wps', '200096', '', '', '0', '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('134', 'kugou music', 'kugou music', '200097', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('135', 'kuwo music', 'kuwo music', '200098', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('136', '360_common_service', '360_common_service', '200099', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('137', 'Camera360', 'Camera360', '200100', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('138', 'Outlook', 'Outlook', '200101', '', '', '0', '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('139', 'zhihu', 'zhihu', '200102', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('140', 'Tencent video', 'Tencent video', '200103', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('141', 'funshion', 'funshion', '200104', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('142', 'QQ shared service', 'QQ shared service', '200105', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('143', 'Microsoft wdcp service', 'Microsoft wdcp service', '200106', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('144', 'Microsoft Media_center_pc', 'Microsoft Media_center_pc', '200107', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('145', '360 phone helper', '360 phone helper', '200108', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('146', 'Kingsoft Public Service', 'Kingsoft Public Service', '200109', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('147', 'Ios_wifi connection', 'Ios_wifi connection', '200110', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('148', 'Teamviewer', 'Teamviewer', '200111', '', '', '0', '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('149', 'Baidu cloud disk', 'Baidu cloud disk', '200112', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('150', 'Tencent News', 'Tencent News', '200113', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('151', 'Baidu map', 'Baidu map', '200114', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('152', 'Panda TV', 'Panda TV', '200115', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('153', 'Thunder', 'Thunder', '200116', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('154', 'NetEase cloud music', 'NetEase cloud music', '200117', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('155', 'QQ music', 'QQ music', '200118', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('156', 'Itools', 'Itools', '200119', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('157', 'Jingdong Finance', 'Jingdong Finance', '200120', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('158', 'PycURL', 'PycURL', '200121', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('159', 'Yahoo_Spider', 'Yahoo_Spider', '200122', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('160', 'Himalayan FM', 'Himalayan FM', '200123', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('161', 'Youdao_dict', 'Youdao_dict', '200124', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('162', 'Microsoft_spynet', 'Microsoft_spynet', '200125', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('163', 'proximicBot', 'proximicBot', '200126', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('164', 'Foxit_reader', 'Foxit_reader', '200127', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('165', 'Sohu Video', 'Sohu Video', '200128', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('166', 'BlueStacks', 'BlueStacks', '200129', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('167', 'Beauty group', 'Beauty group', '200130', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('168', 'Kmplayer', 'Kmplayer', '200131', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('169', 'TaoBao', 'TaoBao', '200132', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('170', 'Exabot', 'Exabot', '200133', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('171', 'Ubuntu_apt_get', 'Ubuntu_apt_get', '200134', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('172', 'Oriental Fortune', 'Oriental Fortune', '200135', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('173', 'JikeSpider', 'JikeSpider', '200136', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('174', 'Itunesstored', 'Itunesstored', '200137', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('175', 'GAD map', 'GAD map', '200138', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('176', 'ifeng News', 'ifeng News', '200139', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('177', 'BoardReaderBot', 'BoardReaderBot', '200140', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('178', 'AmazonBot', 'AmazonBot', '200141', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('179', 'Alipay', 'Alipay', '200142', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('180', 'Alipay security controls', 'Alipay security controls', '200143', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('181', '360 security guards (antivirus)', '360 security guards (antivirus)', '200144', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('182', '360 logon service', '360 logon service', '200145', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('183', 'BLP_bbot', 'BLP_bbot', '200146', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('184', 'Keep', 'Keep', '200147', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('185', 'WiFi universal key', 'WiFi universal key', '200148', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('186', 'Baidu Music', 'Baidu Music', '200149', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('187', 'Vip.com', 'Vip.com', '200150', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('188', 'JD.COM', 'JD.COM', '200151', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('189', 'sina', 'sina', '200152', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('190', 'youdao Public service', 'youdao Public service', '200153', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('191', 'Jinshan public service', 'Jinshan public service', '200154', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('192', 'Baidu guard', 'Baidu guard', '200155', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('193', 'Apple system update service', 'Apple system update service', '200156', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('194', 'momo', 'momo', '200157', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('195', 'CNZZ statistics', 'CNZZ statistics', '200158', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('196', 'Microsoft one_drive service', 'Microsoft one_drive service', '200159', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('197', 'WindowsStore', 'WindowsStore', '200160', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('198', 'duba', 'duba', '200161', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('199', 'Baidu HD', 'Baidu HD', '200162', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('200', 'qunar', 'qunar', '200163', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('201', 'qianxunyingshi', 'qianxunyingshi', '200164', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('202', 'KuaiyanKanShuSpider', 'KuaiyanKanShuSpider', '200165', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('203', 'Mail.RU_Bot_Robot', 'Mail.RU_Bot_Robot', '200166', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('204', 'MpCommunication', 'MpCommunication', '200167', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('205', 'Weather forecast', 'Weather forecast', '200168', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('206', 'Ltx71_spider', 'Ltx71_spider', '200169', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('207', 'Ia_archiver', 'Ia_archiver', '200170', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('208', 'Ali Wangwang', 'Ali Wangwang', '200171', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('209', 'UC home page (information)', 'UC home page (information)', '200172', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('210', 'Yeti', 'Yeti', '200173', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('211', 'Rtorrent', 'Rtorrent', '200174', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('212', 'QQPim', 'QQPim', '200175', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('213', 'NetEase News', 'NetEase News', '200176', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('214', 'sina sports', 'sina sports', '200177', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('215', 'Exchange of foreign exchange', 'Exchange of foreign exchange', '200178', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('216', 'BlueStacks update', 'BlueStacks update', '200179', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('217', 'youdao', 'youdao', '200180', '', '', '0', '0000000019', 'Collaborative', '');
+INSERT INTO `code_app_dic` VALUES ('218', 'QQ computer housekeeper', 'QQ computer housekeeper', '200181', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('219', 'UltraEdit', 'UltraEdit', '200182', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('220', 'EasouSpider', 'EasouSpider', '200183', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('221', 'QQ Zone', 'QQ Zone', '200184', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('222', 'Foxmail', 'Foxmail', '200185', '', '', '0', '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('223', 'Pingdom.com', 'Pingdom.com', '200186', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('224', 'Sina Finance', 'Sina Finance', '200187', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('225', 'QQ one key login', 'QQ one key login', '200188', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('226', 'Norton', 'Norton', '200189', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('227', 'Baidu waimai', 'Baidu waimai', '200190', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('228', 'YaCy', 'YaCy', '200191', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('229', 'Haitong e Haitong', 'Haitong e Haitong', '200192', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('230', 'AdsBot-Google', 'AdsBot-Google', '200193', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('231', 'Guangfa Yijin', 'Guangfa Yijin', '200194', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('232', 'Ali security program', 'Ali security program', '200195', '', '', '0', '0000000022', 'EncryptedTraffic', '');
+INSERT INTO `code_app_dic` VALUES ('233', 'Cliqzbot', 'Cliqzbot', '200196', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('234', 'Mobike', 'Mobike', '200197', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('235', 'Kingsoft PowerWord', 'Kingsoft PowerWord', '200198', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('236', 'meishij', 'meishij', '200199', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('237', 'CCB mobile bank', 'CCB mobile bank', '200200', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('238', 'Mega SkyDrive', 'Mega SkyDrive', '200201', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('239', 'douyu', 'douyu', '200202', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('240', 'Flamingo_SearchEngine', 'Flamingo_SearchEngine', '200203', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('241', 'Lenovo shop', 'Lenovo shop', '200204', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('242', 'Uc news', 'Uc news', '200205', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('243', 'Volcano small video', 'Volcano small video', '200206', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('244', 'Meitu Xiu Xiu', 'Meitu Xiu Xiu', '200207', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('245', 'Kaspersky', 'Kaspersky', '200208', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('246', 'AcFun', 'AcFun', '200209', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('247', 'Slackbot', 'Slackbot', '200210', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('248', 'Snowball', 'Snowball', '200211', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('249', 'SafeDNSBot', 'SafeDNSBot', '200212', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('250', 'Great wisdom', 'Great wisdom', '200213', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('251', 'Mailbox of NetEase', 'Mailbox of NetEase', '200214', '', '', '0', '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('252', 'peasecod', 'peasecod', '200215', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('253', 'Gold ten data', 'Gold ten data', '200216', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('254', 'Linkdexbot', 'Linkdexbot', '200217', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('255', 'Sina blog', 'Sina blog', '200218', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('256', 'Ginger', 'Ginger', '200219', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('257', 'Microsoft activation verification', 'Microsoft activation verification', '200220', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('258', 'Facebot', 'Facebot', '200221', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('259', 'Dangdang', 'Dangdang', '200222', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('260', 'QQ cyclone', 'QQ cyclone', '200223', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('261', 'Wp_feedbot', 'Wp_feedbot', '200224', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('262', 'ICBC', 'ICBC', '200225', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('263', 'Public service', 'Public service', '200226', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('264', 'Magpie-crawler', 'Magpie-crawler', '200227', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('265', 'xianyu', 'xianyu', '200228', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('266', 'GetIntentBot', 'GetIntentBot', '200229', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('267', 'Papers', 'Papers', '200230', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('268', 'NewsGator', 'NewsGator', '200231', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('269', 'RankFlexBot', 'RankFlexBot', '200232', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('270', 'rogerbot', 'rogerbot', '200233', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('271', 'SurdotlyBot', 'SurdotlyBot', '200234', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('272', 'CheckMarkNetworkBot', 'CheckMarkNetworkBot', '200235', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('273', 'pyspider', 'pyspider', '200236', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('274', 'spbot', 'spbot', '200237', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('275', 'Huaxia Bank', 'Huaxia Bank', '200238', '', '', '0', '0000000001', 'Finance', '');
+INSERT INTO `code_app_dic` VALUES ('276', 'glory of king', 'glory of king', '200239', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('277', 'msnbot-Products', 'msnbot-Products', '200240', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('278', 'archive.org', 'archive.org', '200241', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('279', 'applebot', 'applebot', '200242', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('280', 'alicall', 'alicall', '200243', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('281', 'Superfeedrbot', 'Superfeedrbot', '200244', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('282', 'QQ mailbox', 'QQ mailbox', '200245', '', '', '0', '0000000008', 'Email', '');
+INSERT INTO `code_app_dic` VALUES ('283', 'coccocbot-webBot', 'coccocbot-webBot', '200246', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('284', 'dingtalk', 'dingtalk', '200247', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('285', 'Dragonbot', 'Dragonbot', '200248', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('286', 'Mediatoolkitbot', 'Mediatoolkitbot', '200249', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('287', 'bitcomet', 'bitcomet', '200250', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('288', 'filetopia', 'filetopia', '200251', '', '', '0', '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('289', 'flashget', 'flashget', '200252', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('290', 'oracle', 'oracle', '200253', '', '', '0', '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('291', 'yyvoice', 'yyvoice', '200254', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('292', 'imesh', 'imesh', '200255', '', '', '0', '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('293', 'citrix', 'citrix', '200256', '', '', '0', '0000000011', 'NETWORK', '');
+INSERT INTO `code_app_dic` VALUES ('294', 'corba', 'corba', '200257', '', '', '0', '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('295', 'dameware', 'dameware', '200258', '', '', '0', '0000000013', 'RemoteAccess', '');
+INSERT INTO `code_app_dic` VALUES ('296', 'pcanywhere', 'pcanywhere', '200259', '', '', '0', '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('297', 'qq_rdp', 'qq_rdp', '200260', '', '', '0', '0000000013', 'RemoteAccess', '');
+INSERT INTO `code_app_dic` VALUES ('298', 'poco', 'poco', '200261', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('299', 'qqdownload', 'qqdownload', '200262', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('300', 'applejuice', 'applejuice', '200263', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('301', 'stealthnet', 'stealthnet', '200264', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('302', 'winmx', 'winmx', '200265', '', '', '0', '0000000007', 'Download-FileTransfer-FileSharing', '');
+INSERT INTO `code_app_dic` VALUES ('303', 'emule', 'emule', '200266', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('304', 'emule_decrypt', 'emule_decrypt', '200267', '', '', '0', '0000000007', 'DataTransfer', '');
+INSERT INTO `code_app_dic` VALUES ('305', 'qvod', 'qvod', '200268', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('306', 'mysql', 'mysql', '200269', '', '', '0', '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('307', 'icecast', 'icecast', '200270', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('308', 'mms', 'mms', '200271', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('309', 'pplive', 'pplive', '200272', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('310', 'ppstream', 'ppstream', '200273', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('311', 'sopcast', 'sopcast', '200274', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('312', 'tvants', 'tvants', '200275', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('313', 'sohutv', 'sohutv', '200276', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('314', 'iku', 'iku', '200277', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('315', 'qqlive', 'qqlive', '200278', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('316', 'rsync', 'rsync', '200279', '', '', '0', '0000000007', 'DATA_TRANSFER', '');
+INSERT INTO `code_app_dic` VALUES ('317', 'xunyou_speedup', 'xunyou_speedup', '200280', '', '', '0', '0000000023', 'Tools', '');
+INSERT INTO `code_app_dic` VALUES ('318', 'msn', 'msn', '200281', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('319', 'popo', 'popo', '200282', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('320', 'sinauc', 'sinauc', '200283', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('321', 'qqbattle', 'qqbattle', '200284', '', '', '0', '0000000014', 'SocilNetwork', '');
+INSERT INTO `code_app_dic` VALUES ('322', 'quake', 'quake', '200285', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('323', 'xbox', 'xbox', '200286', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('324', 'wow', 'wow', '200287', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('325', 'lol', 'lol', '200288', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('326', 'PostgreSQL', 'PostgreSQL', '200289', '', '', '0', '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('327', 'TDS', 'TDS', '200290', '', '', '0', null, '', '');
+INSERT INTO `code_app_dic` VALUES ('328', 'VMware', 'VMware', '200291', '', '', '0', '0000000013', 'REMOTE_ACCESS', '');
+INSERT INTO `code_app_dic` VALUES ('329', 'Kontiki', 'Kontiki', '200292', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('330', 'OpenFT', 'OpenFT', '200293', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('331', 'Gnutella', 'Gnutella', '200294', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('332', 'eDonkey', 'eDonkey', '200295', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('333', 'AVI', 'AVI', '200296', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('334', 'RealMedia', 'RealMedia', '200297', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('335', 'Windowsmedia', 'Windowsmedia', '200298', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('336', 'MOVE', 'MOVE', '200299', '', '', '0', null, '', '');
+INSERT INTO `code_app_dic` VALUES ('337', 'Feidian', 'Feidian', '200300', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('338', 'Zattoo', 'Zattoo', '200301', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('339', 'SHOUTCast', 'SHOUTCast', '200302', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('340', 'TVUplayer', 'TVUplayer', '200303', '', '', '0', '0000000010', 'MEDIA', '');
+INSERT INTO `code_app_dic` VALUES ('341', 'VeohTV', 'VeohTV', '200304', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('342', 'Soulseek', 'Soulseek', '200305', '', '', '0', '0000000007', 'DOWNLOAD_FT', '');
+INSERT INTO `code_app_dic` VALUES ('343', 'GaduGadu', 'GaduGadu', '200306', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('344', 'Oscar', 'Oscar', '200307', '', '', '0', '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('345', 'Yahoo', 'Yahoo', '200308', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('346', 'Battlefield', 'Battlefield', '200309', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('347', 'Halflife2', 'Halflife2', '200310', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('348', 'World of Warcraft', 'World of Warcraft', '200311', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('349', 'USENET', 'USENET', '200312', '', '', '0', '0000000004', 'WEB', '');
+INSERT INTO `code_app_dic` VALUES ('350', 'AFP', 'AFP', '200313', '', '', '0', '0000000007', 'DATA_TRANSFER', '');
+INSERT INTO `code_app_dic` VALUES ('351', 'Truphone', 'Truphone', '200314', '', '', '0', '0000000021', 'VOIP', '');
+INSERT INTO `code_app_dic` VALUES ('352', 'Armagetron', 'Armagetron', '200315', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('353', 'CrossFire', 'CrossFire', '200316', '', '', '0', '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('354', 'Dofus', 'Dofus', '200317', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('355', 'Fiesta', 'Fiesta', '200318', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('356', 'Florensia', 'Florensia', '200319', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('357', 'Guildwars', 'Guildwars', '200320', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('358', 'HTTP Application Activesync', 'HTTP Application Activesync', '200321', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('359', 'MapleStory', 'MapleStory', '200322', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('360', 'msSQL', 'msSQL', '200323', '', '', '0', '0000000006', 'Database', '');
+INSERT INTO `code_app_dic` VALUES ('361', 'WARCRAFT3', 'WARCRAFT3', '200324', '', '', '0', '0000000009', 'GAME', '');
+INSERT INTO `code_app_dic` VALUES ('362', 'World of Kung Fu', 'World of Kung Fu', '200325', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('363', 'MEEBO', 'MEEBO', '200326', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('364', 'DropBox', 'DropBox', '200327', '', '', '0', '0000000003', 'CLOUD', '');
+INSERT INTO `code_app_dic` VALUES ('365', 'HTTP Proxy', 'HTTP Proxy', '200328', '', '', '0', '0000000011', 'Network', '');
+INSERT INTO `code_app_dic` VALUES ('366', 'Netflix', 'Netflix', '200329', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('367', 'CitrixOnline/GotoMeeting', 'CitrixOnline/GotoMeeting', '200330', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('368', 'Webex', 'Webex', '200331', '', '', '0', '0000000019', 'COLLABORATIVE', '');
+INSERT INTO `code_app_dic` VALUES ('369', 'Apple iCloud', 'Apple iCloud', '200332', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('370', 'Apple iTunes', 'Apple iTunes', '200333', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('371', 'WindowsUpdate', 'WindowsUpdate', '200334', '', '', '0', '0000000015', 'SoftwareUpdate', '');
+INSERT INTO `code_app_dic` VALUES ('372', 'Tuenti', 'Tuenti', '200335', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('373', 'LotusNotes', 'LotusNotes', '200336', '', '', '0', '0000000019', 'COLLABORATIVE', '');
+INSERT INTO `code_app_dic` VALUES ('374', 'RemoteScan', 'RemoteScan', '200337', '', '', '0', '0000000011', 'NETWORK', '');
+INSERT INTO `code_app_dic` VALUES ('375', 'Spotify', 'Spotify', '200338', '', '', '0', '0000000018', 'STREAMING', '');
+INSERT INTO `code_app_dic` VALUES ('376', 'CiscoVPN', 'CiscoVPN', '200339', '', '', '0', '0000000020', 'VPN', '');
+INSERT INTO `code_app_dic` VALUES ('377', 'TeamSpeak', 'TeamSpeak', '200340', '', '', '0', '0000000002', 'CHAT', '');
+INSERT INTO `code_app_dic` VALUES ('378', 'UbuntuONE', 'UbuntuONE', '200341', '', '', '0', '0000000003', 'CLOUD', '');
+INSERT INTO `code_app_dic` VALUES ('379', 'CNN', 'CNN', '200342', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('380', 'Wikipedia', 'Wikipedia', '200343', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('381', 'Collectd', 'Collectd', '200344', '', '', '0', '0000000018', 'SYSTEM_OS', '');
+INSERT INTO `code_app_dic` VALUES ('382', 'Redis', 'Redis', '200345', '', '', '0', '0000000006', 'DATABASE', '');
+INSERT INTO `code_app_dic` VALUES ('383', 'ZeroMQ', 'ZeroMQ', '200346', '', '', '0', '0000000014', 'RPC', '');
+INSERT INTO `code_app_dic` VALUES ('384', 'Stracraft', 'Stracraft', '200347', '', '', '0', '0000000009', 'Game', '');
+INSERT INTO `code_app_dic` VALUES ('385', 'Simet', 'Simet', '200348', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('386', 'OpenSignal', 'OpenSignal', '200349', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('387', '99Taxi', '99Taxi', '200350', '', '', '0', '0000000004', 'Web', '');
+INSERT INTO `code_app_dic` VALUES ('388', 'GloboTV', 'GloboTV', '200351', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('389', 'Deezer', 'Deezer', '200352', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('390', 'Microsoft cloud services', 'Microsoft cloud services', '200353', '', '', '0', '0000000003', 'Cloud', '');
+INSERT INTO `code_app_dic` VALUES ('391', 'Twitch', 'Twitch', '200354', '', '', '0', '0000000010', 'Media', '');
+INSERT INTO `code_app_dic` VALUES ('392', 'KakaoTalk Voice and Chat', 'KakaoTalk Voice and Chat', '200355', '', '', '0', '0000000002', 'Chat', '');
+INSERT INTO `code_app_dic` VALUES ('393', '360.cn', '360.cn', '200357', '', '', '0', '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('394', '360Safeguard_P2P', '360Safeguard_P2P', '200358', '', '', '0', '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('395', '4D', '4D', '200359', '', '', '0', '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('396', 'acercloud', 'acercloud', '200360', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('397', 'acestream', 'acestream', '200361', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('398', 'airdroid', 'airdroid', '200362', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('399', 'airmedia', 'airmedia', '200363', '', '', '0', '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('400', 'akamai', 'akamai', '200364', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('401', 'akamai_transfer', 'akamai_transfer', '200365', '', '', '0', '0000000027', '', 'CDN');
+INSERT INTO `code_app_dic` VALUES ('402', 'amanda', 'amanda', '200366', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('403', 'amp', 'amp', '200367', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('404', 'Appear.in', 'Appear.in', '200368', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('405', 'ares', 'ares', '200369', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('406', 'ARKSurvivalEvolved', 'ARKSurvivalEvolved', '200370', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('407', 'ARMA3Server', 'ARMA3Server', '200371', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('408', 'ARMA2Server', 'ARMA2Server', '200372', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('409', 'AvastSecureDNS', 'AvastSecureDNS', '200373', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('410', 'azureus', 'azureus', '200374', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('411', 'backweb', 'backweb', '200375', '', '', '0', '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('412', 'BadBaidu', 'BadBaidu', '200376', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('413', 'baofeng', 'baofeng', '200377', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('414', 'bitext', 'bitext', '200378', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('415', 'BlackDesertOnline', 'BlackDesertOnline', '200379', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('416', 'Blizzard', 'Blizzard', '200380', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('417', 'bmdp', 'bmdp', '200381', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('418', 'bncs', 'bncs', '200382', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('419', 'btdht', 'btdht', '200383', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('420', 'btsync', 'btsync', '200384', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('421', 'cacaoweb', 'cacaoweb', '200385', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('422', 'chatango', 'chatango', '200386', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('423', 'chivalry', 'chivalry', '200387', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('424', 'cirn', 'cirn', '200388', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('425', 'cisco_sslvpn', 'cisco_sslvpn', '200389', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('426', 'clash_of_clans', 'clash_of_clans', '200390', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('427', 'Clubbox', 'Clubbox', '200391', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('428', 'cod', 'cod', '200392', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('429', 'cod_waw', 'cod_waw', '200393', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('430', 'combatarms', 'combatarms', '200394', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('431', 'combatarms_p2p', 'combatarms_p2p', '200395', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('432', 'ConquerOnline', 'ConquerOnline', '200396', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('433', 'Counterstrike1.6', 'Counterstrike1.6', '200397', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('434', 'Checkpoint_RDP', 'Checkpoint_RDP', '200398', '', '', '0', '0000000023', '', 'KEY_EXCHANGE');
+INSERT INTO `code_app_dic` VALUES ('435', 'crashplan', 'crashplan', '200399', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('436', 'crossout', 'crossout', '200400', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('437', 'cryptic', 'cryptic', '200401', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('438', 'cvs', 'cvs', '200402', '', '', '0', '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('439', 'dash', 'dash', '200403', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('440', 'dc', 'dc', '200404', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('441', 'db2', 'db2', '200405', '', '', '0', '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('442', 'dell_backup', 'dell_backup', '200406', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('443', 'Demonware', 'Demonware', '200407', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('444', 'destiny', 'destiny', '200408', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('445', 'diablo2', 'diablo2', '200409', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('446', 'isakmp', 'isakmp', '200410', '', '', '0', '0000000023', '', 'KEY_EXCHANGE');
+INSERT INTO `code_app_dic` VALUES ('447', 'jedi', 'jedi', '200411', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('448', 'jedi_academy', 'jedi_academy', '200412', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('449', 'jx3online', 'jx3online', '200413', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('450', 'kankan', 'kankan', '200414', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('451', 'kaseya', 'kaseya', '200415', '', '', '0', '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('452', 'kazaa', 'kazaa', '200416', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('453', 'kuaibo', 'kuaibo', '200417', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('454', 'lifeforge', 'lifeforge', '200418', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('455', 'linkproof', 'linkproof', '200419', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('456', 'litecoin', 'litecoin', '200420', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('457', 'maxicloud', 'maxicloud', '200421', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('458', 'merakicloud', 'merakicloud', '200422', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('459', 'minecraft', 'minecraft', '200423', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('460', 'mongo', 'mongo', '200424', '', '', '0', '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('461', 'msoffice_mac', 'msoffice_mac', '200425', '', '', '0', '0000000011', '', 'BROADCAST');
+INSERT INTO `code_app_dic` VALUES ('462', 'munin', 'munin', '200426', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('463', 'mzinga', 'mzinga', '200427', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('464', 'n2ping', 'n2ping', '200428', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('465', 'ncsoft', 'ncsoft', '200429', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('466', 'netcat_cctv', 'netcat_cctv', '200430', '', '', '0', '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('467', 'neverwinter', 'neverwinter', '200431', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('468', 'newerth', 'newerth', '200432', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('469', 'nintendo', 'nintendo', '200433', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('470', 'nntps', 'nntps', '200434', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('471', 'noction', 'noction', '200435', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('472', 'noe', 'noe', '200436', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('473', 'norton_backup', 'norton_backup', '200437', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('474', 'omegle', 'omegle', '200438', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('475', 'opaserv', 'opaserv', '200439', '', '', '0', '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('476', 'orbit', 'orbit', '200440', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('477', 'ourworld', 'ourworld', '200441', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('478', 'overwatch', 'overwatch', '200442', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('479', 'diablo3', 'diablo3', '200443', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('480', 'dianping', 'dianping', '200444', '', '', '0', '0000000027', '', 'MOBILE_APP');
+INSERT INTO `code_app_dic` VALUES ('481', 'dianshijia', 'dianshijia', '200445', '', '', '0', '0000000010', '', 'P2PTV');
+INSERT INTO `code_app_dic` VALUES ('482', 'discord', 'discord', '200446', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('483', 'dogecoin', 'dogecoin', '200447', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('484', 'dota2', 'dota2', '200448', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('485', 'douyu_chat', 'douyu_chat', '200449', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('486', 'doyo', 'doyo', '200450', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('487', 'driveshare', 'driveshare', '200451', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('488', 'dtls', 'dtls', '200452', '', '', '0', '0000000022', '', 'ENCRYPT');
+INSERT INTO `code_app_dic` VALUES ('489', 'dueling_network', 'dueling_network', '200453', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('490', 'dvrns', 'dvrns', '200454', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('491', 'dxp', 'dxp', '200455', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('492', 'ea_games', 'ea_games', '200456', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('493', 'epson', 'epson', '200457', '', '', '0', '0000000011', '', 'PRINTING');
+INSERT INTO `code_app_dic` VALUES ('494', 'eso', 'eso', '200458', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('495', 'etrust', 'etrust', '200459', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('496', 'fasp', 'fasp', '200460', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('497', 'finalfantasy_xiv', 'finalfantasy_xiv', '200461', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('498', 'flash', 'flash', '200462', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('499', 'fliggy', 'fliggy', '200463', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('500', 'fortinet', 'fortinet', '200464', '', '', '0', '0000000025', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('501', 'foscam', 'foscam', '200465', '', '', '0', '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('502', 'freechal', 'freechal', '200466', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('503', 'fring', 'fring', '200467', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('504', 'fuckcoin', 'fuckcoin', '200468', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('505', 'gamespy', 'gamespy', '200469', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('506', 'gangsofspace', 'gangsofspace', '200470', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('507', 'garena', 'garena', '200471', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('508', 'gearsofwar', 'gearsofwar', '200472', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('509', 'giop', 'giop', '200473', '', '', '0', '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('510', 'git', 'git', '200474', '', '', '0', '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('511', 'glupteba', 'glupteba', '200475', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('512', 'gnutella2', 'gnutella2', '200476', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('513', 'gokuchat', 'gokuchat', '200477', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('514', 'google_hangouts', 'google_hangouts', '200478', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('515', 'gotomeeting', 'gotomeeting', '200479', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('516', 'gprs_tunnel', 'gprs_tunnel', '200480', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('517', 'graal_online_era', 'graal_online_era', '200481', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('518', 'gsm', 'gsm', '200482', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('519', 'h1z1', 'h1z1', '200483', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('520', 'halo_online', 'halo_online', '200484', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('521', 'hamachi', 'hamachi', '200485', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('522', 'harveys', 'harveys', '200486', '', '', '0', '0000000007', '', 'FILES');
+INSERT INTO `code_app_dic` VALUES ('523', 'hearthstone', 'hearthstone', '200487', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('524', 'heroes_generals', 'heroes_generals', '200488', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('525', 'hots', 'hots', '200489', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('526', 'icp', 'icp', '200490', '', '', '0', '0000000023', '', 'CACHING');
+INSERT INTO `code_app_dic` VALUES ('527', 'icq', 'icq', '200491', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('528', 'id', 'id', '200492', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('529', 'idrive_sync', 'idrive_sync', '200493', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('530', 'ipmsg', 'ipmsg', '200494', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('531', 'ipop', 'ipop', '200495', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('532', 'ipsharkk', 'ipsharkk', '200496', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('533', 'palringo', 'palringo', '200497', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('534', 'paltalk', 'paltalk', '200498', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('535', 'pando', 'pando', '200499', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('536', 'panipani', 'panipani', '200500', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('537', 'pdbox', 'pdbox', '200501', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('538', 'planetside2', 'planetside2', '200502', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('539', 'portmap_rpc', 'portmap_rpc', '200503', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('540', 'ps4_remoteplay', 'ps4_remoteplay', '200504', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('541', 'psn', 'psn', '200505', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('542', 'psn_store', 'psn_store', '200506', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('543', 'punkbuster', 'punkbuster', '200507', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('544', 'pyzor', 'pyzor', '200508', '', '', '0', '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('545', 'qcloud_ilvb', 'qcloud_ilvb', '200509', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('546', 'qqpcmgr', 'qqpcmgr', '200510', '', '', '0', '0000000026', '', 'SECURITY');
+INSERT INTO `code_app_dic` VALUES ('547', 'ramsey_dash', 'ramsey_dash', '200511', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('548', 'razor', 'razor', '200512', '', '', '0', '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('549', 'rbls', 'rbls', '200513', '', '', '0', '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('550', 'realvnc', 'realvnc', '200514', '', '', '0', '0000000013', '', 'REMOTE');
+INSERT INTO `code_app_dic` VALUES ('551', 'relay', 'relay', '200515', '', '', '0', '0000000011', '', 'NAT');
+INSERT INTO `code_app_dic` VALUES ('552', 'revolver_nblbt', 'revolver_nblbt', '200516', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('553', 'rising_storm', 'rising_storm', '200517', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('554', 'roblox', 'roblox', '200518', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('555', 'robocraft', 'robocraft', '200519', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('556', 'rpc_scan', 'rpc_scan', '200520', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('557', 'runescape', 'runescape', '200521', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('558', 'sanandreas', 'sanandreas', '200522', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('559', 'saprouter', 'saprouter', '200523', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('560', 'secondlife', 'secondlife', '200524', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('561', 'serialnumberd', 'serialnumberd', '200525', '', '', '0', '0000000011', '', 'SERVICES');
+INSERT INTO `code_app_dic` VALUES ('562', 'silkroadonline', 'silkroadonline', '200526', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('563', 'smite', 'smite', '200527', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('564', 'snapvpn', 'snapvpn', '200528', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('565', 'spamfighter', 'spamfighter', '200529', '', '', '0', '0000000024', '', 'ANTISPAM');
+INSERT INTO `code_app_dic` VALUES ('566', 'speedin', 'speedin', '200530', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('567', 'speedtest', 'speedtest', '200531', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('568', 'spotify_broadcast', 'spotify_broadcast', '200532', '', '', '0', '0000000011', '', 'BROADCAST');
+INSERT INTO `code_app_dic` VALUES ('569', 'sqlexp', 'sqlexp', '200533', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('570', 'starcitizen', 'starcitizen', '200534', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('571', 'starcraft', 'starcraft', '200535', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('572', 'starleaf', 'starleaf', '200536', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('573', 'steam_friends', 'steam_friends', '200537', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('574', 'storm_worm', 'storm_worm', '200538', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('575', 'stratum', 'stratum', '200539', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('576', 'supl', 'supl', '200540', '', '', '0', '0000000027', '', 'LOCATION');
+INSERT INTO `code_app_dic` VALUES ('577', 'svn', 'svn', '200541', '', '', '0', '0000000023', '', 'RCS');
+INSERT INTO `code_app_dic` VALUES ('578', 'talesrunner', 'talesrunner', '200542', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('579', 'tankix', 'tankix', '200543', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('580', 'telecomkey', 'telecomkey', '200544', '', '', '0', '0000000021', '', 'TELCO');
+INSERT INTO `code_app_dic` VALUES ('581', 'telnet_exploit', 'telnet_exploit', '200545', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('582', 'tencent_games', 'tencent_games', '200546', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('583', 'tenfivecoin', 'tenfivecoin', '200547', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('584', 'tensafe', 'tensafe', '200548', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('585', 'tera', 'tera', '200549', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('586', 'tetrisonline', 'tetrisonline', '200550', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('587', 'thq', 'thq', '200551', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('588', 'tip', 'tip', '200552', '', '', '0', '0000000001', '', 'ECOMMERCE');
+INSERT INTO `code_app_dic` VALUES ('589', 'torchlight2', 'torchlight2', '200553', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('590', 'traceroute', 'traceroute', '200554', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('591', 'trackmania', 'trackmania', '200555', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('592', 'tremulous', 'tremulous', '200556', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('593', 'trion', 'trion', '200557', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('594', 'trojan_zeroaccess', 'trojan_zeroaccess', '200558', '', '', '0', '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('595', 'twitcasting', 'twitcasting', '200559', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('596', 'twitch_irc', 'twitch_irc', '200560', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('597', 'ubisoft_games', 'ubisoft_games', '200561', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('598', 'umeye', 'umeye', '200562', '', '', '0', '0000000019', '', 'IPCAMERAS');
+INSERT INTO `code_app_dic` VALUES ('599', 'vainglory', 'vainglory', '200563', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('600', 'ventrilo', 'ventrilo', '200564', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('601', 'vivox', 'vivox', '200565', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('602', 'vodlocker', 'vodlocker', '200566', '', '', '0', '0000000004', '', 'WEB');
+INSERT INTO `code_app_dic` VALUES ('603', 'vpnrobot', 'vpnrobot', '200567', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('604', 'vpn_unlimited', 'vpn_unlimited', '200568', '', '', '0', '0000000020', '', 'TUNNELLING');
+INSERT INTO `code_app_dic` VALUES ('605', 'vxworks_exploit', 'vxworks_exploit', '200569', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('606', 'warthunder', 'warthunder', '200570', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('607', 'weblogic', 'weblogic', '200571', '', '', '0', '0000000006', '', 'DATABASES');
+INSERT INTO `code_app_dic` VALUES ('608', 'web_junk', 'web_junk', '200572', '', '', '0', '0000000028', '', 'MIXED');
+INSERT INTO `code_app_dic` VALUES ('609', 'weiqi', 'weiqi', '200573', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('610', 'win_message', 'win_message', '200574', '', '', '0', '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('611', 'wizard101', 'wizard101', '200575', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('612', 'wns', 'wns', '200576', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('613', 'wolf_et', 'wolf_et', '200577', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('614', 'worm_22105', 'worm_22105', '200578', '', '', '0', '0000000024', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('615', 'wuala', 'wuala', '200579', '', '', '0', '0000000003', '', 'CLOUD');
+INSERT INTO `code_app_dic` VALUES ('616', 'xfire_p2p', 'xfire_p2p', '200580', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('617', 'xiami', 'xiami', '200581', '', '', '0', '0000000016', '', 'STREAMING');
+INSERT INTO `code_app_dic` VALUES ('618', 'xunlei', 'xunlei', '200582', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('619', 'xunlei_accel', 'xunlei_accel', '200583', '', '', '0', '0000000007', '', 'P2P');
+INSERT INTO `code_app_dic` VALUES ('620', 'xunlei_jsq', 'xunlei_jsq', '200584', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('621', 'xunyou', 'xunyou', '200585', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('622', 'xymon', 'xymon', '200586', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('623', 'yahoo_error', 'yahoo_error', '200587', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('624', 'yahoo_games', 'yahoo_games', '200588', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('625', 'yahoo_webcam', 'yahoo_webcam', '200589', '', '', '0', '0000000002', '', 'CHAT');
+INSERT INTO `code_app_dic` VALUES ('626', 'zabbix', 'zabbix', '200590', '', '', '0', '0000000011', '', 'MONITORING');
+INSERT INTO `code_app_dic` VALUES ('627', 'zeroaccess', 'zeroaccess', '200591', '', '', '0', '0000000025', '', 'MALWARE');
+INSERT INTO `code_app_dic` VALUES ('628', 'zoom', 'zoom', '200592', '', '', '0', '0000000021', '', 'VOIP');
+INSERT INTO `code_app_dic` VALUES ('629', 'zynga', 'zynga', '200593', '', '', '0', '0000000009', '', 'GAMING');
+INSERT INTO `code_app_dic` VALUES ('630', 'ICMP_Flood', 'ICMP_Flood', '200594', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('631', 'IPFRAG_Flood', 'IPFRAG_Flood', '200595', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('632', 'SYN_Flood', 'SYN_Flood', '200596', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('633', 'ACK_Flood', 'ACK_Flood', '200597', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('634', 'RST_Flood', 'RST_Flood', '200598', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('635', 'DNS_Flood', 'DNS_Flood', '200599', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('636', 'NTP_Flood', 'NTP_Flood', '200600', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('637', 'UDP_Flood', 'UDP_Flood', '200601', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('638', 'HTTP_Flood', 'HTTP_Flood', '200602', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('639', 'SSDP_Flood', 'SSDP_Flood', '200603', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('640', 'baiduP2P', 'baiduP2P', '200604', '', '', '0', '0000000007', '', '');
+INSERT INTO `code_app_dic` VALUES ('641', 'CSGlobalOffensive', 'CSGlobalOffensive', '200605', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('642', 'AllSeeingEye', 'AllSeeingEye', '200606', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('643', 'Bittorrent_Extension', 'Bittorrent_Extension', '200607', '', '', '0', '0000000007', '', '');
+INSERT INTO `code_app_dic` VALUES ('644', 'BitTorrentSync', 'BitTorrentSync', '200608', '', '', '0', '0000000007', '', '');
+INSERT INTO `code_app_dic` VALUES ('645', 'Call_of_Duty', 'Call_of_Duty', '200609', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('646', 'CitrixICA', 'CitrixICA', '200612', '', '', '0', '0000000013', '', '');
+INSERT INTO `code_app_dic` VALUES ('647', 'Citrix_Jedi', 'Citrix_Jedi', '200613', '', '', '0', '0000000013', '', '');
+INSERT INTO `code_app_dic` VALUES ('648', 'ClashOfClans', 'ClashOfClans', '200614', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('649', 'Canon_BJNP', 'Canon_BJNP', '200615', '', '', '0', '0000000023', '', '');
+INSERT INTO `code_app_dic` VALUES ('650', 'DoyoP2P', 'DoyoP2P', '200617', '', '', '0', '0000000007', '', '');
+INSERT INTO `code_app_dic` VALUES ('651', 'FortiClientSSLVPN', 'FortiClientSSLVPN', '200618', '', '', '0', '0000000020', '', '');
+INSERT INTO `code_app_dic` VALUES ('652', 'GTA_SanAndreas_Multiplayer', 'GTA_SanAndreas_Multiplayer', '200619', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('653', 'HalfLife', 'HalfLife', '200620', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('654', 'IBM-DB2', 'IBM-DB2', '200621', '', '', '0', '0000000006', '', '');
+INSERT INTO `code_app_dic` VALUES ('655', 'Flash_Player', 'Flash_Player', '200622', '', '', '0', '0000000023', '', '');
+INSERT INTO `code_app_dic` VALUES ('656', 'Kugou', 'Kugou', '200623', '', '', '0', '0000000010', '', '');
+INSERT INTO `code_app_dic` VALUES ('657', 'LeagueOfLegends', 'LeagueOfLegends', '200624', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('658', 'GluptebaBackdoor', 'GluptebaBackdoor', '200625', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('659', 'MedalOfHonor', 'MedalOfHonor', '200626', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('660', 'MultiTheftAuto', 'MultiTheftAuto', '200628', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('661', 'NetcoreScan', 'NetcoreScan', '200631', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('662', 'NeverwinterNights', 'NeverwinterNights', '200632', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('663', 'NoctionIRP', 'NoctionIRP', '200633', '', '', '0', '0000000024', '', '');
+INSERT INTO `code_app_dic` VALUES ('664', 'JavaObjectSerialised', 'JavaObjectSerialised', '200634', '', '', '0', '0000000024', '', '');
+INSERT INTO `code_app_dic` VALUES ('665', 'RealPlayer', 'RealPlayer', '200635', '', '', '0', '0000000023', '', '');
+INSERT INTO `code_app_dic` VALUES ('666', 'TeamFortress2', 'TeamFortress2', '200636', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('667', 'TheCrew', 'TheCrew', '200637', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('668', 'TurboVPN', 'TurboVPN', '200638', '', '', '0', '0000000020', '', '');
+INSERT INTO `code_app_dic` VALUES ('669', 'MSN_Voice', 'MSN_Voice', '200639', '', '', '0', '0000000002', '', '');
+INSERT INTO `code_app_dic` VALUES ('670', 'MaplestoryChina', 'MaplestoryChina', '200640', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('671', 'Message4U', 'Message4U', '200641', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('672', 'MongoDB', 'MongoDB', '200642', '', '', '0', '0000000006', '', '');
+INSERT INTO `code_app_dic` VALUES ('673', 'NDTThroughput', 'NDTThroughput', '200643', '', '', '0', '0000000024', '', '');
+INSERT INTO `code_app_dic` VALUES ('674', 'NET-MFP', 'NET-MFP', '200644', '', '', '0', '0000000004', '', '');
+INSERT INTO `code_app_dic` VALUES ('675', 'WindowsMessenger', 'WindowsMessenger', '200645', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('676', 'WolfensteinEnemyTerritory', 'WolfensteinEnemyTerritory', '200646', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('677', 'XboxLive', 'XboxLive', '200647', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('678', 'RBL', 'RBL', '200649', '', '', '0', '0000000008', '', '');
+INSERT INTO `code_app_dic` VALUES ('679', 'RPC_Exploit', 'RPC_Exploit', '200650', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('680', 'Rejection', 'Rejection', '200651', '', '', '0', '0000000028', '', '');
+INSERT INTO `code_app_dic` VALUES ('681', 'Silverplatter_DXP', 'Silverplatter_DXP', '200655', '', '', '0', '0000000006', '', '');
+INSERT INTO `code_app_dic` VALUES ('682', 'TencentWNS', 'TencentWNS', '200659', '', '', '0', '0000000003', '', '');
+INSERT INTO `code_app_dic` VALUES ('683', 'TrionGames', 'TrionGames', '200660', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('684', 'Trojan.Win32.Generic!SB', 'Trojan.Win32.Generic!SB', '200661', '', '', '0', '0000000025', '', '');
+INSERT INTO `code_app_dic` VALUES ('685', 'WorldOfWarcraft', 'WorldOfWarcraft', '200666', '', '', '0', '0000000009', '', '');
+INSERT INTO `code_app_dic` VALUES ('686', 'YY', 'YY', '200667', '', '', '0', '0000000023', '', '');
+INSERT INTO `code_app_dic` VALUES ('687', 'nopayload', 'nopayload', '200669', '', '', '0', '0000000029', '', '');
+INSERT INTO `code_app_dic` VALUES ('688', 'No_FirstPkt', 'No_FirstPkt', '200670', '', '', '0', '0000000029', '', '');
+INSERT INTO `code_app_dic` VALUES ('689', 'Invalid', 'Invalid', '200671', '', '', '0', '0000000028', '', '');
diff --git a/src/main/resources/sql/20181130/update_config_sync_data b/src/main/resources/sql/20181130/update_config_sync_data
new file mode 100644
index 0000000..42d3f84
--- /dev/null
+++ b/src/main/resources/sql/20181130/update_config_sync_data
@@ -0,0 +1,8 @@
+UPDATE `sys_menu` SET `id`='1169', `parent_id`='2', `parent_ids`='0,1,2,', `code`='config_sync', `name`='配置同步', `sort`='5030', `href`='/config/synchronization/configSyncInfo', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-11-23 15:12:26', `update_by`='1', `update_date`='2018-11-30 18:04:19', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`=NULL WHERE (`id`='1169');
+delete from sys_data_dictionary_item where dictionary_id=141;
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3148', '0', 'start', '开始', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3149', '1', 'init', '初始化', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3150', '2', 'doing', '进行中', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3151', '3', 'finish', '完成', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3152', '-1', 'serverFail', '服务端同步失败', '0', '1', '1', '141');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3153', '-2', 'fail', '界面端同步失败', '0', '1', '1', '141');
diff --git a/src/main/resources/sql/20181201/update_app_behavior_dic.sql b/src/main/resources/sql/20181201/update_app_behavior_dic.sql
new file mode 100644
index 0000000..59a849a
--- /dev/null
+++ b/src/main/resources/sql/20181201/update_app_behavior_dic.sql
@@ -0,0 +1,6 @@
+#APP_POLICY�����ϵ���������multimedia video�����1��Ϊ90001��other�����6��Ϊ90006
+update specific_service_cfg a set a.spec_service_code=90006 where a.spec_service_code=6 and a.cfg_type=2 and a.spec_service_name='other';
+update specific_service_cfg a set a.spec_service_code=90001 where a.spec_service_code=1 and a.cfg_type=2 and a.spec_service_name='multimedia_video';
+#Tor mode��Tor broswer��Opera Turbo��Opera mini����Ϊ���ͼ�����Ϊ���͡� sheet
+update specific_service_cfg set parent_id=36,is_leaf=1 where spec_service_id in(35,283);
+update specific_service_cfg set parent_id=47,is_leaf=1 where spec_service_id in(45,46);
diff --git a/src/main/resources/sql/20181201/update_code_protocol_type_dic.sql b/src/main/resources/sql/20181201/update_code_protocol_type_dic.sql
new file mode 100644
index 0000000..9409405
--- /dev/null
+++ b/src/main/resources/sql/20181201/update_code_protocol_type_dic.sql
@@ -0,0 +1,3 @@
+delete from code_protocol_type_dic;
+insert into `code_protocol_type_dic`(`id`,`protocol_type`,`view_code`) values (1,'Unknow','0'),(2,'TCP','1'),(3,'UDP','2'),(4,'DNS','3'),(5,'FTP','4'),(6,'FTPS','5'),(7,'GRE','6'),(8,'HTTP','7'),(9,'HTTPS','8'),(10,'ICMP','9'),(11,'IKE','10'),(12,'IMAP','11'),(13,'IMAPS','12'),(14,'IPSEC','13'),(15,'XMPP','14'),(16,'L2TP','15'),(17,'NTP','16'),(18,'POP3','17'),(19,'POP3 SSL','18'),(20,'PPTP','19'),(21,'Quic','20'),(22,'SIP','21'),(23,'SMP','22'),(24,'SMTP','23'),(25,'SMTPS','24'),(26,'SPDY','25'),(27,'SSH-V1','26'),(28,'SSH-V2','27'),(29,'SSH-other','28'),(30,'SSL','29'),(31,'SOCKS','30'),(32,'BITTORRENT','31'),(33,'RTSP','32'),(34,'TELNET','33'),(35,'UTP','34'),(36,'FASTTRACK','35'),(37,'SKINNY','36'),(38,'IAX','37'),(39,'MGCP','38'),(40,'RTCP','39'),(41,'RTP','40'),(42,'VNC','41'),(43,'XDMCP','42'),(44,'RDP','43'),(45,'AIMINI','44'),(46,'IPP','45'),(47,'NFS','46'),(48,'TFTP','47'),(49,'BGP','48'),(50,'DHCP','49'),(51,'DHCPV6','50'),(52,'FINGER','51'),(53,'KERBEROS','52'),(54,'LDAP','53'),(55,'MDNS','54'),(56,'NNTP','55'),(57,'SNMP','56'),(58,'SSDP','57'),(59,'SYSLOG','58'),(60,'WHOIS','59'),(61,'RADIUS','60'),(62,'OPENVPN','61'),(63,'STUN','62'),(64,'TEREDO','63'),(65,'GTP','64'),(66,'RTMP','65'),(67,'chargen_tcp_udp','66'),(68,'llmnr_udp','67'),(69,'nbns_udp','68'),(70,'NETBIOS','69'),(71,'DirectDownloadLink','70'),(72,'I23V5','71'),(73,'DirectConnect','72'),(74,'OFF','73'),(75,'OGG','74'),(76,'MPEG','75'),(77,'IRC','76'),(78,'Jabber','77'),(79,'VRRP','78'),(80,'IGMP','79'),(81,'EGP','80'),(82,'SCTP','81'),(83,'OSPF','82'),(84,'IP in IP','83'),(85,'ICMPv6','84'),(86,'DCE RPC','85'),(87,'NetFlow_IPFIX','86'),(88,'sFlow','87'),(89,'HTTP Connect (SSL over HTTP)','88'),(90,'SAP','89'),(91,'UPnP','90'),(92,'H323','91'),(93,'Megaco','92'),(94,'Unspecified','268435455'),(95,'bacnet','94\r\n'),(97,'bjnp\r\n','96\r\n'),(98,'cgp\r\n','97'),(99,'dahua','98\r\n'),(100,'dcc\r\n','99\r\n'),(101,'kademlia','100'),(102,'lansync\r\n','101'),(103,'ldap_ad\r\n','102'),(104,'llp2p\r\n','103'),(105,'mfnp\r\n','104'),(106,'mp2p\r\n','105'),(107,'msn_cache\r\n','106'),(108,'msn_video\r\n','107'),(109,'msnc\r\n','108'),(110,'netflow\r\n','109'),(111,'notes_rpc\r\n','110'),(112,'esp\r\n','111'),(113,'fbcdn_ssl\r\n','112'),(114,'forticlient_sslvpn\r\n','113'),(115,'rfb\r\n','114'),(116,'rtmfp\r\n','115'),(117,'slp\r\n','117'),(118,'steam_inhomebroadcast\r\n','118'),(119,'steam_localbroadcast\r\n','119'),(120,'tpkt\r\n','120'),(121,'xmpps\r\n','121'),(122,'S7COMM\r\n','122'),(123,'CitrixCGP\r\n','123'),(124,'ID_Protocol\r\n','124'),(125,'SMTP_Secure\r\n','125'),(126,'NAT-PMP\r\n','126'),(127,'proprietary protocol','102801'),(128,'proprietary protocol','102901'),(129,'proprietary protocol','103001'),(130,'proprietary protocol','103101'),(131,'proprietary protocol','103201'),(132,'proprietary protocol','103301'),(133,'esp',NULL);
+
diff --git a/src/main/resources/sql/20181201/update_function_region_dict.sql b/src/main/resources/sql/20181201/update_function_region_dict.sql
new file mode 100644
index 0000000..59d0f9d
--- /dev/null
+++ b/src/main/resources/sql/20181201/update_function_region_dict.sql
@@ -0,0 +1,6 @@
+UPDATE
+ function_region_dict
+SET
+ config_ip_pattern = '1,3'
+WHERE
+ dict_id = 231 AND function_id = 633; \ No newline at end of file
diff --git a/src/main/resources/sql/20181201/update_ip_reuse_addr_pool.sql b/src/main/resources/sql/20181201/update_ip_reuse_addr_pool.sql
new file mode 100644
index 0000000..fcd265c
--- /dev/null
+++ b/src/main/resources/sql/20181201/update_ip_reuse_addr_pool.sql
@@ -0,0 +1,2 @@
+ALTER TABLE ip_reuse_addr_pool DROP COLUMN addr_pool_id;
+ALTER TABLE ip_reuse_addr_pool DROP COLUMN available_ip_total; \ No newline at end of file
diff --git a/src/main/resources/sql/20181201/update_website_domain_topic.sql b/src/main/resources/sql/20181201/update_website_domain_topic.sql
new file mode 100644
index 0000000..f95a194
--- /dev/null
+++ b/src/main/resources/sql/20181201/update_website_domain_topic.sql
@@ -0,0 +1,2 @@
+delete from website_domain_topic;
+insert into `website_domain_topic`(`id`,`website_service_id`,`domain`,`topic_id`,`create_time`,`creator_id`,`is_valid`,`icon`,`desc`) values (0,268435455,'Beyond the category',268435455,'2018-11-30 17:37:23',NULL,1,NULL,NULL),(237012,143001,'test.com',4,'2018-10-06 14:32:10',1,1,NULL,NULL),(237013,132001,'sq.cnq',6,'2018-10-17 09:58:50',1,1,NULL,NULL),(237014,104001,'dilidili.com',4,'2018-11-06 10:48:30',1,1,NULL,NULL),(237015,31001,'www.ebay.com',6,'2018-11-26 17:22:52',1,1,NULL,NULL),(237016,99001,'www.test.com',19,'2018-11-29 13:29:25',1,1,NULL,NULL),(500002,1,'Google.com',7,'2018-11-30 16:37:46',NULL,1,NULL,NULL),(500003,1,'Googleusercontent.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(501002,1001,'Youtube.com',17,'2018-11-30 16:39:26',NULL,1,NULL,NULL),(502002,2001,'Facebook.com',2,'2018-11-30 17:14:57',NULL,1,NULL,NULL),(502003,2001,'Fbcdn.net',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(503002,3001,'Baidu.com',7,'2018-11-30 17:17:21',NULL,1,NULL,NULL),(504002,4001,'Wikipedia.org',7,'2018-11-30 17:17:59',NULL,1,NULL,NULL),(505002,5001,'Reddit.com',2,'2018-11-30 17:18:57',NULL,1,NULL,NULL),(506002,6001,'Yahoo.com',7,'2018-11-30 17:19:55',NULL,1,NULL,NULL),(507002,7001,'Qq.com',4,'2018-11-30 17:20:50',NULL,1,NULL,NULL),(508002,8001,'Taobao.com',3,'2018-11-30 17:21:25',NULL,1,NULL,NULL),(509002,9001,'Amazon.com',3,'2018-11-30 17:21:58',NULL,1,NULL,NULL),(510002,10001,'Tmall.com',3,'2018-11-30 17:22:42',NULL,1,NULL,NULL),(510003,10001,'Pages.tmall.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(510004,10001,'Detail.tmall.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(511002,11001,'Twitter.com',2,'2018-11-30 17:23:13',NULL,1,NULL,NULL),(511003,11001,'T.co',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(512002,12001,'Sohu.com',4,'2018-11-30 17:24:38',NULL,1,NULL,NULL),(513002,13001,'Instagram.com',2,'2018-11-30 17:25:45',NULL,1,NULL,NULL),(514002,14001,'Vk.com',2,'2018-11-30 17:26:21',NULL,1,NULL,NULL),(515002,15001,'Live.com',13,'2018-11-30 17:26:51',NULL,1,NULL,NULL),(516002,16001,'Jd.com',3,'2018-11-30 17:27:18',NULL,1,NULL,NULL),(517002,17001,'Sina.com.cn',4,'2018-11-30 17:28:19',NULL,1,NULL,NULL),(518002,18001,'Weibo.com',4,'2018-11-30 17:28:53',NULL,1,NULL,NULL),(519002,19001,'Yandex.ru',4,'2018-11-30 17:29:40',NULL,1,NULL,NULL),(520002,20001,'360.cn',7,'2018-11-30 17:30:13',NULL,1,NULL,NULL),(521002,10001,'Login.tmall.com',3,'2018-11-30 17:31:04',NULL,1,NULL,NULL),(522002,22001,'Netflix.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(523002,23001,'Pornhub.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(524002,24001,'Twitch.tv',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(525002,25001,'Linkedin.com',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(526002,26001,'Csdn.net',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(528002,28001,'Microsoft.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(528003,28001,'Microsoftonline.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(529002,29001,'Office.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(530002,30001,'Bing.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(531002,31001,'Ebay.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(532002,32001,'Alipay.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(533002,33001,'Xvideos.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(534002,34001,'Mail.ru',13,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(535002,35001,'Ok.ru',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(536002,36001,'Msn.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(539002,39001,'Imgur.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(540002,40001,'Aliexpress.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(541002,41001,'Tumblr.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(542002,42001,'Wordpress.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(543002,43001,'Wikia.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(544002,44001,'Imdb.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(545002,45001,'Whatsapp.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(546002,46001,'Stackoverflow.com',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(547002,47001,'Github.com',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(548002,48001,'Livejasmin.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(549002,49001,'Xhamster.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(550002,50001,'Hao123.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(551002,51001,'Blogspot.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(552002,52001,'Deloton.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(553002,53001,'Paypal.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(554002,54001,'Tribunnews.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(555002,55001,'Popads.net',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(556002,56001,'Apple.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(557002,57001,'Diply.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(558002,58001,'Bongacams.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(560002,60001,'Pinterest.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(561002,61001,'Xnxx.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(562002,62001,'Adobe.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(563002,63001,'Providr.com',20,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(565002,65001,'Coccoc.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(566002,66001,'Txxx.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(567002,67001,'Dropbox.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(569002,69001,'Savefrom.net',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(570002,70001,'Pixnet.net',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(571002,71001,'Bbc.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(572002,72001,'Thestartmagazine.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(573002,73001,'Quora.com',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(574002,74001,'Tianya.cn',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(575002,75001,'Soso.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(576002,76001,'Chaturbate.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(577002,77001,'Amazonaws.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(578002,78001,'Booking.com',9,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(579002,79001,'Espn.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(580002,80001,'So.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(581002,81001,'Cnn.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(582002,82001,'Craigslist.org',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(583002,83001,'Nicovideo.jp',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(584002,84001,'Xinhuanet.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(585002,85001,'Soundcloud.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(586002,86001,'Tokopedia.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(587002,87001,'Dailymotion.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(588002,88001,'Youth.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(589002,89001,'Nytimes.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(590002,90001,'Detik.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(591002,91001,'Ask.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(592002,92001,'Naver.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(593002,93001,'Stackexchange.com',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(594002,94001,'Dkn.tv',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(595002,95001,'Thepiratebay.org',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(596002,96001,'Roblox.com',15,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(597002,97001,'Rakuten.co.jp',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(598002,98001,'Onlinesbi.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(599002,99001,'Openload.co',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(600002,100001,'Spotify.com',16,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(601002,101001,'Nih.gov',12,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(602002,102001,'Vimeo.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(603002,103001,'Fc2.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(604002,104001,'Aparat.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(605002,105001,'Ettoday.net',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(606002,106001,'Mozilla.org',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(607002,107001,'1688.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(608002,108001,'K618.cn',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(609002,109001,'Exdynsrv.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(610002,110001,'Oath.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(611002,111001,'Ntd.tv',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(612002,112001,'Theguardian.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(613002,113001,'Mediafire.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(614002,114001,'Chase.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(615002,115001,'Flipkart.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(616002,116001,'Exosrv.com',11,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(617002,117001,'Avito.ru',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(618002,118001,'Slideshare.net',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(619002,119001,'Dailymail.co.uk',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(620002,120001,'Discordapp.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(621002,121001,'Zhihu.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(622002,122001,'Salesforce.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(622003,122001,'Force.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(623002,123001,'Theepochtimes.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(624002,124001,'Softonic.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(625002,125001,'Globo.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(626002,126001,'Bukalapak.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(627002,127001,'Douyu.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(628002,128001,'Nextoptim.com',11,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(629002,129001,'Deviantart.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(630002,130001,'Indeed.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(631002,131001,'Lolsided.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(632002,132001,'Bles.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(633002,133001,'Cnet.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(634002,134001,'Alibaba.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(635002,135001,'Bet9ja.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(636002,136001,'Vice.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(637002,137001,'Lifedaily.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(638002,138001,'Hotmovs.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(639002,139001,'Sogou.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(640002,140001,'Uol.com.br',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(641002,141001,'Doubleclick.net',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(642002,142001,'Mercadolivre.com.br',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(643002,143001,'Speakol.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(644002,144001,'Babytree.com',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(645002,145001,'Liputan6.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(646002,146001,'Wikihow.com',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(647002,147001,'China.com.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(648002,148001,'Etsy.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(649002,149001,'W3schools.com',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(650002,150001,'Youm7.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(651002,151001,'Scribd.com',9,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(652002,152001,'Rumble.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(653002,153001,'Walmart.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(654002,154001,'Twimg.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(655002,155001,'Yelp.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(656002,156001,'Kompas.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(657002,157001,'Messenger.com',5,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(659002,159001,'Onlinevideoconverter.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(660002,160001,'Redtube.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(661002,161001,'Gmw.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(662002,162001,'Caijing.com.cn',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(663002,163001,'Mama.cn',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(664002,164001,'Chinadaily.com.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(665002,165001,'Cricbuzz.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(666002,166001,'Ladbible.com',20,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(667002,167001,'Doublepimpssl.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(668002,168001,'Steampowered.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(669002,169001,'Mega.nz',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(670002,170001,'Yts.am',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(671002,171001,'Youporn.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(672002,172001,'Buzzfeed.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(673002,173001,'Indiatimes.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(674002,174001,'Hotstar.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(675002,175001,'Cnblogs.com',14,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(676002,176001,'Bet365.com',19,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(677002,177001,'Wetransfer.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(678002,178001,'Eastday.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(679002,179001,'Rambler.ru',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(680002,180001,'Coinmarketcap.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(681002,181001,'Huanqiu.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(682002,182001,'Hulu.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(683002,183001,'Abs-cbn.com',4,'2018-11-30 18:32:06',NULL,1,NULL,NULL),(684002,184001,'Steamcommunity.com',15,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(685002,185001,'4chan.org',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(686002,186001,'Metropcs.mobi',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(687002,187001,'Zillow.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(688002,188001,'Godaddy.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(689002,189001,'Blastingnews.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(690002,190001,'Washingtonpost.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(691002,191001,'Upornia.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(692002,192001,'Nownews.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(693002,193001,'Hibids10.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(694002,194001,'Aliyun.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(695002,195001,'Fapmeth.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(696002,196001,'Genius.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(697002,197001,'Tripadvisor.com',9,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(698002,198001,'Bilibili.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(699002,199001,'Livejournal.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(700002,200001,'Irctc.co.in',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(701002,201001,'Slack.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(702002,202001,'Bankofamerica.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(703002,203001,'Forbes.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(704002,204001,'Archive.org',8,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(705002,205001,'Ebay-kleinanzeigen.de',3,'2018-11-30 18:32:38',NULL,1,NULL,NULL),(706002,206001,'Doublepimp.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(707002,207001,'Foxnews.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(708002,208001,'Wellsfargo.com',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(709002,209001,'Speedtest.net',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(710002,210001,'Researchgate.net',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(711002,211001,'Medium.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(712002,212001,'Gfycat.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(713002,213001,'Exoclick.com',10,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(714002,214001,'1337x.to',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(715002,215001,'Ltn.com.tw',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(716002,216001,'Hclips.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(717002,217001,'Redd.it',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(718002,218001,'Trello.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(719002,219001,'Duckduckgo.com',7,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(720002,220001,'Xfinity.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(721002,221001,'Cloudfront.net',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(722002,222001,'Blackboard.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(723002,223001,'Elfagr.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(724002,224001,'Weather.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(725002,225001,'Youdao.com',1,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(726002,226001,'Sberbank.ru',6,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(727002,227001,'Rednet.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(728002,228001,'Iqiyi.com',17,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(729002,229001,'Setn.com',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(730002,230001,'People.com.cn',4,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(731002,231001,'Leboncoin.fr',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(732002,232001,'Gmx.net',13,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(733002,233001,'Shutterstock.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(734002,234001,'Blogger.com',2,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(735002,235001,'Ikea.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(736002,236001,'Kakaku.com',3,'2018-11-30 18:11:53',NULL,1,NULL,NULL),(737002,237001,'Hdzog.com',18,'2018-11-30 18:11:53',NULL,1,NULL,NULL); \ No newline at end of file
diff --git a/src/main/resources/sql/20181203/add_sys_data_dictionary_name.sql b/src/main/resources/sql/20181203/add_sys_data_dictionary_name.sql
new file mode 100644
index 0000000..f91c81e
--- /dev/null
+++ b/src/main/resources/sql/20181203/add_sys_data_dictionary_name.sql
@@ -0,0 +1,12 @@
+#日志查询-串联设备链路号字典添加
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('147', '串联设备链路号', 'LINK', '串联设备链路号', 'user:管理员,2018-12-03 18:39:24edit', '2018-12-03 16:13:24', '2018-12-03 18:39:24', '1');
+
+
+#日志查询-出入口字典添加
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3168', '1', 'astana', 'astana', '0', '1', '1', '81');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3169', '2', 'almaty', 'almaty', '0', '1', '1', '81');
+
+#VPN服务地址-业务字典数据类型添加
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3163', '5', 'vpn_ip', '数据类型:VPN 服务器IP', '0', '1', '1', '37');
+
+
diff --git a/src/main/resources/sql/20181203/update_function_region_dict.sql b/src/main/resources/sql/20181203/update_function_region_dict.sql
new file mode 100644
index 0000000..232d913
--- /dev/null
+++ b/src/main/resources/sql/20181203/update_function_region_dict.sql
@@ -0,0 +1,10 @@
+-- 地址池
+UPDATE function_service_dict SET service_id = 834 WHERE dict_id = 142 AND function_id = 633;
+
+-- SNAT策略
+UPDATE function_service_dict SET service_id = 835,`action` = 80 WHERE dict_id = 80 AND function_id = 300;
+
+-- DNAT策略
+UPDATE function_service_dict SET service_id = 836,`action` = 80 WHERE dict_id = 143 AND function_id = 304;
+
+ALTER TABLE ip_reuse_policy_cfg ADD do_log INT(11) COMMENT '是否记录结构化日志:1是 2否'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181205/update_ip_reuse_policy_cfg.sql b/src/main/resources/sql/20181205/update_ip_reuse_policy_cfg.sql
new file mode 100644
index 0000000..c22c1d3
--- /dev/null
+++ b/src/main/resources/sql/20181205/update_ip_reuse_policy_cfg.sql
@@ -0,0 +1 @@
+ALTER TABLE ip_reuse_policy_cfg CHANGE user_id user_name VARCHAR(255) NOT NULL COMMENT '用户标识'; \ No newline at end of file
diff --git a/src/main/resources/sql/20181206/update_function_region_dict.sql b/src/main/resources/sql/20181206/update_function_region_dict.sql
new file mode 100644
index 0000000..9a1cceb
--- /dev/null
+++ b/src/main/resources/sql/20181206/update_function_region_dict.sql
@@ -0,0 +1,5 @@
+UPDATE function_region_dict SET config_ip_pattern = '1,3' WHERE dict_id = 68 AND function_id = 300;
+
+ALTER TABLE ip_reuse_policy_cfg ADD ip_type INT(11) DEFAULT NULL COMMENT 'IPV4=4,IPV6=6';
+ALTER TABLE ip_reuse_policy_cfg ADD ip_pattern INT(11) DEFAULT NULL;
+ALTER TABLE ip_reuse_policy_cfg ADD src_ip_address VARCHAR(128) DEFAULT NULL; \ No newline at end of file
diff --git a/src/main/resources/sql/20181207/add_ip_reuse_dnat_policy.sql b/src/main/resources/sql/20181207/add_ip_reuse_dnat_policy.sql
new file mode 100644
index 0000000..094cd87
--- /dev/null
+++ b/src/main/resources/sql/20181207/add_ip_reuse_dnat_policy.sql
@@ -0,0 +1,45 @@
+-- ----------------------------
+-- Table structure for ip_reuse_dnat_policy
+-- ----------------------------
+DROP TABLE IF EXISTS `ip_reuse_dnat_policy`;
+CREATE TABLE `ip_reuse_dnat_policy` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `ip_type` int(11) NOT NULL COMMENT 'IPV4=4,IPV6=6',
+ `ip_pattern` int(11) NOT NULL,
+ `port_pattern` int(11) NOT NULL,
+ `original_dest_ip` varchar(128) NOT NULL,
+ `original_dest_port` varchar(16) NOT NULL,
+ `translated_dest_ip` varchar(128) NOT NULL,
+ `translated_dest_port` varchar(16) NOT NULL,
+ `protocol` int(11) NOT NULL,
+ `protocol_id` int(11) NOT NULL COMMENT '非0时,maat规范需写入通用IP配置表与通用协议类型配置表 此表固定写0',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `do_log` int(11) DEFAULT NULL COMMENT '是否记录结构化日志:1是 2否',
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `function_id` int(11) NOT NULL,
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `area_effective_ids` varchar(1024) DEFAULT NULL,
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `user_region1` varchar(1024) DEFAULT NULL COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT NULL COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT NULL COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT NULL COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT NULL COMMENT '预留自定义域5',
+ `cancel_request_id` int(11) DEFAULT NULL COMMENT '取消审核来函',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;
diff --git a/src/main/resources/sql/20181207/insert_sys_dict_Data.sql b/src/main/resources/sql/20181207/insert_sys_dict_Data.sql
new file mode 100644
index 0000000..6be57ab
--- /dev/null
+++ b/src/main/resources/sql/20181207/insert_sys_dict_Data.sql
@@ -0,0 +1,15 @@
+INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('148', '视频协议', 'AV_PROTOCOL', '', '', '2018-12-07 18:12:12', '2018-12-07 18:12:12', '1');
+
+
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3188', '1', 'HTTP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3189', '2', 'SMTP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3190', '3', 'POP3', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3191', '4', 'FTP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3192', '5', 'IMAP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3193', '129', 'HTTP_IMAGE', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3194', '130', 'RTSP_RDT', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3195', '131', 'RTSP_RTP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3196', '132', 'MMS', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3197', '133', 'ED2K', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3198', '134', 'RTMP', '', '0', '1', '1', '148');
+INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3199', '145', 'SIP', '', '0', '1', '1', '148');
diff --git a/src/main/resources/sql/20181207/update_function_region_dict.sql b/src/main/resources/sql/20181207/update_function_region_dict.sql
new file mode 100644
index 0000000..83bf6dd
--- /dev/null
+++ b/src/main/resources/sql/20181207/update_function_region_dict.sql
@@ -0,0 +1,8 @@
+UPDATE
+ function_region_dict
+SET
+ config_ip_port_show = '1,2,3,4',
+ config_ip_pattern = '3',
+ config_port_pattern = '1'
+WHERE
+ dict_id = 232 AND function_id = 304; \ No newline at end of file
diff --git a/src/main/resources/sql/20181207/update_sys_menu_data.sql b/src/main/resources/sql/20181207/update_sys_menu_data.sql
new file mode 100644
index 0000000..cfb8c65
--- /dev/null
+++ b/src/main/resources/sql/20181207/update_sys_menu_data.sql
@@ -0,0 +1,11 @@
+UPDATE `sys_menu` SET `id`='959', `parent_id`='951', `parent_ids`='0,1,152,951,', `code`='http_block', `name`='HTTP�ܿ�', `sort`='2', `href`='/log/pxy/httpBlocklogs', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:16:26', `update_by`='1', `update_date`='2018-08-01 10:16:26', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='207' WHERE (`id`='959');
+UPDATE `sys_menu` SET `id`='960', `parent_id`='951', `parent_ids`='0,1,152,951,', `code`='http_redirect', `name`='HTTP�ض���', `sort`='3', `href`='/log/pxy/httpRedirectlogs', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:17:41', `update_by`='1', `update_date`='2018-08-01 10:17:41', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='208' WHERE (`id`='960');
+UPDATE `sys_menu` SET `id`='962', `parent_id`='951', `parent_ids`='0,1,152,951,', `code`='http_replace', `name`='HTTP�滻', `sort`='4', `href`='/log/pxy/httpReplacelogs', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:18:38', `update_by`='1', `update_date`='2018-08-01 10:18:38', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='209' WHERE (`id`='962');
+UPDATE `sys_menu` SET `id`='963', `parent_id`='951', `parent_ids`='0,1,152,951,', `code`='http_monit', `name`='HTTP���', `sort`='1', `href`='/log/pxy/httpMonitogs', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:19:48', `update_by`='1', `update_date`='2018-08-01 10:19:48', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='210' WHERE (`id`='963');
+UPDATE `sys_menu` SET `id`='953', `parent_id`='951', `parent_ids`='0,1,152,951,', `code`='control_policy', `name`='���Ʋ���', `sort`='60', `href`='', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:04:12', `update_by`='1', `update_date`='2018-08-01 10:04:12', `remarks`='', `del_flag`='0', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`=NULL WHERE (`id`='953');
+UPDATE `sys_menu` SET `id`='958', `parent_id`='956', `parent_ids`='0,1,780,956,', `code`='control_policy', `name`='���Ʋ���', `sort`='60', `href`='', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 10:12:32', `update_by`='1', `update_date`='2018-08-01 10:12:32', `remarks`='', `del_flag`='0', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`=NULL WHERE (`id`='958');
+UPDATE `sys_menu` SET `id`='979', `parent_id`='956', `parent_ids`='0,1,780,956,', `code`='http_block', `name`='HTTP�ܿ�', `sort`='2', `href`='/report/list?cfgName=http_block', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 16:45:56', `update_by`='1', `update_date`='2018-08-01 16:45:56', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='207' WHERE (`id`='979');
+UPDATE `sys_menu` SET `id`='980', `parent_id`='956', `parent_ids`='0,1,780,956,', `code`='http_redirect', `name`='HTTP�ض���', `sort`='3', `href`='/report/list?cfgName=http_redirect', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 16:47:32', `update_by`='1', `update_date`='2018-08-01 16:47:32', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='208' WHERE (`id`='980');
+UPDATE `sys_menu` SET `id`='981', `parent_id`='956', `parent_ids`='0,1,780,956,', `code`='http_replace', `name`='HTTP�滻', `sort`='4', `href`='/report/list?cfgName=http_replace', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 16:48:40', `update_by`='1', `update_date`='2018-08-01 16:48:40', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='209' WHERE (`id`='981');
+UPDATE `sys_menu` SET `id`='982', `parent_id`='956', `parent_ids`='0,1,780,956,', `code`='http_monit', `name`='HTTP���', `sort`='1', `href`='/report/list?cfgName=http_monit', `target`='', `icon`='', `is_show`='1', `permission`='', `create_by`='1', `create_date`='2018-08-01 16:49:33', `update_by`='1', `update_date`='2018-08-01 16:49:33', `remarks`='', `del_flag`='1', `menu_bg`=NULL, `quick_action`='0', `is_top`='0', `function_id`='210' WHERE (`id`='982');
+
diff --git a/src/main/resources/sql/20181208/update_menu_and_function_dict.sql b/src/main/resources/sql/20181208/update_menu_and_function_dict.sql
new file mode 100644
index 0000000..cc42f25
--- /dev/null
+++ b/src/main/resources/sql/20181208/update_menu_and_function_dict.sql
@@ -0,0 +1,10 @@
+#修改协议的code为国际化key
+update sys_menu set code='protocol' where id in (931,934,937,1131,1134);
+#删除APP HTTP Feature APP SSL Cert Feature APP DK GL Admin业务
+update sys_menu set is_show=0,del_flag=0 where function_id in (402,520,567);
+UPDATE function_region_dict set is_valid=0 where function_id in (402,520,567);
+update function_service_dict set is_valid=0 where function_id in (402,520,567);
+#APP的http admin,ssladmin 及payload admin业务变更district
+update function_region_dict set config_district='Host,URI,User-Agent,Content-Type,Content-Encoding,Refer,Cookie,Set-cookie' where dict_id in(220,221,222);
+update function_region_dict set config_district='SSL_SNI,SSL_FP,serilNumber,issuer_commonName,issuer_organizationName,issuer_countryName,subject_commonName,subject_organizationName,subject_countryName,notBefore,notAfter,Algorithm_id' where dict_id in(224,225,226);
+update function_region_dict set config_district='Payload,L2_header,L3_header,C2S_session_size,S2C_session_size' where dict_id in(212,213,215); \ No newline at end of file
diff --git a/src/main/resources/sql/20181208/update_statistics_table_data.sql b/src/main/resources/sql/20181208/update_statistics_table_data.sql
new file mode 100644
index 0000000..e9f3695
--- /dev/null
+++ b/src/main/resources/sql/20181208/update_statistics_table_data.sql
@@ -0,0 +1 @@
+update statistics_tables set is_valid=0 where id in(4,7); \ No newline at end of file
diff --git a/src/main/resources/sql/20181208/update_voip_regioncode_dict.sql b/src/main/resources/sql/20181208/update_voip_regioncode_dict.sql
new file mode 100644
index 0000000..a7adca0
--- /dev/null
+++ b/src/main/resources/sql/20181208/update_voip_regioncode_dict.sql
@@ -0,0 +1,6 @@
+update function_region_dict set config_region_code=1 where dict_id=8;
+update function_region_dict set config_region_code=2 where dict_id=16;
+update function_region_dict set config_region_code=3 where dict_id=161;
+update function_region_dict set config_region_code=0 where dict_id=208;
+update function_service_dict set region_code=1 where dict_id=16;
+update function_service_dict set region_code=1 where dict_id=17;
diff --git a/src/main/resources/sql/about_asn.sql b/src/main/resources/sql/about_asn.sql
new file mode 100644
index 0000000..95d84d2
--- /dev/null
+++ b/src/main/resources/sql/about_asn.sql
@@ -0,0 +1,60 @@
+/*
+SQLyog Professional v12.08 (64 bit)
+MySQL - 10.2.14-MariaDB-log
+*********************************************************************
+*/
+/*!40101 SET NAMES utf8 */;
+DROP TABLE IF EXISTS `asn_ip_cfg`;
+CREATE TABLE `asn_ip_cfg` (
+ `cfg_id` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` VARCHAR(128) DEFAULT NULL,
+ `ip_type` INT(11) NOT NULL COMMENT 'IPV4=4,IPV6=6',
+ `direction` INT(11) NOT NULL COMMENT '0双向,1单向,默认缺省为双向。',
+ `protocol` INT(11) NOT NULL COMMENT '6表示tcp,17表示udp,0表示任意',
+ `protocol_id` INT(11) NOT NULL COMMENT '非0时,maat规范需写入通用IP配置表与通用协议类型配置表 此表固定写0',
+ `action` INT(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` INT(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` INT(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` INT(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` DATETIME NOT NULL,
+ `editor_id` INT(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` DATETIME DEFAULT NULL,
+ `auditor_id` INT(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` DATETIME DEFAULT NULL,
+ `service_id` INT(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` INT(11) NOT NULL COMMENT '取自request_info.id',
+ `region_id` INT(11) NOT NULL COMMENT '取自服务接口返回的maat配置的域id,配置初始入库时获取。',
+ `is_area_effective` INT(11) NOT NULL COMMENT '0否,1是',
+ `classify` VARCHAR(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` VARCHAR(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` VARCHAR(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `area_effective_ids` VARCHAR(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` INT(11) DEFAULT NULL,
+ `cfg_region_code` INT(11) DEFAULT NULL,
+ `cfg_type` VARCHAR(64) DEFAULT NULL,
+ `ip_pattern` INT(11) NOT NULL,
+ `src_ip_address` VARCHAR(128) NOT NULL,
+ `port_pattern` INT (11) NOT NULL,
+ `src_port` VARCHAR (16) NOT NULL,
+ `dest_ip_address` VARCHAR (128) DEFAULT NULL,
+ `dest_port` VARCHAR(16) DEFAULT NULL,
+ `ratelimit` VARCHAR(10) DEFAULT NULL,
+ `asn_ip_group` INT(11) DEFAULT NULL,
+ `user_region1` VARCHAR(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` VARCHAR(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` VARCHAR(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` VARCHAR(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` VARCHAR(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
+
+
+#修改config_group_info comment, 新增asn说明
+ALTER TABLE config_group_info MODIFY group_type INT(11) NULL COMMENT '1:协议,2:内容,3:区域 ,4 asn'
+#修改policy_group_info comment, 新增asn说明,并新增一列 service_group_id用于存放从综合服务获取的组号
+ALTER TABLE policy_group_info MODIFY group_type INT(2) NULL COMMENT '1:dns 2:ip复用, 4 asn'
+ALTER TABLE policy_group_info ADD service_group_id INT(11) NULL COMMENT '从综合服务获取的组号,用于存放asn的组号.由于group_id是自增的主键,从综合服务获取的组号会与之冲突'
+#GROUP_TYPE字典更新,增加一列ASN
+SELECT * FROM sys_data_dictionary_item WHERE dictionary_id=(SELECT ID FROM sys_data_dictionary_name WHERE mark='GROUP_TYPE')
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id)
+VALUE(4,'ASN','ANS号',0,1,1,83)
diff --git a/src/main/resources/sql/add_app_topic_domain_cfg_add_column20180831.sql b/src/main/resources/sql/add_app_topic_domain_cfg_add_column20180831.sql
new file mode 100644
index 0000000..6e11ab1
--- /dev/null
+++ b/src/main/resources/sql/add_app_topic_domain_cfg_add_column20180831.sql
@@ -0,0 +1,2 @@
+alter table app_topic_domain_cfg change topic topic_id bigint(11) not null;
+alter table app_topic_domain_cfg change behav_code website_service_id bigint(11);
diff --git a/src/main/resources/sql/add_function_region.sql b/src/main/resources/sql/add_function_region.sql
new file mode 100644
index 0000000..9e151dc
--- /dev/null
+++ b/src/main/resources/sql/add_function_region.sql
@@ -0,0 +1,25 @@
+INSERT INTO function_region_dict
+ ()
+VALUES
+ ('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 174, 34, 2, 'NTC_SUBSCRIBE_ID', '', 'SSL SUBSCRIBE_ID配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 3);
+
+INSERT INTO function_region_dict
+ ()
+VALUES
+ ('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 175, 7, 2, 'NTC_SUBSCRIBE_ID', '', 'DNS SUBSCRIBE_ID配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 5);
+
+INSERT INTO function_region_dict
+ ()
+VALUES
+ ('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 176, 35, 3, 'NTC_SUBSCRIBE_ID', '', '邮件 SUBSCRIBE_ID配置', 1, NULL, NULL,NULL , NULL, 1, 2, '', '', '', '', '', '', 7);
+
+INSERT INTO function_region_dict
+ ()
+VALUES
+ ('subscribe_id', '0', '0,1', '0,1,2', '0,1,2,3', 177, 8, 3, 'NTC_SUBSCRIBE_ID', '', 'HTTP SUBSCRIBE_ID配置', 1, NULL, NULL,NULL , NULL, 1, 3, '', '', '', '', '', '', 7);
+
+
+INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`)
+VALUES
+ ('', '', '', '', '', 186, 570, 1, 'PXY_OBJ_KEYRING', '', '证书策略配置', 1, NULL, NULL, NULL, NULL, 2, 6, '', '', '', '', '', '', 1);
diff --git a/src/main/resources/sql/add_function_region_303.sql b/src/main/resources/sql/add_function_region_303.sql
new file mode 100644
index 0000000..9150a9b
--- /dev/null
+++ b/src/main/resources/sql/add_function_region_303.sql
@@ -0,0 +1 @@
+INSERT INTO function_region_dict (function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type) VALUES(303,1,'LIMIT_DOMAIN','域名限速',1,1,2) \ No newline at end of file
diff --git a/src/main/resources/sql/add_function_region_dict_columns.sql b/src/main/resources/sql/add_function_region_dict_columns.sql
new file mode 100644
index 0000000..7cb4507
--- /dev/null
+++ b/src/main/resources/sql/add_function_region_dict_columns.sql
@@ -0,0 +1,7 @@
+ALTER TABLE function_region_dict ADD config_ip_port_show VARCHAR(10) NULL COMMENT '1,展示源IP/端口2;展示目目的IP/端口;使用逗号分隔';
+ALTER TABLE function_region_dict ADD config_ip_type VARCHAR(20) NULL COMMENT 'ip的类型,有4,6,46,64,10几种类型,使用逗号分隔';
+ALTER TABLE function_region_dict ADD config_ip_pattern VARCHAR(10) NULL COMMENT 'ip的格式 1:ip掩码;2:IP范围;3:IP;使用逗号分隔';
+ALTER TABLE function_region_dict ADD config_port_pattern VARCHAR(10) NULL COMMENT '端口的格式,1:port;2:port_mask;使用逗号分隔';
+ALTER TABLE function_region_dict ADD config_direction VARCHAR(10) NULL COMMENT 'IP方向0,双向;1,单向.使用逗号分隔';
+ALTER TABLE function_service_dict ADD region_code VARCHAR(20) NULL COMMENT 'function_region_dict 表中的config_region_code字段值';
+ALTER TABLE function_region_dict ADD config_protocol VARCHAR(20) NULL COMMENT '协议 0:任意;6:TCP;17:UDP;1:ICMP;50:ESP;51:AH';
diff --git a/src/main/resources/sql/add_function_service.sql b/src/main/resources/sql/add_function_service.sql
new file mode 100644
index 0000000..0d1643b
--- /dev/null
+++ b/src/main/resources/sql/add_function_service.sql
@@ -0,0 +1,9 @@
+INSERT INTO function_service_dict
+ (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
+VALUES
+ (116, 570, 0, 1, 'monit', 520, 'pxy_intercept_monit_keyring', '', 1, null, null, null, null, '');
+
+INSERT INTO function_service_dict
+ (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`)
+VALUES
+ ('510', '0', '1', 'monit', '146', 'p2p_monit', NULL, '1', NULL, NULL, NULL, NULL, '1,2,3,4');
diff --git a/src/main/resources/sql/add_intercepter_ratelimit_and_replace.sql b/src/main/resources/sql/add_intercepter_ratelimit_and_replace.sql
new file mode 100644
index 0000000..2955d09
--- /dev/null
+++ b/src/main/resources/sql/add_intercepter_ratelimit_and_replace.sql
@@ -0,0 +1,26 @@
+INSERT INTO function_service_dict
+ ()
+VALUES
+ (108, 200, 0, 64, 'ratelimit', 531, 'ip_intercepter_ratelimit', '', 1,null , null,null , null,null );
+
+INSERT INTO function_service_dict
+ ()
+VALUES
+ (109, 201, 0, 64, 'ratelimit', 541, 'domain_intercepter_ratelimit', '', 1,null , null,null ,null,null );
+
+
+ INSERT INTO function_service_dict
+ ()
+VALUES
+ (110, 200, 0, 80, 'replace', 551, 'ip_intercepter_replace', '', 1,null , null,null , null,null );
+
+INSERT INTO function_service_dict
+ ()
+VALUES
+ (111, 201, 0, 80, 'replace', 561, 'domain_intercepter_replace', '', 1,null , null,null ,null,null );
+
+
+ INSERT INTO function_region_dict
+ (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`)
+VALUES
+ ('', '0', '0,1', '0,1,2', '0,1,2,3', 167, 200, 2, 'PXY_INTERCEPT_PKT_BIN', '', 'PXY����', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '');
diff --git a/src/main/resources/sql/add_intercepter_whitelist_service.sql b/src/main/resources/sql/add_intercepter_whitelist_service.sql
new file mode 100644
index 0000000..2935670
--- /dev/null
+++ b/src/main/resources/sql/add_intercepter_whitelist_service.sql
@@ -0,0 +1,11 @@
+ INSERT INTO function_service_dict
+ ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`)
+VALUES
+ ( 200, 0, 128, 'whitelist', 521, 'ip_intercepter_whitelist', '', 1,NULL , NULL,NULL , NULL);
+
+INSERT INTO function_service_dict
+ ( `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`)
+VALUES
+ ( 201, 0, 128, 'whitelist', 521, 'domain_whitelist', '', 1,NULL , NULL, NULL, NULL);
+
+ update function_service_dict set is_valid=0 where dict_id in(66,67); \ No newline at end of file
diff --git a/src/main/resources/sql/add_pxy_obj_keyring.sql b/src/main/resources/sql/add_pxy_obj_keyring.sql
new file mode 100644
index 0000000..7362aaf
--- /dev/null
+++ b/src/main/resources/sql/add_pxy_obj_keyring.sql
@@ -0,0 +1,31 @@
+CREATE TABLE `pxy_obj_keyring` (
+ `cfg_id` bigint(20) COMMENT '请求策略号',
+ `cfg_desc` varchar(128) COMMENT '钥匙环名称',
+ `cfg_type` varchar(64) COMMENT '内容类型',
+ `keyring_type` varchar(128) COMMENT '证书类型',
+ `private_key_file` varchar(1024) COMMENT '私钥文件',
+ `public_key_file` varchar(1024) COMMENT '公钥文件',
+ `expire_after` int COMMENT '默认为30天,实体证书不可设置,界面填0',
+ `public_key_algo` varchar(64) DEFAULT NULL COMMENT '公钥算法',
+ `crl` varchar(64) DEFAULT NULL COMMENT 'CRL',
+ `action` int(11) NOT NULL COMMENT '阻断',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `is_area_effective` int(11) NOT NULL DEFAULT 0 COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `area_effective_ids` varchar(1024) DEFAULT '' COMMENT '多个英文逗号分隔',
+ `function_id` int(11) NOT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `compile_id` int(11) NOT NULL,
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8; \ No newline at end of file
diff --git a/src/main/resources/sql/add_region_sort.sql b/src/main/resources/sql/add_region_sort.sql
new file mode 100644
index 0000000..5357978
--- /dev/null
+++ b/src/main/resources/sql/add_region_sort.sql
@@ -0,0 +1,8 @@
+ALTER TABLE function_region_dict ADD config_region_sort INT(11) COMMENT 'region排序';
+UPDATE function_region_dict SET config_region_sort=1 WHERE config_region_code=1;
+UPDATE function_region_dict SET config_region_sort=2 WHERE config_region_code=2;
+UPDATE function_region_dict SET config_region_sort=3 WHERE config_region_code=3;
+UPDATE function_region_dict SET config_region_sort=4 WHERE config_region_code=4;
+UPDATE function_region_dict SET config_region_sort=5 WHERE config_region_code=5;
+UPDATE function_region_dict SET config_region_sort=6 WHERE config_region_code=6;
+UPDATE function_region_dict SET config_region_sort=7 WHERE config_region_code=7;
diff --git a/src/main/resources/sql/add_spec_add_flag.sql b/src/main/resources/sql/add_spec_add_flag.sql
new file mode 100644
index 0000000..5a8e0b9
--- /dev/null
+++ b/src/main/resources/sql/add_spec_add_flag.sql
@@ -0,0 +1 @@
+ALTER TABLE specific_service_cfg ADD add_flag INT(11) NULL COMMENT '添加标记,APP特征界面上添加的为用户自己添加的'; \ No newline at end of file
diff --git a/src/main/resources/sql/alter_ratelimit_varchar.sql b/src/main/resources/sql/alter_ratelimit_varchar.sql
new file mode 100644
index 0000000..ef1dd10
--- /dev/null
+++ b/src/main/resources/sql/alter_ratelimit_varchar.sql
@@ -0,0 +1,10 @@
+ALTER TABLE app_byte_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE app_domain_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE app_http_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE app_layer_header_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE app_policy_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE app_ssl_cert_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE area_ip_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE dns_domain_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE http_url_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
+ALTER TABLE ip_port_cfg MODIFY ratelimit VARCHAR(10) NULL COMMENT '限速比例,0到1之间';
diff --git a/src/main/resources/sql/app_layer_header_cfg.sql b/src/main/resources/sql/app_layer_header_cfg.sql
new file mode 100644
index 0000000..3f47e63
--- /dev/null
+++ b/src/main/resources/sql/app_layer_header_cfg.sql
@@ -0,0 +1,60 @@
+/*
+Navicat MariaDB Data Transfer
+
+Source Server : 10.0.6.249
+Source Server Version : 100214
+Source Host : 10.0.6.249:3306
+Source Database : gwall
+
+Target Server Type : MariaDB
+Target Server Version : 100214
+File Encoding : 65001
+
+Date: 2018-08-20 20:40:02
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for app_layer_header_cfg
+-- ----------------------------
+DROP TABLE IF EXISTS `app_layer_header_cfg`;
+CREATE TABLE `app_layer_header_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `district` varchar(128) NOT NULL,
+ `cfg_keywords` varchar(1024) NOT NULL,
+ `app_code` int(11) NOT NULL,
+ `behav_code` int(11) DEFAULT NULL,
+ `spec_service_id` varchar(255) NOT NULL COMMENT 'specific_service_cfg .spec_service_id',
+ `cfg_desc` varchar(128) DEFAULT '',
+ `action` int(11) NOT NULL COMMENT '1:阻断(reject)2:监测(monit)5:管控白名单(Control whitelist)6:监测白名单(monit whitelist)7:管控监测都白名单(global whitelist)',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT 'sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '业务id',
+ `request_id` int(11) NOT NULL COMMENT '来自request_info.id',
+ `compile_id` int(11) NOT NULL,
+ `is_area_effective` int(11) NOT NULL DEFAULT 0,
+ `classify` varchar(128) DEFAULT '',
+ `attribute` varchar(128) DEFAULT '',
+ `lable` varchar(128) DEFAULT '',
+ `area_effective_ids` varchar(1024) DEFAULT '',
+ `function_id` int(11) NOT NULL,
+ `ratelimit` int(11) DEFAULT 0 COMMENT '限速比例',
+ `cfg_type` varchar(64) NOT NULL DEFAULT '',
+ `cfg_region_code` int(11) NOT NULL,
+ `expr_type` int(11) NOT NULL DEFAULT 0 COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL DEFAULT 3 COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL DEFAULT 0 COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/src/main/resources/sql/app_ssl_cert_cfg.sql b/src/main/resources/sql/app_ssl_cert_cfg.sql
new file mode 100644
index 0000000..0ca7723
--- /dev/null
+++ b/src/main/resources/sql/app_ssl_cert_cfg.sql
@@ -0,0 +1,60 @@
+/*
+Navicat MariaDB Data Transfer
+
+Source Server : 10.0.6.249
+Source Server Version : 100214
+Source Host : 10.0.6.249:3306
+Source Database : gwall
+
+Target Server Type : MariaDB
+Target Server Version : 100214
+File Encoding : 65001
+
+Date: 2018-08-20 20:39:54
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for app_ssl_cert_cfg
+-- ----------------------------
+DROP TABLE IF EXISTS `app_ssl_cert_cfg`;
+CREATE TABLE `app_ssl_cert_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+ `district` varchar(128) NOT NULL,
+ `cfg_keywords` varchar(1024) NOT NULL,
+ `app_code` int(11) NOT NULL,
+ `behav_code` int(11) DEFAULT NULL,
+ `spec_service_id` varchar(255) NOT NULL COMMENT 'specific_service_cfg .spec_service_id',
+ `cfg_desc` varchar(128) DEFAULT '',
+ `action` int(11) NOT NULL COMMENT '1:阻断(reject)2:监测(monit)5:管控白名单(Control whitelist)6:监测白名单(monit whitelist)7:管控监测都白名单(global whitelist)',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除\r\n1) 未审核时配置可删除\r\n2) 审核通过,此字段置1\r\n3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过\r\n1) 审核未通过,配置可修改\r\n2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT 'sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '来自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '业务id',
+ `request_id` int(11) NOT NULL COMMENT '来自request_info.id',
+ `compile_id` int(11) NOT NULL,
+ `is_area_effective` int(11) NOT NULL DEFAULT 0,
+ `classify` varchar(128) DEFAULT '',
+ `attribute` varchar(128) DEFAULT '',
+ `lable` varchar(128) DEFAULT '',
+ `area_effective_ids` varchar(1024) DEFAULT '',
+ `function_id` int(11) NOT NULL,
+ `ratelimit` int(11) DEFAULT 0 COMMENT '限速比例',
+ `cfg_type` varchar(64) NOT NULL DEFAULT '',
+ `cfg_region_code` int(11) NOT NULL,
+ `expr_type` int(11) NOT NULL DEFAULT 0 COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL DEFAULT 3 COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL DEFAULT 0 COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
diff --git a/src/main/resources/sql/code_dic.sql b/src/main/resources/sql/code_dic.sql
new file mode 100644
index 0000000..7b3df9e
--- /dev/null
+++ b/src/main/resources/sql/code_dic.sql
@@ -0,0 +1,944 @@
+/*
+Navicat MySQL Data Transfer
+
+Source Server : 10.0.6.249
+Source Server Version : 50505
+Source Host : 10.0.6.249:3306
+Source Database : gwall
+
+Target Server Type : MYSQL
+Target Server Version : 50505
+File Encoding : 65001
+
+Date: 2018-08-15 20:07:57
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for `code_app_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_app_dic`;
+CREATE TABLE `code_app_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `app_name` varchar(255) DEFAULT '',
+ `app_name_zh` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT '' COMMENT '应用编码',
+ `icon` varchar(255) DEFAULT '',
+ `behavior` varchar(255) DEFAULT '' COMMENT '行为细分',
+ `core_app` int(11) DEFAULT NULL COMMENT '是否是核心应用(1:是,0:否)',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=399 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_app_dic
+-- ----------------------------
+INSERT INTO `code_app_dic` VALUES ('1', 'Unknow', '超出APP范畴', '0', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('2', 'Skype', 'Skype', '100001', '', 'Skype video calls/calls\nSkype voice\nSkype message\nSkype transfer', '1');
+INSERT INTO `code_app_dic` VALUES ('3', 'Instagram', 'Instagram', '100101', '', 'Instagram video\nInstagram message\nInstagram live\nInstagram adding photos and videos', '1');
+INSERT INTO `code_app_dic` VALUES ('4', 'Youtube', 'Youtube', '100201', '', 'Youtube video\nYoutube live\nYoutube adding videos', '1');
+INSERT INTO `code_app_dic` VALUES ('5', 'Facebook', 'Facebook', '100301', '', 'Facebook video\nFacebook live\nFacebook message', '1');
+INSERT INTO `code_app_dic` VALUES ('6', 'What‘s App', 'What‘s App', '100401', '', 'What\'s App message\nWhat\'s App calls/video calls\nWhat\'s App transfer', '1');
+INSERT INTO `code_app_dic` VALUES ('7', 'Periscope', 'Periscope', '100501', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('8', 'Viber', 'Viber', '100601', '', 'Viber calls/video calls\nViber message\nViber transfer', '1');
+INSERT INTO `code_app_dic` VALUES ('9', 'Twitter', 'Twitter', '100701', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('10', 'Vkontakte', 'Vkontakte', '100801', '', 'Vkontakte video\nVkontakte message\nVkontakte live', '1');
+INSERT INTO `code_app_dic` VALUES ('11', 'Telegram', 'Telegram', '100901', '', 'Telegram message\nTelegram calls/video calls\nTelegram transfer', '1');
+INSERT INTO `code_app_dic` VALUES ('12', 'Odnoklassniki', 'Odnoklassniki', '101001', '', 'Odnoklassniki message\nOdnoklassniki video', '1');
+INSERT INTO `code_app_dic` VALUES ('13', 'Mail agent', 'Mail agent', '101101', '', 'Mail agent message\nMail agent calls\nMail agent transfer', '1');
+INSERT INTO `code_app_dic` VALUES ('14', 'FaceTime', 'FaceTime', '101201', '', 'Facetime video calls\nFacetime voice calls', '1');
+INSERT INTO `code_app_dic` VALUES ('15', 'Snapchat', 'Snapchat', '101301', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('16', 'Google', 'Google', '101401', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('17', 'Yandex', 'Yandex', '101501', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('18', 'Yandex Browser Turbo', 'Yandex Browser Turbo', '101601', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('19', 'Opera', 'Opera', '101701', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('20', 'Opera Turbo', 'Opera Turbo', '101702', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('21', 'Opera mini', 'Opera mini', '101703', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('22', 'AppStore', 'AppStore', '101801', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('23', 'PlayMarket', 'PlayMarket', '101901', '', ' ', '1');
+INSERT INTO `code_app_dic` VALUES ('24', 'Drugvokrug social networking', 'Drugvokrug social networking', '102001', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('25', 'Badoo social networking', 'Badoo social networking', '102101', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('26', 'WeChat', 'WeChat', '102201', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('27', 'Zello', 'Zello', '102301', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('28', 'Freegate', 'Freegate', '102401', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('29', 'Psiphon', 'Psiphon', '102501', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('30', 'TOR', 'TOR', '102601', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('31', 'Tor browser', 'Tor browser', '102602', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('32', 'Tor mode', 'Tor mode', '102603', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('33', 'Orbot', 'Orbot', '102701', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('34', 'Tunnel Bear VPN', 'Tunnel Bear VPN', '102801', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('35', 'HotSpot Shield VPN', 'HotSpot Shield VPN', '102901', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('36', 'VPN Master', 'VPN Master', '103001', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('37', 'Hola VPN', 'Hola VPN', '103101', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('38', 'HideMyAss VPN', 'HideMyAss VPN', '103201', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('39', 'Zenmate VPN', 'Zenmate VPN', '103301', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('40', 'Unspecified', 'Unspecified', '268435455', '', '', '1');
+INSERT INTO `code_app_dic` VALUES ('41', 'RFA', '', '200001', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('42', 'VOA', '', '200002', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('43', 'lantern', '', '200003', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('44', 'Line', '', '200004', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('45', 'voxer', '', '200005', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('46', 'ZeroNet', '', '200006', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('47', 'Zalo', '', '200007', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('48', 'free_browser', '', '200008', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('49', 'Diaspora', '', '200009', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('50', 'browsec', '', '200010', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('51', 'Chrome_plugin_chuguo', '', '200011', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('52', 'GoGo_SocksHttp', '', '200012', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('53', 'ultrasurf_chrome', '', '200013', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('54', 'pinterest', '', '200014', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('55', 'Swisscom', '', '200015', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('56', 'Threema', '', '200016', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('57', 'Circuit_iOS', '', '200017', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('58', 'Chrome_plugin_FastsTunnel', '', '200018', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('59', 'OoVoo', '', '200019', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('60', 'Vine', '', '200020', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('61', 'Keek', '', '200021', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('62', 'Hi', '', '200022', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('63', 'HeyTell', '', '200023', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('64', 'HikeMessenger', '', '200024', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('65', 'Nonoh', '', '200025', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('66', 'Path', '', '200026', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('67', 'Kik', '', '200027', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('68', 'BBM', '', '200028', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('69', 'Talkray', '', '200029', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('70', 'HelloTalk', '', '200030', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('71', 'Skout', '', '200031', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('72', 'MeetMe', '', '200032', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('73', 'Nextdoor', '', '200033', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('74', 'Shots', '', '200034', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('75', 'Zoosk', '', '200035', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('76', 'TextPlus', '', '200036', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('77', 'Maaii', '', '200037', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('78', 'Ustream', '', '200038', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('79', 'Yikyak', '', '200039', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('80', 'chatsecure', '', '200040', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('81', 'freecalls', '', '200041', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('82', 'SignalPrivateMessenger', '', '200042', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('83', 'USGOV_CIA', '', '200043', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('84', 'USGOV_FBI', '', '200044', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('85', 'USGOV_DHS', '', '200045', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('86', 'shenxun_Secure_Call_android', '', '200046', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('87', 'shenxun_Secure_Call_web', '', '200047', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('88', 'UProxy', '', '200048', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('89', 'soma', '', '200049', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('90', 'PlayerUnknown\'s_Battlegrounds', '', '200050', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('91', 'STEAM', '', '200051', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('92', 'dalai_lama', '', '200052', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('93', 'Steam_forum', '', '200053', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('94', 'Microsoft Online Certificate', '微软在线证书', '200054', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('95', 'sogou_spider', 'sogou_spider', '200055', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('96', 'baidu_mobie', 'baidu_mobie', '200056', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('97', 'Apple Push Service', '苹果推送服务', '200057', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('98', 'IQIYI', '爱奇艺', '200058', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('99', 'baidu_spider', 'baidu_spider', '200059', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('100', 'Weibo', '微博', '200060', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('101', 'Apple captive service', '苹果captive服务', '200061', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('102', 'Microsoft wns', '微软wns', '200062', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('103', '360_safe_pc', '360_safe_pc', '200063', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('104', 'Sogou Public Service', '搜狗公有服务', '200064', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('105', 'Lenovo app_POST service', '联想app_POST服务', '200065', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('106', 'Apple securityd service', '苹果securityd服务', '200066', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('107', 'Weather pass', '天气通', '200067', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('108', 'Apple Service Pack', '苹果服务包', '200068', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('109', 'Fast pressure', '快压', '200069', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('110', 'SemrushBot', 'SemrushBot', '200070', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('111', 'Adrefs_spider', 'Adrefs_spider', '200071', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('112', 'AndroidDownloadManager', 'AndroidDownloadManager', '200072', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('113', 'XenderTop', 'XenderTop', '200073', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('114', 'microsoft_update', 'microsoft_update', '200074', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('115', 'Youku', '优酷', '200075', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('116', 'Google_spider', 'goolge_spider', '200076', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('117', 'Microsoft User Experience and Telemetry Components', '微软用户体验与遥测组件', '200077', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('118', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', 'MICROSOFT_DEVICE_METADATA_RETRIEVAL_CLIENT', '200078', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('119', 'Microsoft ncsi', '微软ncsi', '200079', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('120', 'Microsoft Privacy Collection Service', '微软隐私收集服务', '200080', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('121', 'uTorrent', 'uTorrent', '200081', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('122', 'Edge', 'Edge', '200082', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('123', 'Lenovo Music Store', '联想乐商店', '200083', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('124', 'LieBao', 'LieBao', '200084', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('125', 'majesti_spider', 'majesti_spider', '200085', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('126', 'DotBot', 'DotBot', '200086', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('127', 'Millet Update', '小米Update', '200087', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('128', 'Today’s headlines', '今日头条', '200088', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('129', 'Microsoft live', '微软live', '200089', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('130', 'Microsoft OneNote', '微软OneNote', '200090', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('131', 'Bing_spider', 'bing_spider', '200091', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('132', 'Apple location service', '苹果位置服务', '200092', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('133', 'Kuaishou', '快手', '200093', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('134', 'LeTV video', '乐视视频', '200094', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('135', 'QQ', 'QQ', '200095', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('136', 'Wps', 'wps', '200096', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('137', 'kugou music', '酷狗音乐', '200097', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('138', 'kuwo music', '酷我音乐', '200098', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('139', '360_common_service', '360_common_service', '200099', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('140', 'Camera360', 'Camera360', '200100', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('141', 'Outlook', 'outlook', '200101', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('142', 'zhihu', '知乎', '200102', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('143', 'Tencent video', '腾讯视频', '200103', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('144', 'funshion', '风行', '200104', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('145', 'QQ shared service', 'QQ共有服务', '200105', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('146', 'Microsoft wdcp service', '微软wdcp服务', '200106', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('147', 'Microsoft Media_center_pc', '微软Media_center_pc', '200107', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('148', '360 phone helper', '360手机助手', '200108', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('149', 'Kingsoft Public Service', '金山公有服务', '200109', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('150', 'Ios_wifi connection', 'ios_wifi连接', '200110', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('151', 'Teamviewer', 'teamviewer', '200111', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('152', 'Baidu cloud disk', '百度云盘', '200112', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('153', 'Tencent News', '腾讯新闻', '200113', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('154', 'Baidu map', '百度地图', '200114', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('155', 'Panda TV', '熊猫TV', '200115', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('156', 'Thunder', '迅雷', '200116', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('157', 'NetEase cloud music', '网易云音乐', '200117', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('158', 'QQ music', 'QQ音乐', '200118', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('159', 'Itools', 'itools', '200119', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('160', 'Jingdong Finance', '京东金融', '200120', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('161', 'PycURL', 'PycURL', '200121', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('162', 'Yahoo_Spider', 'Yahoo_Spider', '200122', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('163', 'Himalayan FM', '喜马拉雅FM', '200123', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('164', 'Youdao_dict', 'youdao_dict', '200124', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('165', 'Microsoft_spynet', 'microsoft_spynet', '200125', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('166', 'proximicBot', 'proximicBot', '200126', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('167', 'Foxit_reader', 'foxit_reader', '200127', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('168', 'Sohu Video', '搜狐视频', '200128', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('169', 'BlueStacks', 'BlueStacks', '200129', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('170', 'Beauty group', '美团', '200130', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('171', 'Kmplayer', '暴风影音', '200131', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('172', 'TaoBao', '淘宝', '200132', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('173', 'Exabot', 'Exabot', '200133', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('174', 'Ubuntu_apt_get', 'ubuntu_apt_get', '200134', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('175', 'Oriental Fortune', '东方财富通', '200135', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('176', 'JikeSpider', 'JikeSpider', '200136', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('177', 'Itunesstored', 'itunesstored', '200137', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('178', 'GAD map', '高德地图', '200138', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('179', 'ifeng News', '凤凰新闻', '200139', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('180', 'BoardReaderBot', 'BoardReaderBot', '200140', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('181', 'AmazonBot', 'AmazonBot', '200141', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('182', 'Alipay', '支付宝', '200142', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('183', 'Alipay security controls', '支付宝安全控件', '200143', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('184', '360 security guards (antivirus)', '360安全卫士(杀毒)', '200144', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('185', '360 logon service', '360登录服务', '200145', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('186', 'BLP_bbot', 'BLP_bbot', '200146', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('187', 'Keep', 'keep', '200147', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('188', 'WiFi universal key', 'WiFi万能钥匙', '200148', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('189', 'Baidu Music', '百度音乐', '200149', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('190', 'Vip.com', '唯品会', '200150', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('191', 'JD.COM', '京东', '200151', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('192', 'sina', '新浪新闻', '200152', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('193', 'youdao Public service', '有道公有服务', '200153', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('194', 'Jinshan public service', '金山公有服务', '200154', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('195', 'Baidu guard', '百度卫士', '200155', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('196', 'Apple system update service', '苹果系统更新服务', '200156', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('197', 'momo', '陌陌', '200157', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('198', 'CNZZ statistics', 'CNZZ统计', '200158', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('199', 'Microsoft one_drive service', '微软one_drive服务', '200159', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('200', 'WindowsStore', 'WindowsStore', '200160', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('201', 'duba', '毒霸', '200161', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('202', 'Baidu HD', '百度HD', '200162', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('203', 'qunar', '去哪儿旅行', '200163', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('204', 'qianxunyingshi', '千寻影视', '200164', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('205', 'KuaiyanKanShuSpider', 'kuaiyanKanShuSpider', '200165', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('206', 'Mail.RU_Bot_Robot', 'Mail.RU_Bot_Robot', '200166', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('207', 'MpCommunication', 'MpCommunication', '200167', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('208', 'Weather forecast', '天气预报', '200168', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('209', 'Ltx71_spider', 'ltx71_spider', '200169', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('210', 'Ia_archiver', 'ia_archiver', '200170', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('211', 'Ali Wangwang', '阿里旺旺', '200171', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('212', 'UC home page (information)', 'UC首页(资讯)', '200172', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('213', 'Yeti', 'Yeti', '200173', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('214', 'Rtorrent', 'rtorrent', '200174', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('215', 'QQPim', 'QQ同步助手', '200175', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('216', 'NetEase News', '网易新闻', '200176', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('217', 'sina sports', '新浪体育', '200177', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('218', 'Exchange of foreign exchange', '和讯外汇', '200178', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('219', 'BlueStacks update', 'BlueStacks更新', '200179', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('220', 'youdao', '有道云笔记', '200180', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('221', 'QQ computer housekeeper', 'QQ电脑管家', '200181', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('222', 'UltraEdit', 'UltraEdit', '200182', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('223', 'EasouSpider', 'EasouSpider', '200183', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('224', 'QQ Zone', 'QQ空间', '200184', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('225', 'Foxmail', 'foxmail', '200185', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('226', 'Pingdom.com', 'Pingdom.com', '200186', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('227', 'Sina Finance', '新浪财经', '200187', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('228', 'QQ one key login', 'QQ一键登录', '200188', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('229', 'Norton', '诺顿', '200189', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('230', 'Baidu waimai', '百度外卖', '200190', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('231', 'YaCy', 'yacy', '200191', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('232', 'Haitong e Haitong', '海通e海通财', '200192', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('233', 'AdsBot-Google', 'AdsBot-Google', '200193', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('234', 'Guangfa Yijin', '广发易淘金', '200194', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('235', 'Ali security program', '阿里安全程序', '200195', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('236', 'Cliqzbot', 'Cliqzbot', '200196', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('237', 'Mobike', '摩拜单车', '200197', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('238', 'Kingsoft PowerWord', '金山词霸', '200198', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('239', 'meishij', '美食杰', '200199', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('240', 'CCB mobile bank', '建行手机银行', '200200', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('241', 'Mega SkyDrive', 'Mega网盘', '200201', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('242', 'douyu', '斗鱼', '200202', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('243', 'Flamingo_SearchEngine', 'Flamingo_SearchEngine', '200203', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('244', 'Lenovo shop', '联想乐商店', '200204', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('245', 'Uc news', 'Uc新闻', '200205', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('246', 'Volcano small video', '火山小视频', '200206', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('247', 'Meitu Xiu Xiu', '美图秀秀', '200207', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('248', 'Kaspersky', 'Kaspersky', '200208', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('249', 'AcFun', 'AcFun', '200209', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('250', 'Slackbot', 'Slackbot', '200210', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('251', 'Snowball', '雪球', '200211', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('252', 'SafeDNSBot', 'SafeDNSBot', '200212', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('253', 'Great wisdom', '大智慧', '200213', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('254', 'Mailbox of NetEase', '网易邮箱大师', '200214', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('255', 'peasecod', '豌豆荚', '200215', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('256', 'Gold ten data', '金十数据', '200216', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('257', 'Linkdexbot', 'linkdexbot', '200217', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('258', 'Sina blog', '新浪博客', '200218', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('259', 'Ginger', 'Ginger', '200219', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('260', 'Microsoft activation verification', '微软激活验证', '200220', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('261', 'Youdao Dictionary', '有道词典', '200221', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('262', 'Facebot', 'Facebot', '200222', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('263', 'Dangdang', '当当', '200223', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('264', 'QQ cyclone', 'QQ旋风', '200224', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('265', 'Wp_feedbot', 'wp_feedbot', '200225', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('266', 'ICBC', '中国工商银行', '200226', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('267', 'Public service', '有道公有服务', '200227', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('268', 'Magpie-crawler', 'magpie-crawler', '200228', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('269', 'xianyu', '闲鱼', '200229', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('270', 'GetIntentBot', 'GetIntentBot', '200230', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('271', 'Papers', 'Papers', '200231', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('272', 'NewsGator', 'NewsGator', '200232', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('273', 'RankFlexBot', 'RankFlexBot', '200233', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('274', 'rogerbot', 'rogerbot', '200234', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('275', 'SurdotlyBot', 'SurdotlyBot', '200235', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('276', 'CheckMarkNetworkBot', 'CheckMarkNetworkBot', '200236', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('277', 'pyspider', 'pyspider', '200237', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('278', 'spbot', 'spbot', '200238', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('279', 'Huaxia Bank', '华夏银行', '200239', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('280', 'glory of king', '王者荣耀', '200240', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('281', 'msnbot-Products', 'msnbot-Products', '200241', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('282', 'archive.org', 'archive.org', '200242', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('283', 'applebot', 'applebot', '200243', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('284', 'alicall', '阿里通电话', '200244', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('285', 'Superfeedrbot', 'Superfeedrbot', '200245', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('286', 'QQ mailbox', 'QQ邮箱', '200246', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('287', 'coccocbot-webBot', 'coccocbot-webBot', '200247', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('288', 'dingtalk', '钉钉', '200248', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('289', 'Dragonbot', 'Dragonbot', '200249', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('290', 'Mediatoolkitbot', 'Mediatoolkitbot', '200250', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('291', 'bitcomet', '', '200251', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('292', 'filetopia', '', '200252', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('293', 'flashget', '', '200253', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('294', 'oracle', '', '200254', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('295', 'yyvoice', '', '200255', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('296', 'imesh', '', '200256', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('297', 'citrix', '', '200257', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('298', 'corba', '', '200258', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('299', 'dameware', '', '200259', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('300', 'pcanywhere', '', '200260', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('301', 'qq_rdp', '', '200261', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('302', 'poco', '', '200262', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('303', 'qqdownload', '', '200263', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('304', 'applejuice', '', '200264', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('305', 'stealthnet', '', '200265', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('306', 'winmx', '', '200266', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('307', 'emule', '', '200267', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('308', 'emule_decrypt', '', '200268', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('309', 'kuwo', '', '200269', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('310', 'qvod', '', '200270', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('311', 'mysql', '', '200271', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('312', 'icecast', '', '200272', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('313', 'mms', '', '200273', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('314', 'pplive', '', '200274', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('315', 'ppstream', '', '200275', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('316', 'sopcast', '', '200276', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('317', 'tvants', '', '200277', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('318', 'sohutv', '', '200278', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('319', 'iku', '', '200279', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('320', 'qqlive', '', '200280', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('321', 'rsync', '', '200281', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('322', 'smb', '', '200282', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('323', 'xunyou_speedup', '', '200283', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('324', 'msn', '', '200284', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('325', 'popo', '', '200285', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('326', 'sinauc', '', '200286', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('327', 'qqbattle', '', '200287', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('328', 'quake', '', '200288', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('329', 'xbox', '', '200289', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('330', 'wow', '', '200290', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('331', 'lol', '', '200291', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('332', 'PostgreSQL', '', '200292', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('333', 'TDS', '', '200293', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('334', 'VMware', '', '200294', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('335', 'Kontiki', '', '200295', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('336', 'OpenFT', '', '200296', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('337', 'Gnutella', '', '200297', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('338', 'eDonkey', '', '200298', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('339', 'AVI', '', '200299', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('340', 'RealMedia', '', '200300', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('341', 'Windowsmedia', '', '200301', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('342', 'MOVE', '', '200302', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('343', 'Feidian', '', '200303', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('344', 'Zattoo', '', '200304', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('345', 'SHOUTCast', '', '200305', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('346', 'TVUplayer', '', '200306', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('347', 'VeohTV', '', '200307', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('348', 'Soulseek', '', '200308', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('349', 'GaduGadu', '', '200309', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('350', 'Oscar', '', '200310', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('351', 'Yahoo', '', '200311', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('352', 'Battlefield', '', '200312', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('353', 'Halflife2', '', '200313', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('354', 'World of Warcraft', '', '200314', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('355', 'USENET', '', '200315', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('356', 'AFP', '', '200316', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('357', 'Truphone', '', '200317', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('358', 'Armagetron', '', '200318', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('359', 'CrossFire', '', '200319', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('360', 'Dofus', '', '200320', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('361', 'Fiesta', '', '200321', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('362', 'Florensia', '', '200322', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('363', 'Guildwars', '', '200323', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('364', 'HTTP Application Activesync', '', '200324', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('365', 'MapleStory', '', '200325', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('366', 'msSQL', '', '200326', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('367', 'WARCRAFT3', '', '200327', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('368', 'World of Kung Fu', '', '200328', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('369', 'MEEBO', '', '200329', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('370', 'DropBox', '', '200330', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('371', 'HTTP Proxy', '', '200331', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('372', 'Netflix', '', '200332', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('373', 'CitrixOnline/GotoMeeting', '', '200333', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('374', 'Webex', '', '200334', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('375', 'Apple iCloud', '', '200335', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('376', 'Apple iTunes', '', '200336', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('377', 'WindowsUpdate', '', '200337', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('378', 'Tuenti', '', '200338', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('379', 'LotusNotes', '', '200339', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('380', 'RemoteScan', '', '200340', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('381', 'Spotify', '', '200341', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('382', 'CiscoVPN', '', '200342', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('383', 'TeamSpeak', '', '200343', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('384', 'UbuntuONE', '', '200344', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('385', 'CNN', '', '200345', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('386', 'Wikipedia', '', '200346', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('387', 'Collectd', '', '200347', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('388', 'Redis', '', '200348', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('389', 'ZeroMQ', '', '200349', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('390', 'Stracraft', '', '200350', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('391', 'Simet', '', '200351', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('392', 'OpenSignal', '', '200352', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('393', '99Taxi', '', '200353', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('394', 'GloboTV', '', '200354', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('395', 'Deezer', '', '200355', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('396', 'Microsoft cloud services', '', '200356', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('397', 'Twitch', '', '200357', '', '', '0');
+INSERT INTO `code_app_dic` VALUES ('398', 'KakaoTalk Voice and Chat', '', '200358', '', '', '0');
+
+-- ----------------------------
+-- Table structure for `code_behavior_type_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_behavior_type_dic`;
+CREATE TABLE `code_behavior_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `behavior_type` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_behavior_type_dic
+-- ----------------------------
+INSERT INTO `code_behavior_type_dic` VALUES ('1', 'voice', '1');
+INSERT INTO `code_behavior_type_dic` VALUES ('2', 'video', '2');
+INSERT INTO `code_behavior_type_dic` VALUES ('3', 'calls', '3');
+INSERT INTO `code_behavior_type_dic` VALUES ('4', 'transfer', '4');
+INSERT INTO `code_behavior_type_dic` VALUES ('5', 'message', '5');
+INSERT INTO `code_behavior_type_dic` VALUES ('6', 'live', '6');
+INSERT INTO `code_behavior_type_dic` VALUES ('7', 'upload', '7');
+INSERT INTO `code_behavior_type_dic` VALUES ('8', 'download', '8');
+INSERT INTO `code_behavior_type_dic` VALUES ('9', 'backpass', '255');
+INSERT INTO `code_behavior_type_dic` VALUES ('10', 'unspecified', '268435455');
+
+-- ----------------------------
+-- Table structure for `code_browser_type_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_browser_type_dic`;
+CREATE TABLE `code_browser_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `browser_type` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT NULL,
+ `icon` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_browser_type_dic
+-- ----------------------------
+INSERT INTO `code_browser_type_dic` VALUES ('1', 'Unkonw', '0', '');
+INSERT INTO `code_browser_type_dic` VALUES ('2', 'Google Chrome', '1', '');
+INSERT INTO `code_browser_type_dic` VALUES ('3', 'Mozilla Firefox', '101', '');
+INSERT INTO `code_browser_type_dic` VALUES ('4', 'Safari', '201', '');
+INSERT INTO `code_browser_type_dic` VALUES ('5', 'Opera', '301', '');
+INSERT INTO `code_browser_type_dic` VALUES ('6', 'Yandex', '401', '');
+INSERT INTO `code_browser_type_dic` VALUES ('7', 'MSIE', '501', '');
+INSERT INTO `code_browser_type_dic` VALUES ('8', 'Android brower', '601', '');
+INSERT INTO `code_browser_type_dic` VALUES ('9', 'Konqueror', '701', '');
+INSERT INTO `code_browser_type_dic` VALUES ('10', 'Bing', '801', '');
+INSERT INTO `code_browser_type_dic` VALUES ('11', 'Unspecified', '268435455', '');
+INSERT INTO `code_browser_type_dic` VALUES ('14', 'Others', '-1', null);
+INSERT INTO `code_browser_type_dic` VALUES ('15', 'SogouMobileBrowser', '901', null);
+INSERT INTO `code_browser_type_dic` VALUES ('16', 'SogouBrowser', '1001', null);
+INSERT INTO `code_browser_type_dic` VALUES ('17', 'OPPO', '1101', null);
+INSERT INTO `code_browser_type_dic` VALUES ('18', 'UCBrowser', '1201', null);
+INSERT INTO `code_browser_type_dic` VALUES ('19', '2345Browser', '1301', null);
+INSERT INTO `code_browser_type_dic` VALUES ('20', 'QQMobileBrowser', '1401', null);
+INSERT INTO `code_browser_type_dic` VALUES ('21', 'QQBrowser', '1501', null);
+INSERT INTO `code_browser_type_dic` VALUES ('22', 'baidubrowser', '1601', null);
+INSERT INTO `code_browser_type_dic` VALUES ('23', 'LieBao', '1701', null);
+INSERT INTO `code_browser_type_dic` VALUES ('24', 'MiuiBrowser', '1801', null);
+INSERT INTO `code_browser_type_dic` VALUES ('25', 'SamsungBrowser', '1901', null);
+INSERT INTO `code_browser_type_dic` VALUES ('26', 'IE', '2001', null);
+INSERT INTO `code_browser_type_dic` VALUES ('27', 'GriOS', '2101', null);
+INSERT INTO `code_browser_type_dic` VALUES ('28', '360SE', '2201', null);
+INSERT INTO `code_browser_type_dic` VALUES ('29', 'Maxthon', '2301', null);
+INSERT INTO `code_browser_type_dic` VALUES ('30', 'The World', '2401', null);
+INSERT INTO `code_browser_type_dic` VALUES ('31', 'JuziBrowser', '2501', null);
+INSERT INTO `code_browser_type_dic` VALUES ('32', 'TencentTraveler', '2601', null);
+
+-- ----------------------------
+-- Table structure for `code_os_type_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_os_type_dic`;
+CREATE TABLE `code_os_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `os_type` varchar(255) DEFAULT NULL,
+ `view_code` varchar(255) DEFAULT NULL,
+ `icon` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_os_type_dic
+-- ----------------------------
+INSERT INTO `code_os_type_dic` VALUES ('1', 'Unknow', '0', '');
+INSERT INTO `code_os_type_dic` VALUES ('2', 'Windows', '1', '');
+INSERT INTO `code_os_type_dic` VALUES ('3', 'Linux', '101', '');
+INSERT INTO `code_os_type_dic` VALUES ('4', 'Mac OS X', '201', '');
+INSERT INTO `code_os_type_dic` VALUES ('5', 'OpenBSD', '301', '');
+INSERT INTO `code_os_type_dic` VALUES ('6', 'FreeBSD', '401', '');
+INSERT INTO `code_os_type_dic` VALUES ('7', 'Solaris', '501', '');
+INSERT INTO `code_os_type_dic` VALUES ('8', 'OpenVMS', '601', '');
+INSERT INTO `code_os_type_dic` VALUES ('9', 'NeXTSTEP', '701', '');
+INSERT INTO `code_os_type_dic` VALUES ('10', 'HP-UX', '801', '');
+INSERT INTO `code_os_type_dic` VALUES ('11', 'Tru64', '901', '');
+INSERT INTO `code_os_type_dic` VALUES ('12', 'iOS ', '1001', '');
+INSERT INTO `code_os_type_dic` VALUES ('14', 'Unspecified', '268435455', '');
+INSERT INTO `code_os_type_dic` VALUES ('15', 'Others', '-1', null);
+INSERT INTO `code_os_type_dic` VALUES ('16', 'Android\r\n', '1301\r\n', null);
+INSERT INTO `code_os_type_dic` VALUES ('17', 'Windows Phone', '1201', null);
+INSERT INTO `code_os_type_dic` VALUES ('18', 'Symbian\r\n', '1401\r\n', null);
+
+-- ----------------------------
+-- Table structure for `code_protocol_type_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_protocol_type_dic`;
+CREATE TABLE `code_protocol_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `protocol_type` varchar(255) DEFAULT '',
+ `view_code` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_protocol_type_dic
+-- ----------------------------
+INSERT INTO `code_protocol_type_dic` VALUES ('1', 'Unknow', '0');
+INSERT INTO `code_protocol_type_dic` VALUES ('2', 'TCP', '1');
+INSERT INTO `code_protocol_type_dic` VALUES ('3', 'UDP', '2');
+INSERT INTO `code_protocol_type_dic` VALUES ('4', 'DNS', '3');
+INSERT INTO `code_protocol_type_dic` VALUES ('5', 'FTP', '4');
+INSERT INTO `code_protocol_type_dic` VALUES ('6', 'FTPS', '5');
+INSERT INTO `code_protocol_type_dic` VALUES ('7', 'GRE', '6');
+INSERT INTO `code_protocol_type_dic` VALUES ('8', 'HTTP', '7');
+INSERT INTO `code_protocol_type_dic` VALUES ('9', 'HTTPS', '8');
+INSERT INTO `code_protocol_type_dic` VALUES ('10', 'ICMP', '9');
+INSERT INTO `code_protocol_type_dic` VALUES ('11', 'IKE', '10');
+INSERT INTO `code_protocol_type_dic` VALUES ('12', 'IMAP', '11');
+INSERT INTO `code_protocol_type_dic` VALUES ('13', 'IMAPS', '12');
+INSERT INTO `code_protocol_type_dic` VALUES ('14', 'IPSEC', '13');
+INSERT INTO `code_protocol_type_dic` VALUES ('15', 'XMPP', '14');
+INSERT INTO `code_protocol_type_dic` VALUES ('16', 'L2TP', '15');
+INSERT INTO `code_protocol_type_dic` VALUES ('17', 'NTP', '16');
+INSERT INTO `code_protocol_type_dic` VALUES ('18', 'POP3', '17');
+INSERT INTO `code_protocol_type_dic` VALUES ('19', 'POP3 SSL', '18');
+INSERT INTO `code_protocol_type_dic` VALUES ('20', 'PPTP', '19');
+INSERT INTO `code_protocol_type_dic` VALUES ('21', 'Quic', '20');
+INSERT INTO `code_protocol_type_dic` VALUES ('22', 'SIP', '21');
+INSERT INTO `code_protocol_type_dic` VALUES ('23', 'SMP', '22');
+INSERT INTO `code_protocol_type_dic` VALUES ('24', 'SMTP', '23');
+INSERT INTO `code_protocol_type_dic` VALUES ('25', 'SMTPS', '24');
+INSERT INTO `code_protocol_type_dic` VALUES ('26', 'SPDY', '25');
+INSERT INTO `code_protocol_type_dic` VALUES ('27', 'SSH-V1', '26');
+INSERT INTO `code_protocol_type_dic` VALUES ('28', 'SSH-V2', '27');
+INSERT INTO `code_protocol_type_dic` VALUES ('29', 'SSH-other', '28');
+INSERT INTO `code_protocol_type_dic` VALUES ('30', 'SSL', '29');
+INSERT INTO `code_protocol_type_dic` VALUES ('31', 'SOCKS', '30');
+INSERT INTO `code_protocol_type_dic` VALUES ('32', 'BITTORRENT', '31');
+INSERT INTO `code_protocol_type_dic` VALUES ('33', 'RTSP', '32');
+INSERT INTO `code_protocol_type_dic` VALUES ('34', 'TELNET', '33');
+INSERT INTO `code_protocol_type_dic` VALUES ('35', 'UTP', '34');
+INSERT INTO `code_protocol_type_dic` VALUES ('36', 'FASTTRACK', '35');
+INSERT INTO `code_protocol_type_dic` VALUES ('37', 'SKINNY', '36');
+INSERT INTO `code_protocol_type_dic` VALUES ('38', 'IAX', '37');
+INSERT INTO `code_protocol_type_dic` VALUES ('39', 'MGCP', '38');
+INSERT INTO `code_protocol_type_dic` VALUES ('40', 'RTCP', '39');
+INSERT INTO `code_protocol_type_dic` VALUES ('41', 'RTP', '40');
+INSERT INTO `code_protocol_type_dic` VALUES ('42', 'VNC', '41');
+INSERT INTO `code_protocol_type_dic` VALUES ('43', 'XDMCP', '42');
+INSERT INTO `code_protocol_type_dic` VALUES ('44', 'RDP', '43');
+INSERT INTO `code_protocol_type_dic` VALUES ('45', 'AIMINI', '44');
+INSERT INTO `code_protocol_type_dic` VALUES ('46', 'IPP', '45');
+INSERT INTO `code_protocol_type_dic` VALUES ('47', 'NFS', '46');
+INSERT INTO `code_protocol_type_dic` VALUES ('48', 'TFTP', '47');
+INSERT INTO `code_protocol_type_dic` VALUES ('49', 'BGP', '48');
+INSERT INTO `code_protocol_type_dic` VALUES ('50', 'DHCP', '49');
+INSERT INTO `code_protocol_type_dic` VALUES ('51', 'DHCPV6', '50');
+INSERT INTO `code_protocol_type_dic` VALUES ('52', 'FINGER', '51');
+INSERT INTO `code_protocol_type_dic` VALUES ('53', 'KERBEROS', '52');
+INSERT INTO `code_protocol_type_dic` VALUES ('54', 'LDAP', '53');
+INSERT INTO `code_protocol_type_dic` VALUES ('55', 'MDNS', '54');
+INSERT INTO `code_protocol_type_dic` VALUES ('56', 'NNTP', '55');
+INSERT INTO `code_protocol_type_dic` VALUES ('57', 'SNMP', '56');
+INSERT INTO `code_protocol_type_dic` VALUES ('58', 'SSDP', '57');
+INSERT INTO `code_protocol_type_dic` VALUES ('59', 'SYSLOG', '58');
+INSERT INTO `code_protocol_type_dic` VALUES ('60', 'WHOIS', '59');
+INSERT INTO `code_protocol_type_dic` VALUES ('61', 'RADIUS', '60');
+INSERT INTO `code_protocol_type_dic` VALUES ('62', 'OPENVPN', '61');
+INSERT INTO `code_protocol_type_dic` VALUES ('63', 'STUN', '62');
+INSERT INTO `code_protocol_type_dic` VALUES ('64', 'TEREDO', '63');
+INSERT INTO `code_protocol_type_dic` VALUES ('65', 'GTP', '64');
+INSERT INTO `code_protocol_type_dic` VALUES ('66', 'RTMP', '65');
+INSERT INTO `code_protocol_type_dic` VALUES ('67', 'chargen_tcp_udp', '66');
+INSERT INTO `code_protocol_type_dic` VALUES ('68', 'llmnr_udp', '67');
+INSERT INTO `code_protocol_type_dic` VALUES ('69', 'nbns_udp', '68');
+INSERT INTO `code_protocol_type_dic` VALUES ('70', 'NETBIOS', '69');
+INSERT INTO `code_protocol_type_dic` VALUES ('71', 'DirectDownloadLink', '70');
+INSERT INTO `code_protocol_type_dic` VALUES ('72', 'I23V5', '71');
+INSERT INTO `code_protocol_type_dic` VALUES ('73', 'DirectConnect', '72');
+INSERT INTO `code_protocol_type_dic` VALUES ('74', 'OFF', '73');
+INSERT INTO `code_protocol_type_dic` VALUES ('75', 'OGG', '74');
+INSERT INTO `code_protocol_type_dic` VALUES ('76', 'MPEG', '75');
+INSERT INTO `code_protocol_type_dic` VALUES ('77', 'IRC', '76');
+INSERT INTO `code_protocol_type_dic` VALUES ('78', 'Jabber', '77');
+INSERT INTO `code_protocol_type_dic` VALUES ('79', 'VRRP', '78');
+INSERT INTO `code_protocol_type_dic` VALUES ('80', 'IGMP', '79');
+INSERT INTO `code_protocol_type_dic` VALUES ('81', 'EGP', '80');
+INSERT INTO `code_protocol_type_dic` VALUES ('82', 'SCTP', '81');
+INSERT INTO `code_protocol_type_dic` VALUES ('83', 'OSPF', '82');
+INSERT INTO `code_protocol_type_dic` VALUES ('84', 'IP in IP', '83');
+INSERT INTO `code_protocol_type_dic` VALUES ('85', 'ICMPv6', '84');
+INSERT INTO `code_protocol_type_dic` VALUES ('86', 'DCE RPC', '85');
+INSERT INTO `code_protocol_type_dic` VALUES ('87', 'NetFlow_IPFIX', '86');
+INSERT INTO `code_protocol_type_dic` VALUES ('88', 'sFlow', '87');
+INSERT INTO `code_protocol_type_dic` VALUES ('89', 'HTTP Connect (SSL over HTTP)', '88');
+INSERT INTO `code_protocol_type_dic` VALUES ('90', 'SAP', '89');
+INSERT INTO `code_protocol_type_dic` VALUES ('91', 'UPnP', '90');
+INSERT INTO `code_protocol_type_dic` VALUES ('92', 'H323', '91');
+INSERT INTO `code_protocol_type_dic` VALUES ('93', 'Megaco', '92');
+INSERT INTO `code_protocol_type_dic` VALUES ('94', 'Unspecified', '268435455');
+
+-- ----------------------------
+-- Table structure for `code_service_type_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_service_type_dic`;
+CREATE TABLE `code_service_type_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `service_type` varchar(255) DEFAULT '' COMMENT '业务类型',
+ `view_code` varchar(255) DEFAULT NULL COMMENT '界面编码',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_service_type_dic
+-- ----------------------------
+INSERT INTO `code_service_type_dic` VALUES ('1', 'Finance', '1');
+INSERT INTO `code_service_type_dic` VALUES ('2', 'Chat', '2');
+INSERT INTO `code_service_type_dic` VALUES ('3', 'Cloud', '3');
+INSERT INTO `code_service_type_dic` VALUES ('4', 'Web', '4');
+INSERT INTO `code_service_type_dic` VALUES ('5', 'DataTransfer', '5');
+INSERT INTO `code_service_type_dic` VALUES ('6', 'Database', '6');
+INSERT INTO `code_service_type_dic` VALUES ('7', 'Download-FileTransfer-FileSharing', '7');
+INSERT INTO `code_service_type_dic` VALUES ('8', 'Email', '8');
+INSERT INTO `code_service_type_dic` VALUES ('9', 'Game', '9');
+INSERT INTO `code_service_type_dic` VALUES ('10', 'Media', '10');
+INSERT INTO `code_service_type_dic` VALUES ('11', 'Network', '11');
+INSERT INTO `code_service_type_dic` VALUES ('12', 'RPC', '12');
+INSERT INTO `code_service_type_dic` VALUES ('13', 'RemoteAccess', '13');
+INSERT INTO `code_service_type_dic` VALUES ('14', 'SocilNetwork', '14');
+INSERT INTO `code_service_type_dic` VALUES ('15', 'SoftwareUpdate', '15');
+INSERT INTO `code_service_type_dic` VALUES ('16', 'Streaming', '16');
+INSERT INTO `code_service_type_dic` VALUES ('17', 'Browser', '17');
+INSERT INTO `code_service_type_dic` VALUES ('18', 'System', '18');
+INSERT INTO `code_service_type_dic` VALUES ('19', 'Collaborative', '19');
+INSERT INTO `code_service_type_dic` VALUES ('20', 'VPN', '20');
+INSERT INTO `code_service_type_dic` VALUES ('21', 'VoIP', '21');
+INSERT INTO `code_service_type_dic` VALUES ('22', 'EncryptedTraffic', '22');
+INSERT INTO `code_service_type_dic` VALUES ('23', 'Unspecified', '268435455');
+
+-- ----------------------------
+-- Table structure for `code_web_service_dic`
+-- ----------------------------
+DROP TABLE IF EXISTS `code_web_service_dic`;
+CREATE TABLE `code_web_service_dic` (
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '序号',
+ `website` varchar(255) DEFAULT '',
+ `domain_name` varchar(255) DEFAULT '' COMMENT '域名',
+ `view_code` varchar(255) DEFAULT '',
+ `icon` varchar(255) DEFAULT '',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=244 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records of code_web_service_dic
+-- ----------------------------
+INSERT INTO `code_web_service_dic` VALUES ('1', 'Unknow', 'Unknow', '0', '');
+INSERT INTO `code_web_service_dic` VALUES ('2', 'Google', 'Google.com', '1', '');
+INSERT INTO `code_web_service_dic` VALUES ('3', 'Youtube', 'Youtube.com', '2', '');
+INSERT INTO `code_web_service_dic` VALUES ('4', 'Facebook', 'Facebook.com', '3', '');
+INSERT INTO `code_web_service_dic` VALUES ('5', 'Baidu', 'Baidu.com', '4', '');
+INSERT INTO `code_web_service_dic` VALUES ('6', 'Wikipedia', 'Wikipedia.org', '5', '');
+INSERT INTO `code_web_service_dic` VALUES ('7', 'Reddit', 'Reddit.com', '6', '');
+INSERT INTO `code_web_service_dic` VALUES ('8', 'Yahoo', 'Yahoo.com', '7', '');
+INSERT INTO `code_web_service_dic` VALUES ('9', 'Qq', 'Qq.com', '8', '');
+INSERT INTO `code_web_service_dic` VALUES ('10', 'Taobao', 'Taobao.com', '9', '');
+INSERT INTO `code_web_service_dic` VALUES ('11', 'Amazon', 'Amazon.com', '10', '');
+INSERT INTO `code_web_service_dic` VALUES ('12', 'Tmall', 'Tmall.com', '11', '');
+INSERT INTO `code_web_service_dic` VALUES ('13', 'Twitter', 'Twitter.com', '12', '');
+INSERT INTO `code_web_service_dic` VALUES ('14', 'Sohu', 'Sohu.com', '13', '');
+INSERT INTO `code_web_service_dic` VALUES ('15', 'Instagram', 'Instagram.com', '14', '');
+INSERT INTO `code_web_service_dic` VALUES ('16', 'Vk', 'Vk.com', '15', '');
+INSERT INTO `code_web_service_dic` VALUES ('17', 'Live', 'Live.com', '16', '');
+INSERT INTO `code_web_service_dic` VALUES ('18', 'Jd', 'Jd.com', '17', '');
+INSERT INTO `code_web_service_dic` VALUES ('19', 'Sina', 'Sina.com.cn', '18', '');
+INSERT INTO `code_web_service_dic` VALUES ('20', 'Weibo', 'Weibo.com', '19', '');
+INSERT INTO `code_web_service_dic` VALUES ('21', 'Yandex', 'Yandex.ru', '20', '');
+INSERT INTO `code_web_service_dic` VALUES ('22', '360', '360.cn', '21', '');
+INSERT INTO `code_web_service_dic` VALUES ('23', 'Login', 'Login.tmall.com', '22', '');
+INSERT INTO `code_web_service_dic` VALUES ('24', 'Netflix', 'Netflix.com', '23', '');
+INSERT INTO `code_web_service_dic` VALUES ('25', 'Pornhub', 'Pornhub.com', '24', '');
+INSERT INTO `code_web_service_dic` VALUES ('26', 'Twitch', 'Twitch.tv', '25', '');
+INSERT INTO `code_web_service_dic` VALUES ('27', 'Linkedin', 'Linkedin.com', '26', '');
+INSERT INTO `code_web_service_dic` VALUES ('28', 'Csdn', 'Csdn.net', '27', '');
+INSERT INTO `code_web_service_dic` VALUES ('29', 'T', 'T.co', '28', '');
+INSERT INTO `code_web_service_dic` VALUES ('30', 'Microsoft', 'Microsoft.com', '29', '');
+INSERT INTO `code_web_service_dic` VALUES ('31', 'Office', 'Office.com', '30', '');
+INSERT INTO `code_web_service_dic` VALUES ('32', 'Bing', 'Bing.com', '31', '');
+INSERT INTO `code_web_service_dic` VALUES ('33', 'Ebay', 'Ebay.com', '32', '');
+INSERT INTO `code_web_service_dic` VALUES ('34', 'Alipay', 'Alipay.com', '33', '');
+INSERT INTO `code_web_service_dic` VALUES ('35', 'Xvideos', 'Xvideos.com', '34', '');
+INSERT INTO `code_web_service_dic` VALUES ('36', 'Mail', 'Mail.ru', '35', '');
+INSERT INTO `code_web_service_dic` VALUES ('37', 'Ok', 'Ok.ru', '36', '');
+INSERT INTO `code_web_service_dic` VALUES ('38', 'Msn', 'Msn.com', '37', '');
+INSERT INTO `code_web_service_dic` VALUES ('39', 'Microsoftonline', 'Microsoftonline.com', '38', '');
+INSERT INTO `code_web_service_dic` VALUES ('40', 'Pages', 'Pages.tmall.com', '39', '');
+INSERT INTO `code_web_service_dic` VALUES ('41', 'Imgur', 'Imgur.com', '40', '');
+INSERT INTO `code_web_service_dic` VALUES ('42', 'Aliexpress', 'Aliexpress.com', '41', '');
+INSERT INTO `code_web_service_dic` VALUES ('43', 'Tumblr', 'Tumblr.com', '42', '');
+INSERT INTO `code_web_service_dic` VALUES ('44', 'Wordpress', 'Wordpress.com', '43', '');
+INSERT INTO `code_web_service_dic` VALUES ('45', 'Wikia', 'Wikia.com', '44', '');
+INSERT INTO `code_web_service_dic` VALUES ('46', 'Imdb', 'Imdb.com', '45', '');
+INSERT INTO `code_web_service_dic` VALUES ('47', 'Whatsapp', 'Whatsapp.com', '46', '');
+INSERT INTO `code_web_service_dic` VALUES ('48', 'Stackoverflow', 'Stackoverflow.com', '47', '');
+INSERT INTO `code_web_service_dic` VALUES ('49', 'Github', 'Github.com', '48', '');
+INSERT INTO `code_web_service_dic` VALUES ('50', 'Livejasmin', 'Livejasmin.com', '49', '');
+INSERT INTO `code_web_service_dic` VALUES ('51', 'Xhamster', 'Xhamster.com', '50', '');
+INSERT INTO `code_web_service_dic` VALUES ('52', 'Hao123', 'Hao123.com', '51', '');
+INSERT INTO `code_web_service_dic` VALUES ('53', 'Blogspot', 'Blogspot.com', '52', '');
+INSERT INTO `code_web_service_dic` VALUES ('54', 'Deloton', 'Deloton.com', '53', '');
+INSERT INTO `code_web_service_dic` VALUES ('55', 'Paypal', 'Paypal.com', '54', '');
+INSERT INTO `code_web_service_dic` VALUES ('56', 'Tribunnews', 'Tribunnews.com', '55', '');
+INSERT INTO `code_web_service_dic` VALUES ('57', 'Popads', 'Popads.net', '56', '');
+INSERT INTO `code_web_service_dic` VALUES ('58', 'Apple', 'Apple.com', '57', '');
+INSERT INTO `code_web_service_dic` VALUES ('59', 'Diply', 'Diply.com', '58', '');
+INSERT INTO `code_web_service_dic` VALUES ('60', 'Bongacams', 'Bongacams.com', '59', '');
+INSERT INTO `code_web_service_dic` VALUES ('61', 'Googleusercontent', 'Googleusercontent.com', '60', '');
+INSERT INTO `code_web_service_dic` VALUES ('62', 'Pinterest', 'Pinterest.com', '61', '');
+INSERT INTO `code_web_service_dic` VALUES ('63', 'Xnxx', 'Xnxx.com', '62', '');
+INSERT INTO `code_web_service_dic` VALUES ('64', 'Adobe', 'Adobe.com', '63', '');
+INSERT INTO `code_web_service_dic` VALUES ('65', 'Providr', 'Providr.com', '64', '');
+INSERT INTO `code_web_service_dic` VALUES ('66', 'Fbcdn', 'Fbcdn.net', '65', '');
+INSERT INTO `code_web_service_dic` VALUES ('67', 'Coccoc', 'Coccoc.com', '66', '');
+INSERT INTO `code_web_service_dic` VALUES ('68', 'Txxx', 'Txxx.com', '67', '');
+INSERT INTO `code_web_service_dic` VALUES ('69', 'Dropbox', 'Dropbox.com', '68', '');
+INSERT INTO `code_web_service_dic` VALUES ('70', 'Detail', 'Detail.tmall.com', '69', '');
+INSERT INTO `code_web_service_dic` VALUES ('71', 'Savefrom', 'Savefrom.net', '70', '');
+INSERT INTO `code_web_service_dic` VALUES ('72', 'Pixnet', 'Pixnet.net', '71', '');
+INSERT INTO `code_web_service_dic` VALUES ('73', 'Bbc', 'Bbc.com', '72', '');
+INSERT INTO `code_web_service_dic` VALUES ('74', 'Thestartmagazine', 'Thestartmagazine.com', '73', '');
+INSERT INTO `code_web_service_dic` VALUES ('75', 'Quora', 'Quora.com', '74', '');
+INSERT INTO `code_web_service_dic` VALUES ('76', 'Tianya', 'Tianya.cn', '75', '');
+INSERT INTO `code_web_service_dic` VALUES ('77', 'Soso', 'Soso.com', '76', '');
+INSERT INTO `code_web_service_dic` VALUES ('78', 'Chaturbate', 'Chaturbate.com', '77', '');
+INSERT INTO `code_web_service_dic` VALUES ('79', 'Amazonaws', 'Amazonaws.com', '78', '');
+INSERT INTO `code_web_service_dic` VALUES ('80', 'Booking', 'Booking.com', '79', '');
+INSERT INTO `code_web_service_dic` VALUES ('81', 'Espn', 'Espn.com', '80', '');
+INSERT INTO `code_web_service_dic` VALUES ('82', 'So', 'So.com', '81', '');
+INSERT INTO `code_web_service_dic` VALUES ('83', 'Cnn', 'Cnn.com', '82', '');
+INSERT INTO `code_web_service_dic` VALUES ('84', 'Craigslist', 'Craigslist.org', '83', '');
+INSERT INTO `code_web_service_dic` VALUES ('85', 'Nicovideo', 'Nicovideo.jp', '84', '');
+INSERT INTO `code_web_service_dic` VALUES ('86', 'Xinhuanet', 'Xinhuanet.com', '85', '');
+INSERT INTO `code_web_service_dic` VALUES ('87', 'Soundcloud', 'Soundcloud.com', '86', '');
+INSERT INTO `code_web_service_dic` VALUES ('88', 'Tokopedia', 'Tokopedia.com', '87', '');
+INSERT INTO `code_web_service_dic` VALUES ('89', 'Dailymotion', 'Dailymotion.com', '88', '');
+INSERT INTO `code_web_service_dic` VALUES ('90', 'Youth', 'Youth.cn', '89', '');
+INSERT INTO `code_web_service_dic` VALUES ('91', 'Nytimes', 'Nytimes.com', '90', '');
+INSERT INTO `code_web_service_dic` VALUES ('92', 'Detik', 'Detik.com', '91', '');
+INSERT INTO `code_web_service_dic` VALUES ('93', 'Ask', 'Ask.com', '92', '');
+INSERT INTO `code_web_service_dic` VALUES ('94', 'Naver', 'Naver.com', '93', '');
+INSERT INTO `code_web_service_dic` VALUES ('95', 'Restorecosm', 'Restorecosm.bid', '94', '');
+INSERT INTO `code_web_service_dic` VALUES ('96', 'Stackexchange', 'Stackexchange.com', '95', '');
+INSERT INTO `code_web_service_dic` VALUES ('97', 'Dkn', 'Dkn.tv', '96', '');
+INSERT INTO `code_web_service_dic` VALUES ('98', 'Thepiratebay', 'Thepiratebay.org', '97', '');
+INSERT INTO `code_web_service_dic` VALUES ('99', 'Roblox', 'Roblox.com', '98', '');
+INSERT INTO `code_web_service_dic` VALUES ('100', 'Rakuten', 'Rakuten.co.jp', '99', '');
+INSERT INTO `code_web_service_dic` VALUES ('101', 'Onlinesbi', 'Onlinesbi.com', '100', '');
+INSERT INTO `code_web_service_dic` VALUES ('102', 'Openload', 'Openload.co', '101', '');
+INSERT INTO `code_web_service_dic` VALUES ('103', 'Spotify', 'Spotify.com', '102', '');
+INSERT INTO `code_web_service_dic` VALUES ('104', 'Nih', 'Nih.gov', '103', '');
+INSERT INTO `code_web_service_dic` VALUES ('105', 'Vimeo', 'Vimeo.com', '104', '');
+INSERT INTO `code_web_service_dic` VALUES ('106', 'Fc2', 'Fc2.com', '105', '');
+INSERT INTO `code_web_service_dic` VALUES ('107', 'Aparat', 'Aparat.com', '106', '');
+INSERT INTO `code_web_service_dic` VALUES ('108', 'Ettoday', 'Ettoday.net', '107', '');
+INSERT INTO `code_web_service_dic` VALUES ('109', 'Mozilla', 'Mozilla.org', '108', '');
+INSERT INTO `code_web_service_dic` VALUES ('110', '1688', '1688.com', '109', '');
+INSERT INTO `code_web_service_dic` VALUES ('111', 'K618', 'K618.cn', '110', '');
+INSERT INTO `code_web_service_dic` VALUES ('112', 'Exdynsrv', 'Exdynsrv.com', '111', '');
+INSERT INTO `code_web_service_dic` VALUES ('113', 'Oath', 'Oath.com', '112', '');
+INSERT INTO `code_web_service_dic` VALUES ('114', 'Ntd', 'Ntd.tv', '113', '');
+INSERT INTO `code_web_service_dic` VALUES ('115', 'Theguardian', 'Theguardian.com', '114', '');
+INSERT INTO `code_web_service_dic` VALUES ('116', 'Mediafire', 'Mediafire.com', '115', '');
+INSERT INTO `code_web_service_dic` VALUES ('117', 'Chase', 'Chase.com', '116', '');
+INSERT INTO `code_web_service_dic` VALUES ('118', 'Flipkart', 'Flipkart.com', '117', '');
+INSERT INTO `code_web_service_dic` VALUES ('119', 'Exosrv', 'Exosrv.com', '118', '恶意网站-无图标');
+INSERT INTO `code_web_service_dic` VALUES ('120', 'Avito', 'Avito.ru', '119', '');
+INSERT INTO `code_web_service_dic` VALUES ('121', 'Slideshare', 'Slideshare.net', '120', '');
+INSERT INTO `code_web_service_dic` VALUES ('122', 'Dailymail', 'Dailymail.co.uk', '121', '');
+INSERT INTO `code_web_service_dic` VALUES ('123', 'Discordapp', 'Discordapp.com', '122', '');
+INSERT INTO `code_web_service_dic` VALUES ('124', 'Zhihu', 'Zhihu.com', '123', '');
+INSERT INTO `code_web_service_dic` VALUES ('125', 'Salesforce', 'Salesforce.com', '124', '');
+INSERT INTO `code_web_service_dic` VALUES ('126', 'Theepochtimes', 'Theepochtimes.com', '125', '');
+INSERT INTO `code_web_service_dic` VALUES ('127', 'Softonic', 'Softonic.com', '126', '');
+INSERT INTO `code_web_service_dic` VALUES ('128', 'Globo', 'Globo.com', '127', '');
+INSERT INTO `code_web_service_dic` VALUES ('129', 'Bukalapak', 'Bukalapak.com', '128', '');
+INSERT INTO `code_web_service_dic` VALUES ('130', 'Douyu', 'Douyu.com', '129', '');
+INSERT INTO `code_web_service_dic` VALUES ('131', 'Nextoptim', 'Nextoptim.com', '130', '恶意网站-无图标');
+INSERT INTO `code_web_service_dic` VALUES ('132', 'Deviantart', 'Deviantart.com', '131', '');
+INSERT INTO `code_web_service_dic` VALUES ('133', 'Indeed', 'Indeed.com', '132', '');
+INSERT INTO `code_web_service_dic` VALUES ('134', 'Lolsided', 'Lolsided.com', '133', '');
+INSERT INTO `code_web_service_dic` VALUES ('135', 'Bles', 'Bles.com', '134', '');
+INSERT INTO `code_web_service_dic` VALUES ('136', 'Cnet', 'Cnet.com', '135', '');
+INSERT INTO `code_web_service_dic` VALUES ('137', 'Alibaba', 'Alibaba.com', '136', '');
+INSERT INTO `code_web_service_dic` VALUES ('138', 'Bet9ja', 'Bet9ja.com', '137', '');
+INSERT INTO `code_web_service_dic` VALUES ('139', 'Vice', 'Vice.com', '138', '');
+INSERT INTO `code_web_service_dic` VALUES ('140', 'Lifedaily', 'Lifedaily.com', '139', '');
+INSERT INTO `code_web_service_dic` VALUES ('141', 'Hotmovs', 'Hotmovs.com', '140', '');
+INSERT INTO `code_web_service_dic` VALUES ('142', 'Sogou', 'Sogou.com', '141', '');
+INSERT INTO `code_web_service_dic` VALUES ('143', 'Uol', 'Uol.com.br', '142', '');
+INSERT INTO `code_web_service_dic` VALUES ('144', 'Doubleclick', 'Doubleclick.net', '143', '');
+INSERT INTO `code_web_service_dic` VALUES ('145', 'Mercadolivre', 'Mercadolivre.com.br', '144', '');
+INSERT INTO `code_web_service_dic` VALUES ('146', 'Speakol', 'Speakol.com', '145', '');
+INSERT INTO `code_web_service_dic` VALUES ('147', 'Babytree', 'Babytree.com', '146', '');
+INSERT INTO `code_web_service_dic` VALUES ('148', 'Liputan6', 'Liputan6.com', '147', '');
+INSERT INTO `code_web_service_dic` VALUES ('149', 'Wikihow', 'Wikihow.com', '148', '');
+INSERT INTO `code_web_service_dic` VALUES ('150', 'China', 'China.com.cn', '149', '');
+INSERT INTO `code_web_service_dic` VALUES ('151', 'Etsy', 'Etsy.com', '150', '');
+INSERT INTO `code_web_service_dic` VALUES ('152', 'W3schools', 'W3schools.com', '151', '');
+INSERT INTO `code_web_service_dic` VALUES ('153', 'Youm7', 'Youm7.com', '152', '');
+INSERT INTO `code_web_service_dic` VALUES ('154', 'Scribd', 'Scribd.com', '153', '');
+INSERT INTO `code_web_service_dic` VALUES ('155', 'Rumble', 'Rumble.com', '154', '');
+INSERT INTO `code_web_service_dic` VALUES ('156', 'Walmart', 'Walmart.com', '155', '');
+INSERT INTO `code_web_service_dic` VALUES ('157', 'Twimg', 'Twimg.com', '156', '同twitter');
+INSERT INTO `code_web_service_dic` VALUES ('158', 'Yelp', 'Yelp.com', '157', '');
+INSERT INTO `code_web_service_dic` VALUES ('159', 'Kompas', 'Kompas.com', '158', '');
+INSERT INTO `code_web_service_dic` VALUES ('160', 'Messenger', 'Messenger.com', '159', '');
+INSERT INTO `code_web_service_dic` VALUES ('161', 'Force', 'Force.com', '160', '');
+INSERT INTO `code_web_service_dic` VALUES ('162', 'Onlinevideoconverter', 'Onlinevideoconverter.com', '161', '');
+INSERT INTO `code_web_service_dic` VALUES ('163', 'Redtube', 'Redtube.com', '162', '');
+INSERT INTO `code_web_service_dic` VALUES ('164', 'Gmw', 'Gmw.cn', '163', '');
+INSERT INTO `code_web_service_dic` VALUES ('165', 'Caijing', 'Caijing.com.cn', '164', '');
+INSERT INTO `code_web_service_dic` VALUES ('166', 'Mama', 'Mama.cn', '165', '');
+INSERT INTO `code_web_service_dic` VALUES ('167', 'Chinadaily', 'Chinadaily.com.cn', '166', '');
+INSERT INTO `code_web_service_dic` VALUES ('168', 'Cricbuzz', 'Cricbuzz.com', '167', '');
+INSERT INTO `code_web_service_dic` VALUES ('169', 'Ladbible', 'Ladbible.com', '168', '');
+INSERT INTO `code_web_service_dic` VALUES ('170', 'Doublepimpssl', 'Doublepimpssl.com', '169', '');
+INSERT INTO `code_web_service_dic` VALUES ('171', 'Steampowered', 'Steampowered.com', '170', '');
+INSERT INTO `code_web_service_dic` VALUES ('172', 'Mega', 'Mega.nz', '171', '');
+INSERT INTO `code_web_service_dic` VALUES ('173', 'Yts', 'Yts.am', '172', '');
+INSERT INTO `code_web_service_dic` VALUES ('174', 'Youporn', 'Youporn.com', '173', '');
+INSERT INTO `code_web_service_dic` VALUES ('175', 'Buzzfeed', 'Buzzfeed.com', '174', '');
+INSERT INTO `code_web_service_dic` VALUES ('176', 'Indiatimes', 'Indiatimes.com', '175', '');
+INSERT INTO `code_web_service_dic` VALUES ('177', 'Hotstar', 'Hotstar.com', '176', '');
+INSERT INTO `code_web_service_dic` VALUES ('178', 'Cnblogs', 'Cnblogs.com', '177', '');
+INSERT INTO `code_web_service_dic` VALUES ('179', 'Bet365', 'Bet365.com', '178', '');
+INSERT INTO `code_web_service_dic` VALUES ('180', 'Wetransfer', 'Wetransfer.com', '179', '');
+INSERT INTO `code_web_service_dic` VALUES ('181', 'Eastday', 'Eastday.com', '180', '');
+INSERT INTO `code_web_service_dic` VALUES ('182', 'Rambler', 'Rambler.ru', '181', '');
+INSERT INTO `code_web_service_dic` VALUES ('183', 'Coinmarketcap', 'Coinmarketcap.com', '182', '');
+INSERT INTO `code_web_service_dic` VALUES ('184', 'Huanqiu', 'Huanqiu.com', '183', '');
+INSERT INTO `code_web_service_dic` VALUES ('185', 'Hulu', 'Hulu.com', '184', '');
+INSERT INTO `code_web_service_dic` VALUES ('186', 'Abs-cbn', 'Abs-cbn.com', '185', '');
+INSERT INTO `code_web_service_dic` VALUES ('187', 'Steamcommunity', 'Steamcommunity.com', '186', '');
+INSERT INTO `code_web_service_dic` VALUES ('188', '4chan', '4chan.org', '187', '');
+INSERT INTO `code_web_service_dic` VALUES ('189', 'Metropcs', 'Metropcs.mobi', '188', '');
+INSERT INTO `code_web_service_dic` VALUES ('190', 'Zillow', 'Zillow.com', '189', '');
+INSERT INTO `code_web_service_dic` VALUES ('191', 'Godaddy', 'Godaddy.com', '190', '');
+INSERT INTO `code_web_service_dic` VALUES ('192', 'Blastingnews', 'Blastingnews.com', '191', '');
+INSERT INTO `code_web_service_dic` VALUES ('193', 'Washingtonpost', 'Washingtonpost.com', '192', '');
+INSERT INTO `code_web_service_dic` VALUES ('194', 'Upornia', 'Upornia.com', '193', '');
+INSERT INTO `code_web_service_dic` VALUES ('195', 'Nownews', 'Nownews.com', '194', '');
+INSERT INTO `code_web_service_dic` VALUES ('196', 'Hibids10', 'Hibids10.com', '195', '广告网站,无图标');
+INSERT INTO `code_web_service_dic` VALUES ('197', 'Aliyun', 'Aliyun.com', '196', '');
+INSERT INTO `code_web_service_dic` VALUES ('198', 'Fapmeth', 'Fapmeth.com', '197', '广告网站,无图标');
+INSERT INTO `code_web_service_dic` VALUES ('199', 'Genius', 'Genius.com', '198', '');
+INSERT INTO `code_web_service_dic` VALUES ('200', 'Tripadvisor', 'Tripadvisor.com', '199', '');
+INSERT INTO `code_web_service_dic` VALUES ('201', 'Bilibili', 'Bilibili.com', '200', '');
+INSERT INTO `code_web_service_dic` VALUES ('202', 'Thewhizmarketing', 'Thewhizmarketing.com', '201', '');
+INSERT INTO `code_web_service_dic` VALUES ('203', 'Livejournal', 'Livejournal.com', '202', '');
+INSERT INTO `code_web_service_dic` VALUES ('204', 'Irctc', 'Irctc.co.in', '203', '');
+INSERT INTO `code_web_service_dic` VALUES ('205', 'Slack', 'Slack.com', '204', '');
+INSERT INTO `code_web_service_dic` VALUES ('206', 'Bankofamerica', 'Bankofamerica.com', '205', '');
+INSERT INTO `code_web_service_dic` VALUES ('207', 'Forbes', 'Forbes.com', '206', '');
+INSERT INTO `code_web_service_dic` VALUES ('208', 'Archive', 'Archive.org', '207', '');
+INSERT INTO `code_web_service_dic` VALUES ('209', 'Digitaldsp', 'Digitaldsp.com', '208', '');
+INSERT INTO `code_web_service_dic` VALUES ('210', 'Ebay-kleinanzeigen', 'Ebay-kleinanzeigen.de', '209', '');
+INSERT INTO `code_web_service_dic` VALUES ('211', 'Doublepimp', 'Doublepimp.com', '210', '');
+INSERT INTO `code_web_service_dic` VALUES ('212', 'Foxnews', 'Foxnews.com', '211', '');
+INSERT INTO `code_web_service_dic` VALUES ('213', 'Wellsfargo', 'Wellsfargo.com', '212', '');
+INSERT INTO `code_web_service_dic` VALUES ('214', 'Speedtest', 'Speedtest.net', '213', '');
+INSERT INTO `code_web_service_dic` VALUES ('215', 'Researchgate', 'Researchgate.net', '214', '');
+INSERT INTO `code_web_service_dic` VALUES ('216', 'Medium', 'Medium.com', '215', '');
+INSERT INTO `code_web_service_dic` VALUES ('217', 'Gfycat', 'Gfycat.com', '216', '');
+INSERT INTO `code_web_service_dic` VALUES ('218', 'Exoclick', 'Exoclick.com', '217', '');
+INSERT INTO `code_web_service_dic` VALUES ('219', '1337x', '1337x.to', '218', '');
+INSERT INTO `code_web_service_dic` VALUES ('220', 'Ltn', 'Ltn.com.tw', '219', '');
+INSERT INTO `code_web_service_dic` VALUES ('221', 'Hclips', 'Hclips.com', '220', '');
+INSERT INTO `code_web_service_dic` VALUES ('222', 'Redd', 'Redd.it', '221', '');
+INSERT INTO `code_web_service_dic` VALUES ('223', 'Trello', 'Trello.com', '222', '');
+INSERT INTO `code_web_service_dic` VALUES ('224', 'Duckduckgo', 'Duckduckgo.com', '223', '');
+INSERT INTO `code_web_service_dic` VALUES ('225', 'Xfinity', 'Xfinity.com', '224', '');
+INSERT INTO `code_web_service_dic` VALUES ('226', 'Cloudfront', 'Cloudfront.net', '225', 'NOTICE!!!:无独立图标');
+INSERT INTO `code_web_service_dic` VALUES ('227', 'Blackboard', 'Blackboard.com', '226', '');
+INSERT INTO `code_web_service_dic` VALUES ('228', 'Elfagr', 'Elfagr.com', '227', '');
+INSERT INTO `code_web_service_dic` VALUES ('229', 'Weather', 'Weather.com', '228', '');
+INSERT INTO `code_web_service_dic` VALUES ('230', 'Youdao', 'Youdao.com', '229', '');
+INSERT INTO `code_web_service_dic` VALUES ('231', 'Sberbank', 'Sberbank.ru', '230', '');
+INSERT INTO `code_web_service_dic` VALUES ('232', 'Rednet', 'Rednet.cn', '231', '');
+INSERT INTO `code_web_service_dic` VALUES ('233', 'Iqiyi', 'Iqiyi.com', '232', '');
+INSERT INTO `code_web_service_dic` VALUES ('234', 'Setn', 'Setn.com', '233', '');
+INSERT INTO `code_web_service_dic` VALUES ('235', 'People', 'People.com.cn', '234', '');
+INSERT INTO `code_web_service_dic` VALUES ('236', 'Leboncoin', 'Leboncoin.fr', '235', '');
+INSERT INTO `code_web_service_dic` VALUES ('237', 'Gmx', 'Gmx.net', '236', '');
+INSERT INTO `code_web_service_dic` VALUES ('238', 'Shutterstock', 'Shutterstock.com', '237', '');
+INSERT INTO `code_web_service_dic` VALUES ('239', 'Blogger', 'Blogger.com', '238', '');
+INSERT INTO `code_web_service_dic` VALUES ('240', 'Ikea', 'Ikea.com', '239', '');
+INSERT INTO `code_web_service_dic` VALUES ('241', 'Kakaku', 'Kakaku.com', '240', '');
+INSERT INTO `code_web_service_dic` VALUES ('242', 'Hdzog', 'Hdzog.com', '241', '');
+INSERT INTO `code_web_service_dic` VALUES ('243', '其他', '', '268435455', '');
diff --git a/src/main/resources/sql/function_region_dict_add_colunm.sql b/src/main/resources/sql/function_region_dict_add_colunm.sql
new file mode 100644
index 0000000..94b132c
--- /dev/null
+++ b/src/main/resources/sql/function_region_dict_add_colunm.sql
@@ -0,0 +1,12 @@
+alter table function_region_dict add config_multi_keywords varchar(2) COMMENT '是否可以多个关键字';
+alter table function_region_dict add config_hex varchar(20) COMMENT '十六进制 单选:0 非十六进制 大小不敏感 1 十六进制,大小写不敏感 2非十六进制 大小写敏感 默认为0';
+alter table function_region_dict add config_expr_type varchar(20) COMMENT '是否表达式 :单选 0 无表达式 1表达式 默认为0';
+alter table function_region_dict add config_match_method varchar(20) COMMENT '匹配方式 下拉 0:子串匹配;1:右匹配;2:左匹配;3:完全匹配 默认为0 expr_type:0时有意义,其它情况必须置0。';
+alter table function_region_dict add config_service_type varchar(50) COMMENT '域业务类型,domain,url,dns,';
+
+INSERT INTO function_region_dict (`function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_multi_keywords`, `config_hex`, `config_expr_type`, `config_match_method`) VALUES ('510', '3', 'NTC_P2P_KEYWORDS', '', 'p2p文件内容配置', '1', NULL, NULL, NULL, NULL, '1', '2', '1', '0,1,2', '0,1', '0,1,2,3');
+INSERT INTO function_region_dict (`function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_multi_keywords`, `config_hex`, `config_expr_type`, `config_match_method`) VALUES ('510', '2', 'NTC_SUBSCRIBE_ID', '', 'p2p subscribe配置', '1', NULL, NULL, NULL, NULL, '1', '2', '1', '0,1,2', '0,1', '0,1,2,3');
+INSERT INTO function_region_dict (`function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_multi_keywords`, `config_hex`, `config_expr_type`, `config_match_method`) VALUES ('510', '1', 'NTC_P2P_HASH_BIN', NULL, 'p2p hash配置', '1', NULL, NULL, NULL, NULL, '1', '2', '1', '1', '0,1', '0,1,2,3');
+INSERT INTO function_region_dict (`function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_multi_keywords`, `config_hex`, `config_expr_type`, `config_match_method`) VALUES ('510', '4', 'NTC_P2P_IP', NULL, 'p2p ip配置', '1', NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, NULL, NULL);
+INSERT INTO function_region_dict (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`) VALUES ('', '1', '0,1', '0,1,2', '0,1,2,3', '520', '1', 'APP_SSL_CERT', 'DV,OV,EV', 'APP SSL证书特征配置', '1', NULL, NULL, NULL, NULL, '1', '3');
+INSERT INTO function_region_dict (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`) VALUES ('', '1', '0,1', '0,1,2', '0,1,2,3', '530', '1', 'APP_LAYER_HEADER', NULL, 'APP 报头特征配置', '1', NULL, NULL, NULL, NULL, '1', '3');
diff --git a/src/main/resources/sql/function_service_dict_add_colunm.sql b/src/main/resources/sql/function_service_dict_add_colunm.sql
new file mode 100644
index 0000000..af4953a
--- /dev/null
+++ b/src/main/resources/sql/function_service_dict_add_colunm.sql
@@ -0,0 +1,3 @@
+INSERT INTO function_service_dict (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`) VALUES ('510', '0', '16', 'reject', '34', 'p2p_reject', NULL, '1', NULL, NULL, NULL, NULL);
+INSERT INTO function_service_dict (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`) VALUES ('520', '0', '1', 'monit', '1029', 'app_ssl_cert_feature_monit', NULL, '1', NULL, NULL, NULL, NULL);
+INSERT INTO function_service_dict (`function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`) VALUES ('530', '0', '1', 'monit', '1031', 'app_header_feature_monit', NULL, '1', NULL, NULL, NULL, NULL);
diff --git a/src/main/resources/sql/p2p_hash_cfg.sql b/src/main/resources/sql/p2p_hash_cfg.sql
new file mode 100644
index 0000000..49f8775
--- /dev/null
+++ b/src/main/resources/sql/p2p_hash_cfg.sql
@@ -0,0 +1,55 @@
+/*
+Navicat MariaDB Data Transfer
+
+Source Server : 10.0.6.249
+Source Server Version : 100214
+Source Host : 10.0.6.249:3306
+Source Database : gwall
+
+Target Server Type : MariaDB
+Target Server Version : 100214
+File Encoding : 65001
+
+Date: 2018-08-18 21:11:12
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for p2p_hash_cfg
+-- ----------------------------
+DROP TABLE IF EXISTS `p2p_hash_cfg`;
+CREATE TABLE `p2p_hash_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `cfg_keywords` varchar(64) NOT NULL,
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `expr_type` int(11) NOT NULL COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) DEFAULT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
diff --git a/src/main/resources/sql/p2p_keyword_cfg.sql b/src/main/resources/sql/p2p_keyword_cfg.sql
new file mode 100644
index 0000000..f940c12
--- /dev/null
+++ b/src/main/resources/sql/p2p_keyword_cfg.sql
@@ -0,0 +1,55 @@
+/*
+Navicat MariaDB Data Transfer
+
+Source Server : 10.0.6.249
+Source Server Version : 100214
+Source Host : 10.0.6.249:3306
+Source Database : gwall
+
+Target Server Type : MariaDB
+Target Server Version : 100214
+File Encoding : 65001
+
+Date: 2018-08-18 21:11:57
+*/
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for p2p_keyword_cfg
+-- ----------------------------
+DROP TABLE IF EXISTS `p2p_keyword_cfg`;
+CREATE TABLE `p2p_keyword_cfg` (
+ `cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
+ `cfg_desc` varchar(128) DEFAULT NULL,
+ `cfg_keywords` varchar(64) NOT NULL,
+ `action` int(11) NOT NULL COMMENT '1:阻断,2:监测, 5: FD 白名单,6:监测白名单,7: FD 监测都白名单,应与业务ID所代表的逻辑相匹配,8-灰名单',
+ `is_valid` int(11) NOT NULL COMMENT '0无效,1有效,-1删除;1) 未审核时配置可删除;2) 审核通过,此字段置1;3) 取消审核通过,此字段置0',
+ `is_audit` int(11) NOT NULL COMMENT '0未审核,1审核通过,2审核未通过,3取消审核通过;1) 审核未通过,配置可修改;2) 审核通过,配置不可删除,只能取消审核通过',
+ `creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
+ `create_time` datetime NOT NULL,
+ `editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `edit_time` datetime DEFAULT NULL,
+ `auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
+ `audit_time` datetime DEFAULT NULL,
+ `service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
+ `request_id` int(11) NOT NULL COMMENT '取自request_info.id',
+ `compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id,配置初始入库时获取。',
+ `is_area_effective` int(11) NOT NULL COMMENT '0否,1是',
+ `classify` varchar(128) DEFAULT NULL COMMENT '分类id,多个用英文逗号分隔',
+ `attribute` varchar(128) DEFAULT NULL COMMENT '性质id,多个用英文逗号分隔',
+ `lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
+ `expr_type` int(11) NOT NULL COMMENT '0:无表达式,1:与表达式',
+ `match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义,其它情况必须置0。0:子串匹配;1:右匹配;2:左匹配;3:完全匹配',
+ `is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感,且非HEX;1:HEX格式二进制;2:大小写敏感,且非HEX',
+ `area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
+ `function_id` int(11) DEFAULT NULL,
+ `cfg_region_code` int(11) DEFAULT NULL,
+ `cfg_type` varchar(64) DEFAULT NULL,
+ `user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
+ `user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
+ `user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
+ `user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
+ `user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
+ PRIMARY KEY (`cfg_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
diff --git a/src/main/resources/sql/statisticsSql.sql b/src/main/resources/sql/statisticsSql.sql
new file mode 100644
index 0000000..40dc9a3
--- /dev/null
+++ b/src/main/resources/sql/statisticsSql.sql
@@ -0,0 +1,231 @@
+-- ----------------------------
+-- Table structure for proc_exec_log
+-- ----------------------------
+CREATE TABLE `proc_exec_log` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `proc_name` varchar(200) DEFAULT NULL,
+ `table_name` varchar(200) DEFAULT NULL,
+ `log_time` datetime DEFAULT NULL,
+ `description` varchar(200) DEFAULT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=449 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Table structure for statistics_tables
+-- ----------------------------
+CREATE TABLE `statistics_tables` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `tab_name` varchar(200) NOT NULL,
+ `is_valid` int(11) NOT NULL,
+ `description` varchar(200) DEFAULT '',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8;
+
+INSERT INTO `statistics_tables` VALUES ('1', 'app_byte_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('2', 'app_domain_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('3', 'app_features_index', '0', '');
+INSERT INTO `statistics_tables` VALUES ('4', 'app_http_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('5', 'app_id_cfg', '0', '');
+INSERT INTO `statistics_tables` VALUES ('6', 'app_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('7', 'app_policy_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('8', 'asn_keyword_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('9', 'av_cont_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('10', 'av_cont_url_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('11', 'av_file_sample_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('12', 'av_pic_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('13', 'av_pic_url_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('14', 'av_sign_sample_cfg', '0', '');
+INSERT INTO `statistics_tables` VALUES ('15', 'av_voip_account_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('16', 'av_voip_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('17', 'byte_features_cfg', '0', '');
+INSERT INTO `statistics_tables` VALUES ('18', 'complex_keyword_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('19', 'ddos_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('20', 'dns_domain_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('21', 'dns_ip_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('22', 'dns_res_strategy', '1', '');
+INSERT INTO `statistics_tables` VALUES ('23', 'file_digest_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('24', 'ftp_keyword_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('25', 'http_body_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('26', 'http_req_head_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('27', 'http_res_head_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('28', 'http_url_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('29', 'ip_multiplex_pool_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('30', 'ip_port_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('31', 'l2tp_url_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('32', 'mail_keyword_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('33', 'multiple_cfg_relation', '0', '');
+INSERT INTO `statistics_tables` VALUES ('34', 'num_boundary_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('35', 'policy_group_info', '0', '');
+INSERT INTO `statistics_tables` VALUES ('36', 'pptp_url_cfg', '1', '');
+INSERT INTO `statistics_tables` VALUES ('37', 'ssl_keyword_cfg', '1', '');
+
+-- ----------------------------
+-- Table structure for cfg_num_statistics
+-- ----------------------------
+CREATE TABLE `cfg_num_statistics` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `function_id` int(11) NOT NULL,
+ `service_id` int(11) NOT NULL,
+ `action` int(11) NOT NULL,
+ `cfg_state` int(11) NOT NULL COMMENT '0未审核,1已审核,2审核未通过,3审核取消,-1删除',
+ `cfg_type` varchar(128) DEFAULT NULL COMMENT '配置类型,与业务配置表中相同',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=5888338 DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Table structure for request_num_statistics
+-- ----------------------------
+CREATE TABLE `request_num_statistics` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `function_id` int(11) NOT NULL,
+ `service_id` int(11) NOT NULL,
+ `request_id` int(11) NOT NULL COMMENT '来函信息',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB AUTO_INCREMENT=5913175 DEFAULT CHARSET=utf8;
+
+
+-- ----------------------------
+-- Procedure structure for exec_procs
+-- ----------------------------
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `exec_procs`()
+BEGIN
+ call proc_statistics_request();
+ call proc_statistics_config();
+END;;
+DELIMITER ;
+
+-- ----------------------------
+-- Procedure structure for proc_statistics_config
+-- ----------------------------
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_config`()
+BEGIN
+ DECLARE ntime VARCHAR(40);/*当前时间*/
+ DECLARE tabName VARCHAR(500);
+ DECLARE description VARCHAR(500);
+ DECLARE deleteSql VARCHAR(500);
+ DECLARE done INT;/*游标标识*/
+ DECLARE flag INT;/*循环标识*/
+ DECLARE proc_log_table VARCHAR(100);/*存储过程日志表*/
+ DECLARE proc_name VARCHAR(100);/*存储过程名称*/
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+ DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK;
+ SET done=0;
+ SET proc_log_table='proc_exec_log';
+ SET proc_name='proc_statistics_config';
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%k:%S');
+ set @deleteSql := 'delete from cfg_num_statistics';
+ PREPARE execs FROM @deleteSql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+ OPEN icursor;
+ loop_iloop:LOOP
+ FETCH icursor INTO tabName;
+ SET description=tabName;
+ set @descriptionStart=concat(description,'表统计start');
+ /*统计当前配置表数据到统计表中start*/
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql1;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @insert_statistics_sql :=concat('insert into cfg_num_statistics(function_id,service_id,action,cfg_type,cfg_state) select function_id,service_id,action,cfg_type,if(is_audit=3,3,if(is_audit=2,2,if(is_audit=1,1,if(is_valid=0,0,if(is_valid,-1,-1))))) cfg_state from ',tabName);
+ PREPARE execs FROM @insert_statistics_sql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @descriptionEnd=concat(description,'表统计end');
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql2;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ /*统计当前配置表数据到统计表中end*/
+ IF done=1 THEN
+ LEAVE loop_iloop;
+ ELSE
+ SET flag=0;
+ END IF;
+ IF flag=0 THEN
+ SET done=0;
+ END IF;
+ END LOOP;
+ CLOSE icursor;
+ COMMIT;
+END;;
+DELIMITER ;
+
+-- ----------------------------
+-- Procedure structure for proc_statistics_request
+-- ----------------------------
+DELIMITER ;;
+CREATE DEFINER=`root`@`%` PROCEDURE `proc_statistics_request`()
+BEGIN
+ DECLARE ntime VARCHAR(40);/*当前时间*/
+ DECLARE tabName VARCHAR(500);
+ DECLARE description VARCHAR(500);
+ DECLARE deleteSql VARCHAR(500);
+ DECLARE done INT;/*游标标识*/
+ DECLARE flag INT;/*循环标识*/
+ DECLARE proc_log_table VARCHAR(100);/*存储过程日志表*/
+ DECLARE proc_name VARCHAR(100);/*存储过程名称*/
+ DECLARE icursor CURSOR FOR SELECT tab_name FROM statistics_tables where is_valid=1;
+ DECLARE CONTINUE HANDLER FOR NOT found SET done=1;
+ DECLARE EXIT HANDLER FOR SQLEXCEPTION ROLLBACK;
+ SET done=0;
+ SET proc_log_table='proc_exec_log';
+ SET proc_name='proc_statistics_request';
+ SET ntime=DATE_FORMAT(SYSDATE(),'%Y-%m-%d %H:%k:%S');
+ set @deleteSql := 'delete from request_num_statistics';
+ PREPARE execs FROM @deleteSql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+ OPEN icursor;
+ loop_iloop:LOOP
+ FETCH icursor INTO tabName;
+ SET description=tabName;
+ set @descriptionStart=concat(description,'表request统计start');
+ /*统计当前配置表数据到统计表中start*/
+ set @v_log_sql1 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql1;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionStart;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @insert_statistics_sql :=concat('insert into request_num_statistics(function_id,service_id,request_id) select function_id,service_id,request_id from ',tabName,' where request_id <> 0');
+ PREPARE execs FROM @insert_statistics_sql;
+ EXECUTE execs;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ set @descriptionEnd=concat(description,'表request统计end');
+ set @v_log_sql2 := concat('insert into ',proc_log_table,'(proc_name,table_name,log_time,description) values(?,?,?,?)');
+ PREPARE execs FROM @v_log_sql2;
+ EXECUTE execs using proc_name,proc_log_table,ntime,@descriptionEnd;
+ DEALLOCATE PREPARE execs;
+ COMMIT;
+
+ /*统计当前配置表数据到统计表中end*/
+ IF done=1 THEN
+ LEAVE loop_iloop;
+ ELSE
+ SET flag=0;
+ END IF;
+ IF flag=0 THEN
+ SET done=0;
+ END IF;
+ END LOOP;
+ CLOSE icursor;
+ COMMIT;
+END;;
+DELIMITER ;
+
+
+--增加事件,每分钟执行一次 exec_procs存储过程
diff --git a/src/main/resources/sql/truncate_tables.sql b/src/main/resources/sql/truncate_tables.sql
new file mode 100644
index 0000000..b8dcb48
--- /dev/null
+++ b/src/main/resources/sql/truncate_tables.sql
@@ -0,0 +1,66 @@
+DELETE FROM app_byte_cfg;
+DELETE FROM app_domain_cfg;
+DELETE FROM app_features_index;
+DELETE FROM app_http_cfg;
+DELETE FROM app_id_cfg;
+DELETE FROM app_ip_cfg;
+DELETE FROM app_policy_cfg;
+DELETE FROM area_ip_cfg;
+DELETE FROM app_layer_header_cfg;
+DELETE FROM app_policy_cfg;
+DELETE FROM app_session_cfg;
+DELETE FROM app_ssl_cert_cfg;
+DELETE FROM app_topic_domain_cfg;
+DELETE FROM area_ip_cfg;
+DELETE FROM asn_ip_cfg;
+DELETE FROM asn_keyword_cfg;
+DELETE FROM av_cont_ip_cfg;
+DELETE FROM av_cont_url_cfg;
+DELETE FROM av_file_sample_cfg;
+DELETE FROM av_pic_ip_cfg;
+DELETE FROM av_pic_url_cfg;
+DELETE FROM av_voip_account_cfg;
+DELETE FROM av_voip_ip_cfg;
+DELETE FROM byte_features_cfg;
+DELETE FROM cfg_index_info;
+DELETE FROM av_sign_sample_cfg;
+DELETE FROM complex_keyword_cfg;
+DELETE FROM config_group_info;
+DELETE FROM ddos_ip_cfg;
+DELETE FROM dns_domain_cfg;
+DELETE FROM dns_ip_cfg;
+DELETE FROM dns_res_strategy;
+ALTER TABLE dns_res_strategy auto_increment = 101;
+DELETE FROM file_digest_cfg;
+DELETE FROM ftp_keyword_cfg;
+DELETE FROM http_body_cfg;
+DELETE FROM http_req_head_cfg;
+DELETE FROM http_res_head_cfg;
+DELETE FROM http_url_cfg;
+DELETE FROM ip_multiplex_pool_cfg;
+DELETE FROM ip_port_cfg;
+DELETE FROM l2tp_url_cfg;
+DELETE FROM mail_keyword_cfg;
+DELETE FROM multiple_cfg_relation;
+DELETE FROM ntc_bgp_as_cfg;
+DELETE FROM ntc_subscribe_id_cfg;
+DELETE FROM num_boundary_cfg;
+DELETE FROM p2p_hash_cfg;
+DELETE FROM p2p_keyword_cfg;
+DELETE FROM policy_group_info;
+DELETE FROM pptp_url_cfg;
+DELETE FROM proxy_file_strategy_cfg;
+DELETE FROM ssl_keyword_cfg;
+DELETE FROM pxy_obj_keyring;
+DELETE FROM intercept_pkt_bin;
+DELETE FROM app_feature_index;
+DELETE FROM app_complex_feature_cfg;
+DELETE FROM app_ip_range_cfg;
+DELETE FROM app_string_feature_cfg;
+DELETE FROM pxy_obj_trusted_ca_crl;
+DELETE FROM pxy_obj_trusted_ca_cert;
+UPDATE specific_service_cfg SET group_id=0;
+DELETE FROM ip_reuse_addr_pool;
+DELETE FROM ip_reuse_ip_cfg;
+DELETE FROM ip_reuse_policy_cfg;
+DELETE FROM user_manage; \ No newline at end of file
diff --git a/src/main/resources/sql/updata_request_info_20180231.sql b/src/main/resources/sql/updata_request_info_20180231.sql
new file mode 100644
index 0000000..197abdd
--- /dev/null
+++ b/src/main/resources/sql/updata_request_info_20180231.sql
@@ -0,0 +1,2 @@
+alter table request_info modify column request_title VARCHAR(512) not NULL COMMENT 'request_number字段与request_title互换使用,request_title当来函函号使用';
+alter table request_info modify column request_number VARCHAR(512) COMMENT 'request_number字段与request_title互换使用,request_number当来函标题使用';
diff --git a/src/main/resources/sql/update_attack_type_dict.sql b/src/main/resources/sql/update_attack_type_dict.sql
new file mode 100644
index 0000000..cd3f463
--- /dev/null
+++ b/src/main/resources/sql/update_attack_type_dict.sql
@@ -0,0 +1,12 @@
+UPDATE sys_data_dictionary_name SET REMARK='ddos 攻击类型' WHERE mark='ATTACK_TYPE';
+DELETE FROM sys_data_dictionary_item WHERE dictionary_id=99;
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200594,'ICMP_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200595,'IPFRAG_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200596,'SYN_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200597,'ACK_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200598,'RST_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200599,'DNS_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200600,'NTP_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200601,'UDP_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200602,'HTTP_Flood','',0,1,1,99);
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES(200603,'SSDP_Flood','',0,1,1,99); \ No newline at end of file
diff --git a/src/main/resources/sql/update_cfg_index_info-20180820.sql b/src/main/resources/sql/update_cfg_index_info-20180820.sql
new file mode 100644
index 0000000..2dcd619
--- /dev/null
+++ b/src/main/resources/sql/update_cfg_index_info-20180820.sql
@@ -0,0 +1,7 @@
+alter table cfg_index_info add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table app_policy_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table av_cont_ip_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table av_cont_url_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table av_pic_ip_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table av_pic_url_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2'
+alter table av_sign_sample_cfg add do_log int(11) COMMENT 'do_log:0不需要1记录所有日志2只记录结构化日志。默认是2' \ No newline at end of file
diff --git a/src/main/resources/sql/update_dict_basic_protocol_encrypted_tunnel_behavior.sql b/src/main/resources/sql/update_dict_basic_protocol_encrypted_tunnel_behavior.sql
new file mode 100644
index 0000000..a19a73a
--- /dev/null
+++ b/src/main/resources/sql/update_dict_basic_protocol_encrypted_tunnel_behavior.sql
@@ -0,0 +1,11 @@
+INSERT INTO sys_data_dictionary_item(item_code,item_value,item_sort,STATUS,TYPE,dictionary_id) VALUES(521,'PXY_INTERCEPT_IP',0,1,1,89);
+
+UPDATE function_service_dict SET service_name='basic_protocol_reject' WHERE action_code='reject' AND service_name='basic_protocol' AND function_id=407;
+UPDATE function_service_dict SET service_name='basic_protocol_ratelimit' WHERE action_code='ratelimit' AND service_name='basic_protocol' AND function_id=407;
+UPDATE function_service_dict SET service_name='basic_protocol_monit' WHERE action_code='monit' AND service_name='basic_protocol' AND function_id=407;
+UPDATE function_service_dict SET service_name='basic_protocol_drop' WHERE action_code='drop' AND service_name='basic_protocol' AND function_id=407;
+
+UPDATE function_service_dict SET service_name='encrypted_tunnel_behavior_reject' WHERE action_code='reject' AND service_name='encrypted_tunnel_behavior' AND function_id=408;
+UPDATE function_service_dict SET service_name='encrypted_tunnel_behavior_ratelimit' WHERE action_code='ratelimit' AND service_name='encrypted_tunnel_behavior' AND function_id=408;
+UPDATE function_service_dict SET service_name='encrypted_tunnel_behavior_monit' WHERE action_code='monit' AND service_name='encrypted_tunnel_behavior' AND function_id=408;
+UPDATE function_service_dict SET service_name='encrypted_tunnel_behavior_drop' WHERE action_code='drop' AND service_name='encrypted_tunnel_behavior' AND function_id=408; \ No newline at end of file
diff --git a/src/main/resources/sql/update_function_region_dict.sql b/src/main/resources/sql/update_function_region_dict.sql
new file mode 100644
index 0000000..d401ee8
--- /dev/null
+++ b/src/main/resources/sql/update_function_region_dict.sql
@@ -0,0 +1,2 @@
+--修改topic_domain默认无表达式
+update function_region_dict set config_expr_type=0,config_hex=0 where dict_id=179; \ No newline at end of file
diff --git a/src/main/resources/sql/update_function_region_dict_data.sql b/src/main/resources/sql/update_function_region_dict_data.sql
new file mode 100644
index 0000000..52c5af3
--- /dev/null
+++ b/src/main/resources/sql/update_function_region_dict_data.sql
@@ -0,0 +1,83 @@
+#ip地址白名单
+INSERT INTO function_region_dict (config_service_type,config_multi_keywords,config_expr_type,config_hex,config_match_method
+,function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type,config_region_sort)
+VALUES('subscribe_id',0,'0,1','0,1,2','0,1,2,3',3,2,'WHITE_LIST_SUBSCRIBE_ID','全局IP白名单SUBSCRIBE配置',1,1,2,2);
+UPDATE function_service_dict SET region_code='1,2' WHERE function_id=3 AND ACTION=128
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=7;
+#域名白名单
+INSERT INTO function_region_dict (config_service_type,config_multi_keywords,config_expr_type,config_hex,config_match_method
+,function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type,config_region_sort)
+VALUES('subscribe_id',0,'0,1','0,1,2','0,1,2,3',4,2,'WHITE_LIST_SUBSCRIBE_ID','全局域名白名单SUBSCRIBE配置',1,1,2,2);
+UPDATE function_service_dict SET region_code='1,2' WHERE function_id=4 AND ACTION=128
+#ip地址
+INSERT INTO function_region_dict (config_service_type,config_multi_keywords,config_expr_type,config_hex,config_match_method
+,function_id,config_region_code,config_region_value,config_desc,is_valid,is_maat,region_type,config_region_sort)
+VALUES('subscribe_id',0,'0,1','0,1,2','0,1,2,3',5,3,'NTC_SUBSCRIBE_ID','IP地址SUBSCRIBE配置',1,1,2,2);
+UPDATE function_service_dict SET region_code='1,3' WHERE function_id=5 AND ACTION IN(16,1);
+UPDATE function_service_dict SET region_code='2,3' WHERE function_id=5 AND ACTION IN(32,96);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=27;
+UPDATE function_region_dict SET config_service_type='ipaddr',config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17,1' WHERE dict_id=35;
+#ip限流
+UPDATE function_service_dict SET region_code=1 WHERE function_id=302 AND ACTION IN(64);
+UPDATE function_region_dict SET config_service_type='ratelimit',config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=67;
+#IP复用策略
+UPDATE function_service_dict SET region_code=1 WHERE function_id=300 AND ACTION IN(96);
+UPDATE function_region_dict SET config_service_type='ipmulitiplex',config_ip_port_show='1' ,config_ip_type='4,6',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=68;
+#IP拦截
+UPDATE function_service_dict SET region_code=1 WHERE function_id=200 AND ACTION IN(1,128,64,80);
+UPDATE function_region_dict SET config_service_type='ratelimit',config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=53;
+#音视频IP
+UPDATE function_service_dict SET region_code=2 WHERE function_id=20 AND ACTION IN(1,16);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=17;
+#图片IP
+UPDATE function_service_dict SET region_code=1 WHERE function_id=21 AND ACTION IN(1,16);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=24;
+#APP IP
+UPDATE function_service_dict SET region_code=1 WHERE function_id=405 AND ACTION IN(1);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0,6,17' WHERE dict_id=62;
+#http ip
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=8 AND ACTION IN(16,1);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=14;
+#ssl ip
+UPDATE function_service_dict SET region_code='1,2,3,4' WHERE function_id=34 AND ACTION IN(16,1);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=23;
+# mail ip
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=35 AND ACTION IN(16,1);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=33;
+# ddos ip
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=301 AND ACTION IN(32);
+UPDATE function_region_dict SET config_ip_port_show='2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=74;
+# ftp ip
+UPDATE function_service_dict SET region_code='1,2,3' WHERE function_id=51 AND ACTION IN(1,16);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=38;
+# pxy control
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=207 AND ACTION IN(16);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=84;
+#pxy redirect
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=208 AND ACTION IN(48);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=90;
+#pxy replace
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=209 AND ACTION IN(80);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=96;
+#pxy monit
+UPDATE function_service_dict SET region_code='1,2,3,4,5,6' WHERE function_id=210 AND ACTION IN(1);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=105;
+#pxy whitelist
+UPDATE function_service_dict SET region_code='1,2,3' WHERE function_id=211 AND ACTION IN(128);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0',config_protocol='0' WHERE dict_id=101;
+#voip ip
+UPDATE function_service_dict SET region_code='1,2' WHERE function_id=24 AND ACTION IN(1,16);
+UPDATE function_region_dict SET config_ip_port_show='1,2' ,config_ip_type='4,6,46,64,10',config_ip_pattern='1,2,3',config_port_pattern='1,2',config_direction='0,1',config_protocol='0,6,17' WHERE dict_id=8;
+#asn ip
+INSERT INTO function_region_dict
+(function_id,config_region_code,config_region_value,config_desc,is_maat,region_type,config_ip_type,config_ip_pattern,config_port_pattern,config_direction,config_protocol,config_ip_port_show,config_region_sort,is_valid) VALUE
+(600,1,'NTC_ASN_IP','asn ip池',1,1,'4,6','1,2,3','1,2','0','0','2',1,1)
+#asn 策略
+INSERT INTO function_region_dict
+(function_id,config_region_code,config_region_value,config_desc,is_maat,region_type,config_region_sort,is_valid) VALUE
+(601,1,'NTC_ASN_IP','asn策略',1,1,1,1)
+INSERT INTO function_service_dict (function_id,protocol_id,ACTION,action_code,service_id,service_name,service_desc,is_valid,region_code)
+VALUES(601,0,1,'monit',149,'ANS_POLICY_REJECT','ANS_POLICY_REJECT',1,1)
+INSERT INTO function_service_dict (function_id,protocol_id,ACTION,action_code,service_id,service_name,service_desc,is_valid,region_code)
+VALUES(601,0,16,'reject',37,'ANS_POLICY_REJECT','ANS_POLICY_REJECT',1,1)
+
diff --git a/src/main/resources/sql/update_int_yes_no.sql b/src/main/resources/sql/update_int_yes_no.sql
new file mode 100644
index 0000000..981d355
--- /dev/null
+++ b/src/main/resources/sql/update_int_yes_no.sql
@@ -0,0 +1 @@
+UPDATE sys_data_dictionary_name SET module_name='是否叶子节点',remark='是否叶子节点' WHERE mark='INT_YES_NO' \ No newline at end of file
diff --git a/src/main/resources/sql/update_intercepter_whitelist_service_id.sql b/src/main/resources/sql/update_intercepter_whitelist_service_id.sql
new file mode 100644
index 0000000..523f92c
--- /dev/null
+++ b/src/main/resources/sql/update_intercepter_whitelist_service_id.sql
@@ -0,0 +1,2 @@
+update function_service_dict set service_id=521 where dict_id=99;
+update function_service_dict set service_id=521 where dict_id=100;
diff --git a/src/main/resources/sql/update_ip_addr.sql b/src/main/resources/sql/update_ip_addr.sql
new file mode 100644
index 0000000..eab5bfa
--- /dev/null
+++ b/src/main/resources/sql/update_ip_addr.sql
@@ -0,0 +1,2 @@
+INSERT INTO sys_data_dictionary_item (item_code,item_value,item_desc,item_sort,STATUS,TYPE,dictionary_id) VALUES (5,'ipaddr','ip地址',0,1,1,66)
+#字典新增 模块名称ICMP协议,字典标识ICMP_PROTOCOL,字典值:标识:1,值ICMP \ No newline at end of file
diff --git a/src/main/resources/sql/update_ip_domain_ratelimit_invalid.sql b/src/main/resources/sql/update_ip_domain_ratelimit_invalid.sql
new file mode 100644
index 0000000..2571a28
--- /dev/null
+++ b/src/main/resources/sql/update_ip_domain_ratelimit_invalid.sql
@@ -0,0 +1,2 @@
+UPDATE function_service_dict SET is_valid=0 WHERE service_id IN (1057,1058)
+UPDATE sys_menu SET del_flag=0 WHERE function_id IN (302,303) \ No newline at end of file
diff --git a/src/main/resources/sql/update_policy_group_auto_increment.sql b/src/main/resources/sql/update_policy_group_auto_increment.sql
new file mode 100644
index 0000000..bcc0736
--- /dev/null
+++ b/src/main/resources/sql/update_policy_group_auto_increment.sql
@@ -0,0 +1,2 @@
+--update policy_group_info auto_increament start with 101
+alter table policy_group_info auto_increment=101; \ No newline at end of file
diff --git a/src/main/resources/sql/update_protocol_id.sql b/src/main/resources/sql/update_protocol_id.sql
new file mode 100644
index 0000000..ccb8291
--- /dev/null
+++ b/src/main/resources/sql/update_protocol_id.sql
@@ -0,0 +1,2 @@
+UPDATE function_service_dict SET protocol_id=14 WHERE service_name LIKE 'openvpn_%'
+UPDATE function_service_dict SET is_valid=0 WHERE dict_id =53
diff --git a/src/main/resources/sql/update_redirect_code_dict_order.sql b/src/main/resources/sql/update_redirect_code_dict_order.sql
new file mode 100644
index 0000000..c468062
--- /dev/null
+++ b/src/main/resources/sql/update_redirect_code_dict_order.sql
@@ -0,0 +1,2 @@
+update sys_data_dictionary_item set item_sort=1 where dictionary_id=(select id from sys_data_dictionary_name where mark='REDIRECT_RESPONSE_CODE') and item_code='302';
+update sys_data_dictionary_item set item_sort=2 where dictionary_id=(select id from sys_data_dictionary_name where mark='REDIRECT_RESPONSE_CODE') and item_code='301';
diff --git a/src/main/resources/sql/update_specific_service_cfg_add_column.sql b/src/main/resources/sql/update_specific_service_cfg_add_column.sql
new file mode 100644
index 0000000..310e789
--- /dev/null
+++ b/src/main/resources/sql/update_specific_service_cfg_add_column.sql
@@ -0,0 +1 @@
+ALTER TABLE specific_service_cfg ADD COLUMN business_type VARCHAR(10) NULL COMMENT '业务分类'; \ No newline at end of file
diff --git a/src/main/resources/sql/update_steam_items.sql b/src/main/resources/sql/update_steam_items.sql
new file mode 100644
index 0000000..3921fef
--- /dev/null
+++ b/src/main/resources/sql/update_steam_items.sql
@@ -0,0 +1,3 @@
+UPDATE sys_data_dictionary_item SET item_code=1 WHERE item_value ='c2s'
+UPDATE sys_data_dictionary_item SET item_code=2 WHERE item_value ='s2c'
+UPDATE sys_data_dictionary_item SET item_code=3 WHERE item_value ='double' \ No newline at end of file
diff --git a/src/main/resources/sql/update_video_spell_error.sql b/src/main/resources/sql/update_video_spell_error.sql
new file mode 100644
index 0000000..2b38bea
--- /dev/null
+++ b/src/main/resources/sql/update_video_spell_error.sql
@@ -0,0 +1,2 @@
+update function_region_dict t set t.config_region_value=insert(t.config_region_value,POSITION('vedio' in t.config_region_value),5,'video') where t.config_region_value like '%vedio%';
+update sys_menu s set s.`code`=insert(s.`code`,POSITION('vedio' in s.`code`),5,'video') where s.`code` like '%vedio%';
diff --git a/src/main/resources/sql/update_website_domain_topic.sql b/src/main/resources/sql/update_website_domain_topic.sql
new file mode 100644
index 0000000..0ddf580
--- /dev/null
+++ b/src/main/resources/sql/update_website_domain_topic.sql
@@ -0,0 +1,2 @@
+--修改超出范畴域名id
+update website_domain_topic set id=0 where id=6; \ No newline at end of file
diff --git a/src/main/resources/sql/字典修改记录.txt b/src/main/resources/sql/字典修改记录.txt
new file mode 100644
index 0000000..55fa5cd
--- /dev/null
+++ b/src/main/resources/sql/字典修改记录.txt
@@ -0,0 +1,12 @@
+2018-07-30
+\u4FEE\u6539\u5B57\u5178LOG_STREAM_TYPE\uFF0C\u5C06\u6807\u8BC60\u30011\u30012\u6539\u4E3A1\u30012\u30013
+
+2018-08-03
+\u589E\u52A0\u5B57\u5178ATTACK_TYPE\uFF0C\u4F9D\u636E\u534F\u8BAE\u7EDF\u8BA1\u5DF2\u6709\u7C7B\u578B \uFF1AUDP-Flood: 1069 \uFF0CSYN-Flood: 1070
+
+2018-08-20\uFF08do_log:0\u4E0D\u9700\u89811\u8BB0\u5F55\u6240\u6709\u65E5\u5FD72\u53EA\u8BB0\u5F55\u7ED3\u6784\u5316\u65E5\u5FD7\u3002\u9ED8\u8BA4\u662F2\uFF09
+\u65B0\u589E\u662F\u5426\u8BB0\u5F55\u65E5\u5FD7 DO_LOG
+\u6807\u8BC6 \u503C describe \u662F\u5426\u53EF\u7528 \u662F\u5426\u53EF\u7EF4\u62A4
+0 no_log \u4E0D\u8BB0\u5F55\u65E5\u5FD7 \u662F \u662F
+1 all_log \u8BB0\u5F55\u6240\u6709\u65E5\u5FD7 \u662F \u662F
+2 framework_log \u53EA\u8BB0\u5F55\u7ED3\u6784\u5316\u65E5\u5FD7