diff --git a/bottom_function/data/STXINGKA.TTF b/bottom_function/data/STXINGKA.TTF new file mode 100644 index 0000000000000000000000000000000000000000..20e80db9963b4b34756e5b1c3aeffa65dfdebeb9 Binary files /dev/null and b/bottom_function/data/STXINGKA.TTF differ diff --git a/bottom_function/data/fromat_error_data.csv b/bottom_function/data/fromat_error_data.csv new file mode 100644 index 0000000000000000000000000000000000000000..40d2a7d1f0a2edfa32ebeb029a8405ad99c2508a --- /dev/null +++ b/bottom_function/data/fromat_error_data.csv @@ -0,0 +1 @@ +,num,data diff --git a/bottom_function/data/msyh.ttf b/bottom_function/data/msyh.ttf new file mode 100644 index 0000000000000000000000000000000000000000..b4456b2953191b775cd4c7751ad1754a955ddbc3 Binary files /dev/null and b/bottom_function/data/msyh.ttf differ diff --git a/bottom_function/data/sortLog.sh b/bottom_function/data/sortLog.sh new file mode 100644 index 0000000000000000000000000000000000000000..296214c8e2bfa8daf1f4420999f8661cd6995d37 --- /dev/null +++ b/bottom_function/data/sortLog.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +#set env +export PATH=$PATH:/bin:/sbin:/usr/sbin + + +function sortfile() { + +logfile1=/home/work/semantic_platform_DAS/bottom_function/data +logfile1_1=${logfile1}/semantic/m1 +logfile1_2=${logfile1}/semantic/m1_1 +logfile2=/home/work/logfile/ctoc/unisound +logfile2_1=${logfile1}/semantic/m2 +logfile3=${logfile1}/semantic/unorder/unisoundCtoC_logfile_`date +%Y%m%d` + +logfile4=${logfile1}/semantic/order/semantic.txt +logfile5=${logfile1}/semantic/order/semantic_`date +%Y%m%d` + +[ -d "${logfile1_1}" ] || mkdir -p "${logfile1_1}" +[ -d "${logfile1_2}" ] || mkdir -p "${logfile1_2}" +[ -d "${logfile2_1}" ] || mkdir -p "${logfile2_1}" +[ -d "${logfile1}/semantic/unorder" ] || mkdir -p "${logfile1}/semantic/unorder" +[ -d "${logfile1}/semantic/order" ] || mkdir -p "${logfile1}/semantic/order" + +[ -f "${logfile3}" ] || touch "${logfile3}" +[ -f "${logfile4}" ] || touch "${logfile4}" +[ -f "${logfile5}" ] || touch "${logfile5}" + +[ -f "${logfile1_2}/unisoundCtoC_logfile_`date +%Y%m%d`" ] || touch "${logfile1_2}/unisoundCtoC_logfile_`date +%Y%m%d`" +[ -f "${logfile2_1}/unisoundCtoC_logfile_`date +%Y%m%d`" ] || touch "${logfile2_1}/unisoundCtoC_logfile_`date +%Y%m%d`" + + +rsync -av root@10.7.19.130::testlogs ${logfile1_1} --password-file=/etc/rsync.password >/dev/null +touch /tmp/temp +temp=/tmp/temp +diff ${logfile1_2}/unisoundCtoC_logfile_`date +%Y%m%d` ${logfile1_1}/unisoundCtoC_logfile_`date +%Y%m%d` | grep ">"|awk -F "> " '{print $2}' > ${temp} +rsync -av ${logfile1_1}/unisoundCtoC_logfile_`date +%Y%m%d` ${logfile1_2}/unisoundCtoC_logfile_`date +%Y%m%d` >/dev/null +cat ${temp} >>${logfile1_2}/unisoundCtoC_logfile_`date +%Y%m%d` +cat /dev/null>${logfile3} +cat ${temp} >> ${logfile3} + + +diff ${logfile2_1}/unisoundCtoC_logfile_`date +%Y%m%d` ${logfile2}/unisoundCtoC_logfile_`date +%Y%m%d` | grep ">"|awk -F "> " '{print $2}' > ${temp} +rsync -av ${logfile2}/unisoundCtoC_logfile_`date +%Y%m%d` ${logfile2_1}/unisoundCtoC_logfile_`date +%Y%m%d` >/dev/null +cat ${temp} >>${logfile2_1}/unisoundCtoC_logfile_`date +%Y%m%d` +cat ${temp} >> ${logfile3} +#sed 'N;s#\n#,#g' ${logfile3} + + +if [ -s ${logfile3} ] +then + paste -sd ',\n' ${logfile3} | sort -u > ${logfile4} +else + echo 0 + exit 1 +fi + +lastEndTime=`tail -1 ${logfile5} |awk -F "(])|( request)" '{print $2} '` +newStartTime=`head -1 ${logfile4} |awk -F "(])|( request)" '{print $2} '` +t1=`date -d "${lastEndTime}" +%s` +t2=`date -d "${newStartTime}" +%s` + +if [ ! -s ${logfile5} ] +then + cat ${logfile4}>>${logfile5} +else + [ ${t1} -lt ${t2} ] && cat ${logfile4}>>${logfile5}||echo "no new logfiles" +fi +find ${logfile1}/semantic/order -name "unisoundCtoC_logfile_*" -type f -mtime +30|xargs rm -f +echo ${logfile4} +} +sortfile + diff --git a/bottom_function/normalization.py b/bottom_function/normalization.py index b93466c42e8879cdb3dd6538f68d462b5f66f941..d3c2dff2080394baa65172534f49e3092819b16d 100644 --- a/bottom_function/normalization.py +++ b/bottom_function/normalization.py @@ -9,7 +9,7 @@ import jieba.posseg as psg def get_stopword_list(): # 停用词表存储路径,每一行为一个词,按行读取进行加载 # 进行编码转换确保匹配准确率 - stop_word_path = './data/HGDstopwords.txt' + stop_word_path = '/home/work/semantic_platform_DAS/bottom_function/data/HGDstopwords.txt' stopword_list = [sw.replace('\n', '') for sw in open(stop_word_path, encoding='UTF-8').readlines()] return stopword_list @@ -40,7 +40,7 @@ def word_filter(seg_list, pos=False): if not flag.startswith('n'): continue # 过滤停用词表中的词,以及长度为<2的词 - if not word in stopword_list and len(word) > 0: + if not word in stopword_list and len(word) > 2: filter_list.append(word) return filter_list diff --git a/chat_function_analysis.py b/chat_function_analysis.py new file mode 100644 index 0000000000000000000000000000000000000000..bfd172e498625789837db6c33475bb3246e3c3f6 --- /dev/null +++ b/chat_function_analysis.py @@ -0,0 +1,338 @@ +#coding=utf-8 + +import pandas as pd +import numpy as np +from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer +import matplotlib.pyplot as plt +from sklearn.manifold import MDS +from sklearn.metrics.pairwise import cosine_similarity +import random +from matplotlib.font_manager import FontProperties +from sklearn.cluster import KMeans +from sklearn import metrics +from collections import Counter +from scipy.cluster.hierarchy import ward, dendrogram +import bottom_function.normalization as normalization +import bottom_function.m_SQL as qb + +# import json +# from flask import Flask +# from flask import request +# from flask_cors import CORS + + +class Culter: + + def __init__(self, start_time, end_time): + self.start_time = start_time + self.end_time = end_time + + csv_data = pd.DataFrame() + self.chat_data = pd.DataFrame() + tablename = "semantic_data_table" + db = qb.Schema(host="localhost", user="560193", password="jay560193", mysqlName="semantic_data_schema", + port="3306") + csv_data = db.getData(tableName=tablename, startTime=start_time, endTime=end_time) + self.chat_data = csv_data[(csv_data['domain'] == 'chat')] + + # self.chat_data.drop_duplicates(subset=['query'], inplace=True) + # self.chat_data.dropna(subset=['query'], inplace=True) + + self.out_data = '' # 写入分析结果 + self.feature_names = [] + self.f_sse = [] + self.feature_matrix = np.matrix([]) + + def build_feature_matrix(self, documents, feature_type, ngram_range, min_df, max_df): + + feature_type = feature_type.lower().strip() + if feature_type == 'binary': + vectorizer = CountVectorizer(binary=True, + max_df=max_df, ngram_range=ngram_range) + elif feature_type == 'frequency': + vectorizer = CountVectorizer(binary=False, min_df=min_df, + max_df=max_df, ngram_range=ngram_range) + elif feature_type == 'tfidf': + vectorizer = TfidfVectorizer(token_pattern=r"(?u)\b\w+\b", max_df=max_df) + else: + raise Exception("Wrong feature type entered. Possible values: 'binary', 'frequency', 'tfidf'") + + feature_matrix = vectorizer.fit_transform(documents).astype(float) + + return vectorizer, feature_matrix + + def feature_extraction_data(self): + + chat_one = self.chat_data['query'].tolist() + + norm_chat_one = normalization.normalize_corpus(chat_one, pos=False) + + # 提取 tf-idf 特征 + vectorizer, self.feature_matrix = self.build_feature_matrix(norm_chat_one, feature_type='tfidf', min_df=0.2, + max_df=0.90, + ngram_range=(1, 2)) + + # 查看特征数量) + self.out_data = '聚类分析结果:\n' + '**' * 30 + self.out_data = self.out_data + '\n特征数量:\n' + str(self.feature_matrix.shape) + + # 获取特征名字 + self.feature_names = vectorizer.get_feature_names() + + # 打印某些特征 + self.out_data = self.out_data + '\n部分特征:\n' + ', '.join(self.feature_names[:5]) + + def get_cluster_data(self, clustering_obj, m_data, feature_names, num_clusters, topn_features): + cluster_data = {} + + # 获取cluster的center + ordered_centroids = clustering_obj.cluster_centers_.argsort()[:, ::-1] + # 获取每个cluster的关键特征 + # 获取每个cluster的query + for cluster_num in range(num_clusters): + cluster_data[cluster_num] = {} + cluster_data[cluster_num]['cluster_num'] = cluster_num + key_features = [feature_names[index] + for index + in ordered_centroids[cluster_num, :topn_features]] + cluster_data[cluster_num]['key_features'] = key_features + + c_datas = m_data[m_data['Cluster'] == cluster_num]['query'].values.tolist() + cluster_data[cluster_num]['query'] = c_datas + + return cluster_data + + def print_cluster_data(self, cluster_data): + self.out_data = self.out_data + '\n\n聚类详细数据:\n' + + for cluster_num, cluster_details in cluster_data.items(): + self.out_data = self.out_data + '\nCluster {} details:\n'.format(cluster_num) + + self.out_data = self.out_data + '-' * 20 + self.out_data = self.out_data + '\nKey features:\n' + self.out_data = self.out_data + ', '.join(cluster_details['key_features']) + + self.out_data = self.out_data + '\ndata in this cluster:\n' + self.out_data = self.out_data + ', '.join(cluster_details['query']) + self.out_data = self.out_data + '\n' + '=' * 40 + + def plot_clusters(self, feature_matrix, cluster_data, m_data, plot_size): + def generate_random_color(): # generate random color for clusters + color = '#%06x' % random.randint(0, 0xFFFFFF) + return color + + # define markers for clusters + markers = ['o', 'v', '^', '<', '>', '8', 's', 'p', '*', 'h', 'H', 'D', 'd'] + # build cosine distance matrix + cosine_distance = 1 - cosine_similarity(feature_matrix) + # dimensionality reduction using MDS + mds = MDS(n_components=2, dissimilarity="precomputed", + random_state=1) + # get coordinates of clusters in new low-dimensional space + plot_positions = mds.fit_transform(cosine_distance) + x_pos, y_pos = plot_positions[:, 0], plot_positions[:, 1] + # build cluster plotting data + cluster_color_map = {} + cluster_name_map = {} + # print(cluster_data) + for cluster_num, cluster_details in cluster_data.items(): + # assign cluster features to unique label + cluster_color_map[cluster_num] = generate_random_color() + cluster_name_map[cluster_num] = ', '.join(cluster_details['key_features'][:5]).strip() + # map each unique cluster label with its coordinates and books + cluster_plot_frame = pd.DataFrame({'x': x_pos, + 'y': y_pos, + 'label': m_data['Cluster'].values.tolist(), + 'query': m_data['query'].values.tolist() + }) + grouped_plot_frame = cluster_plot_frame.groupby('label') + # set plot figure size and axes + + plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 + matplotlib.rcParams['font.family'] = 'sans-serif' + plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号 + fig, ax = plt.subplots(figsize=plot_size) + ax.margins(0.05) + # plot each cluster using co-ordinates and titles + for cluster_num, cluster_frame in grouped_plot_frame: + marker = markers[cluster_num] if cluster_num < len(markers) \ + else np.random.choice(markers, size=1)[0] + ax.plot(cluster_frame['x'], cluster_frame['y'], + marker=marker, linestyle='', ms=12, + label=cluster_name_map[cluster_num], + color=cluster_color_map[cluster_num], mec='none') + ax.set_aspect('auto') + ax.tick_params(axis='x', which='both', bottom=False, top=False, + labelbottom='off') + ax.tick_params(axis='y', which='both', left=False, top=False, + labelleft=False) + fontP = FontProperties() + fontP.set_size(23) + ax.legend(loc='upper center', bbox_to_anchor=(0.5, -0.01), fancybox=True, + shadow=True, ncol=5, numpoints=1, prop=fontP) + # add labels as the film titles + for index in range(len(cluster_plot_frame)): + ax.text(cluster_plot_frame.ix[index]['x'], cluster_plot_frame.ix[index]['y'], + cluster_plot_frame.ix[index]['query'], size=20) + # show the plot + plt.title(self.start_time + ' to ' + self.end_time + 'chat data cluster point set', fontsize=25) + path = '/roobo/soft/phpmyadmin/cluster_point.jpg' + plt.savefig(path) + return 'http://120.79.171.145:8000/cluster_point.jpg' + + def k_means(self, feature_matrix): + f_sse = [] + num_clusters = [] + for i in range(2, 21): + km = KMeans(n_clusters=i, max_iter=10000) + km.fit(feature_matrix) + clusters = km.labels_ + num_matrix = feature_matrix.todense() + sse = metrics.calinski_harabaz_score(num_matrix, clusters) + num_clusters.append(i) + f_sse.append(sse) + + pd_see = pd.Series(f_sse, index=num_clusters) + pct_see = pd_see.pct_change() + + fig, ax = plt.subplots(figsize=(10, 8)) + ax.plot(num_clusters, f_sse, 'o-', c='orangered', label='clustering quality') + plt.legend(loc=2) + plt.xticks(num_clusters) + ax.set_xlabel("cluster number") + + ax.set_ylabel("coefficient") + + ax1 = ax.twinx() + ax1.plot(pct_see.values, 'o-', c='blue', label='gradient change') + ax1.set_ylabel("gradient") + plt.legend(loc=1) + + plt.title(self.start_time + " to " + self.end_time + " the analysis of clusters with different numbers", fontsize=12) + path = '/roobo/soft/phpmyadmin/choice_num.jpg' + plt.savefig(path) + + # input_num = input('输入最优聚类数目:') + # best_num = int(input_num) + + self.f_sse = f_sse + return 'http://120.79.171.145:8000/choice_num.jpg' + + def k_means_cluster(self, best_num): + + self.out_data = self.out_data + '\n' + "=" * 20 + self.out_data = self.out_data + "\n\n聚类效果分析:\n" + self.out_data = self.out_data + "\n聚类数目为:" + str(best_num) + + f_sse = self.f_sse + sse = f_sse[best_num] + km = KMeans(n_clusters=best_num, max_iter=10000) + km.fit(self.feature_matrix) + clusters = km.labels_ + self.chat_data['Cluster'] = clusters + + # 获取每个cluster的数量 + c = Counter(clusters) + + sort_c = sorted(c.items(), key=lambda c: c[0], reverse=False) + c.clear() + for key, value in sort_c: + c[key] = value + + self.out_data = self.out_data + '\nCalinski-Harabasz分数:' + str(sse) + self.out_data = self.out_data + '\n每个特征的数据量:\n' + self.out_data = self.out_data + (str(c.items())) + self.out_data = self.out_data + '\n' + "=" * 20 + cluster_data = self.get_cluster_data(clustering_obj=km, + m_data=self.chat_data, + feature_names=self.feature_names, + num_clusters=best_num, + topn_features=5) + + self.print_cluster_data(cluster_data) + + path = self.plot_clusters(feature_matrix=self.feature_matrix, cluster_data=cluster_data, m_data=self.chat_data, + plot_size=(40, 25)) + return path + + def ward_hierarchical_clustering(self, feature_matrix): + cosine_distance = 1 - cosine_similarity(feature_matrix) + linkage_matrix = ward(cosine_distance) + return linkage_matrix + + def plot_hierarchical_clusters(self, linkage_matrix, m_data, figure_size): + # set size + fig, ax = plt.subplots(figsize=figure_size) + m_titles = m_data['query'].values.tolist() + + # plot dendrogram + ax = dendrogram(linkage_matrix, orientation="left", labels=m_titles) + plt.tick_params(axis='x', + which='both', + bottom=False, + top=False, + labelbottom=False) + plt.tight_layout() + plt.title(self.start_time + ' to ' + self.end_time + 'chat data ward hierachical clusters',fontsize=12) + path = '/roobo/soft/phpmyadmin/hierachical_clusters.jpg' + plt.savefig(path) + return 'http://120.79.171.145:8000/hierachical_clusters.jpg' + + +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# data_cluster = Culter(start_time="2018-12-01 00:00:00", end_time="2018-12-02 00:00:00") +# +# +# @app.route('/SPDAS/chat_function_analysis/choice1', methods=['POST']) +# def choice(): +# param = ({"time": "2018-12-01 00:00:00/2018-12-02 00:00:00"}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/chat_function_analysis/choice2', methods=['POST']) +# def choice_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# +# m_time = json_re['time'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# data_cluster = Culter(start_time=starttime, end_time=endtime) +# data_cluster.feature_extraction_data() +# image_path = data_cluster.k_means(data_cluster.feature_matrix) +# path = ({"num_image": image_path}) +# return json.JSONEncoder().encode(path) +# +# +# @app.route('/SPDAS/chat_function_analysis/chat1', methods=['POST']) +# def chat(): +# param = ({"best_num": "2"}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/chat_function_analysis/chat2', methods=['POST']) +# def chat_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# bestnum = json_re['best_num'] +# image_path1 = data_cluster.k_means_cluster(best_num=bestnum) +# +# linkage_matrix = data_cluster.ward_hierarchical_clustering(data_cluster.feature_matrix) +# +# image_path2 = data_cluster.plot_hierarchical_clusters(linkage_matrix=linkage_matrix, m_data=data_cluster.chat_data, +# figure_size=(35, 40)) +# with open("/roobo/soft/phpmyadmin/chat_function_data.txt", 'w') as file: +# file.writelines(data_cluster.out_data) +# +# path = ({"cluster_point": image_path1, "ward_image": image_path2}) +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000) diff --git a/domain_structure_analysis.py b/domain_structure_analysis.py index cdc583e61b067b60588e68e84e8b48432a5b298b..b67701c7ee9038da549c5b9f710a8500eae2cf2c 100644 --- a/domain_structure_analysis.py +++ b/domain_structure_analysis.py @@ -5,10 +5,11 @@ import pandas as pd import matplotlib.pyplot as plt import bottom_function.data_read as dr -import json -from flask import Flask -from flask import request -from flask_cors import CORS + +# import json +# from flask import Flask +# from flask import request +# from flask_cors import CORS def data_statistics_plot(datatype, starttime, endtime, graphtype): @@ -24,7 +25,7 @@ def data_statistics_plot(datatype, starttime, endtime, graphtype): # m_data.dropna(inplace=True) m_data.sort_values(ascending=False, inplace=True) m_data = m_data[m_data.values != 0] - fig = plt.figure(figsize=(10, 6)) + plt.figure(figsize=(10, 8)) if graphtype == 'pie': e = [] @@ -60,49 +61,49 @@ def data_statistics_plot(datatype, starttime, endtime, graphtype): plt.xticks(rotation=45) plt.ylabel('Number', fontsize=12, labelpad=5) for x, y in zip(range(len(num_list)), num_list): - plt.text(x, y, '%d' % y, ha='left', va='center', fontsize=9) + plt.text(x, y, '%d' % y, ha='left', va='center', fontsize=12) else: m_data.plot(kind=graphtype, use_index=True) plt.title(str(starttime) + ' to ' + str(endtime) + ' semantic domain analysis of ' + graphtype + ' graph', - fontsize=12) + fontsize=15) plt.tight_layout(5) path = '/roobo/soft/phpmyadmin/plot_domain.jpg' plt.savefig(path) - return path - - -app = Flask(__name__) -CORS(app, supports_credentials=True) - - -@app.route('/SPDAS/domain_structure_analysis1', methods=['POST']) -def domain(): - param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], - "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", - "graph_type": [{"value": "bar"}, {"value": "pie"}]}) - return json.JSONEncoder().encode(param) - - -@app.route('/SPDAS/domain_structure_analysis2', methods=['POST']) -def domain_form(): - # 需要从request对象读取表单内容: - data = request.get_data() - json_re = json.loads(data) - print(json_re) - datatype = json_re['data_type'] - m_time = json_re['time'] - graphtype = json_re['graph_type'] - str_time = str(m_time) - m_time = str_time.split('/') - starttime = m_time[0] - endtime = m_time[1] - image_path = data_statistics_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) - path = ({"domain_image": image_path}) - return json.JSONEncoder().encode(path) + return 'http://120.79.171.145:8000/plot_domain.jpg' -if __name__ == '__main__': - app.run(debug=True, host='10.7.19.129', port=5000) +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# +# @app.route('/SPDAS/domain_structure_analysis1', methods=['POST']) +# def domain(): +# param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], +# "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", +# "graph_type": [{"value": "bar"}, {"value": "pie"}]}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/domain_structure_analysis2', methods=['POST']) +# def domain_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# print(json_re) +# datatype = json_re['data_type'] +# m_time = json_re['time'] +# graphtype = json_re['graph_type'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# image_path = data_statistics_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) +# path = ({"domain_image": image_path}) +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000) # str_time = str('2018.12.01 00:00:00/2018.12.02 00:00:00') # m_time = str_time.split('/') diff --git a/processing_unisound_logfile.log b/processing_unisound_logfile.log new file mode 100644 index 0000000000000000000000000000000000000000..bb496921e1e87954d16c6142bafc0ee9903d3796 --- /dev/null +++ b/processing_unisound_logfile.log @@ -0,0 +1,59407 @@ +nohup: 忽略输入 +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 08 +***** + +2019-03-14 08:46:26,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:26,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:26,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,096 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:26,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:26,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:26,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,101 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 08:46:26,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,103 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 08:46:26,108 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 08:46:26,108 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 8, 27, 58, 613206), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 212.538782}, {'datetime': datetime.datetime(2019, 3, 14, 8, 27, 58, 709993), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 218.730115}, {'datetime': datetime.datetime(2019, 3, 14, 8, 27, 58, 795636), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 200.267104}, {'datetime': datetime.datetime(2019, 3, 14, 8, 28, 7, 105310), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 205.553201}, {'datetime': datetime.datetime(2019, 3, 14, 8, 28, 7, 193018), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 190.498642}, {'datetime': datetime.datetime(2019, 3, 14, 8, 28, 7, 261157), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 198.531046}, {'datetime': datetime.datetime(2019, 3, 14, 8, 28, 7, 269738), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 201.490889}, {'datetime': datetime.datetime(2019, 3, 14, 8, 28, 7, 391020), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 299.939712} ... displaying 10 of 233 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 8, 46, 11, 211025), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.653822}, {'datetime': datetime.datetime(2019, 3, 14, 8, 46, 11, 321873), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 296.913605}) +2019-03-14 08:46:26,118 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 08:46:26,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:26,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:26,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,136 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:26,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:26,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:26,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 08:46:26,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:26,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,149 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:26,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,150 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:26,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,150 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:26,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:26,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,153 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 08:46:26,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,155 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 08:46:26,156 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 08:46:26,156 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 8, 28, 22, 174814), 'mac_wifi': 'f4911e675957', 'mac_voice': '58b3fc2f431c', 'query': '自毁装置', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 207.348876}, {'datetime': datetime.datetime(2019, 3, 14, 8, 29, 1, 608586), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 242.123649}, {'datetime': datetime.datetime(2019, 3, 14, 8, 29, 15, 312676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 1065.744242}, {'datetime': datetime.datetime(2019, 3, 14, 8, 29, 43, 912001), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 246.598563}, {'datetime': datetime.datetime(2019, 3, 14, 8, 33, 31, 203441), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 238.716211}, {'datetime': datetime.datetime(2019, 3, 14, 8, 35, 1, 821744), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 247.242296}, {'datetime': datetime.datetime(2019, 3, 14, 8, 35, 22, 50403), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 242.564994}, {'datetime': datetime.datetime(2019, 3, 14, 8, 37, 19, 187454), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 249.976303} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 8, 44, 25, 532911), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '跳到制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 363.730612}, {'datetime': datetime.datetime(2019, 3, 14, 8, 45, 48, 121718), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 237.069551}) +2019-03-14 08:46:26,158 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 07:00:00 +时间为:### 2019-03-14 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 07:00:00" and datetime< "2019-03-14 08:00:00" +2019-03-14 08:46:26,165 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:26,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,165 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:26,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,166 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:26,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,167 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:26,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:26,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,169 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:26,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:26,169 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 07:00:00" and datetime< "2019-03-14 08:00:00" +2019-03-14 08:46:26,170 INFO sqlalchemy.engine.base.Engine {} +****683 +all****683 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 07:00:00" and datetime< "2019-03-14 08:00:00" +2019-03-14 08:46:27,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:27,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,209 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:27,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,210 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:27,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,211 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:27,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:27,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:27,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:27,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:27,214 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 07:00:00" and datetime< "2019-03-14 08:00:00" +2019-03-14 08:46:27,214 INFO sqlalchemy.engine.base.Engine {} +****683 +all****683 + +all****489 + +all****194 + +****489 + +****158 + +Start domain data classification: +2019-03-14 08:46:28,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:28,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:28,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:28,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,252 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:28,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:28,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:28,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:28,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,255 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 08:46:28,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,257 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 08:46:28,258 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 08:46:28,258 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 8, 0), 'aircleaner': 0, 'airconditioner': 414, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 75, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 08:46:28,259 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 08:46:28,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:28,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,274 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:28,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,275 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:28,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:28,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:28,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:28,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:28,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,278 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 08:46:28,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:28,281 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 08:46:28,282 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 08:46:28,282 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 8, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 1, 'chat': 153, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-14 08:46:28,282 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 08:46:29,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 08:46:29,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 08:46:29,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 08:46:29,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,102 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 08:46:29,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:29,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 08:46:29,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 08:46:29,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,105 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 08:46:29,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 08:46:29,108 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 08:46:29,108 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 08:46:29,108 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 8, 0), '0~500ms': "[('airconditioner', 136), ('universalcontrol', 30), ('aircleaner', 0), ('chat', 59), ('baike', 1), ('music', 1)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 08:46:29,109 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 09 +***** + +2019-03-14 09:46:29,728 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:29,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:29,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,731 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:29,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,731 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:29,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:29,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,735 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 09:46:29,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,738 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 09:46:29,747 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 09:46:29,747 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 8, 47, 4, 854123), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.755243}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 5, 123646), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 234.352069}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 5, 586019), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 258.46401}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 5, 784696), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 240.312638}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 13, 7704), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 233.047249}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 13, 221188), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调空气', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '没有空调。', 'cost_time_ms': 392.746729}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 15, 488262), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 231.101175}, {'datetime': datetime.datetime(2019, 3, 14, 8, 47, 15, 522738), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.919934} ... displaying 10 of 790 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 27, 792636), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 244.977563}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 27, 978019), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 386.928365}) +2019-03-14 09:46:29,779 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 09:46:29,791 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:29,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,792 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:29,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,793 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:29,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,794 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:29,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:29,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,797 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 09:46:29,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:29,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,806 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:29,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,807 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:29,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:29,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:29,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,810 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 09:46:29,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,812 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 09:46:29,814 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 09:46:29,814 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 8, 47, 13, 7704), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 233.047249}, {'datetime': datetime.datetime(2019, 3, 14, 8, 58, 57, 782773), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 2009.9048970000001}, {'datetime': datetime.datetime(2019, 3, 14, 9, 6, 37, 676076), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '百症赋', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 255.556039}, {'datetime': datetime.datetime(2019, 3, 14, 9, 13, 10, 144490), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海如何', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 243.468332}, {'datetime': datetime.datetime(2019, 3, 14, 9, 13, 10, 276995), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海如何', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 236.759483}, {'datetime': datetime.datetime(2019, 3, 14, 9, 13, 10, 569161), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海如何', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 238.874343}, {'datetime': datetime.datetime(2019, 3, 14, 9, 13, 23, 648392), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海环境怎么样', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 232.244647}, {'datetime': datetime.datetime(2019, 3, 14, 9, 13, 23, 668031), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海环境怎么样', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 234.675994} ... displaying 10 of 31 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 9, 40, 27, 431989), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开启后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 239.79091}, {'datetime': datetime.datetime(2019, 3, 14, 9, 44, 5, 160212), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 211.726238}) +2019-03-14 09:46:29,820 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 08:00:00 +时间为:### 2019-03-14 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 08:00:00" and datetime< "2019-03-14 09:00:00" +2019-03-14 09:46:29,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:29,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,829 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:29,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,830 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:29,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,830 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:29,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:29,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,833 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:29,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:29,833 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 08:00:00" and datetime< "2019-03-14 09:00:00" +2019-03-14 09:46:29,833 INFO sqlalchemy.engine.base.Engine {} +****705 +all****705 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 08:00:00" and datetime< "2019-03-14 09:00:00" +2019-03-14 09:46:30,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:30,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:30,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:30,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,915 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:30,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:30,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:30,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:30,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:30,918 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 08:00:00" and datetime< "2019-03-14 09:00:00" +2019-03-14 09:46:30,918 INFO sqlalchemy.engine.base.Engine {} +****705 +all****705 + +all****506 + +all****199 + +****506 + +****165 + +Start domain data classification: +2019-03-14 09:46:31,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:31,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,992 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:31,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,993 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:31,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,994 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:31,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:31,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:31,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:31,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,997 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 09:46:31,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:31,999 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 09:46:32,000 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 09:46:32,000 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 9, 0), 'aircleaner': 0, 'airconditioner': 417, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 89, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 09:46:32,001 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 09:46:32,013 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:32,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:32,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,015 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:32,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,016 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:32,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,017 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:32,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,017 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:32,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:32,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,018 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 09:46:32,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,021 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 09:46:32,022 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 09:46:32,022 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 9, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 157, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-14 09:46:32,023 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 09:46:32,868 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 09:46:32,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,869 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 09:46:32,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,870 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 09:46:32,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,871 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 09:46:32,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:32,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 09:46:32,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 09:46:32,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,874 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 09:46:32,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 09:46:32,876 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 09:46:32,876 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 09:46:32,876 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 9, 0), '0~500ms': "[('airconditioner', 412), ('universalcontrol', 78), ('aircleaner', 0), ('chat', 170), ('weather', 77), ('music', 15)]", '1000~2000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('weather', 1), ('almanac', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 6), ('baike', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 12), ('universalcontrol', 7), ('aircleaner', 0), ('chat', 3), ('weather', 3), ('music', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 09:46:32,877 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:37:02,573 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,575 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,576 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,579 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:37:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,582 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:37:02,593 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:37:02,593 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 344160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 235.081685}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 374838), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.177682}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 528200), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 248.396931}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 594461), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 235.841931}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 39, 880608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.48775}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 70144), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 201.804032}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 111986), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 194.932925}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 167706), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 191.58095} ... displaying 10 of 870 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 35, 39, 403625), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把空调温度调低三度', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_reducetemp', 'response_data': 'success', 'cost_time_ms': 220.998786}, {'datetime': datetime.datetime(2019, 3, 14, 11, 36, 33, 312185), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 211.164915}) +2019-03-14 11:37:02,628 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:37:02,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,643 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,644 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,646 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:37:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,654 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,655 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,656 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:02,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,656 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:02,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:02,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,659 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:37:02,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,661 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:37:02,662 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:37:02,662 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 9, 48, 38, 628829), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 211.412637}, {'datetime': datetime.datetime(2019, 3, 14, 9, 50, 13, 453674), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '环境超帅吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 220.147886}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 3, 757254), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '这次毕业论文能过吗。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 349.407463}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 23, 55943), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '我的答辩能过吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 216.468136}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 30, 884907), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '我的毕业答辩能过吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 210.437049}, {'datetime': datetime.datetime(2019, 3, 14, 9, 54, 25, 71166), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到慢风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 342.341532}, {'datetime': datetime.datetime(2019, 3, 14, 10, 0, 5, 484891), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 2013.8361640000003}, {'datetime': datetime.datetime(2019, 3, 14, 10, 1, 5, 100918), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '尹为民', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 181.391163} ... displaying 10 of 46 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 32, 9, 149184), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '乞丐姑娘', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 339.639144}, {'datetime': datetime.datetime(2019, 3, 14, 11, 35, 20, 163323), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '专业人员咨询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 177.975631}) +2019-03-14 11:37:02,665 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:37:02,688 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,689 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,689 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,690 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,692 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:02,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:02,692 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:37:02,692 INFO sqlalchemy.engine.base.Engine {} +****422 +all****422 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:37:03,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:03,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:03,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,704 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:03,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,705 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:03,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:03,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:03,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:03,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:03,707 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:37:03,707 INFO sqlalchemy.engine.base.Engine {} +****422 +all****422 + +all****271 + +all****151 + +****271 + +****121 + +Start domain data classification: +2019-03-14 11:37:04,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,741 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:04,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,742 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:04,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:37:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,747 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:37:04,748 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:37:04,748 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 199, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 68, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 1} +2019-03-14 11:37:04,748 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:37:04,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,762 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,763 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,766 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:37:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:04,768 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:37:04,769 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:37:04,769 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 6, 'chat': 96, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 10, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 7} +2019-03-14 11:37:04,770 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:37:05,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:37:05,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,601 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:37:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,602 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:37:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,602 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:37:05,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:05,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:37:05,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:37:05,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,606 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:37:05,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:37:05,608 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:37:05,608 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:37:05,609 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 440), ('universalcontrol', 118), ('playcontrol', 4), ('chat', 237), ('music', 29), ('baike', 7)]", '1000~2000ms': "[('airconditioner', 2), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 3), ('baike', 1), ('fm', 1)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 5), ('universalcontrol', 2), ('aircleaner', 0), ('music', 5), ('weather', 3), ('chat', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:37:05,609 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:38:02,746 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,747 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,748 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,749 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:02,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,753 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:38:02,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,756 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:38:02,767 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:38:02,767 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 344160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 235.081685}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 374838), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.177682}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 528200), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 248.396931}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 38, 594461), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 235.841931}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 39, 880608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.48775}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 70144), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 201.804032}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 111986), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 194.932925}, {'datetime': datetime.datetime(2019, 3, 14, 9, 46, 59, 167706), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 191.58095} ... displaying 10 of 870 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 35, 39, 403625), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把空调温度调低三度', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_reducetemp', 'response_data': 'success', 'cost_time_ms': 220.998786}, {'datetime': datetime.datetime(2019, 3, 14, 11, 36, 33, 312185), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 211.164915}) +2019-03-14 11:38:02,803 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:38:02,816 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,817 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:02,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,817 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,818 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,820 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,820 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,821 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:38:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,829 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,830 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,831 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,832 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,833 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,834 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,834 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,835 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:38:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,837 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:38:02,838 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:38:02,838 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 9, 48, 38, 628829), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 211.412637}, {'datetime': datetime.datetime(2019, 3, 14, 9, 50, 13, 453674), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '环境超帅吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 220.147886}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 3, 757254), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '这次毕业论文能过吗。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 349.407463}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 23, 55943), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '我的答辩能过吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 216.468136}, {'datetime': datetime.datetime(2019, 3, 14, 9, 52, 30, 884907), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f5be7', 'query': '我的毕业答辩能过吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 210.437049}, {'datetime': datetime.datetime(2019, 3, 14, 9, 54, 25, 71166), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到慢风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 342.341532}, {'datetime': datetime.datetime(2019, 3, 14, 10, 0, 5, 484891), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 2013.8361640000003}, {'datetime': datetime.datetime(2019, 3, 14, 10, 1, 5, 100918), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '尹为民', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 181.391163} ... displaying 10 of 46 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 32, 9, 149184), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '乞丐姑娘', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 339.639144}, {'datetime': datetime.datetime(2019, 3, 14, 11, 35, 20, 163323), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '专业人员咨询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 177.975631}) +2019-03-14 11:38:02,845 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:38:02,856 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,856 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,857 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,858 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,859 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,860 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,860 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:02,861 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:38:02,861 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:38:03,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:03,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,896 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:03,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,897 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:03,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,898 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:03,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:03,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:03,901 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:38:03,901 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:38:04,946 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,947 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,948 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,948 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,951 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:04,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,951 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:38:04,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,953 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:38:04,954 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:38:04,954 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:38:04,955 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:38:04,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:04,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,968 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,968 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,969 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,970 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:04,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:04,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:04,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,971 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:38:04,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:04,974 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:38:04,975 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:38:04,975 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:38:04,975 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:38:05,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:38:05,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:38:05,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,804 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:38:05,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,804 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:38:05,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:05,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:38:05,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:38:05,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,807 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:38:05,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:38:05,809 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:38:05,810 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:38:05,810 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 440), ('universalcontrol', 118), ('playcontrol', 4), ('chat', 237), ('music', 29), ('baike', 7)]", '1000~2000ms': "[('airconditioner', 2), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 3), ('baike', 1), ('fm', 1)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 5), ('universalcontrol', 2), ('aircleaner', 0), ('music', 5), ('weather', 3), ('chat', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:38:05,810 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:39:02,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,914 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,915 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,916 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,919 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,919 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:39:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,922 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:39:02,924 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:39:02,924 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 38, 19, 703488), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 344.729973}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 19, 712527), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 364.321154}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 19, 889559), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 355.274239}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 32, 489696), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.664447}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 32, 645776), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 213.541356}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 32, 858698), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.451483}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 44, 201734), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 209.607749}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 44, 408662), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 227.799956}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 44, 650707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.671761}, {'datetime': datetime.datetime(2019, 3, 14, 11, 38, 55, 41248), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 264.835314}) +2019-03-14 11:39:02,925 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:39:02,936 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,939 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,942 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:39:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,950 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,952 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,952 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,955 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:39:02,955 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:39:02,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,963 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,964 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,965 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:02,967 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:39:02,967 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:39:04,017 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,019 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:04,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:04,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:04,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:04,023 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:39:04,023 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:39:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,066 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,069 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:39:05,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,071 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:39:05,072 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:39:05,072 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:39:05,073 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:39:05,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,086 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,087 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,088 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,090 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:39:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,093 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:39:05,094 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:39:05,094 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:39:05,095 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:39:05,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:39:05,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,907 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:39:05,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,908 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:39:05,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,909 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:39:05,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:39:05,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:39:05,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,912 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:39:05,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:39:05,914 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:39:05,915 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:39:05,915 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 7), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:39:05,915 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:40:02,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:02,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:02,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,064 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:02,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:02,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,069 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:40:02,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,071 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:40:02,073 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:40:02,074 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 39, 11, 922541), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 290.773753}, {'datetime': datetime.datetime(2019, 3, 14, 11, 39, 27, 278630), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 204.860798}, {'datetime': datetime.datetime(2019, 3, 14, 11, 39, 27, 315497), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.280446}, {'datetime': datetime.datetime(2019, 3, 14, 11, 39, 27, 327608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.629243}, {'datetime': datetime.datetime(2019, 3, 14, 11, 39, 27, 491396), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 382.126271}, {'datetime': datetime.datetime(2019, 3, 14, 11, 39, 27, 494074), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 395.253215}) +2019-03-14 11:40:02,075 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:40:02,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:02,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,087 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,090 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:40:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,100 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,101 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,102 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,103 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,104 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:40:02,104 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:40:02,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,113 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,113 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:02,116 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:40:02,116 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:40:03,155 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:03,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,156 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:03,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,157 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:03,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,157 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:03,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,159 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:03,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,159 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:03,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:03,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:03,160 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:40:03,160 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:40:04,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:04,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:04,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:04,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:04,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:04,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:04,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:04,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,228 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:40:04,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,231 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:40:04,232 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:40:04,232 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:40:04,232 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:40:04,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:04,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:04,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,247 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:04,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,248 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:04,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:04,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,250 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:40:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:04,252 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:40:04,254 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:40:04,254 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:40:04,254 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:40:05,060 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:40:05,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:40:05,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,062 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:40:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,062 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:40:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,064 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,064 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:40:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:40:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,065 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:40:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:40:05,067 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:40:05,068 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:40:05,068 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:40:05,068 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:41:02,216 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,218 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,219 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,222 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,223 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:41:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,225 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:41:02,228 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:41:02,228 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 40, 11, 247030), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 271.356145}, {'datetime': datetime.datetime(2019, 3, 14, 11, 40, 15, 327289), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十六度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 204.117098}, {'datetime': datetime.datetime(2019, 3, 14, 11, 40, 17, 611133), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调二十二度', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '一般开24度,怕热不怕冷的人。', 'cost_time_ms': 177.574574}, {'datetime': datetime.datetime(2019, 3, 14, 11, 40, 23, 544703), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到二十一度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 226.35231}, {'datetime': datetime.datetime(2019, 3, 14, 11, 40, 36, 963598), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十九度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 194.669267}, {'datetime': datetime.datetime(2019, 3, 14, 11, 40, 38, 549733), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到十九度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 232.296238}, {'datetime': datetime.datetime(2019, 3, 14, 11, 41, 1, 667833), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 267.606692}) +2019-03-14 11:41:02,229 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:41:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,245 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,246 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,249 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:41:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,258 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,259 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,259 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,261 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,261 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,262 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:41:02,263 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:41:02,269 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,271 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,271 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:02,274 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:41:02,274 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:41:03,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:03,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:03,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,319 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:03,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,319 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:03,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:03,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:03,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:03,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:03,322 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:41:03,322 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:41:04,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:04,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,400 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,401 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,404 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:41:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,406 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:41:04,407 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:41:04,407 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:41:04,408 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:41:04,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:04,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,421 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,422 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,423 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,423 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,424 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:41:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:04,426 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:41:04,428 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:41:04,428 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:41:04,468 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:41:05,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:41:05,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:41:05,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,273 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:41:05,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,273 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:41:05,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:41:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:41:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,276 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:41:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:41:05,278 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:41:05,278 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:41:05,278 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:41:05,279 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:42:02,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:02,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,418 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,419 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:02,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,423 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:42:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,425 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:42:02,428 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:42:02,428 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 41, 6, 707137), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 201.970601}, {'datetime': datetime.datetime(2019, 3, 14, 11, 41, 6, 931717), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 208.043262}, {'datetime': datetime.datetime(2019, 3, 14, 11, 41, 20, 25617), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把温度调低到二十五度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 213.980913}, {'datetime': datetime.datetime(2019, 3, 14, 11, 41, 53, 867154), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.823521}) +2019-03-14 11:42:02,429 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:42:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,442 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,443 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,446 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:42:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,457 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,458 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,461 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:42:02,461 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:42:02,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,470 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,470 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:02,473 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:42:02,473 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:42:03,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:03,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:03,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,531 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:03,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,532 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:03,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:03,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:03,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:03,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:03,535 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:42:03,535 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:42:04,570 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:04,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,571 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:04,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,572 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:04,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:04,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:04,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:04,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,575 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:42:04,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,577 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:42:04,578 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:42:04,578 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:42:04,579 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:42:04,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,593 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:04,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:04,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:04,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,596 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:42:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:04,598 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:42:04,600 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:42:04,600 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:42:04,600 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:42:05,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:42:05,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:42:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,408 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:42:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,408 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:42:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:42:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:42:05,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,411 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:42:05,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:42:05,413 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:42:05,414 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:42:05,414 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:42:05,415 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:43:02,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,524 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:43:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,531 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:43:02,533 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:43:02,533 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 42, 20, 934548), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动空调', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 300.648067}, {'datetime': datetime.datetime(2019, 3, 14, 11, 42, 24, 81298), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.356579}, {'datetime': datetime.datetime(2019, 3, 14, 11, 42, 34, 47012), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 265.738068}, {'datetime': datetime.datetime(2019, 3, 14, 11, 42, 34, 599063), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.202139}, {'datetime': datetime.datetime(2019, 3, 14, 11, 42, 34, 878450), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.04491}, {'datetime': datetime.datetime(2019, 3, 14, 11, 42, 38, 946443), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 203.969409}) +2019-03-14 11:43:02,534 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:43:02,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,546 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,547 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,550 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:43:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,561 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,561 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,564 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:43:02,564 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:43:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,572 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,573 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,574 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:02,576 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:43:02,576 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:43:03,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:03,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,633 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:03,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,634 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:03,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,635 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:03,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:03,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:03,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:03,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:03,638 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:43:03,638 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:43:04,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,683 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,684 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,687 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:43:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,689 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:43:04,691 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:43:04,691 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:43:04,691 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:43:04,705 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,705 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,706 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,707 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,709 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,709 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,710 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:43:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:04,712 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:43:04,713 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:43:04,713 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:43:04,714 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:43:05,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:43:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,544 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:43:05,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,545 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:43:05,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,546 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:43:05,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:05,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:43:05,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:43:05,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,549 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:43:05,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:43:05,551 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:43:05,552 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:43:05,552 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:43:05,552 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:44:02,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:02,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,675 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:02,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,676 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:02,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,677 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:02,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,680 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:44:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,683 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:44:02,685 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:44:02,685 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 43, 4, 432806), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 194.746764}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 4, 630610), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 202.926132}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 4, 640545), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 270.652241}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 5, 464181), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 202.344668}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 6, 468093), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 179.301994}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 47, 902626), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置自动风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 315.557855}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 48, 707414), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 232.868844}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 48, 835047), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.651897}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 48, 944106), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 388.654531}, {'datetime': datetime.datetime(2019, 3, 14, 11, 43, 50, 208231), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 250.272797}) +2019-03-14 11:44:02,687 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:44:02,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,699 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,700 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,700 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,703 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,703 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:44:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,712 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,713 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,714 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,714 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,716 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,717 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,717 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:44:02,717 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:44:02,724 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:02,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,725 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:02,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,725 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:02,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,726 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:02,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:02,729 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:44:02,729 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:44:03,801 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:03,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:03,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,803 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:03,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,804 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:03,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:03,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:03,806 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:44:03,806 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:44:04,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,850 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,851 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,854 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:44:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,856 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:44:04,857 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:44:04,857 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:44:04,858 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:44:04,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,873 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,874 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,876 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:44:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:04,878 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:44:04,880 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:44:04,880 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:44:04,880 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:44:05,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:44:05,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:44:05,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,681 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:44:05,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,682 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:44:05,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:05,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:44:05,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:44:05,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,685 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:44:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:44:05,687 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:44:05,687 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:44:05,687 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 4), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:44:05,688 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:45:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,807 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,808 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,808 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,812 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:45:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,814 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:45:02,817 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:45:02,817 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 44, 9, 951177), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调打开抽湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.370389}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 9, 960475), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开抽湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 210.63871}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 9, 971088), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调打开抽湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.532731}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 20, 64395), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.202495}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 30, 305197), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 213.298621}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 30, 404125), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 223.868908}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 30, 447752), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 222.44095}, {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 31, 69840), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 225.229423} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 44, 37, 910114), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调到最大风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 206.60422}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 1, 457211), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '中国坚定不移', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我们还是聊点儿别的吧。', 'cost_time_ms': 176.891184}) +2019-03-14 11:45:02,818 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:45:02,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,829 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,830 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,830 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,833 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,833 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:45:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,842 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,842 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,843 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,844 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,847 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:45:02,847 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:45:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,855 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,855 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:02,858 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:45:02,858 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:45:03,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:03,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,887 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:03,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,888 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:03,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,888 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:03,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:03,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:03,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:03,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:03,891 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:45:03,892 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:45:04,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,935 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,935 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,938 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:45:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,940 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:45:04,941 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:45:04,941 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:45:04,942 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:45:04,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,956 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,957 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,960 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:45:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:04,962 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:45:04,963 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:45:04,963 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:45:04,964 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:45:05,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:45:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,770 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:45:05,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,771 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:45:05,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,772 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:45:05,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:05,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:45:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:45:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,775 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:45:05,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:45:05,777 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:45:05,778 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:45:05,778 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 8), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:45:05,778 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:46:02,894 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:02,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,896 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:02,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,897 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:02,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,898 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,901 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:46:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,903 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:46:02,905 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:46:02,906 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 45, 13, 815168), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 238.953425}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 15, 167367), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风速调到最小', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 209.509019}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 16, 613270), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.868537}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 25, 411431), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 245.176088}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 27, 761023), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调到最小风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 211.019146}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 44, 976293), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 214.394017}, {'datetime': datetime.datetime(2019, 3, 14, 11, 45, 45, 167179), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 231.048693}) +2019-03-14 11:46:02,906 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:46:02,916 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,918 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,919 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,920 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,922 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:46:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:02,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,931 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:02,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,932 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,933 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,936 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:46:02,936 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:46:02,942 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,943 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:02,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,944 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:02,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,944 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:02,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:02,947 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:46:02,947 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:46:04,017 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,018 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,019 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:04,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:04,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:04,022 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:46:04,022 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:46:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,064 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,068 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:46:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,070 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:46:05,071 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:46:05,071 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:46:05,072 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:46:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,088 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:46:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,091 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:46:05,092 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:46:05,092 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:46:05,092 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:46:05,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:46:05,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,902 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:46:05,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,903 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:46:05,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,903 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:46:05,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:46:05,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:46:05,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,906 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:46:05,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:46:05,908 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:46:05,909 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:46:05,909 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 4), ('airconditioner', 1), ('aircleaner', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:46:05,909 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:47:03,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:03,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,013 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:03,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,014 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,014 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,016 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,016 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,017 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,018 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:47:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,021 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:47:03,023 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:47:03,023 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 46, 8, 821206), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 308.417746}, {'datetime': datetime.datetime(2019, 3, 14, 11, 46, 28, 282949), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '找猴王', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.862632}, {'datetime': datetime.datetime(2019, 3, 14, 11, 46, 44, 549128), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调大风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 210.798946}) +2019-03-14 11:47:03,024 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:47:03,034 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,035 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,036 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:03,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,037 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,038 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,038 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:03,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,040 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:47:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,050 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,050 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,053 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:47:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,055 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:47:03,056 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:47:03,056 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 46, 28, 282949), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '找猴王', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.862632} +2019-03-14 11:47:03,057 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:47:03,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:03,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:03,068 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:47:03,068 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:47:04,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:04,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:04,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,130 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:04,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:04,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:04,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:04,133 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:47:04,133 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:47:05,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:05,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,173 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:05,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,174 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:05,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,174 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:05,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:05,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:05,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:05,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,178 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:47:05,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,180 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:47:05,181 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:47:05,181 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:47:05,182 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:47:05,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:05,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:05,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,196 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:05,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,197 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,200 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:47:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:05,202 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:47:05,203 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:47:05,203 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:47:05,204 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:47:06,012 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:47:06,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,013 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:47:06,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,014 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:47:06,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,015 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:47:06,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,016 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:06,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,017 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:47:06,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:47:06,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,018 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:47:06,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:47:06,020 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:47:06,021 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:47:06,021 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:47:06,022 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:48:02,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,164 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,164 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:48:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,171 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:48:02,173 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:48:02,173 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 47, 9, 37730), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调高风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 211.854579}, {'datetime': datetime.datetime(2019, 3, 14, 11, 47, 33, 93080), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风大点', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 165.180071}) +2019-03-14 11:48:02,174 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:48:02,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,218 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,219 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,219 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,222 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,222 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:48:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,231 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,232 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,233 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,233 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,235 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,235 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,236 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:48:02,236 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:48:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,244 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:02,248 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:48:02,248 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:48:03,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:03,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,284 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:03,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,285 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:03,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,286 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:03,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:03,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:03,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:03,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:03,289 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:48:03,289 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:48:04,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:04,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,364 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:04,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:04,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,367 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:48:04,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,369 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:48:04,370 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:48:04,370 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:48:04,371 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:48:04,383 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,386 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:04,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:04,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,388 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:48:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:04,391 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:48:04,392 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:48:04,392 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:48:04,393 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:48:05,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:48:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,200 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:48:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,201 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:48:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,202 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:48:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:48:05,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:48:05,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,205 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:48:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:48:05,207 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:48:05,208 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:48:05,208 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:48:05,208 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:49:02,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,341 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,345 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:49:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,348 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:49:02,350 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:49:02,350 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 48, 10, 582842), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风速调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 212.671815}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 23, 14761), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '增加风挡', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 234.526382}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 32, 545802), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 367.969011}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 35, 323879), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风速降低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 237.510081}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 35, 562403), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 211.743668}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 38, 285633), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '背诵诗兵车行', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《兵车行》,来自唐代杜甫,全文如下:', 'cost_time_ms': 216.719205}, {'datetime': datetime.datetime(2019, 3, 14, 11, 48, 59, 507925), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风降低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 224.582086}) +2019-03-14 11:49:02,351 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:49:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,364 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,367 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:49:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,375 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,377 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,378 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,381 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:49:02,381 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:49:02,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,388 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,389 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,390 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,392 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:02,392 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:49:02,392 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:49:03,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:03,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:03,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:03,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:03,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:03,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:03,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:03,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:03,438 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:49:03,438 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:49:04,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,497 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:49:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,499 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:49:04,501 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:49:04,501 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:49:04,501 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:49:04,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,515 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:04,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,516 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,516 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,519 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,519 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:49:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:04,522 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:49:04,523 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:49:04,523 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:49:04,524 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:49:05,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:49:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:49:05,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:49:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:49:05,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:05,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:49:05,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:49:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,352 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:49:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:49:05,354 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:49:05,355 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:49:05,355 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('chat', 2), ('ancient_poem', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:49:05,356 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:50:02,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,478 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:50:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,481 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:50:02,483 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:50:02,483 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 49, 24, 297501), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '减慢风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 244.195997}, {'datetime': datetime.datetime(2019, 3, 14, 11, 49, 37, 141245), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我现在要的是', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '马上去给你找。', 'cost_time_ms': 202.119547}, {'datetime': datetime.datetime(2019, 3, 14, 11, 49, 37, 190099), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我现在要的是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 240.347073}, {'datetime': datetime.datetime(2019, 3, 14, 11, 49, 37, 328453), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我现在要的是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 380.760234}, {'datetime': datetime.datetime(2019, 3, 14, 11, 49, 49, 541086), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 371.304351}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 0, 278708), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 387.756103}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 1, 655076), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调低档风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 449.753056}) +2019-03-14 11:50:02,484 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:50:02,497 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,498 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,499 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,499 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,502 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:50:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,512 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,516 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:50:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,518 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:50:02,518 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:50:02,519 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 49, 37, 190099), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我现在要的是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 240.347073}, {'datetime': datetime.datetime(2019, 3, 14, 11, 49, 37, 328453), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我现在要的是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 380.760234}) +2019-03-14 11:50:02,519 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:50:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:02,532 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:50:02,532 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:50:03,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,596 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,596 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:03,600 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:50:03,600 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:50:04,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:04,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,643 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,644 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,648 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:50:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,650 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:50:04,651 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:50:04,651 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:50:04,652 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:50:04,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,666 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,667 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:04,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:04,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,669 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,669 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,670 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:50:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:04,672 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:50:04,673 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:50:04,673 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:50:04,674 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:50:05,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:50:05,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,485 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:50:05,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,486 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:50:05,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,487 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:50:05,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:05,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:50:05,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:50:05,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,490 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:50:05,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:50:05,492 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:50:05,493 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:50:05,493 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 3), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:50:05,493 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:51:02,611 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,612 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,613 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,614 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,616 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,616 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,618 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:51:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,620 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:51:02,623 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:51:02,623 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 50, 8, 405707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吃了好多还是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 252.627653}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 14, 337646), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置低档风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 245.652323}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 15, 578799), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 213.248691}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 27, 911988), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '将空调风速调为低风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 237.621941}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 30, 428934), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 205.432975}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 30, 739326), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 203.783346}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 42, 324329), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '将空调风速调为地暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 245.912231}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 54, 358769), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这会儿好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 243.645587}) +2019-03-14 11:51:02,624 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:51:02,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,636 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,637 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,640 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:51:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,653 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:51:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,655 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:51:02,656 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:51:02,656 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 50, 8, 405707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吃了好多还是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 252.627653}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 42, 324329), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '将空调风速调为地暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 245.912231}, {'datetime': datetime.datetime(2019, 3, 14, 11, 50, 54, 358769), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这会儿好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 243.645587}) +2019-03-14 11:51:02,657 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:51:02,664 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,666 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,666 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:02,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:02,669 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:51:02,669 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:51:03,731 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:03,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:03,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,733 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:03,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,734 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:03,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,735 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:03,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:03,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:03,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:03,737 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:51:03,737 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:51:04,784 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:04,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:04,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,786 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:04,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,786 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:04,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:04,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:04,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:04,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,790 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:51:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,792 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:51:04,793 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:51:04,793 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:51:04,794 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:51:04,807 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:04,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:04,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,809 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:04,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,810 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:04,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:04,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:04,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:04,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,813 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:51:04,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:04,815 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:51:04,816 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:51:04,816 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:51:04,817 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:51:05,644 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:51:05,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:51:05,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,646 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:51:05,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,647 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:51:05,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:05,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:51:05,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:51:05,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,650 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:51:05,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:51:05,652 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:51:05,653 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:51:05,653 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 6), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:51:05,654 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:52:02,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:02,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,763 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,764 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,765 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,766 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,767 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:02,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,769 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:52:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,771 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:52:02,773 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:52:02,773 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 51, 6, 793944), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '中档风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 246.767828}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 18, 24072), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '资讯电台', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '那我们来听听智慧殿堂吧。', 'cost_time_ms': 313.425317}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 31, 140330), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 192.114252}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 33, 17319), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 226.674049}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 35, 465474), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调奥克斯血液内', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 210.88782}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 43, 96441), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把空调设置为中档风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 246.155911}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 45, 629958), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 265.819202}, {'datetime': datetime.datetime(2019, 3, 14, 11, 51, 56, 646256), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '将空调风速调为中速风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 263.379716} ... displaying 10 of 13 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 1, 969263), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.256324}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 2, 346669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '除湿奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 201.816765}) +2019-03-14 11:52:02,775 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:52:02,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,786 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,787 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:02,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,787 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:02,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,790 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:52:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,799 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:02,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,799 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,800 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,801 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:02,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,802 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,803 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,803 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,804 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:52:02,804 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:52:02,810 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,811 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,812 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,813 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,815 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:02,815 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:52:02,815 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:52:03,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:03,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,878 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:03,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,879 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:03,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,880 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:03,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:03,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:03,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:03,883 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:52:03,883 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:52:04,920 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:04,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,921 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:04,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,922 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:04,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,922 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:04,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,924 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:04,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,924 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:04,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,925 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:04,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,925 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:52:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,928 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:52:04,929 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:52:04,929 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:52:04,930 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:52:04,943 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,945 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,945 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,948 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:52:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:04,950 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:52:04,952 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:52:04,952 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:52:04,952 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:52:05,767 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:52:05,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:52:05,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,769 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:52:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,769 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:52:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:05,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,771 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:52:05,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:52:05,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,772 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:52:05,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:52:05,774 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:52:05,775 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:52:05,775 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 7), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 4), ('fm', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:52:05,775 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:53:02,880 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:02,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,882 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,883 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:02,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,887 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:53:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,889 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:53:02,891 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:53:02,891 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 52, 10, 109144), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调风速调为中风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 201.745393}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 22, 987062), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置中档风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 245.153105}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 25, 603180), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 236.266746}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 36, 614989), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '将空调风速调为中等风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 239.593858}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 47, 531432), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '快风速', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 240.389248}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 50, 767190), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 246.315347}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 50, 812288), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.639695}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 52, 464702), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 240.477367}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 54, 412820), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 243.29547}) +2019-03-14 11:53:02,893 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:53:02,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,905 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,906 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,907 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,909 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:53:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,918 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,919 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,919 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,922 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:53:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,924 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:53:02,925 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:53:02,925 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 52, 25, 603180), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 236.266746}, {'datetime': datetime.datetime(2019, 3, 14, 11, 52, 47, 531432), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '快风速', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 240.389248}) +2019-03-14 11:53:02,926 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:53:02,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,934 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,935 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:02,938 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:53:02,938 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:53:03,997 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:03,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:03,998 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:03,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:03,998 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:03,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:03,999 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:03,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:04,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:04,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:04,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:04,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:04,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:04,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:04,002 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:53:04,002 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:53:05,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,044 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,045 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:05,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:05,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,048 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:53:05,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,050 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:53:05,051 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:53:05,051 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:53:05,052 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:53:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,068 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:53:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,070 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:53:05,071 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:53:05,071 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:53:05,072 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:53:05,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:53:05,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,878 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:53:05,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,879 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:53:05,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,879 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:53:05,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:53:05,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:53:05,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,882 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:53:05,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:53:05,884 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:53:05,885 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:53:05,885 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('universalcontrol', 5), ('airconditioner', 2), ('aircleaner', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:53:05,885 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:54:02,990 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:02,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,992 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,993 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:02,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:02,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,997 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:54:02,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:02,999 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:54:03,001 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:54:03,001 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 53, 10, 183531), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 201.847473}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 10, 223450), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 203.405721}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 10, 385148), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 327.397633}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 10, 414200), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 218.210291}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 21, 971449), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置高档风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 240.417608}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 23, 177745), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.947929}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 23, 407975), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.577461}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 34, 228477), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要高风档', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 271.226027} ... displaying 10 of 12 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 55, 805494), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 388.471677}, {'datetime': datetime.datetime(2019, 3, 14, 11, 53, 59, 563507), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调左右摆风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 233.861532}) +2019-03-14 11:54:03,003 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:54:03,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:03,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,017 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,018 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,020 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:54:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,029 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,030 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,030 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,031 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,032 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,034 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,034 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:54:03,034 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:54:03,040 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,041 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,042 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,043 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,044 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,044 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:03,045 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:54:03,045 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:54:04,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:04,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,105 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:04,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,106 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,106 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,109 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:04,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:04,109 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:54:04,109 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:54:05,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:05,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,133 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:05,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,134 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:05,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,137 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:54:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:54:05,141 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:54:05,141 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:54:05,141 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:54:05,154 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:05,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,155 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,156 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:05,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,157 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,159 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:05,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,159 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:54:05,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,162 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:54:05,163 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:54:05,163 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:54:05,164 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:54:05,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:54:05,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,978 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:54:05,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,979 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:54:05,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,979 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:54:05,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:54:05,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,982 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:54:05,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,982 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:54:05,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:54:05,984 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:54:05,985 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:54:05,985 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 6), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:54:05,986 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:55:02,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,130 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,133 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:55:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,136 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:55:02,138 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:55:02,138 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 54, 12, 744377), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要打开左右扫风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 238.649336}, {'datetime': datetime.datetime(2019, 3, 14, 11, 54, 16, 915218), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 400.219124}, {'datetime': datetime.datetime(2019, 3, 14, 11, 54, 17, 2952), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.407945}, {'datetime': datetime.datetime(2019, 3, 14, 11, 54, 17, 98442), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 379.15991}, {'datetime': datetime.datetime(2019, 3, 14, 11, 54, 17, 145288), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 373.340482}, {'datetime': datetime.datetime(2019, 3, 14, 11, 54, 17, 178018), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 407.92578}) +2019-03-14 11:55:02,139 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:55:02,149 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:02,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,150 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,151 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,151 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,154 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,154 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:55:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,164 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,165 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:55:02,168 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:55:02,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,176 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:02,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,177 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:02,180 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:55:02,180 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:55:03,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:03,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:03,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,213 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,213 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:03,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:03,217 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:55:03,217 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:55:04,282 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,284 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:04,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,284 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:04,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,287 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:55:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,290 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:55:04,291 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:55:04,291 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:55:04,292 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:55:04,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,306 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,307 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,310 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:55:04,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:04,312 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:55:04,313 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:55:04,313 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:55:04,314 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:55:05,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:55:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,109 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:55:05,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,110 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:55:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:55:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:55:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:55:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,113 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:55:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:55:05,115 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:55:05,116 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:55:05,116 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 5), ('universalcontrol', 1), ('aircleaner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:55:05,116 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:56:02,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,240 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,244 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:56:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,246 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:56:02,249 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:56:02,249 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 55, 3, 304332), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '左右风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 220.379717}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 6, 9030), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.114395}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 6, 24203), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.47468}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 17, 169731), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.476906}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 17, 336779), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 379.604456}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 17, 461374), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.097709}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 18, 1873), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 258.749615}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 28, 557015), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.686948} ... displaying 10 of 18 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 57, 622195), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 191.399409}, {'datetime': datetime.datetime(2019, 3, 14, 11, 55, 59, 157004), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 2011.0330589999999}) +2019-03-14 11:56:02,250 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:56:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,378 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,379 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,380 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,383 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:56:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,394 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,394 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,397 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:56:02,398 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:56:02,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,406 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:02,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,406 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:02,409 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:56:02,409 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:56:03,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:03,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:03,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,465 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:03,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,466 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:03,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:03,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:03,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:03,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:03,469 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:56:03,470 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:56:04,497 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,498 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,499 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,499 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:04,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:04,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:04,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,502 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:56:04,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,504 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:56:04,505 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:56:04,505 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:56:04,506 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:56:04,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,519 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,520 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,522 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:56:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:04,525 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:56:04,526 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:56:04,526 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:56:04,526 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:56:05,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:56:05,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,333 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:56:05,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,334 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:56:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,334 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:56:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:56:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:56:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:56:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:56:05,339 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:56:05,340 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:56:05,340 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 14), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:56:05,340 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:57:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,497 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,499 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,499 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,503 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:57:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,506 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:57:02,508 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:57:02,509 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 56, 20, 318964), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '让空调上下扫风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 243.165052}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 43, 639817), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.048547}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 43, 774175), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.684375}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 43, 985890), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 319.470936}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 45, 508877), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调上下摆风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 240.219553}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 53, 541109), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 219.922238}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 53, 809179), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 209.764257}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 53, 996192), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 194.866109} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 55, 212219), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 202.429392}, {'datetime': datetime.datetime(2019, 3, 14, 11, 56, 57, 854393), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '上下摆风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 249.267176}) +2019-03-14 11:57:02,510 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:57:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,582 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,583 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,584 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,587 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:57:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,599 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,602 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:57:02,602 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:57:02,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,611 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,611 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:02,614 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:57:02,614 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:57:03,652 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:03,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,652 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:03,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,653 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:03,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,654 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:03,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,655 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:03,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,656 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:03,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:03,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:03,657 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:57:03,657 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:57:04,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,687 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,688 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,689 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,692 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:57:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,694 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:57:04,696 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:57:04,696 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:57:04,696 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:57:04,709 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,711 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:04,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,711 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:04,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,714 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:57:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:04,717 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:57:04,719 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:57:04,719 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:57:04,720 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:57:05,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:57:05,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:57:05,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,539 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:57:05,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:57:05,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:05,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:57:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:57:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,544 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:57:05,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:57:05,547 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:57:05,548 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:57:05,548 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 10), ('universalcontrol', 1), ('aircleaner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:57:05,548 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:58:02,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,664 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,665 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:02,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,669 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:58:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,672 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:58:02,674 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:58:02,674 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 57, 4, 633923), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.153961}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 4, 722191), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.304455}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 4, 867456), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 390.691367}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 4, 869529), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 265.288319}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 4, 958933), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.7759}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 14, 705751), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.39216}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 14, 860574), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.467222}, {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 14, 869038), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.52474} ... displaying 10 of 22 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 55, 418334), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 249.719356}, {'datetime': datetime.datetime(2019, 3, 14, 11, 58, 1, 22277), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '开启上下摆风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 243.877862}) +2019-03-14 11:58:02,676 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:58:02,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,687 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,688 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,691 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:58:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,699 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,700 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,701 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,702 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,703 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,705 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:58:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,707 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:58:02,708 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:58:02,708 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 57, 46, 14642), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '儿童版的新游戏模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 254.766321} +2019-03-14 11:58:02,708 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:58:02,714 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,715 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,716 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,717 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,718 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,718 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:02,719 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:58:02,719 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:58:03,791 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:03,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,792 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:03,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,793 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:03,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,794 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:03,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:03,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:03,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:03,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:03,797 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:58:03,797 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:58:04,845 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,845 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:04,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,846 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,847 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,849 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,849 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,850 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:58:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,853 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:58:04,854 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:58:04,854 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:58:04,854 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:58:04,867 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:04,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,868 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:04,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,869 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:04,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,869 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:04,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,870 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,871 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,872 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:58:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:04,874 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:58:04,876 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:58:04,876 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:58:04,876 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:58:05,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:58:05,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,678 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:58:05,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,679 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:58:05,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,679 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:58:05,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:05,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:58:05,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:58:05,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,683 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:58:05,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:58:05,685 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:58:05,686 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:58:05,686 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('airconditioner', 15), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:58:05,686 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 11 +***** + +2019-03-14 11:59:02,792 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,794 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,795 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,795 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,798 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:02,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,799 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 11:59:02,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,801 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:59:02,804 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 11:59:02,804 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 58, 43, 235811), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '哪个酒好', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我觉得都很不错。', 'cost_time_ms': 220.870862}, {'datetime': datetime.datetime(2019, 3, 14, 11, 58, 56, 601008), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 207.904073}) +2019-03-14 11:59:02,804 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 11:59:02,814 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,815 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,816 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,817 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:02,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,818 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,818 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,820 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 11:59:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,829 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,830 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,830 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,833 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,833 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 11:59:02,833 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 10:00:00 +时间为:### 2019-03-14 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:59:02,840 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,841 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,841 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,842 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,843 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,844 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,844 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:02,845 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:59:02,845 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:59:03,907 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:03,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,908 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:03,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,909 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:03,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,909 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:03,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:03,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:03,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:03,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:03,912 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 10:00:00" and datetime< "2019-03-14 11:00:00" +2019-03-14 11:59:03,912 INFO sqlalchemy.engine.base.Engine {} +****844 +all****844 + +all****542 + +all****302 + +****542 + +****242 + +Start domain data classification: +2019-03-14 11:59:04,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,953 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,954 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:04,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,956 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 11:59:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,959 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:59:04,960 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-14 11:59:04,960 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'aircleaner': 0, 'airconditioner': 398, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 136, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-14 11:59:04,960 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 11:59:04,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:04,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:04,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,974 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:04,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,975 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:04,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:04,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,977 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 11:59:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:04,979 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:59:04,980 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 11:59:04,981 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 12, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 20, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 14} +2019-03-14 11:59:04,981 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 11:59:05,764 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 11:59:05,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,765 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 11:59:05,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,766 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 11:59:05,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,766 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 11:59:05,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,767 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:05,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 11:59:05,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 11:59:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,769 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 11:59:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 11:59:05,771 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 11:59:05,771 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 11:59:05,772 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 11, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 11:59:05,772 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:00:02,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,887 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,888 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,889 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,893 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:00:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,895 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:00:02,898 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:00:02,898 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 11, 59, 11, 3817), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 381.60711}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 22, 161739), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.565246}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 22, 886709), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.418879}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 26, 374373), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '除湿奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 220.612986}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 32, 712186), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置中档风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 307.183391}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 45, 197398), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风速调到最小', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 241.619791}, {'datetime': datetime.datetime(2019, 3, 14, 11, 59, 57, 972052), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把温度调低', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_reducetemp', 'response_data': 'success', 'cost_time_ms': 234.7279}) +2019-03-14 12:00:02,899 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:00:02,908 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,909 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,911 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,912 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,913 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,913 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,914 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,922 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,923 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,924 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,924 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,928 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:00:02,928 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:00:02,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,936 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:00:02,939 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:00:04,001 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:04,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:04,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,003 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:04,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,004 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:04,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,005 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:04,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:04,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:04,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:04,007 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:00:04,007 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:00:05,047 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:05,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:05,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,049 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:05,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,050 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:05,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,053 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:00:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,055 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:00:05,056 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:00:05,056 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:00:05,057 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:00:05,070 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:05,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,071 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:05,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,072 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:05,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,073 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:05,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,074 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,074 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,076 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,078 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:00:05,079 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:00:05,079 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:00:05,080 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:00:05,884 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:00:05,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,885 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:00:05,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,886 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:00:05,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,886 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:00:05,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,888 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,888 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:00:05,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:00:05,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,890 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:00:05,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:00:05,892 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:00:05,892 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:00:05,892 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 4), ('universalcontrol', 2), ('aircleaner', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:00:05,893 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:01:03,003 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,005 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:03,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,006 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,007 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,008 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,010 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:01:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,013 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:01:03,015 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:01:03,015 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 0, 4, 316347), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 243.641861}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 4, 370062), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.833325}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 14, 948680), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 245.622973}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 15, 738895), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 238.96089}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 22, 651332), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '极品打开送风模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 236.965008}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 35, 613761), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.853553}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 35, 696184), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 189.06031}, {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 36, 453063), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 204.263701} ... displaying 10 of 13 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 0, 501701), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 376.722869}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 0, 573113), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 388.167355}) +2019-03-14 12:01:03,017 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:01:03,027 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,028 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,029 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,030 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,031 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,031 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,032 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,032 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:01:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,041 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,042 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,042 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,043 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,044 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,046 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:01:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,048 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:01:03,049 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:01:03,049 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0, 22, 651332), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '极品打开送风模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 236.965008} +2019-03-14 12:01:03,049 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:01:03,058 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:03,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,059 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:03,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,059 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:03,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,060 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:03,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:03,063 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:01:03,063 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:01:04,093 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:04,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:04,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,095 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,095 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,097 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:04,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:04,098 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:01:04,098 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:01:05,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:05,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:05,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,139 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,140 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,143 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:01:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,145 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:01:05,147 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:01:05,147 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:01:05,147 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:01:05,160 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:05,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:05,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,162 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:05,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,162 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:05,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,165 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:01:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,167 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:01:05,168 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:01:05,168 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:01:05,169 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:01:05,976 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:01:05,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:01:05,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,978 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:01:05,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,978 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:01:05,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:01:05,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:01:05,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,981 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:01:05,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:01:05,983 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:01:05,984 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:01:05,984 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 6), ('universalcontrol', 4), ('aircleaner', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:01:05,985 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:02:02,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,163 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,164 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:02:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,170 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:02:02,172 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:02:02,172 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 1, 10, 81957), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请整部', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我也要整。', 'cost_time_ms': 230.737763}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 13, 349435), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.392209}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 20, 860863), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.583359}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 21, 79318), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 272.340594}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 21, 396254), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.731791}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 23, 302169), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.709755}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 40, 42519), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '孙悟空', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '孙悟空是中国著名的神话人物之一,出自四大名著之《西游记》。祖籍东胜神州,由开天辟地以来的仙石孕育而生,因带领群猴进入水帘洞而成为众猴之王,尊为“美猴王”。后经千山万水拜须菩提祖师为师学艺,得名孙悟空,学会地煞数七十二变、筋斗云、长生不老等高超的法术。神通初成的孙悟空先大闹龙宫取得如意金箍棒,又大闹 ... (239 characters truncated) ... 行者,保护唐僧西天取经,一路降妖除魔,不畏艰难困苦,历经九九八十一难,最后取得真经修成正果,被封为斗战胜佛。孙悟空生性聪明、活泼、忠诚、嫉恶如仇,在民间文化中代表了机智、勇敢。自唐代出现西游传说,一直延续至明清,明代出现这些传说的集大成本《西游记》。孙悟空在历代的这些民间神话里,被中国人奉为神明。', 'cost_time_ms': 234.257759}, {'datetime': datetime.datetime(2019, 3, 14, 12, 1, 49, 71431), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '空调加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.431784}) +2019-03-14 12:02:02,174 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:02:02,184 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,184 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,185 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,186 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,189 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:02:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,197 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,199 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,199 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,202 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:02:02,203 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:02:02,209 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,210 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,211 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,211 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:02,214 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:02:02,214 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:02:03,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:03,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:03,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,251 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:03,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:03,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:03,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:03,254 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:02:03,254 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:02:04,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:04,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:04,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:04,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:04,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:04,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,335 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:02:04,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,337 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:02:04,338 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:02:04,338 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:02:04,339 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:02:04,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:04,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:04,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,354 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:04,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,354 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:04,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:04,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:04,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:04,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,357 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:02:04,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:04,359 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:02:04,360 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:02:04,360 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:02:04,361 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:02:05,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:02:05,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,176 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:02:05,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,177 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:02:05,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,177 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:02:05,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:05,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:02:05,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:02:05,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,180 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:02:05,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:02:05,182 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:02:05,183 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:02:05,183 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 6), ('aircleaner', 0), ('airconditionerfan', 0), ('baike', 1), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:02:05,183 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:03:02,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,279 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,280 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,284 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:03:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,286 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:03:02,288 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:03:02,288 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 2, 31, 401407), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.936566} +2019-03-14 12:03:02,289 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:03:02,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,301 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,304 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:03:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,314 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,315 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,318 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:03:02,318 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:03:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,326 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,327 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:02,329 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:03:02,329 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:03:03,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,374 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,375 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:03,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:03,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:03,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:03,378 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:03:03,378 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:03:04,451 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:04,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,451 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:04,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,452 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:04,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,453 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:04,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,455 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,455 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:03:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,458 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:03:04,459 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:03:04,459 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:03:04,459 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:03:04,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:04,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:04,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,473 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:04,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,473 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:04,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:04,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:04,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,476 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:03:04,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:04,478 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:03:04,479 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:03:04,479 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:03:04,480 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:03:05,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:03:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,265 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:03:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,266 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:03:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,266 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:03:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:03:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:03:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,270 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:03:05,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:03:05,272 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:03:05,272 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:03:05,272 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:03:05,273 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:04:02,424 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,427 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,427 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,429 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,431 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:04:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,434 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:04:02,436 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:04:02,436 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 3, 2, 605254), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '设置自动风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 236.744108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 3, 955379), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 360.127575}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 4, 259665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 199.896327}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 14, 595814), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 232.363263}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 14, 890736), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.619797}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 15, 144434), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '请给我最大风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 240.587269}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 15, 862896), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 233.303557}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 23, 29578), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 202.367248}, {'datetime': datetime.datetime(2019, 3, 14, 12, 3, 27, 607199), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调到最大风速', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 258.3464}) +2019-03-14 12:04:02,437 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:04:02,448 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,449 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,450 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,451 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,453 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:04:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,463 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,465 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,465 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,468 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:04:02,469 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:04:02,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,478 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,479 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:02,482 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:04:02,482 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:04:03,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:03,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:03,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:03,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:03,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:03,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:03,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:03,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:03,531 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:04:03,531 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:04:04,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:04,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:04,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:04,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:04,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:04,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:04,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:04,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,579 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:04:04,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,582 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:04:04,583 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:04:04,583 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:04:04,583 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:04:04,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,597 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:04,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,598 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:04,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:04,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:04,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,600 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:04:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:04,602 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:04:04,603 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:04:04,603 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:04:04,604 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:04:05,419 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:04:05,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:04:05,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,420 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:04:05,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,421 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:04:05,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:05,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,423 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:04:05,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,423 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:04:05,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,424 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:04:05,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:04:05,426 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:04:05,426 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:04:05,426 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 5), ('universalcontrol', 3), ('aircleaner', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:04:05,427 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:05:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,548 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,549 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,550 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,552 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,552 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,553 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:05:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,556 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:05:02,558 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:05:02,558 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 4, 9, 128177), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.956853}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 9, 147405), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.021136}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 9, 272466), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 386.286533}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 9, 352631), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 377.929411}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 19, 328486), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 214.270794}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 19, 341877), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 269.536225}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 19, 427989), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 212.082167}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 19, 624363), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 212.368626} ... displaying 10 of 24 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 50, 671812), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.384509}, {'datetime': datetime.datetime(2019, 3, 14, 12, 4, 50, 675975), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.65372}) +2019-03-14 12:05:02,560 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:05:02,578 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,579 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,580 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,580 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,582 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,583 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:05:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,594 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,597 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:05:02,597 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:05:02,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,606 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,606 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:02,609 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:05:02,609 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:05:03,633 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:03,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:03,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,635 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:03,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,635 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:03,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:03,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:03,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:03,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:03,638 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:05:03,638 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:05:04,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,682 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,683 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,686 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:05:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,688 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:05:04,689 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:05:04,690 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:05:04,690 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:05:04,704 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,704 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,705 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,706 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,709 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:05:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:04,711 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:05:04,712 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:05:04,712 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:05:04,713 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:05:05,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:05:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:05:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:05:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,530 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:05:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:05:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:05:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:05:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:05:05,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:05:05,536 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:05:05,536 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 22), ('universalcontrol', 1), ('aircleaner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:05:05,536 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:06:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,650 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,651 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,652 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,655 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:06:02,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,658 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:06:02,660 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:06:02,660 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 5, 6, 753626), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '让空调上下扫风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 238.244891}, {'datetime': datetime.datetime(2019, 3, 14, 12, 5, 20, 481973), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 200.93725}, {'datetime': datetime.datetime(2019, 3, 14, 12, 5, 20, 620119), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 246.30543}, {'datetime': datetime.datetime(2019, 3, 14, 12, 5, 20, 679012), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 197.73133}, {'datetime': datetime.datetime(2019, 3, 14, 12, 5, 20, 716334), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 269.532064}, {'datetime': datetime.datetime(2019, 3, 14, 12, 5, 21, 284632), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 208.128626}) +2019-03-14 12:06:02,661 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:06:02,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,685 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,685 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,688 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:06:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,698 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,699 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,704 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:06:02,704 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:06:02,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,712 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,713 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:02,716 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:06:02,716 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:06:03,780 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:03,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:03,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,782 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:03,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,783 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:03,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:03,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:03,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:03,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:03,786 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:06:03,786 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:06:04,819 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:04,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,820 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:04,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,821 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:04,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,822 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:04,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,823 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:04,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,824 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:04,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,824 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:04,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,825 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:06:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,827 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:06:04,828 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:06:04,828 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:06:04,829 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:06:04,841 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:04,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,841 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:04,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,842 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:04,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,843 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:04,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,844 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:04,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,846 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:06:04,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:04,848 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:06:04,849 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:06:04,849 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:06:04,850 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:06:05,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:06:05,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:06:05,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,683 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:06:05,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,684 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:06:05,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:06:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:06:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,687 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:06:05,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:06:05,689 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:06:05,690 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:06:05,690 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:06:05,690 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:07:02,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,806 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,810 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:07:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,813 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:07:02,815 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:07:02,815 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 6, 4, 733779), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.079888}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 4, 741161), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 234.612479}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 4, 808493), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.64021}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 15, 472083), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.025832}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 15, 976615), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 243.129678}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 16, 854775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 251.851466}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 34, 82244), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '上海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '上海今天多云,气温7度到11度,比珠海市冷很多,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 400.124283}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 36, 274702), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.691911} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 55, 944113), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '刚好五年', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这么巧啊。', 'cost_time_ms': 229.322932}, {'datetime': datetime.datetime(2019, 3, 14, 12, 6, 56, 833643), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '刚好五年台湾有卖伐', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '台湾是中国第一大岛,是一座美丽的宝岛。', 'cost_time_ms': 200.772137}) +2019-03-14 12:07:02,817 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:07:02,829 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,830 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,831 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,831 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,833 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,834 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,834 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:07:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,843 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,843 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,844 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,845 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:02,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,848 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:07:02,848 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:07:02,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,855 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,856 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,856 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,859 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:02,859 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:07:02,859 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:07:03,918 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:03,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,919 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:03,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,920 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:03,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,920 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:03,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:03,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:03,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:03,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:03,923 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:07:03,923 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:07:04,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,953 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,954 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:04,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,957 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:07:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,959 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:07:04,961 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:07:04,961 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:07:04,961 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:07:04,975 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,975 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,976 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:04,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,977 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:04,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,980 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:07:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:04,982 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:07:04,983 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:07:04,983 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:07:04,984 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:07:05,817 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:07:05,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,818 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:07:05,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,819 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:07:05,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,820 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:07:05,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:05,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:07:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:07:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,823 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:07:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:07:05,825 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:07:05,826 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:07:05,826 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 8), ('universalcontrol', 3), ('aircleaner', 0), ('chat', 2), ('weather', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:07:05,826 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:08:02,936 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,939 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,943 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:08:02,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,945 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:08:02,947 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:08:02,947 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 7, 27, 106693), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '音量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 249.881085}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 29, 660568), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 240.007448}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 29, 912244), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 207.012474}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 30, 139981), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 252.196281}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 40, 633120), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 238.177022}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 40, 824362), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.81594}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 49, 496808), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 252.172471}, {'datetime': datetime.datetime(2019, 3, 14, 12, 7, 53, 274604), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '天天在网上', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '注意眼睛哦!', 'cost_time_ms': 242.34787} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 0, 994854), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 196.148723}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 1, 149513), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 291.399694}) +2019-03-14 12:08:02,949 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:08:02,957 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,959 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,960 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,961 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,961 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,962 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:08:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,971 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,972 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:02,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,972 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:02,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,973 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:02,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,974 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,976 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:08:02,976 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:08:02,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,984 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,985 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:02,987 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:08:02,988 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:08:04,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:04,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,017 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,017 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:04,021 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:08:04,021 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:08:05,058 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:05,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,059 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:05,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,060 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:05,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,061 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:05,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,064 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:08:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,067 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:08:05,068 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:08:05,068 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:08:05,068 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:08:05,081 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,082 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:05,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,083 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,083 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,084 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,085 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,086 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,086 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:08:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,088 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:08:05,090 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:08:05,090 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:08:05,090 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:08:05,914 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:08:05,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,915 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:08:05,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,916 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:08:05,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,917 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:08:05,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:08:05,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,919 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:08:05,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,920 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:08:05,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:08:05,922 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:08:05,922 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:08:05,922 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 7), ('aircleaner', 0), ('airconditioner', 0), ('chat', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:08:05,923 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:09:02,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,065 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:02,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,067 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,067 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:02,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,071 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:09:02,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,073 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:09:02,076 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:09:02,076 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 8, 25, 739972), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.706894}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 33, 899467), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '查找部', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '仔细找一下。', 'cost_time_ms': 200.425175}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 35, 394746), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱首不要在我', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是郑源的不要在我寂寞的时候说爱我?听听看吧。', 'cost_time_ms': 699.107491}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 38, 596316), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.557721}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 47, 148844), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.972304}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 47, 404467), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.459771}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 50, 336701), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 191.893916}, {'datetime': datetime.datetime(2019, 3, 14, 12, 8, 51, 630233), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '最低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevolmin', 'response_data': 'success', 'cost_time_ms': 817.790008}) +2019-03-14 12:09:02,077 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:09:02,086 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:02,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,088 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,088 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,091 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:09:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,102 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,105 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:09:02,105 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:09:02,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,113 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,113 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,114 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:02,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:02,117 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:09:02,117 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:09:03,156 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:03,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:03,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,158 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:03,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,158 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:03,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:03,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:03,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:03,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:03,161 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:09:03,161 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:09:04,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:04,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:04,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:04,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,232 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:04,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:04,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:04,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:04,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,235 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:09:04,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,237 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:09:04,238 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:09:04,238 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:09:04,239 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:09:04,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:04,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,255 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:04,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,255 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:04,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,256 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:04,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:04,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,258 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:09:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:04,260 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:09:04,261 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:09:04,261 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:09:04,264 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:09:05,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:09:05,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:09:05,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,096 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:09:05,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:09:05,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:05,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:09:05,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:09:05,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,100 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:09:05,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:09:05,102 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:09:05,103 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:09:05,103 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 4), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:09:05,103 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:10:02,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,252 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,252 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,256 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:10:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,258 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:10:02,261 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:10:02,261 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 9, 7, 780579), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 410.277778}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 7, 884850), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 407.799896}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 8, 963827), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 233.454302}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 38, 970128), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 227.32878}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 39, 647965), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '比如说', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '哈哈,例子还真是不少吧。', 'cost_time_ms': 195.243851}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 54, 616408), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '关闭上下摆风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_stopswing', 'response_data': 'success', 'cost_time_ms': 235.670104}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 56, 765715), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.82948}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 56, 874150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.572205}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 57, 176094), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.475876}, {'datetime': datetime.datetime(2019, 3, 14, 12, 9, 57, 331704), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.867177}) +2019-03-14 12:10:02,262 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:10:02,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,290 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,291 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,292 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,295 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:10:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,305 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,309 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:10:02,309 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:10:02,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,316 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,317 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,318 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:02,320 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:10:02,321 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:10:03,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:03,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,362 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,362 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:03,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:03,365 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:10:03,365 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:10:04,446 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:04,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,446 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:04,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,447 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:04,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,448 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:04,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,449 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:04,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,450 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:04,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,450 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:04,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,451 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:10:04,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,453 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:10:04,454 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:10:04,454 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:10:04,454 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:10:04,467 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:04,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:04,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,469 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,469 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:04,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:04,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:04,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,472 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:10:04,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:04,474 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:10:04,475 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:10:04,475 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:10:04,476 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:10:05,274 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:10:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,275 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:10:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,276 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:10:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,276 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:10:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:10:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:10:05,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,279 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:10:05,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:10:05,281 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:10:05,282 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:10:05,282 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 8), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:10:05,282 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:11:02,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,439 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:11:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,441 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:11:02,444 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:11:02,444 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 10, 19, 238594), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.100805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 20, 450572), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.37649}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 624497), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 229.53249}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 627023), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.962753}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 837766), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 374.032451}) +2019-03-14 12:11:02,445 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:11:02,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,457 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:11:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,471 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,471 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,475 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:11:02,475 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:11:02,483 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,485 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,485 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:02,488 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:11:02,488 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:11:03,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:03,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:03,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,539 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:03,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,539 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:03,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:03,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:03,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:03,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:03,542 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:11:03,542 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:11:04,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:04,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:04,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,582 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:04,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,582 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:04,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:04,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:04,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:04,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,585 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:11:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,588 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:11:04,589 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:11:04,589 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:11:04,589 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:11:04,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:04,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:04,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,604 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:04,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,607 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:11:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:04,609 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:11:04,610 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:11:04,610 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:11:04,611 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:11:05,414 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:11:05,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,415 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:11:05,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,416 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:11:05,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,416 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:11:05,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:05,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:11:05,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,419 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:11:05,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,419 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:11:05,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:11:05,421 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:11:05,422 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:11:05,422 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:11:05,422 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:12:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,473 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,474 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,477 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:12:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,480 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:12:02,482 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:12:02,482 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 10, 19, 238594), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.100805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 20, 450572), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.37649}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 624497), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 229.53249}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 627023), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.962753}, {'datetime': datetime.datetime(2019, 3, 14, 12, 10, 39, 837766), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 374.032451}) +2019-03-14 12:12:02,483 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:12:02,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,494 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,495 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,498 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:12:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,507 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,508 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,509 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,512 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:12:02,512 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:12:02,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,520 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,520 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:02,523 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:12:02,523 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:12:03,582 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:03,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:03,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,584 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:03,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,585 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:03,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:03,589 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:12:03,589 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:12:04,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,624 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,627 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:12:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,630 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:12:04,631 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:12:04,631 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:12:04,631 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:12:04,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,647 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,647 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,650 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:12:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:04,652 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:12:04,654 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:12:04,654 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:12:04,654 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:12:05,443 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:12:05,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,444 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:12:05,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,445 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:12:05,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,446 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:12:05,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,447 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:05,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,448 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:12:05,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,449 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:12:05,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,449 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:12:05,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:12:05,451 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:12:05,452 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:12:05,452 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:12:05,452 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:13:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,584 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,585 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,588 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:13:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,591 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:13:02,593 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:13:02,593 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 12, 24, 480313), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '开启灯光', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 1711.220948}, {'datetime': datetime.datetime(2019, 3, 14, 12, 12, 47, 597974), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '开启显示', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 186.203867}, {'datetime': datetime.datetime(2019, 3, 14, 12, 12, 59, 979766), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '灯光开', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 293.098956}) +2019-03-14 12:13:02,594 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:13:02,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,611 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,612 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,615 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:13:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,625 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,626 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,629 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:13:02,629 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:13:02,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,637 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:02,641 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:13:02,641 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:13:03,692 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:03,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,693 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:03,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,694 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:03,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,694 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:03,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:03,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:03,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,697 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:03,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:03,697 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:13:03,697 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:13:04,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,740 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,741 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:04,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,742 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:04,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:13:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,746 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:13:04,747 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:13:04,747 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:13:04,747 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:13:04,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,762 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,763 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,763 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,766 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:13:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:04,768 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:13:04,769 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:13:04,769 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:13:04,769 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:13:05,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:13:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:13:05,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,565 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:13:05,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:13:05,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:05,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:13:05,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:13:05,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:13:05,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:13:05,570 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:13:05,571 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:13:05,571 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:13:05,571 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:14:02,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,684 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,685 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,689 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:14:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,691 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:14:02,693 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:14:02,694 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 13, 12, 78294), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '灯光开启', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 162.457026}, {'datetime': datetime.datetime(2019, 3, 14, 12, 13, 24, 371967), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '显示开', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 177.369076}, {'datetime': datetime.datetime(2019, 3, 14, 12, 13, 36, 932020), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '显示开启', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 184.223431}, {'datetime': datetime.datetime(2019, 3, 14, 12, 14, 1, 826058), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '取消灯光', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 171.896115}) +2019-03-14 12:14:02,694 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:14:02,704 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,705 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,706 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,706 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,709 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,709 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:14:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,718 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,718 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,719 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,720 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,722 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,722 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:02,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,723 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:14:02,723 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:14:02,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,731 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:02,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,732 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:02,735 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:14:02,735 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:14:03,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:03,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,786 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:03,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,787 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:03,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,787 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:03,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:03,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:03,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:03,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:03,790 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:14:03,790 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:14:04,812 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:04,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,813 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:04,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,814 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:04,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,815 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:04,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,816 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:04,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,816 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:04,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,817 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:04,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,817 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:14:04,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,820 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:14:04,821 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:14:04,821 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:14:04,821 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:14:04,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:04,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:04,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,836 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:04,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,837 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:04,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:04,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,839 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:14:04,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:04,841 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:14:04,842 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:14:04,842 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:14:04,843 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:14:05,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:14:05,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:14:05,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:14:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,633 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:14:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:05,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:14:05,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:14:05,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,636 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:14:05,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:14:05,638 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:14:05,639 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:14:05,639 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:14:05,639 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:15:02,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:02,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,756 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,757 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,757 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,760 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,761 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:15:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,763 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:15:02,766 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:15:02,766 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 14, 12, 292373), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首陈奕迅的好久不见。', 'cost_time_ms': 280.569679}, {'datetime': datetime.datetime(2019, 3, 14, 12, 14, 14, 209321), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '取消显示', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 272.148989}, {'datetime': datetime.datetime(2019, 3, 14, 12, 14, 27, 79989), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '把空调灯关上', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 172.409328}, {'datetime': datetime.datetime(2019, 3, 14, 12, 14, 39, 348302), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '帮我关显示', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 196.496143}) +2019-03-14 12:15:02,766 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:15:02,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:02,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:02,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,778 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,779 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:02,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,782 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:15:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,791 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:02,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,792 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,792 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,795 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:15:02,795 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:15:02,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:02,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:02,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,803 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,804 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:02,807 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:15:02,807 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:15:03,867 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:03,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,868 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:03,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,869 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:03,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,870 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:03,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,871 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:03,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:03,873 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:15:03,873 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:15:04,907 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:04,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,908 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,909 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,909 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:04,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:04,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,912 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:04,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,912 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:15:04,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,915 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:15:04,916 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:15:04,916 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:15:04,916 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:15:04,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:04,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,931 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,932 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:04,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,934 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:15:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:04,937 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:15:04,938 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:15:04,938 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:15:04,938 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:15:05,753 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:15:05,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:15:05,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,755 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:15:05,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,755 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:15:05,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:05,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:15:05,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:15:05,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,758 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:15:05,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:15:05,761 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:15:05,761 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:15:05,761 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 3), ('aircleaner', 0), ('airconditioner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:15:05,762 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:16:02,883 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:02,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,885 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,886 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,886 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,888 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,888 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,890 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:16:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,892 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:16:02,895 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:16:02,895 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 15, 4, 7397), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我关灯', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 153.653668} +2019-03-14 12:16:02,895 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:16:02,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,908 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,911 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:16:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,919 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,920 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,921 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,921 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,924 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,924 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:16:02,924 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:16:02,931 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:02,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,931 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,932 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,933 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:02,936 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:16:02,936 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:16:03,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:03,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,000 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:04,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,001 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:04,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,001 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:04,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:04,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:04,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:04,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:04,004 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:16:04,004 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:16:05,042 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:05,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,044 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,044 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:05,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,047 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:16:05,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,049 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:16:05,050 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:16:05,050 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:16:05,051 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:16:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,068 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:16:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,070 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:16:05,071 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:16:05,071 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:16:05,072 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:16:05,860 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:16:05,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,861 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:16:05,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,862 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:16:05,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,863 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:16:05,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,864 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,865 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:16:05,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,865 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:16:05,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,866 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:16:05,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:16:05,868 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:16:05,868 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:16:05,868 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:16:05,869 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:17:02,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,986 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,987 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,988 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:02,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:02,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:02,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,991 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,992 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:17:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:02,994 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:17:02,996 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:17:02,997 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 16, 30, 514893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 348.650887}, {'datetime': datetime.datetime(2019, 3, 14, 12, 16, 55, 97257), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 333.829376}) +2019-03-14 12:17:02,997 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:17:03,008 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,009 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,010 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,010 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,012 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,013 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:03,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,013 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:17:03,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,021 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:03,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,022 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:03,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,023 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:03,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,024 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:03,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,025 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,026 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,026 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,027 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:17:03,027 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:17:03,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,034 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,035 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,035 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,038 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:03,038 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:17:03,038 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:17:04,096 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,097 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,098 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:04,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,099 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:04,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:04,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,101 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:04,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,102 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:04,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:04,102 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:17:04,102 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:17:05,140 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,141 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:05,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,142 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:05,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,143 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:05,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,146 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:17:05,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,148 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:17:05,149 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:17:05,149 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:17:05,150 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:17:05,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:05,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,164 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,165 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,165 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:05,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:17:05,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,171 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:17:05,172 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:17:05,172 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:17:05,172 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:17:05,993 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:17:05,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:17:05,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,995 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:17:05,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,996 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:17:05,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:17:05,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:17:05,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:05,999 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:17:05,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:17:06,001 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:17:06,002 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:17:06,002 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:17:06,002 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:18:02,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,078 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:02,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,079 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:02,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,080 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:02,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,082 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,083 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:02,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,084 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:18:02,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,086 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:18:02,088 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:18:02,088 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 16, 30, 514893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 348.650887}, {'datetime': datetime.datetime(2019, 3, 14, 12, 16, 55, 97257), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 333.829376}) +2019-03-14 12:18:02,089 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:18:02,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,102 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,103 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,104 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,106 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:02,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,107 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:18:02,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,117 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,117 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,120 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:18:02,121 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:18:02,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,129 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:02,132 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:18:02,132 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:18:03,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:03,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,173 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:03,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,174 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:03,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,174 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:03,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:03,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:03,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:03,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:03,177 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:18:03,177 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:18:04,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:04,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:04,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,252 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:04,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:04,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,255 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:18:04,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,257 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:18:04,258 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:18:04,258 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:18:04,258 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:18:04,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,272 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,273 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,275 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:18:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:04,277 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:18:04,279 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:18:04,279 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:18:04,279 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:18:05,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:18:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:18:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,063 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:18:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,064 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:18:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:18:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:18:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,067 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:18:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:18:05,069 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:18:05,069 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:18:05,069 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:18:05,070 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:19:02,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,088 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,088 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,092 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:19:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,095 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:19:02,097 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:19:02,097 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 16, 30, 514893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 348.650887}, {'datetime': datetime.datetime(2019, 3, 14, 12, 16, 55, 97257), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 333.829376}) +2019-03-14 12:19:02,098 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:19:02,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,109 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:02,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:02,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,113 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:19:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,121 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,122 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,123 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,124 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,125 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,127 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:19:02,127 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:19:02,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,134 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,135 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,135 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:02,138 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:19:02,138 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:19:03,178 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:03,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:03,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,180 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:03,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,180 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:03,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,181 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:03,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:03,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:03,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:03,183 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:19:03,183 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:19:04,252 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:04,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:04,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,254 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,254 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:04,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,256 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:04,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,256 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:04,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,257 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:19:04,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,259 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:19:04,260 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:19:04,260 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:19:04,261 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:19:04,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,277 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:19:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:04,279 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:19:04,281 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:19:04,281 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:19:04,281 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:19:05,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:19:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:19:05,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,078 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:19:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,078 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:19:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:05,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:19:05,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:19:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,081 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:19:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:19:05,083 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:19:05,085 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:19:05,085 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:19:05,085 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:20:02,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:02,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,096 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:02,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,101 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:20:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,103 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:20:02,105 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:20:02,105 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 16, 30, 514893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 348.650887}, {'datetime': datetime.datetime(2019, 3, 14, 12, 16, 55, 97257), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 333.829376}) +2019-03-14 12:20:02,106 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:20:02,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,118 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,119 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:02,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,122 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:20:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,132 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,133 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,136 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:20:02,136 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:20:02,143 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,143 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,144 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,145 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:02,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:02,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:02,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:02,148 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:20:02,148 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:20:03,174 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:03,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:03,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,176 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:03,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,177 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:03,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:03,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:03,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:03,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:03,180 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:20:03,180 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:20:04,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:04,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:04,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,248 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,248 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:04,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:04,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,251 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:20:04,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,253 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:20:04,254 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:20:04,254 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:20:04,255 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:20:04,268 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,269 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,270 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,270 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,273 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:20:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:04,275 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:20:04,276 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:20:04,276 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:20:04,277 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:20:05,065 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:20:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,066 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:20:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,067 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:20:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,068 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:20:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:05,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:20:05,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:20:05,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,070 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:20:05,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:20:05,072 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:20:05,073 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:20:05,073 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:20:05,074 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:21:02,102 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,105 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,105 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,107 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,109 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:21:02,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,112 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:21:02,114 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:21:02,114 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 16, 30, 514893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '风量调低', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 348.650887}, {'datetime': datetime.datetime(2019, 3, 14, 12, 16, 55, 97257), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '调低音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 333.829376}) +2019-03-14 12:21:02,115 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:21:02,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,126 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,127 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,130 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:21:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,140 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,141 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,144 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:21:02,144 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:21:02,151 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,152 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,152 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,153 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,154 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:02,156 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:21:02,156 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:21:03,196 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:03,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,197 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:03,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,198 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:03,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,198 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:03,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:03,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:03,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:03,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:03,201 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:21:03,202 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:21:04,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,273 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,274 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,277 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:21:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,279 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:21:04,280 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:21:04,280 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:21:04,281 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:21:04,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,294 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,295 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:04,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,296 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:04,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:04,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:04,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:04,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,299 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:21:04,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:04,301 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:21:04,302 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:21:04,302 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:21:04,303 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:21:05,113 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:21:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,114 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:21:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,115 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:21:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,116 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:21:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,117 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,118 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:21:05,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:21:05,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,119 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:21:05,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:21:05,121 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:21:05,122 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:21:05,122 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('universalcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:21:05,122 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:22:02,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,267 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,269 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,269 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,273 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:22:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,276 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:22:02,278 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:22:02,278 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:22:02,279 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:22:02,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,294 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,294 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,297 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:22:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,306 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,306 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,307 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,308 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,310 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,311 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:22:02,311 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:22:02,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,319 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,319 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,320 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:02,323 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:22:02,323 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:22:03,365 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,365 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:03,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,366 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:03,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,367 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:03,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,368 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:03,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:03,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:03,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:03,370 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:22:03,370 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:22:04,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,438 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:04,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,439 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:04,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,442 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:22:04,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,444 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:22:04,445 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:22:04,445 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:22:04,446 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:22:04,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,460 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,461 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,462 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,464 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:22:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:04,467 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:22:04,468 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:22:04,468 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:22:04,469 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:22:05,285 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:22:05,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:22:05,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,287 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:22:05,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,288 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:22:05,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:05,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:22:05,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:22:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,291 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:22:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:22:05,293 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:22:05,294 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:22:05,294 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:22:05,294 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:23:02,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,310 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,311 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,313 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,314 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,315 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:23:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,317 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:23:02,320 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:23:02,320 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:23:02,320 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:23:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,335 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:23:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,345 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,346 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,349 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:23:02,349 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:23:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,356 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,357 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,358 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,360 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:02,360 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:23:02,360 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:23:03,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:03,402 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:23:03,402 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:23:04,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,465 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,466 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,466 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:04,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:04,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,469 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:23:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,472 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:23:04,473 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:23:04,473 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:23:04,473 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:23:04,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:04,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,489 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:04,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:04,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:04,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:04,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,492 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:23:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:04,494 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:23:04,496 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:23:04,496 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:23:04,496 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:23:05,321 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:23:05,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:23:05,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,323 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:23:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,323 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:23:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:23:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:23:05,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,327 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:23:05,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:23:05,329 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:23:05,329 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:23:05,329 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:23:05,330 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:24:02,319 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,320 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,321 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,322 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,326 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:24:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,328 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:24:02,331 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:24:02,331 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:24:02,331 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:24:02,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,342 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,343 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,346 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:24:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,356 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,360 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:24:02,360 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:24:02,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,367 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,368 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,368 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:02,371 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:24:02,371 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:24:03,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:03,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,409 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:03,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,410 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:03,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:03,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:03,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:03,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:03,413 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:24:03,413 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:24:04,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:04,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,480 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,481 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,484 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:24:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,486 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:24:04,487 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:24:04,488 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:24:04,491 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:24:04,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:04,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,504 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,507 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:24:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:04,510 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:24:04,511 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:24:04,511 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:24:04,511 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:24:05,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:24:05,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:24:05,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:24:05,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:24:05,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:05,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:24:05,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:24:05,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,306 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:24:05,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:24:05,308 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:24:05,309 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:24:05,309 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:24:05,310 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:25:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,347 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,348 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,352 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:25:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,354 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:25:02,356 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:25:02,356 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:25:02,357 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:25:02,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,367 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,368 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,371 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:25:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,381 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,385 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:25:02,385 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:25:02,391 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,393 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,394 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:02,396 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:25:02,397 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:25:03,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:03,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,438 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:03,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,440 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:03,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,440 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:03,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:03,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:03,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:03,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:03,445 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:25:03,445 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:25:04,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:04,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,474 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,475 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:04,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,476 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:04,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,478 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,479 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:25:04,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,481 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:25:04,482 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:25:04,482 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:25:04,482 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:25:04,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,497 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,499 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:25:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:04,501 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:25:04,502 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:25:04,502 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:25:04,503 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:25:05,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:25:05,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:25:05,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,302 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:25:05,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:25:05,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:05,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:25:05,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:25:05,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,306 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:25:05,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:25:05,308 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:25:05,309 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:25:05,309 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:25:05,309 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:26:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,333 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:26:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,339 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:26:02,341 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:26:02,341 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:26:02,342 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:26:02,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,353 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,353 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,354 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,356 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:26:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,365 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,365 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,366 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,367 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,368 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,370 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:26:02,370 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:26:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,378 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,379 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:02,382 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:26:02,382 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:26:03,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:03,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:03,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:03,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:03,426 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:26:03,426 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:26:04,451 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:04,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,452 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:04,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,452 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:04,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,453 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:04,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,455 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,455 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,456 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:26:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,458 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:26:04,459 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:26:04,459 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:26:04,460 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:26:04,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:04,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,474 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:04,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:04,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,477 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:26:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:04,480 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:26:04,481 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:26:04,481 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:26:04,481 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:26:05,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:26:05,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:26:05,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:26:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:26:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:26:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:26:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,278 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:26:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:26:05,280 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:26:05,280 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:26:05,281 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:26:05,281 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:27:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,302 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,307 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:27:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,309 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:27:02,311 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:27:02,312 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 21, 27, 526759), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我唱一首陈奕迅的好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放陈奕迅的好久不见。', 'cost_time_ms': 504.963712} +2019-03-14 12:27:02,312 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:27:02,321 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,322 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,323 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,326 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:27:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,336 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,337 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,340 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:27:02,340 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:27:02,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:02,353 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:27:02,353 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:27:03,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:03,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:03,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:03,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:03,391 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:27:03,391 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:27:04,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:04,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,455 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,455 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,458 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:27:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,461 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:27:04,462 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:27:04,462 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:27:04,462 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:27:04,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,497 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:27:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:04,499 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:27:04,500 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:27:04,500 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:27:04,501 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:27:05,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:27:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:27:05,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:27:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:27:05,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:05,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:27:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:27:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,329 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:27:05,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:27:05,331 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:27:05,331 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:27:05,332 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:27:05,332 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:28:02,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,385 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,389 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:28:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,391 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:28:02,394 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:28:02,394 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:28:02,394 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:28:02,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,405 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,406 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:02,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,409 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:28:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,418 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,419 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:02,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,419 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:02,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,422 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:28:02,423 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:28:02,429 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,430 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,431 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,431 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:02,435 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:28:02,435 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:28:03,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:03,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:03,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,489 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:03,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:03,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:03,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:03,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:03,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:03,492 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:28:03,492 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:28:04,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,537 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,537 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,540 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:28:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,542 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:28:04,543 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:28:04,543 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:28:04,544 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:28:04,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,558 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,559 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,561 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:28:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:04,563 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:28:04,564 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:28:04,564 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:28:04,565 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:28:05,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:28:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:28:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,353 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:28:05,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,354 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:28:05,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:05,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:28:05,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:28:05,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,357 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:28:05,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:28:05,358 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:28:05,359 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:28:05,359 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:28:05,360 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:29:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,391 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:29:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:29:02,396 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:29:02,396 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:29:02,397 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:29:02,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:02,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,407 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,408 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,411 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:29:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,421 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,422 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,426 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:29:02,426 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:29:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:02,438 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:29:02,438 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:29:03,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:03,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:03,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:03,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,460 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:03,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:03,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:03,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:03,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:03,462 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:29:03,463 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:29:04,520 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,521 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,522 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,525 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:29:04,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,527 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:29:04,528 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:29:04,528 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:29:04,528 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:29:04,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,543 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,544 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,546 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:29:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:04,548 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:29:04,550 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:29:04,550 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:29:04,550 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:29:05,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:29:05,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:29:05,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,342 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:29:05,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,343 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:29:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:29:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:29:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,345 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:29:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:29:05,347 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:29:05,348 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:29:05,348 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:29:05,349 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:30:02,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,364 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,367 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,368 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:30:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,370 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:30:02,372 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:30:02,373 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:30:02,373 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:30:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,388 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,389 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:30:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,401 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,402 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,403 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:02,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,405 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,405 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,406 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:30:02,406 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:30:02,413 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,413 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,414 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,415 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,416 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,417 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,417 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:02,418 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:30:02,418 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:30:03,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:03,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:03,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,460 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:03,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,461 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:03,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:03,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:03,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:03,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:03,465 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:30:03,465 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:30:04,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,494 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,495 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,498 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:30:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,501 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:30:04,502 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:30:04,502 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:30:04,502 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:30:04,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,520 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,520 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,523 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:30:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:04,526 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:30:04,527 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:30:04,527 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:30:04,527 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:30:05,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:30:05,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:30:05,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,359 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:30:05,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,359 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:30:05,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:05,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:30:05,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:30:05,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,363 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:30:05,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:30:05,365 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:30:05,365 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:30:05,365 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:30:05,366 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:31:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,380 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,380 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,384 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:31:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,387 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:31:02,389 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:31:02,389 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:31:02,389 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:31:02,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,401 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,401 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,404 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:31:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,413 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,414 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,415 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,415 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,417 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,417 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,419 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:31:02,419 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:31:02,425 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,427 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,428 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:02,432 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:31:02,432 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:31:03,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:03,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,463 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:03,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,464 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:03,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,465 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:03,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:03,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:03,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:03,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:03,468 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:31:03,468 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:31:04,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,514 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,515 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:04,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,518 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:31:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,520 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:31:04,521 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:31:04,521 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:31:04,522 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:31:04,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,536 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,537 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,540 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:31:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:04,542 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:31:04,543 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:31:04,543 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:31:04,544 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:31:05,334 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:31:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:31:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,336 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:31:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,336 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:31:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:31:05,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:31:05,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,339 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:31:05,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:31:05,341 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:31:05,342 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:31:05,342 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:31:05,342 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:32:02,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,344 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:32:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,346 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:32:02,348 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:32:02,349 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:32:02,349 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:32:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,361 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,361 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,364 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:32:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,374 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,375 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,378 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:32:02,378 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:32:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,386 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:02,390 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:32:02,390 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:32:03,430 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:03,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:03,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,432 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:03,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,433 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:03,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:03,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:03,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:03,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:03,436 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:32:03,436 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:32:04,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,507 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,507 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:04,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:04,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:04,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,510 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:32:04,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,513 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:32:04,514 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:32:04,514 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:32:04,514 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:32:04,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:04,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:04,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:04,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,532 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:32:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:04,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:32:04,536 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:32:04,536 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:32:04,537 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:32:05,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:32:05,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:32:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,353 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:32:05,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,354 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:32:05,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:05,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:32:05,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:32:05,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,357 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:32:05,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:32:05,359 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:32:05,360 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:32:05,360 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:32:05,360 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:33:02,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,377 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,378 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,381 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:33:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,384 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:33:02,386 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:33:02,386 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 27, 14, 663397), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 364.067241} +2019-03-14 12:33:02,387 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:33:02,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,402 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:33:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,413 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,416 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:33:02,416 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:33:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,424 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,425 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:02,428 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:33:02,428 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:33:03,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:03,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:03,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,475 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:03,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:03,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:03,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:03,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,478 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:03,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:03,479 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:33:03,479 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:33:04,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:04,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:04,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:04,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:33:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,530 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:33:04,531 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:33:04,531 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:33:04,532 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:33:04,544 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,545 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,546 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:04,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:04,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,549 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:33:04,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:04,551 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:33:04,552 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:33:04,552 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:33:04,552 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:33:05,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:33:05,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:33:05,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,372 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:33:05,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,372 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:33:05,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:05,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:33:05,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:33:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,375 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:33:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:33:05,377 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:33:05,378 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:33:05,378 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:33:05,379 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:34:02,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,484 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:34:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,487 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:34:02,489 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:34:02,489 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:34:02,490 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:34:02,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,501 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,502 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,503 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,503 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,505 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:34:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,515 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,515 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,518 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:34:02,518 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:34:02,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,527 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:02,530 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:34:02,530 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:34:03,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:03,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:03,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,562 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:03,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,562 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:03,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:03,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:03,566 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:34:03,566 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:34:04,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,589 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,590 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,591 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,594 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:34:04,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,596 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:34:04,597 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:34:04,597 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:34:04,598 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:34:04,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,611 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,612 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:04,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,613 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:04,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:04,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:04,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,615 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:04,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,616 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:34:04,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:04,618 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:34:04,619 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:34:04,619 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:34:04,620 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:34:05,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:34:05,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:34:05,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,428 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:34:05,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:34:05,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:05,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:34:05,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:34:05,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,432 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:34:05,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:34:05,434 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:34:05,435 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:34:05,435 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:34:05,435 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:35:02,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,478 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,479 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:35:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,481 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:35:02,483 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:35:02,484 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:35:02,484 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:35:02,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,497 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,498 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,501 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:35:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,509 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,511 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,511 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,514 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:35:02,514 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:35:02,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,523 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,523 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,525 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:02,526 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:35:02,526 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:35:03,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:03,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:03,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,586 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:03,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,586 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:03,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:03,589 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:35:03,590 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:35:04,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,637 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:04,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:04,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,641 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:35:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,644 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:35:04,645 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:35:04,645 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:35:04,645 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:35:04,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,660 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,661 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,664 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:35:04,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:04,666 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:35:04,667 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:35:04,667 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:35:04,668 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:35:05,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:35:05,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,489 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:35:05,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,490 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:35:05,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,491 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:35:05,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:05,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:35:05,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:35:05,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,494 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:35:05,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:35:05,496 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:35:05,496 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:35:05,497 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:35:05,497 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:36:02,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,507 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:36:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,509 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:36:02,511 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:36:02,511 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:36:02,512 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:36:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,531 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:36:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,539 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,541 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,542 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,545 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:36:02,545 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:36:02,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,553 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:02,556 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:36:02,556 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:36:03,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:03,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:03,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,611 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:03,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,612 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:03,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:03,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:03,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:03,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:03,615 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:36:03,615 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:36:04,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:04,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,639 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:04,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:04,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,643 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:36:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,645 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:36:04,646 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:36:04,646 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:36:04,647 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:36:04,660 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,661 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,662 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,662 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:04,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:04,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,665 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:36:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:04,667 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:36:04,668 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:36:04,668 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:36:04,669 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:36:05,489 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:36:05,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:36:05,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,491 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:36:05,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,492 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:36:05,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:05,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,494 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:36:05,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:36:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,495 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:36:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:36:05,497 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:36:05,498 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:36:05,498 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:36:05,499 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:37:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,509 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:37:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,511 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:37:02,513 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:37:02,513 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:37:02,514 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:37:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,531 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:37:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,541 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,542 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,545 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:37:02,545 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:37:02,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,553 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,554 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:02,556 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:37:02,556 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:37:03,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,623 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,624 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:03,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:03,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:03,627 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:37:03,627 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:37:04,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,649 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,652 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:37:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,655 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:37:04,656 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:37:04,656 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:37:04,656 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:37:04,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:04,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,670 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,670 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,671 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,673 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:37:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:04,675 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:37:04,676 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:37:04,676 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:37:04,677 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:37:05,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:37:05,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:37:05,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:37:05,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:37:05,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:05,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:37:05,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:37:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,477 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:37:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:37:05,479 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:37:05,480 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:37:05,480 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:37:05,481 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:38:02,482 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,485 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,486 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,490 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:38:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,492 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:38:02,494 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:38:02,494 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:38:02,495 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:38:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,507 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,508 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,511 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:38:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,520 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,521 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,522 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,525 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,525 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:38:02,525 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:38:02,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,533 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,534 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:02,537 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:38:02,537 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:38:03,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:03,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:03,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,594 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:03,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:03,597 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:38:03,597 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:38:04,633 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,635 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,635 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:04,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,638 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:38:04,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,640 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:38:04,641 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:38:04,641 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:38:04,642 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:38:04,655 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,656 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,656 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,657 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,659 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:38:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:04,662 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:38:04,663 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:38:04,663 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:38:04,663 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:38:05,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:38:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:38:05,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,460 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:38:05,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,460 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:38:05,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:05,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:38:05,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:38:05,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,463 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:38:05,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:38:05,465 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:38:05,466 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:38:05,466 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:38:05,466 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:39:02,485 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,488 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,493 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:39:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,495 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:39:02,498 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:39:02,498 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 33, 15, 826683), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '翻译苹果', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 392.855705} +2019-03-14 12:39:02,498 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:39:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,512 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,516 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:39:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,526 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,527 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,530 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:39:02,530 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:39:02,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,538 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:02,541 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:39:02,541 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:39:03,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:03,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:03,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,577 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:03,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:03,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:03,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:03,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:03,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:03,581 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:39:03,581 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:39:04,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,626 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,627 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,628 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,631 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:39:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,633 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:39:04,634 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:39:04,634 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:39:04,635 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:39:04,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,649 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,653 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:39:04,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:04,655 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:39:04,656 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:39:04,656 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:39:04,657 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:39:05,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:39:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:39:05,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,479 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:39:05,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,480 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:39:05,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:05,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:39:05,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:39:05,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,483 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:39:05,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:39:05,485 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:39:05,486 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:39:05,486 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:39:05,486 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:40:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,524 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:40:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,530 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:40:02,533 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:40:02,533 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:40:02,533 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:40:02,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,544 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,545 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,548 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:40:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,557 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,558 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,561 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:40:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,563 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:40:02,563 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:40:02,564 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:40:02,564 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:40:02,570 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,572 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,573 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:02,575 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:40:02,575 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:40:03,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,597 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:03,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,597 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:03,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:03,600 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:40:03,600 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:40:04,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,644 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,644 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,645 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,648 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:40:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,650 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:40:04,651 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:40:04,651 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:40:04,651 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:40:04,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,666 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,667 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:04,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:04,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:04,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,669 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,669 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:40:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:04,671 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:40:04,672 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:40:04,673 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:40:04,673 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:40:05,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:40:05,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:40:05,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,472 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:40:05,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,473 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:40:05,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:05,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:40:05,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:40:05,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,475 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:40:05,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:40:05,477 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:40:05,478 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:40:05,478 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:40:05,479 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:41:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:41:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,520 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:41:02,522 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:41:02,522 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:41:02,523 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:41:02,533 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,535 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,535 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,538 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:41:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,548 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,549 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,552 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:41:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,554 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:41:02,555 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:41:02,555 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:41:02,555 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:41:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:02,568 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:41:02,568 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:41:03,627 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:03,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:03,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,628 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:03,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,629 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:03,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:03,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:03,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:03,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:03,632 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:41:03,632 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:41:04,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:04,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,678 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,678 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,679 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:04,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,682 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:41:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,684 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:41:04,685 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:41:04,685 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:41:04,686 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:41:04,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,699 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,700 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:41:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:04,705 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:41:04,706 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:41:04,706 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:41:04,706 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:41:05,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:41:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:41:05,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,497 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:41:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,497 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:41:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:41:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:41:05,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,501 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:41:05,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:41:05,503 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:41:05,504 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:41:05,504 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:41:05,505 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:42:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,512 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:42:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:42:02,522 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:42:02,522 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:42:02,522 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:42:02,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,533 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,534 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,537 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:42:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,546 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,547 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,547 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,550 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:42:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,553 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:42:02,553 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:42:02,553 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:42:02,554 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:42:02,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,564 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:02,567 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:42:02,567 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:42:03,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:03,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:03,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,631 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:03,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,632 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:03,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:03,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:03,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:03,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:03,635 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:42:03,635 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:42:04,661 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,663 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,663 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,666 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:42:04,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,669 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:42:04,670 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:42:04,670 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:42:04,670 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:42:04,690 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,691 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,692 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,693 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,694 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,694 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,695 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:42:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:04,698 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:42:04,699 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:42:04,699 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:42:04,699 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:42:05,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:42:05,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,520 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:42:05,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,521 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:42:05,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,521 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:42:05,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:05,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:42:05,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:42:05,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,525 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:42:05,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:42:05,527 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:42:05,528 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:42:05,528 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:42:05,528 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:43:02,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:43:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:43:02,537 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:43:02,537 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:43:02,538 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:43:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,554 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,555 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,558 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:43:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,568 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,568 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,572 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:43:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,574 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:43:02,574 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:43:02,575 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:43:02,575 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:43:02,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,584 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,585 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:02,588 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:43:02,588 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:43:03,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:03,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:03,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:03,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:03,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:03,653 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:43:03,653 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:43:04,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,675 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,676 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:04,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,677 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:04,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,680 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:43:04,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,682 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:43:04,683 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:43:04,683 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:43:04,684 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:43:04,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,699 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,699 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:43:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:04,705 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:43:04,706 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:43:04,706 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:43:04,706 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:43:05,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:43:05,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:43:05,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:43:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,527 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:43:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:43:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:43:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,531 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:43:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:43:05,533 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:43:05,533 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:43:05,534 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:43:05,534 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:44:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,539 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,540 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,544 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:44:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,547 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:44:02,549 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:44:02,549 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:44:02,550 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:44:02,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,561 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,561 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,564 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:44:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,573 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,575 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,575 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,578 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:44:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,580 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:44:02,581 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:44:02,581 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:44:02,582 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:44:02,589 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,589 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,590 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,591 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:02,594 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:44:02,594 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:44:03,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:03,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:03,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:03,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:03,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:03,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:03,652 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:44:03,652 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:44:04,687 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,688 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,689 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,690 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,692 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,693 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:44:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,695 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:44:04,696 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:44:04,696 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:44:04,697 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:44:04,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:04,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,711 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:04,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,712 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,715 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:44:04,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:04,717 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:44:04,718 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:44:04,718 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:44:04,719 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:44:05,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:44:05,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:44:05,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,539 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:44:05,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:44:05,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:05,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:44:05,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:44:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,543 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:44:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:44:05,545 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:44:05,546 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:44:05,546 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:44:05,547 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:45:02,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,546 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,547 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,548 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,552 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:45:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,554 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:45:02,556 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:45:02,556 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:45:02,557 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:45:02,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,568 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,568 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,571 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:45:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,581 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,582 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,585 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:45:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,587 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:45:02,588 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:45:02,588 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 39, 31, 177775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好卧室电视', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 368.461067} +2019-03-14 12:45:02,588 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:45:02,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,596 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,597 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:02,600 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:45:02,600 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:45:03,666 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:03,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,667 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:03,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,668 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:03,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,669 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:03,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,670 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:03,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,670 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:03,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,671 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:03,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:03,672 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:45:03,672 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:45:04,712 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,713 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,714 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,714 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,716 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:04,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,716 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:04,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,717 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:04,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,717 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:45:04,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,720 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:45:04,721 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:45:04,721 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:45:04,721 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:45:04,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:04,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,736 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,736 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,739 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:45:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:04,741 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:45:04,742 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:45:04,743 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:45:04,743 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:45:05,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:45:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:45:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,563 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:45:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,564 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:45:05,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:05,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:45:05,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:45:05,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,567 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:45:05,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:45:05,569 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:45:05,570 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:45:05,570 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:45:05,571 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:46:02,731 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:02,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,733 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,734 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,735 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,738 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:46:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,740 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:46:02,743 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:46:02,743 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 45, 26, 39899), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 365.929514}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 26, 367755), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 360.595344}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 26, 459903), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 205.669977}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 26, 573961), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 328.398896}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 26, 995183), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 208.785134}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 27, 164867), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 222.525104}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 27, 327373), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 368.987523}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 28, 344749), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 201.04435} ... displaying 10 of 24 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 53, 851500), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 293.126289}, {'datetime': datetime.datetime(2019, 3, 14, 12, 45, 53, 979034), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气啊', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 762.763358}) +2019-03-14 12:46:02,745 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:46:02,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,756 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,757 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,757 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,760 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,760 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:46:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,770 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,771 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:02,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,775 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:46:02,775 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:46:02,782 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,783 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,784 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,784 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,786 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,786 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:02,787 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:46:02,787 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:46:03,846 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:03,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:03,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,848 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:03,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,848 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:03,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:03,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:03,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:03,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:03,852 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:46:03,852 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:46:04,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,874 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,875 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,875 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,878 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:46:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,881 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:46:04,882 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:46:04,882 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:46:04,883 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:46:04,897 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,898 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:04,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,899 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:04,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,900 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:04,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,901 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:04,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,901 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:04,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,902 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:04,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,902 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:46:04,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:04,905 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:46:04,906 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:46:04,906 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:46:04,907 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:46:05,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:46:05,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,712 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:46:05,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,713 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:46:05,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,714 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:46:05,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:05,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,716 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:46:05,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,717 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:46:05,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,717 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:46:05,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:46:05,719 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:46:05,720 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:46:05,720 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 23), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:46:05,721 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:47:02,879 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:02,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,882 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,882 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,886 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:47:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,889 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:47:02,891 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:47:02,891 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:47:02,892 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:47:02,903 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,905 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,905 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,907 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,908 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:47:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,918 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,919 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,920 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,922 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:47:02,922 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:47:02,928 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,930 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:02,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,930 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:02,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:02,933 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:47:02,933 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:47:03,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:03,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:03,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:03,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:03,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:03,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:03,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:03,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:03,964 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:47:03,964 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:47:04,990 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:04,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:04,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,992 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:04,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,993 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:04,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:04,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:04,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:04,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,996 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:47:04,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:04,998 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:47:04,999 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:47:04,999 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:47:05,000 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:47:05,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:05,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:05,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,016 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:05,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,017 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:05,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:05,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:05,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:05,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,019 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:47:05,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,022 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:47:05,023 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:47:05,023 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:47:05,024 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:47:05,830 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:47:05,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,831 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:47:05,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,832 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:47:05,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,833 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:47:05,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,834 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:05,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,835 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:47:05,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,835 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:47:05,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,836 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:47:05,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:47:05,838 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:47:05,838 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:47:05,839 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:47:05,839 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:48:02,897 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:02,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,898 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,900 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,900 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,902 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,902 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,904 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:48:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,906 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:48:02,909 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:48:02,909 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:48:02,910 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:48:02,920 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,920 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,921 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,922 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,924 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,924 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,925 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:48:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,935 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,936 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,939 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:48:02,939 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:48:02,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:02,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,946 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,947 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,947 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:02,950 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:48:02,950 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:48:04,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,016 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:04,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,017 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:04,020 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:48:04,020 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:48:05,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:05,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,063 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,064 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,067 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:48:05,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,069 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:48:05,070 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:48:05,070 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:48:05,071 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:48:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,089 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:48:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,091 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:48:05,092 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:48:05,092 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:48:05,093 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:48:05,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:48:05,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,896 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:48:05,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,897 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:48:05,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,898 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:48:05,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:48:05,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,901 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:48:05,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,901 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:48:05,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:48:05,903 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:48:05,904 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:48:05,904 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:48:05,905 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:49:01,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:01,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,946 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:01,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,947 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:01,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,948 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:01,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,951 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:01,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,952 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:49:01,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,954 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:49:01,957 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:49:01,957 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:49:01,958 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:49:01,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:01,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,968 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:01,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,969 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:01,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,970 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:01,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,972 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:01,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,973 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:49:01,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:01,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:01,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,983 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:01,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,984 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:01,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,987 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:49:01,987 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:49:01,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:01,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:01,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,995 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,996 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:01,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:01,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:01,998 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:49:01,999 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:49:03,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,045 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,046 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:03,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:03,049 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:49:03,049 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:49:04,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:04,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:04,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,116 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:04,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,117 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:04,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,118 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:04,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,120 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:49:04,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,122 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:49:04,123 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:49:04,123 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:49:04,124 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:49:04,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,136 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,137 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:04,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:04,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:49:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:49:04,143 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:49:04,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:49:04,144 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:49:04,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:49:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:49:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,934 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:49:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,935 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:49:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:49:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:49:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,937 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:49:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:49:04,939 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:49:04,940 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:49:04,940 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:49:04,941 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:50:01,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:01,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:01,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:01,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:01,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:01,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,965 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:50:01,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,967 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:50:01,970 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:50:01,970 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:50:01,971 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:50:01,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:01,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:01,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,983 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:01,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,983 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:01,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,986 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:50:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,995 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,995 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,996 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:01,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,997 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,999 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:01,999 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,000 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:50:02,000 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:50:02,006 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:02,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,007 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:02,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,008 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:02,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,009 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:02,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:02,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:02,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:02,011 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:50:02,011 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:50:03,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,034 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,035 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,035 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,038 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:03,039 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:50:03,039 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:50:04,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:04,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:04,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,113 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:04,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,113 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:04,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:04,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,116 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:50:04,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,118 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:50:04,119 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:50:04,119 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:50:04,120 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:50:04,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:04,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,134 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,134 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,137 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:50:04,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:50:04,140 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:50:04,140 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:50:04,141 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:50:04,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:50:04,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:50:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,934 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:50:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,934 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:50:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:50:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:50:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,937 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:50:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:50:04,939 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:50:04,940 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:50:04,940 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:50:04,940 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:51:01,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:01,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:01,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,965 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:01,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,966 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:01,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:01,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:01,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:01,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,969 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:51:01,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,972 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:51:01,974 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:51:01,974 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:51:01,976 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:51:01,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:01,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,986 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,987 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,987 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:01,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:01,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,990 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:51:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:01,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,000 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:02,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,001 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:02,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:02,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:02,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:02,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,004 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:51:02,004 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:51:02,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:02,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,013 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:02,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:02,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:02,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:02,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:02,016 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:51:02,016 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:51:03,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,050 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,051 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:03,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:03,054 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:51:03,054 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:51:04,119 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:04,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,120 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:04,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,121 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:04,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,122 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:04,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,123 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,123 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,124 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:04,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,125 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:51:04,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,127 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:51:04,128 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:51:04,128 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:51:04,128 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:51:04,141 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:04,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,142 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:04,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,143 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:04,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,143 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:04,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:04,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,146 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:51:04,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,148 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:51:04,149 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:51:04,149 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:51:04,150 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:51:04,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:51:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,942 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:51:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,943 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:51:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,943 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:51:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:51:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:51:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,946 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:51:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:51:04,948 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:51:04,949 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:51:04,949 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:51:04,949 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:52:01,949 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:01,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:01,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,952 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:01,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,953 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:01,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:01,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,956 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:52:01,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,959 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:52:01,961 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:52:01,961 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:52:01,963 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:52:01,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:01,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:01,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,974 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:01,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,975 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:01,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:01,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,978 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:52:01,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,987 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,987 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,988 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:01,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,989 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:01,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,991 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:01,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,991 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:01,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,992 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:52:01,992 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:52:01,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:01,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,000 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:02,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,001 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:02,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:02,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:02,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:02,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:02,004 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:52:02,004 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:52:03,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,065 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,066 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,066 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:03,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:03,070 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:52:03,070 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:52:04,106 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:04,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,108 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,108 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:04,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,112 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:52:04,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,114 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:52:04,115 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:52:04,115 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:52:04,116 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:52:04,129 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:04,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,131 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,131 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,134 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:52:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,137 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:52:04,138 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:52:04,138 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:52:04,138 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:52:04,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:52:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:52:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:52:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,960 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:52:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:52:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:52:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,964 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:52:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:52:04,966 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:52:04,966 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:52:04,966 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:52:04,967 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:53:01,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:01,996 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:01,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:01,997 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:01,998 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:01,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:01,999 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:02,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,002 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:53:02,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,004 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:53:02,007 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:53:02,007 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:53:02,008 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:53:02,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:02,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:02,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,019 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:02,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:53:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:02,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,034 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,034 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,038 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:53:02,038 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:53:02,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,047 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:02,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:02,050 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:53:02,050 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:53:03,079 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:03,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,080 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:03,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,081 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:03,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,082 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:03,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,083 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:03,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,084 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:03,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,085 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:03,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:03,085 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:53:03,085 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:53:04,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:04,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:04,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,127 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:04,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,128 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:04,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,131 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:53:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,133 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:53:04,134 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:53:04,134 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:53:04,135 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:53:04,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:04,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:04,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,149 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:04,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,150 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:04,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:04,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,153 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:53:04,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,155 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:53:04,156 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:53:04,156 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:53:04,157 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:53:04,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:53:04,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,974 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:53:04,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,975 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:53:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,975 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:53:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:53:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:53:04,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,978 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:53:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:53:04,981 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:53:04,981 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:53:04,981 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:53:04,982 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:54:02,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,051 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:02,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,052 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:02,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,052 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:02,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:02,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,056 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:54:02,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,059 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:54:02,061 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:54:02,061 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 64676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 300.391069}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 81496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 326.42638}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 144898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 370.565857}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 148588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 312.916194}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 291223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 479.571108}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 298626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 461.80443}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 307406), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 422.416805}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 346070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 432.539884}, {'datetime': datetime.datetime(2019, 3, 14, 12, 46, 16, 430669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有小雨,气温19度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 495.614482}) +2019-03-14 12:54:02,063 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:54:02,073 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:02,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,073 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:02,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,074 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:02,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,075 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:02,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,077 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,077 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,078 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:54:02,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,088 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,088 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,089 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,092 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,092 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:54:02,092 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:54:02,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,101 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,101 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,102 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,103 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:02,104 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:54:02,104 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:54:03,142 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:03,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,143 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:03,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,144 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,144 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:03,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:03,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:03,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:03,147 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:54:03,147 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:54:04,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:04,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,218 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:04,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,219 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:04,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,219 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:04,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:04,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:04,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:04,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,222 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:54:04,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,224 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:54:04,225 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:54:04,226 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:54:04,226 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:54:04,240 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:04,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,241 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:04,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,242 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:04,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,242 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:04,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:04,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:04,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:04,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,245 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:54:04,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:04,247 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:54:04,249 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:54:04,249 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:54:04,249 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:54:05,052 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:54:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,053 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:54:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,053 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:54:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,054 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:54:05,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:05,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,056 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:54:05,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,056 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:54:05,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,057 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:54:05,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:54:05,059 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:54:05,059 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:54:05,060 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 9), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:54:05,060 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:55:02,213 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,214 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,216 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,216 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,220 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:55:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,222 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:55:02,225 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:55:02,225 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 54, 31, 219558), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '有趣的儿童故事,和叮当一起听西游记吧。', 'cost_time_ms': 386.475371}, {'datetime': datetime.datetime(2019, 3, 14, 12, 54, 42, 161881), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的儿童故事,爱探险的朵拉吧。', 'cost_time_ms': 396.077031}, {'datetime': datetime.datetime(2019, 3, 14, 12, 54, 54, 160442), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲葫芦娃了哦。', 'cost_time_ms': 254.006971}) +2019-03-14 12:55:02,226 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:55:02,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,237 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,238 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,240 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,240 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:55:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:02,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,251 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,254 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:55:02,254 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:55:02,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,262 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,263 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:02,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:02,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:02,266 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:55:02,266 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:55:03,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,304 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:03,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:03,308 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:55:03,308 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:55:04,343 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:04,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:04,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,345 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:04,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,346 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:04,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:04,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,349 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:55:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,351 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:55:04,352 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:55:04,352 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:55:04,353 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:55:04,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,367 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:04,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,368 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:04,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:04,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,371 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:55:04,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:04,373 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:55:04,374 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:55:04,374 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:55:04,375 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:55:05,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:55:05,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:55:05,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,181 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:55:05,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,182 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:55:05,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:05,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:55:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:55:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,185 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:55:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:55:05,187 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:55:05,188 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:55:05,188 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 3), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:55:05,188 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:56:02,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:56:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,340 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:56:02,343 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:56:02,343 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 55, 6, 192006), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '快给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从西游记开始吧。', 'cost_time_ms': 248.029299}, {'datetime': datetime.datetime(2019, 3, 14, 12, 55, 18, 182100), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听儿童故事,一千零一夜吧。', 'cost_time_ms': 263.454813}, {'datetime': datetime.datetime(2019, 3, 14, 12, 55, 30, 10143), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听黑猫警长吧。', 'cost_time_ms': 243.826059}, {'datetime': datetime.datetime(2019, 3, 14, 12, 56, 1, 751260), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '童话故事的话,当然要听格林童话(2014)了。', 'cost_time_ms': 238.216889}) +2019-03-14 12:56:02,344 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:56:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,355 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,355 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,359 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:56:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,370 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,373 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:56:02,373 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:56:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,381 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:02,385 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:56:02,385 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:56:03,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:03,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:03,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:03,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:03,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:03,427 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:56:03,427 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:56:04,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,456 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:56:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,462 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:56:04,463 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:56:04,463 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:56:04,464 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:56:04,476 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:04,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,478 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,478 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,479 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:04,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,481 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:56:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:04,483 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:56:04,484 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:56:04,484 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:56:04,485 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:56:05,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:56:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,265 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:56:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,266 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:56:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,267 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:56:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:05,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:56:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:56:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,270 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:56:05,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:56:05,271 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:56:05,272 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:56:05,272 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:56:05,273 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:57:02,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,440 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,441 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,445 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:57:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,447 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:57:02,450 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:57:02,450 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 56, 14, 193141), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我准备好零食,一起来听童话故事,格林童话(2014)吧。', 'cost_time_ms': 245.090285}, {'datetime': datetime.datetime(2019, 3, 14, 12, 56, 25, 683915), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的童话故事,格林童话(2014)吧。', 'cost_time_ms': 242.675417}, {'datetime': datetime.datetime(2019, 3, 14, 12, 56, 37, 877610), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '快给我讲个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的童话故事,格林童话(2014)吧。', 'cost_time_ms': 217.241215}, {'datetime': datetime.datetime(2019, 3, 14, 12, 56, 49, 446426), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '有趣的童话故事,和叮当一起听童话故事卷吧。', 'cost_time_ms': 239.360705}, {'datetime': datetime.datetime(2019, 3, 14, 12, 57, 1, 873701), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '准备好了?那就支起耳朵认真听丑小鸭吧。', 'cost_time_ms': 202.903454}) +2019-03-14 12:57:02,451 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:57:02,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,465 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,466 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,467 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,468 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,469 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:57:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,479 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,480 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,482 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:57:02,482 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:57:02,489 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,489 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,490 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,491 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:02,493 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:57:02,493 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:57:03,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:03,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,544 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:03,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,545 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:03,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,546 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:03,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:03,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:03,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:03,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:03,548 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:57:03,548 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:57:04,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:04,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,590 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:57:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,592 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:57:04,593 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:57:04,593 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:57:04,594 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:57:04,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,607 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,607 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,608 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,611 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:57:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:04,613 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:57:04,614 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:57:04,614 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:57:04,614 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:57:05,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:57:05,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:57:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,405 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:57:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,406 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:57:05,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:57:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:57:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,409 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:57:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:57:05,411 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:57:05,411 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:57:05,411 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:57:05,412 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:58:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,549 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,550 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,551 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,552 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,553 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,554 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:58:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,557 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:58:02,559 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:58:02,559 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 57, 15, 160496), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当也喜欢丑小鸭哦,我们一起听吧。', 'cost_time_ms': 237.182114}, {'datetime': datetime.datetime(2019, 3, 14, 12, 57, 26, 844105), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听植物大战僵尸了。', 'cost_time_ms': 242.515833}, {'datetime': datetime.datetime(2019, 3, 14, 12, 57, 38, 372979), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '准备好了?那就支起耳朵认真听丑小鸭吧。', 'cost_time_ms': 202.809621}, {'datetime': datetime.datetime(2019, 3, 14, 12, 57, 51, 113806), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听卖火柴的小女孩', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '准备好了?那就支起耳朵认真听卖火柴的小女孩吧。', 'cost_time_ms': 271.040662}) +2019-03-14 12:58:02,560 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:58:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,572 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,573 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,576 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:58:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,586 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,590 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:58:02,590 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:58:02,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,598 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:02,601 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:58:02,601 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:58:03,657 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:03,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:03,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,659 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:03,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,660 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:03,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,661 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:03,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:03,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:03,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:03,663 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:58:03,663 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:58:04,706 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,708 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,709 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,710 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:04,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,712 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:58:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,714 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:58:04,715 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:58:04,716 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:58:04,716 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:58:04,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:04,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,731 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,732 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:04,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:04,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:04,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:04,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,735 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:58:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:04,737 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:58:04,738 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:58:04,738 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:58:04,739 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:58:05,541 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:58:05,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:58:05,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,543 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:58:05,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,544 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:58:05,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:05,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:58:05,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:58:05,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,547 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:58:05,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:58:05,549 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:58:05,550 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:58:05,550 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:58:05,550 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 12 +***** + +2019-03-14 12:59:02,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:02,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,697 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,698 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 12:59:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,704 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:59:02,706 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 12:59:02,706 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 58, 3, 666624), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听天鹅的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '准备好了?那就支起耳朵认真听天鹅吧。', 'cost_time_ms': 258.412081}, {'datetime': datetime.datetime(2019, 3, 14, 12, 58, 16, 268163), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '播放个白雪公主的故事吧', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当很喜欢七个勇敢正义的小矮人哦。', 'cost_time_ms': 204.593464}, {'datetime': datetime.datetime(2019, 3, 14, 12, 58, 28, 606230), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '那拨个白雪公主的故事吧', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当很喜欢七个勇敢正义的小矮人哦。', 'cost_time_ms': 240.98747}, {'datetime': datetime.datetime(2019, 3, 14, 12, 58, 40, 575061), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲故事给我听', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听植物大战僵尸吧。', 'cost_time_ms': 202.919319}, {'datetime': datetime.datetime(2019, 3, 14, 12, 58, 52, 544749), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当找到了林如讲的安徒生童话-林如奶奶,边吃零食边听吧。', 'cost_time_ms': 229.565536}) +2019-03-14 12:59:02,707 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 12:59:02,719 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,719 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,720 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,721 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,722 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,723 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,723 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:02,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,724 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 12:59:02,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,734 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,734 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,738 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 12:59:02,738 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 11:00:00 +时间为:### 2019-03-14 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:59:02,744 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:02,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,745 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,746 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,746 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,747 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,749 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:02,749 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:59:02,749 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:59:03,783 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:03,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,784 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:03,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,785 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:03,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,785 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:03,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,787 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:03,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,787 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:03,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:03,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:03,788 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 11:00:00" and datetime< "2019-03-14 12:00:00" +2019-03-14 12:59:03,788 INFO sqlalchemy.engine.base.Engine {} +****712 +all****712 + +all****478 + +all****234 + +****478 + +****205 + +Start domain data classification: +2019-03-14 12:59:04,824 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,826 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,827 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:04,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:04,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:04,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,830 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 12:59:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,833 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:59:04,834 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 12:59:04,834 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'aircleaner': 0, 'airconditioner': 354, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 122, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 12:59:04,834 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 12:59:04,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,849 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,849 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,852 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 12:59:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:04,854 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:59:04,856 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 12:59:04,856 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 4, 'chat': 149, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 46, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 12:59:04,856 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 12:59:05,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 12:59:05,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,654 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 12:59:05,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,655 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 12:59:05,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,655 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 12:59:05,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:05,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 12:59:05,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 12:59:05,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,659 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 12:59:05,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 12:59:05,661 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 12:59:05,661 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 12:59:05,661 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 12:59:05,662 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:00:02,801 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:02,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:02,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,803 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:02,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,804 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,808 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,810 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:00:02,813 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:00:02,813 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 12, 59, 4, 807807), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听格林童话', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '童话精品,尽在格林童话。', 'cost_time_ms': 241.407162}, {'datetime': datetime.datetime(2019, 3, 14, 12, 59, 17, 290108), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '找到啦,林如的安徒生童话-林如奶奶。', 'cost_time_ms': 245.161495}, {'datetime': datetime.datetime(2019, 3, 14, 12, 59, 29, 949568), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '快给我讲个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当找到了林如讲的安徒生童话-林如奶奶,边吃零食边听吧。', 'cost_time_ms': 238.139014}, {'datetime': datetime.datetime(2019, 3, 14, 12, 59, 42, 149019), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我们一起听林如的安徒生童话-林如奶奶吧。', 'cost_time_ms': 244.846858}, {'datetime': datetime.datetime(2019, 3, 14, 12, 59, 55, 112667), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '找到啦,林如的安徒生童话-林如奶奶。', 'cost_time_ms': 251.96164}) +2019-03-14 13:00:02,813 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:00:02,824 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,824 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,826 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,829 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:00:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,838 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,840 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,843 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:00:02,843 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:00:02,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:02,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:02,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,851 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,852 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:00:02,855 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:00:03,896 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:03,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,897 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:03,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,898 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:03,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,899 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:03,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,901 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:03,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:03,901 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:00:03,901 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:00:04,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:04,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:04,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,926 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,926 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,929 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,931 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:00:04,932 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:00:04,932 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:00:04,933 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:00:04,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,946 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,947 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,947 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:04,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:04,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,950 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:00:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:04,952 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:00:04,953 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:00:04,954 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:00:04,954 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:00:05,748 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:00:05,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,749 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:00:05,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,750 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:00:05,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,751 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:00:05,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:05,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:00:05,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:00:05,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,753 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:00:05,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:00:05,755 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:00:05,756 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:00:05,756 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:00:05,757 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:01:02,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,888 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,889 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,889 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,893 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:01:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,896 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:01:02,898 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:01:02,898 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 0, 7, 199699), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听格林童话', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '童话精品,尽在格林童话。', 'cost_time_ms': 249.39429}, {'datetime': datetime.datetime(2019, 3, 14, 13, 0, 18, 950821), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲故事给我听', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听麦甜讲小猪佩奇的故事吧。', 'cost_time_ms': 218.896133}, {'datetime': datetime.datetime(2019, 3, 14, 13, 0, 30, 781286), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听巴巴爸爸的故事了。', 'cost_time_ms': 239.858627}, {'datetime': datetime.datetime(2019, 3, 14, 13, 0, 42, 410212), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我准备好零食,一起来听儿童故事,托马斯和他的朋友们吧。', 'cost_time_ms': 246.315707}, {'datetime': datetime.datetime(2019, 3, 14, 13, 0, 54, 351305), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲个好听的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听葫芦娃吧。', 'cost_time_ms': 237.692401}, {'datetime': datetime.datetime(2019, 3, 14, 13, 0, 55, 695250), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '后天的天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 246.891616}) +2019-03-14 13:01:02,899 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:01:02,909 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,910 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,911 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,912 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,913 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,913 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,914 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,914 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:01:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,923 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,925 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,925 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,928 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:01:02,928 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:01:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,936 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,937 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,937 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:02,940 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:01:02,940 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:01:03,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:03,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:03,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,984 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:03,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,985 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:03,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:03,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:03,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:03,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:03,988 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:01:03,988 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:01:05,008 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:05,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,009 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:05,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,010 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:05,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,011 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:05,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,012 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,013 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,013 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:05,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,014 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:01:05,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,016 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:01:05,017 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:01:05,017 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:01:05,018 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:01:05,030 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:05,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,031 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:05,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,032 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:05,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,033 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:05,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,034 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:05,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,036 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:01:05,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,038 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:01:05,039 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:01:05,039 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:01:05,040 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:01:05,842 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:01:05,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,843 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:01:05,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,844 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:01:05,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,845 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:01:05,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:01:05,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:01:05,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,848 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:01:05,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:01:05,850 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:01:05,851 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:01:05,851 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('weather', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:01:05,851 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:02:02,990 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:02,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,993 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:02,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,993 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:02,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:02,997 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:02:02,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,000 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:02:03,002 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:02:03,002 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 1, 6, 164379), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的儿童故事,小鹿妈妈讲公主故事吧。', 'cost_time_ms': 221.777057}, {'datetime': datetime.datetime(2019, 3, 14, 13, 1, 18, 313752), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听葫芦娃了。', 'cost_time_ms': 275.662843}, {'datetime': datetime.datetime(2019, 3, 14, 13, 1, 30, 993247), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本汪汪队立大功,我讲给你听吧。', 'cost_time_ms': 241.44092}, {'datetime': datetime.datetime(2019, 3, 14, 13, 1, 43, 767288), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '再给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听黑猫警长吧。', 'cost_time_ms': 236.661134}, {'datetime': datetime.datetime(2019, 3, 14, 13, 1, 55, 156617), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听葫芦娃了。', 'cost_time_ms': 249.624731}) +2019-03-14 13:02:03,003 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:02:03,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:03,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,016 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,017 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,021 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:02:03,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,033 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,034 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,037 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:02:03,038 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:02:03,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,047 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:03,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:03,049 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:02:03,049 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:02:04,083 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:04,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:04,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:04,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:04,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:04,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:04,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:04,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:04,089 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:02:04,089 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:02:05,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,117 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,118 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:05,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:05,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,121 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:02:05,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,123 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:02:05,124 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:02:05,124 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:02:05,125 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:02:05,137 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:05,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,139 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:05,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,139 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:05,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,142 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:02:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,145 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:02:05,146 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:02:05,146 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:02:05,147 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:02:05,936 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:02:05,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:02:05,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:02:05,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,938 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:02:05,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:02:05,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:02:05,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,942 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:02:05,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:02:05,944 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:02:05,944 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:02:05,944 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:02:05,945 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:03:02,122 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,124 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,125 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,129 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:03:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,131 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:03:02,133 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:03:02,134 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 2, 6, 801358), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本糊糊妈妈讲倒霉熊的故事,我讲给你听吧。', 'cost_time_ms': 220.479098}, {'datetime': datetime.datetime(2019, 3, 14, 13, 2, 18, 703580), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听灰姑娘吧。', 'cost_time_ms': 206.50759}, {'datetime': datetime.datetime(2019, 3, 14, 13, 2, 31, 251601), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听童话故事,经典童话吧。', 'cost_time_ms': 250.894026}, {'datetime': datetime.datetime(2019, 3, 14, 13, 2, 43, 399959), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听童话故事,童话故事卷吧。', 'cost_time_ms': 252.379803}, {'datetime': datetime.datetime(2019, 3, 14, 13, 2, 55, 858709), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听童话故事,格林童话(2014)吧。', 'cost_time_ms': 243.309739}) +2019-03-14 13:03:02,134 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:03:02,144 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,145 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:02,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,145 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,146 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,148 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,148 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:02,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,149 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:03:02,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,158 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,158 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,159 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,160 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,164 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:03:02,164 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:03:02,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:02,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:02,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,173 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:02,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,173 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:02,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:02,176 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:03:02,176 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:03:03,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:03,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:03,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,196 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:03,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,197 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:03,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:03,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:03,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:03,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:03,200 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:03:03,200 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:03:04,245 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:04,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:04,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,247 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:04,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,248 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:04,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,251 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:03:04,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,253 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:03:04,254 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:03:04,254 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:03:04,255 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:03:04,269 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,270 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,271 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,274 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:03:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:04,276 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:03:04,278 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:03:04,278 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:03:04,278 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:03:05,075 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:03:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:03:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,077 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:03:05,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,077 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:03:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:05,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:03:05,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:03:05,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,081 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:03:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:03:05,083 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:03:05,083 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:03:05,084 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:03:05,084 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:04:02,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,254 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,255 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,256 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,258 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:04:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,262 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:04:02,264 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:04:02,265 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 3, 8, 609903), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '快给我讲个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听童话故事,经典童话吧。', 'cost_time_ms': 241.47848}, {'datetime': datetime.datetime(2019, 3, 14, 13, 3, 21, 481353), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一个童话故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的童话故事,童话故事卷吧。', 'cost_time_ms': 220.692265}, {'datetime': datetime.datetime(2019, 3, 14, 13, 3, 33, 867552), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本丑小鸭,我讲给你听吧。', 'cost_time_ms': 223.084352}, {'datetime': datetime.datetime(2019, 3, 14, 13, 3, 46, 783312), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '准备好了?那就支起耳朵认真听丑小鸭吧。', 'cost_time_ms': 236.111842}, {'datetime': datetime.datetime(2019, 3, 14, 13, 3, 58, 579830), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我准备好零食,一起来听儿童故事,爱探险的朵拉吧。', 'cost_time_ms': 253.400432}) +2019-03-14 13:04:02,265 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:04:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,278 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,279 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,282 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:04:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,293 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,294 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,297 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:04:02,297 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:04:02,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,306 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,307 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:02,310 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:04:02,310 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:04:03,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:03,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:03,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,324 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:03,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:03,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:03,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:03,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:03,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:03,328 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:04:03,328 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:04:04,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:04,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,382 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,383 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,386 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:04:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,388 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:04:04,389 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:04:04,389 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:04:04,390 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:04:04,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,405 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:04,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,405 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:04,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,408 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:04:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:04,411 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:04:04,412 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:04:04,412 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:04:04,412 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:04:05,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:04:05,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:04:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,209 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:04:05,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,210 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:04:05,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:05,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:04:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:04:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,213 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:04:05,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:04:05,215 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:04:05,216 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:04:05,216 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:04:05,216 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:05:02,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,400 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,401 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,405 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:05:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,407 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:05:02,409 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:05:02,410 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 4, 14, 31570), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '丑小鸭的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当陪你一起听丑小鸭吧。', 'cost_time_ms': 220.973175}, {'datetime': datetime.datetime(2019, 3, 14, 13, 4, 27, 161801), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听卖火柴的小女孩', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当陪你一起听卖火柴的小女孩吧。', 'cost_time_ms': 281.769355}, {'datetime': datetime.datetime(2019, 3, 14, 13, 4, 39, 296294), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听天鹅的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当陪你一起听天鹅吧。', 'cost_time_ms': 224.854853}, {'datetime': datetime.datetime(2019, 3, 14, 13, 4, 52, 271167), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '播放白雪公主的故事吧', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '魔镜魔镜告诉我,是谁要听故事呀。', 'cost_time_ms': 240.186174}) +2019-03-14 13:05:02,411 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:05:02,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,424 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,425 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,425 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,428 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,428 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:05:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,438 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,439 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,440 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,443 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:05:02,443 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:05:02,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,450 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,451 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,452 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:02,455 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:05:02,455 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:05:03,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:03,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:03,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:03,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:03,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:03,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:03,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:03,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:03,517 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:05:03,517 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:05:04,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,529 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,530 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:04,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,530 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:04,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:05:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:05:04,537 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:05:04,537 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:05:04,537 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:05:04,549 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:04,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:04,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,551 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:04,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,551 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:04,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,552 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:04,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,553 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:04,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:04,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,554 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:05:04,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:04,556 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:05:04,557 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:05:04,557 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:05:04,558 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:05:05,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:05:05,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,342 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:05:05,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,343 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:05:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,343 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:05:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:05:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:05:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,346 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:05:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:05:05,348 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:05:05,349 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:05:05,349 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:05:05,349 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:06:02,475 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,476 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,477 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,478 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,482 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:06:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,484 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:06:02,487 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:06:02,487 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 5, 5, 546893), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '白雪公主的故事吧', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这本书叮当没找到,要不换本书吧。', 'cost_time_ms': 240.82435}, {'datetime': datetime.datetime(2019, 3, 14, 13, 5, 17, 407465), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲故事给我听', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从可爱蓝精灵的故事-麦甜开始吧。', 'cost_time_ms': 229.371517}, {'datetime': datetime.datetime(2019, 3, 14, 13, 5, 29, 339760), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '原来你也喜欢林如啊,我们先听安徒生童话-林如奶奶吧。', 'cost_time_ms': 255.933712}, {'datetime': datetime.datetime(2019, 3, 14, 13, 5, 41, 654854), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听格林童话', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '童话精品,尽在格林童话。', 'cost_time_ms': 249.898529}, {'datetime': datetime.datetime(2019, 3, 14, 13, 5, 55, 535467), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便播个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我们一起听林如的安徒生童话-林如奶奶吧。', 'cost_time_ms': 265.69689}) +2019-03-14 13:06:02,488 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:06:02,498 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,499 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,500 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,503 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:06:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:06:02,517 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:06:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:02,528 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:06:02,528 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:06:03,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,595 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,596 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:03,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:03,599 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:06:03,599 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:06:04,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,630 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,631 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,634 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:06:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,636 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:06:04,637 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:06:04,638 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:06:04,638 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:06:04,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:04,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:04,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,654 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:04,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,655 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,656 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,658 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:06:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:04,660 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:06:04,661 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:06:04,661 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:06:04,662 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:06:05,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:06:05,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,460 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:06:05,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,461 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:06:05,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,462 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:06:05,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:05,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:06:05,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:06:05,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,465 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:06:05,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:06:05,467 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:06:05,467 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:06:05,467 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 5), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:06:05,468 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:07:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,618 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,618 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,622 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:07:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,624 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:07:02,627 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:07:02,627 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 6, 7, 147412), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '快给我讲个安徒生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当找到了林如讲的安徒生童话-林如奶奶,边吃零食边听吧。', 'cost_time_ms': 279.878327}, {'datetime': datetime.datetime(2019, 3, 14, 13, 6, 20, 139713), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我讲个女生的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '最近可爱的公主们都喜欢这些故事哦。', 'cost_time_ms': 276.126275}, {'datetime': datetime.datetime(2019, 3, 14, 13, 6, 32, 961822), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来个阿梓唱的故事', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听阿梓的歌。', 'cost_time_ms': 351.682341}, {'datetime': datetime.datetime(2019, 3, 14, 13, 6, 45, 46132), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听格林童话', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '世界经典童话,叮当和你一起听。', 'cost_time_ms': 239.88745}, {'datetime': datetime.datetime(2019, 3, 14, 13, 6, 56, 945412), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲故事给我听', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从植物大战僵尸开始吧。', 'cost_time_ms': 229.623953}) +2019-03-14 13:07:02,627 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:07:02,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,640 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,641 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,641 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,644 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:07:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,654 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,655 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,655 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,656 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,658 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:07:02,658 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:07:02,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,666 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,667 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,669 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:02,670 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:07:02,670 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:07:03,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:03,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:03,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,734 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:03,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:03,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:03,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:03,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:03,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:03,738 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:07:03,738 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:07:04,748 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:04,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,749 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:04,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,750 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:04,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,750 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:04,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:04,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:04,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:04,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,753 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:07:04,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,756 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:07:04,757 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:07:04,757 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:07:04,757 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:07:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,773 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,773 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:04,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,776 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:07:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:04,779 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:07:04,780 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:07:04,780 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:07:04,781 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:07:05,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:07:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:07:05,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,582 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:07:05,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,583 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:07:05,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:05,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:07:05,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:07:05,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,586 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:07:05,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:07:05,588 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:07:05,589 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:07:05,589 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 4), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:07:05,589 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:08:02,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,735 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,739 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:08:02,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,741 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:08:02,744 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:08:02,744 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 7, 8, 443037), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '十三度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 162.85072}, {'datetime': datetime.datetime(2019, 3, 14, 13, 7, 9, 548488), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '有趣的儿童故事,和叮当一起听小鹿妈妈讲公主故事吧。', 'cost_time_ms': 249.867788}, {'datetime': datetime.datetime(2019, 3, 14, 13, 7, 17, 38631), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播报娱乐新闻', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 232.465129}, {'datetime': datetime.datetime(2019, 3, 14, 13, 7, 29, 592724), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '有趣的儿童故事,和叮当一起听灰姑娘吧。', 'cost_time_ms': 244.854352}, {'datetime': datetime.datetime(2019, 3, 14, 13, 7, 41, 642084), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '讲个好听的故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听海底小纵队第一季吧。', 'cost_time_ms': 240.865358}, {'datetime': datetime.datetime(2019, 3, 14, 13, 7, 53, 818804), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听杜牧的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代杜牧的作品,《山行》:', 'cost_time_ms': 218.257643}) +2019-03-14 13:08:02,745 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:08:02,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,756 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,757 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,760 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:08:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:02,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,770 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,770 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,773 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:08:02,773 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:08:02,780 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,782 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,782 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,783 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:02,785 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:08:02,785 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:08:03,842 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:03,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,843 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:03,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,844 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:03,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,844 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:03,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:03,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:03,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:03,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:03,847 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:08:03,847 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:08:04,875 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,878 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,878 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,880 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:04,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,880 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:04,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,881 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:08:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,884 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:08:04,885 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:08:04,885 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:08:04,885 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:08:04,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:04,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:04,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,902 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:04,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:04,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,905 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:08:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:04,908 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:08:04,909 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:08:04,909 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:08:04,910 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:08:05,725 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:08:05,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,726 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:08:05,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,727 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:08:05,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,728 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:08:05,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,729 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:05,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,730 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:08:05,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,730 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:08:05,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,731 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:08:05,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:08:05,733 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:08:05,734 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:08:05,734 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('fm', 3), ('ancient_poem', 1), ('weather', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:08:05,734 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:09:02,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,864 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:02,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,865 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:02,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,866 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:02,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,870 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:09:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,872 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:09:02,874 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:09:02,875 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 8, 5, 816031), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '背诵一遍这首诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏先秦无名氏的作品,《关雎》:', 'cost_time_ms': 237.008487}, {'datetime': datetime.datetime(2019, 3, 14, 13, 8, 17, 723953), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一首杜甫的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代杜甫的作品,《登高》:', 'cost_time_ms': 228.123394}, {'datetime': datetime.datetime(2019, 3, 14, 13, 8, 29, 396385), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '王维的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代王维的作品,《相思》:', 'cost_time_ms': 223.792097}, {'datetime': datetime.datetime(2019, 3, 14, 13, 8, 41, 995534), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我背白居易的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代白居易的作品,《问刘十九》:', 'cost_time_ms': 226.933759}, {'datetime': datetime.datetime(2019, 3, 14, 13, 8, 53, 645208), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听唐诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《黄鹤楼送孟浩然之广陵》:', 'cost_time_ms': 243.445143}) +2019-03-14 13:09:02,875 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:09:02,885 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,887 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,887 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,890 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:09:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,899 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,901 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,905 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:09:02,905 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:09:02,911 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,913 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,913 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:02,916 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:09:02,916 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:09:03,938 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:03,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,939 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:03,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,940 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:03,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,940 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:03,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:03,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:03,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,943 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:03,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:03,944 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:09:03,944 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:09:04,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,979 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,979 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,980 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,982 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,983 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:09:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:04,986 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:09:04,987 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:09:04,987 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:09:04,987 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:09:05,000 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:05,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,001 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:05,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,002 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,002 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,004 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:05,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,004 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:05,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,005 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:05,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,005 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:09:05,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,008 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:09:05,009 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:09:05,009 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:09:05,009 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:09:05,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:09:05,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,806 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:09:05,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,807 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:09:05,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,808 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:09:05,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:09:05,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:09:05,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,811 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:09:05,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:09:05,813 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:09:05,814 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:09:05,814 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 5), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:09:05,814 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:10:02,954 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,956 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,957 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,960 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,961 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:10:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,963 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:10:02,965 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:10:02,966 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 9, 6, 784918), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '有没有古诗读一首听听', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代白居易的作品,《钱塘湖春行》:', 'cost_time_ms': 222.88874}, {'datetime': datetime.datetime(2019, 3, 14, 13, 9, 18, 752605), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '背个白居易的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代白居易的作品,《观刈麦》:', 'cost_time_ms': 230.243006}, {'datetime': datetime.datetime(2019, 3, 14, 13, 9, 30, 948134), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '李白的赠汪伦', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《赠汪伦》,来自唐代李白,全文如下:', 'cost_time_ms': 220.30965}, {'datetime': datetime.datetime(2019, 3, 14, 13, 9, 42, 603383), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '换豆腐的事儿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 210.957797}, {'datetime': datetime.datetime(2019, 3, 14, 13, 10, 0, 641840), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '朗诵登高', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '有多位作者写过以《登高》为题的作品,推荐你欣赏唐代杜甫的《登高》:', 'cost_time_ms': 217.573781}) +2019-03-14 13:10:02,966 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:10:02,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:02,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:02,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,978 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:02,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,979 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,982 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:10:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,990 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:02,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,992 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,992 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:02,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,995 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:10:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:02,998 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:10:02,998 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:10:02,998 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 9, 42, 603383), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '换豆腐的事儿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 210.957797} +2019-03-14 13:10:02,999 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:10:03,006 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,007 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,008 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,008 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:03,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:03,011 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:10:03,011 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:10:04,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:04,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:04,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:04,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,087 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:04,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:04,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:04,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:04,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:04,090 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:10:04,090 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:10:05,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:05,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,128 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:05,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,129 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,132 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:10:05,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,134 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:10:05,135 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:10:05,135 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:10:05,136 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:10:05,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:05,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,149 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:05,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,150 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:05,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,151 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:05,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:05,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,154 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:10:05,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,156 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:10:05,157 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:10:05,157 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:10:05,158 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:10:05,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:10:05,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,956 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:10:05,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,957 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:10:05,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,957 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:10:05,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:10:05,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,960 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:10:05,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,961 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:10:05,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:10:05,963 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:10:05,964 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:10:05,964 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 4), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:10:05,964 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:11:02,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,159 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,160 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,160 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,164 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:11:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,167 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:11:02,169 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:11:02,169 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 10, 12, 750397), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '朗诵一首白居易的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代白居易的作品,《卖炭翁》:', 'cost_time_ms': 223.806706}, {'datetime': datetime.datetime(2019, 3, 14, 13, 10, 24, 10642), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '陌上桑', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '有多位作者写过以《陌上桑》为题的作品,推荐你欣赏清代常建的《陌上桑》:', 'cost_time_ms': 334.080762}, {'datetime': datetime.datetime(2019, 3, 14, 13, 10, 37, 120840), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '静夜思是哪个朝代的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_ancientpoem_dynasty', 'response_data': '', 'cost_time_ms': 216.859551}, {'datetime': datetime.datetime(2019, 3, 14, 13, 10, 48, 466739), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来首宋词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏宋代苏轼的作品,《江城子·乙卯正月二十日夜记梦》:', 'cost_time_ms': 235.937559}, {'datetime': datetime.datetime(2019, 3, 14, 13, 11, 0, 152702), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来首唐诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代柳宗元的作品,《江雪》:', 'cost_time_ms': 292.041983}) +2019-03-14 13:11:02,170 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:11:02,178 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,180 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,181 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,184 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:11:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,192 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,194 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,194 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,197 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:11:02,198 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:11:02,204 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,206 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,206 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,207 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:02,209 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:11:02,209 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:11:03,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,245 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:03,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,245 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,246 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:03,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:03,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:03,249 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:11:03,249 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:11:04,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:04,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:04,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,301 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:04,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:04,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,304 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:11:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,307 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:11:04,308 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:11:04,308 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:11:04,308 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:11:04,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,331 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:11:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:04,334 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:11:04,335 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:11:04,335 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:11:04,335 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:11:05,160 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:11:05,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:11:05,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,162 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:11:05,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,163 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:11:05,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:11:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:11:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,166 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:11:05,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:11:05,168 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:11:05,169 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:11:05,169 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 5), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:11:05,169 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:12:02,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,336 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:12:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,338 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:12:02,341 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:12:02,341 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 11, 12, 416322), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '短歌行哪个朝代的', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_ancientpoem_dynasty', 'response_data': '', 'cost_time_ms': 223.596918}, {'datetime': datetime.datetime(2019, 3, 14, 13, 11, 25, 272108), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '千树万树梨花开的下一句', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_ancientpoem_chains', 'response_data': '', 'cost_time_ms': 214.881135}, {'datetime': datetime.datetime(2019, 3, 14, 13, 11, 37, 587628), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '安得广厦千万间', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '"安得广厦千万间"出自唐代杜甫的《茅屋为秋风所破歌》,全文如下:', 'cost_time_ms': 185.839636}, {'datetime': datetime.datetime(2019, 3, 14, 13, 11, 48, 627131), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '背古诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏两汉曹操的作品,《观沧海》:', 'cost_time_ms': 186.820529}, {'datetime': datetime.datetime(2019, 3, 14, 13, 12, 0, 424606), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '随便换个其他的', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代李白的作品,《将进酒》:', 'cost_time_ms': 219.263161}) +2019-03-14 13:12:02,342 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:12:02,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,354 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,354 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,357 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:12:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,367 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,368 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,371 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:12:02,371 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:12:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,378 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,379 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,380 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:02,382 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:12:02,382 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:12:03,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:03,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:03,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,406 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:03,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,406 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:03,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:03,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:03,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:03,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:03,409 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:12:03,410 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:12:04,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,457 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:12:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,463 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:12:04,464 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:12:04,464 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:12:04,464 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:12:04,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,478 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,479 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:04,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,482 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:12:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:04,484 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:12:04,485 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:12:04,485 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:12:04,486 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:12:05,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:12:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:12:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,278 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:12:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,278 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:12:05,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:05,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:12:05,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:12:05,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,281 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:12:05,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:12:05,283 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:12:05,284 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:12:05,284 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 5), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:12:05,284 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:13:02,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,456 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,461 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:13:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,463 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:13:02,466 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:13:02,466 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 12, 12, 381684), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '田园诗来一首', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_ancientpoem_by_tag', 'response_data': '《过故人庄》是关于田园的作品,来自唐代孟浩然,全文如下:', 'cost_time_ms': 241.642086}, {'datetime': datetime.datetime(2019, 3, 14, 13, 12, 24, 377092), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '据背诵如梦令', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《如梦令》是词牌名,宋代李清照的《如梦令·昨夜雨疏风骤》是其中的名篇:', 'cost_time_ms': 272.699905}, {'datetime': datetime.datetime(2019, 3, 14, 13, 12, 36, 232154), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '王之涣的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代王之涣的作品,《登鹳雀楼》:', 'cost_time_ms': 224.316487}, {'datetime': datetime.datetime(2019, 3, 14, 13, 12, 37, 11184), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮我放一下', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 216.304365}, {'datetime': datetime.datetime(2019, 3, 14, 13, 12, 48, 535436), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我想听杜牧的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代杜牧的作品,《江南春》:', 'cost_time_ms': 224.11522}, {'datetime': datetime.datetime(2019, 3, 14, 13, 13, 0, 422680), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '背诵一遍这首诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏宋代文天祥的作品,《过零丁洋》:', 'cost_time_ms': 207.841091}) +2019-03-14 13:13:02,467 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:13:02,476 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,478 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,478 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,479 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,481 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:13:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,491 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,492 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,494 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,495 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:13:02,495 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:13:02,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,503 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,504 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:02,507 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:13:02,507 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:13:03,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:03,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:03,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,552 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:03,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:03,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:03,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:03,557 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:13:03,557 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:13:04,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,567 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,570 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:13:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,572 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:13:04,573 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:13:04,573 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:13:04,574 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:13:04,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,589 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,590 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,593 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:13:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:04,595 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:13:04,596 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:13:04,596 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:13:04,597 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:13:05,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:13:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:13:05,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,407 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:13:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,407 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:13:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:13:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:13:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,410 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:13:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:13:05,412 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:13:05,413 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:13:05,413 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 5), ('weather', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:13:05,413 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:14:02,555 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,557 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,558 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,561 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:14:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,564 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:14:02,566 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:14:02,566 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 13, 12, 757831), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '来一首杜甫的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代杜甫的作品,《绝句》:', 'cost_time_ms': 228.979227}, {'datetime': datetime.datetime(2019, 3, 14, 13, 13, 18, 427958), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播报娱乐新闻', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 217.222789}, {'datetime': datetime.datetime(2019, 3, 14, 13, 13, 24, 408675), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '王维的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代王维的作品,《山中》:', 'cost_time_ms': 226.647552}, {'datetime': datetime.datetime(2019, 3, 14, 13, 13, 36, 804291), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '给我背白居易的诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏唐代白居易的作品,《大林寺桃花》:', 'cost_time_ms': 198.039807}, {'datetime': datetime.datetime(2019, 3, 14, 13, 13, 48, 444805), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '我要听唐诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《黄鹤楼送孟浩然之广陵》:', 'cost_time_ms': 241.925088}, {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 1, 681861), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '有没有古诗读一首听听', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏宋代范仲淹的作品,《渔家傲·秋思》:', 'cost_time_ms': 190.189153}) +2019-03-14 13:14:02,567 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:14:02,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,578 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,579 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,579 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,582 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,582 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:14:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,591 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,593 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,596 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:14:02,596 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:14:02,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:02,608 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:14:02,608 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:14:03,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:03,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:03,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,638 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:03,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:03,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:03,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:03,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:03,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:03,642 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:14:03,642 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:14:04,667 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:04,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,669 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,670 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,671 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,673 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:14:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,676 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:14:04,677 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:14:04,677 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:14:04,677 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:14:04,691 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,691 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,692 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,693 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,694 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,696 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:14:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:04,698 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:14:04,699 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:14:04,700 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:14:04,700 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:14:05,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:14:05,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:14:05,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,503 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:14:05,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:14:05,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:05,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:14:05,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:14:05,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,506 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:14:05,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:14:05,508 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:14:05,508 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:14:05,509 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 5), ('weather', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:14:05,509 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:15:02,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,660 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:02,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,661 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,661 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,665 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:15:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,668 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:15:02,670 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:15:02,670 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:15:02,671 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:15:02,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,682 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,683 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,685 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:15:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,694 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:02,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:02,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,696 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,696 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,699 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:15:02,699 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:15:02,706 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,706 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,707 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,708 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,709 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,710 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,710 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:02,711 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:15:02,711 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:15:03,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:03,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:03,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,734 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:03,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,734 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:03,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:03,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:03,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:03,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:03,737 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:15:03,738 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:15:04,763 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,764 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,765 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,766 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,767 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,769 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:15:04,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,771 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:15:04,772 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:15:04,772 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:15:04,773 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:15:04,786 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:04,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,786 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:04,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,787 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:04,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,788 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:04,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:04,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,791 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:15:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:04,793 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:15:04,794 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:15:04,795 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:15:04,795 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:15:05,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:15:05,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,598 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:15:05,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:15:05,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,599 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:15:05,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:15:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,602 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:15:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,602 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:15:05,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:15:05,604 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:15:05,605 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:15:05,605 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:15:05,606 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:16:02,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,633 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,634 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,635 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,639 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:16:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,641 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:16:02,643 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:16:02,644 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:16:02,644 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:16:02,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,654 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,655 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,656 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:02,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,658 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:16:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,667 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:02,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,668 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,669 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,670 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,671 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:02,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,672 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:16:02,672 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:16:02,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,680 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,681 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:02,684 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:16:02,684 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:16:03,741 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:03,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:03,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,743 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:03,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,743 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:03,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:03,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:03,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:03,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:03,746 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:16:03,746 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:16:04,766 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,769 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:04,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,769 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:04,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,771 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,771 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,773 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:16:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,775 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:16:04,776 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:16:04,776 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:16:04,777 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:16:04,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,791 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,792 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:04,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:04,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:04,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,795 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:16:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:04,797 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:16:04,798 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:16:04,799 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:16:04,799 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:16:05,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:16:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:16:05,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:16:05,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,604 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:16:05,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:05,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:16:05,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:16:05,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,608 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:16:05,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:16:05,610 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:16:05,610 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:16:05,610 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:16:05,611 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:17:02,599 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,601 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,602 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,602 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,606 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:17:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,609 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:17:02,611 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:17:02,611 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:17:02,611 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:17:02,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,622 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,623 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,626 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:17:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,636 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,636 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,639 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:17:02,640 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:17:02,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:02,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:02,651 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:17:02,651 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:17:03,693 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:03,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,694 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:03,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,695 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:03,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,696 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:03,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,697 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:03,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:03,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:03,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:03,699 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:17:03,699 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:17:04,721 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:04,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,722 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:04,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,723 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,724 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:04,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:04,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,727 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:17:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,730 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:17:04,731 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:17:04,731 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:17:04,731 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:17:04,748 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:04,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,749 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:04,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,750 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:04,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,750 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:04,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:04,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:04,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:04,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,753 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:17:04,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:04,756 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:17:04,757 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:17:04,757 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:17:04,757 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:17:05,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:17:05,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:17:05,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:17:05,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:17:05,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:05,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:17:05,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:17:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,580 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:17:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:17:05,582 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:17:05,583 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:17:05,583 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:17:05,583 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:18:02,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,588 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,592 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:18:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,594 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:18:02,596 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:18:02,596 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:18:02,597 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:18:02,611 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,612 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,612 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,613 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,615 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,615 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,616 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:18:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,626 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,627 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,630 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:18:02,630 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:18:02,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,638 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:02,641 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:18:02,641 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:18:03,676 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:03,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:03,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,677 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:03,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,678 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:03,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:03,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:03,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:03,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:03,681 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:18:03,681 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:18:04,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,704 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,707 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:18:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,709 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:18:04,710 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:18:04,710 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:18:04,710 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:18:04,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:04,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,724 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,725 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:04,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:04,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,728 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:18:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:04,730 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:18:04,731 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:18:04,731 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:18:04,731 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:18:05,516 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:18:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,517 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:18:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,518 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:18:05,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,518 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:18:05,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:05,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:18:05,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:18:05,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,521 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:18:05,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:18:05,523 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:18:05,524 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:18:05,524 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:18:05,524 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:19:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:19:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,536 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:19:02,538 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:19:02,538 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:19:02,538 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:19:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,552 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,552 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,555 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:19:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,566 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,569 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:19:02,570 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:19:02,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,578 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,578 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:02,581 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:19:02,581 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:19:03,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,625 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:03,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:03,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:03,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:03,628 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:19:03,628 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:19:04,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:04,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,654 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,655 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,656 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,658 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,659 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:19:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,662 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:19:04,663 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:19:04,663 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:19:04,663 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:19:04,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,680 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:04,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,680 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,684 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:19:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:04,687 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:19:04,688 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:19:04,689 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:19:04,690 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:19:05,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:19:05,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:19:05,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:19:05,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:19:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:19:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:19:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:19:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:19:05,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:19:05,520 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:19:05,520 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:19:05,521 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:20:02,516 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,517 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,518 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,519 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,523 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:20:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,525 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:20:02,528 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:20:02,528 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:20:02,528 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:20:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,539 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,543 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:20:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,553 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,556 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:20:02,556 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:20:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:02,568 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:20:02,568 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:20:03,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:03,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:03,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,611 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:03,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,612 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:03,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:03,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:03,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:03,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:03,615 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:20:03,615 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:20:04,644 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,647 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,647 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,650 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:20:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,653 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:20:04,654 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:20:04,654 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:20:04,654 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:20:04,670 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,671 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,671 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,672 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,675 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:20:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:04,677 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:20:04,678 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:20:04,679 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:20:04,679 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:20:05,483 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:20:05,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:20:05,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,485 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:20:05,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,485 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:20:05,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:05,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:20:05,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:20:05,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,488 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:20:05,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:20:05,490 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:20:05,491 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:20:05,491 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:20:05,491 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:21:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,482 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,482 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,486 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:21:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,489 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:21:02,491 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:21:02,491 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:21:02,492 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:21:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,503 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,506 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:21:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,515 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,516 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,517 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,517 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,519 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,519 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,520 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:21:02,520 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:21:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:02,532 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:21:02,532 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:21:03,555 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,557 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:03,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,558 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:03,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:03,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:03,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:03,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:03,561 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:21:03,561 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:21:04,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:04,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:04,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,578 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:04,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,579 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:04,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:04,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:04,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:04,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,582 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:21:04,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,584 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:21:04,585 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:21:04,585 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:21:04,586 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:21:04,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,601 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:04,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,602 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:04,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:04,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,605 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:21:04,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:04,607 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:21:04,608 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:21:04,608 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:21:04,609 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:21:05,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:21:05,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:21:05,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,436 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:21:05,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,436 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:21:05,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:05,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:21:05,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:21:05,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,440 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:21:05,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:21:05,442 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:21:05,442 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:21:05,442 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:21:05,443 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:22:02,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,441 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,442 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,447 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:22:02,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,449 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:22:02,452 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:22:02,452 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:22:02,452 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:22:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,467 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,468 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,470 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:22:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,483 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:22:02,484 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:22:02,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,491 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,492 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,494 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:02,494 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:22:02,494 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:22:03,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:03,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:03,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:03,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:03,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:03,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:03,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:03,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:03,506 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:22:03,506 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:22:04,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:04,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,526 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:04,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,527 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,530 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:22:04,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,532 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:22:04,533 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:22:04,533 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:22:04,534 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:22:04,546 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,547 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,548 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:04,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:04,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:04,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:04,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,551 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:22:04,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:04,553 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:22:04,554 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:22:04,554 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:22:04,555 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:22:05,342 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:22:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,343 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:22:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,344 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:22:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,345 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:22:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:22:05,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:22:05,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,348 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:22:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:22:05,349 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:22:05,350 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:22:05,350 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:22:05,351 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:23:02,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,353 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:23:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,355 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:23:02,357 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:23:02,357 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:23:02,358 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:23:02,367 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,369 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,369 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,372 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:23:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,382 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,383 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,386 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:23:02,386 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:23:02,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,394 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,395 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:02,397 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:23:02,398 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:23:03,412 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:03,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,413 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:03,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,414 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:03,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,415 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:03,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,416 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:03,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,417 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:03,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:03,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:03,418 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:23:03,418 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:23:04,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:04,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:04,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,470 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:04,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,471 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:04,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:04,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:04,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,474 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:23:04,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,476 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:23:04,477 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:23:04,478 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:23:04,478 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:23:04,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:04,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,492 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,493 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,494 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,496 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:23:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:04,498 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:23:04,499 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:23:04,500 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:23:04,500 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:23:05,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:23:05,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:23:05,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,319 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:23:05,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,320 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:23:05,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:05,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:23:05,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:23:05,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,323 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:23:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:23:05,325 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:23:05,326 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:23:05,326 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:23:05,326 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:24:02,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,324 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,329 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:24:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,331 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:24:02,334 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:24:02,334 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:24:02,334 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:24:02,343 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,345 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,345 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,348 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:24:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,359 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,359 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,362 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:24:02,362 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:24:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,371 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:02,374 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:24:02,374 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:24:03,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:03,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:03,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,394 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:03,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,394 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:03,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:03,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:03,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:03,397 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:24:03,397 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:24:04,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,437 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,438 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:04,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:04,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,441 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:24:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,443 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:24:04,444 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:24:04,444 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:24:04,444 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:24:04,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,458 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,458 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,461 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:24:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:04,463 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:24:04,464 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:24:04,465 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:24:04,465 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:24:05,256 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:24:05,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:24:05,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,258 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:24:05,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,258 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:24:05,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:05,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:24:05,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:24:05,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,261 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:24:05,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:24:05,263 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:24:05,263 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:24:05,264 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:24:05,264 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:25:02,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,326 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,326 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,330 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:25:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,333 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:25:02,335 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:25:02,335 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:25:02,336 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:25:02,345 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,347 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,347 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,350 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:25:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,361 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,364 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:25:02,364 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:25:02,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,372 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,373 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:02,375 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:25:02,375 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:25:03,383 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,386 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:03,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:03,389 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:25:03,389 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:25:04,442 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:04,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,443 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:04,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,444 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:04,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,445 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:04,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,446 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:04,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,447 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:04,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,447 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:04,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,448 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:25:04,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,450 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:25:04,451 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:25:04,452 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:25:04,452 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:25:04,465 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,467 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:04,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,467 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:04,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:04,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:04,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,470 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:25:04,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:04,473 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:25:04,474 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:25:04,474 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:25:04,474 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:25:05,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:25:05,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:25:05,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,289 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:25:05,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,289 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:25:05,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:25:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:25:05,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,292 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:25:05,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:25:05,294 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:25:05,295 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:25:05,295 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:25:05,296 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:26:02,295 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,297 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,298 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,299 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,302 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:26:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,305 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:26:02,307 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:26:02,307 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:26:02,308 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:26:02,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,318 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,319 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,322 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:26:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,333 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,336 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:26:02,336 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:26:02,342 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,343 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,344 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,344 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:02,347 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:26:02,347 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:26:03,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,375 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,375 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:03,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:03,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:03,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:03,379 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:26:03,379 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:26:04,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:04,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,400 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,401 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,404 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:26:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,406 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:26:04,407 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:26:04,407 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:26:04,408 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:26:04,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,426 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:26:04,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:04,428 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:26:04,429 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:26:04,429 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:26:04,430 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:26:05,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:26:05,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,245 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:26:05,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,246 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:26:05,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,247 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:26:05,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:05,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:26:05,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:26:05,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,250 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:26:05,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:26:05,252 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:26:05,252 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:26:05,252 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:26:05,253 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:27:02,296 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,297 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,298 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,299 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,303 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:27:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,305 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:27:02,308 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:27:02,308 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:27:02,308 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:27:02,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,319 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,320 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,323 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:27:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,333 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,334 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:27:02,337 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:27:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,345 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,346 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:02,349 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:27:02,349 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:27:03,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:03,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,362 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,363 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:03,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:03,366 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:27:03,366 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:27:04,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,424 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:04,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:04,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:04,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,428 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:27:04,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,430 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:27:04,431 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:27:04,431 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:27:04,432 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:27:04,445 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:04,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,446 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:04,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,447 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:04,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,448 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:04,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,449 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:04,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,449 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:04,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,450 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:04,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,451 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:27:04,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:04,453 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:27:04,454 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:27:04,454 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:27:04,455 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:27:05,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:27:05,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:27:05,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:27:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,274 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:27:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:27:05,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:27:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,277 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:27:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:27:05,279 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:27:05,280 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:27:05,280 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:27:05,281 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:28:02,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,305 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,310 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:28:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,312 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:28:02,314 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:28:02,315 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:28:02,315 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:28:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,326 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,329 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:28:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,343 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:28:02,343 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:28:02,349 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,350 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,351 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,351 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,353 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,353 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,354 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:02,354 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:28:02,354 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:28:03,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:03,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,383 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:03,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,384 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,385 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:03,388 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:28:03,388 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:28:04,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:04,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,407 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,408 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,411 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:28:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,413 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:28:04,414 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:28:04,414 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:28:04,415 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:28:04,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:04,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,428 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:04,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,428 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,432 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:28:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:04,434 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:28:04,435 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:28:04,436 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:28:04,436 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:28:05,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:28:05,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:28:05,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,255 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:28:05,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,256 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:28:05,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:05,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:28:05,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:28:05,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,259 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:28:05,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:28:05,261 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:28:05,262 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:28:05,262 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:28:05,262 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:29:02,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,294 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,295 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,296 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,299 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:29:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,302 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:29:02,304 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:29:02,304 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:29:02,305 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:29:02,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,316 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,319 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:29:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,329 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,330 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,333 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:29:02,333 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:29:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,342 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:02,344 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:29:02,345 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:29:03,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:03,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:03,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:03,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,361 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:03,364 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:29:03,364 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:29:04,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:04,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,418 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:04,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,419 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:04,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,419 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:04,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,422 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:29:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,425 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:29:04,426 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:29:04,426 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:29:04,426 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:29:04,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:04,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,441 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,442 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:04,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:04,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:04,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:04,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,445 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:29:04,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:04,447 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:29:04,448 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:29:04,448 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:29:04,449 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:29:05,262 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:29:05,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,263 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:29:05,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,264 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:29:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,264 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:29:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,266 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,266 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:29:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:29:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,268 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:29:05,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:29:05,270 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:29:05,270 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:29:05,270 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:29:05,271 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:30:02,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,290 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,291 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,292 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,296 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:30:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,298 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:30:02,301 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:30:02,301 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:30:02,301 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:30:02,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,316 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,319 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:30:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,330 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,330 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,333 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:30:02,333 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:30:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,342 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:02,345 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:30:02,345 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:30:03,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:03,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:03,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:03,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,370 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:03,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:03,373 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:30:03,373 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:30:04,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,438 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:04,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,439 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:04,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,440 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:04,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:04,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,443 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:30:04,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,445 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:30:04,446 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:30:04,447 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:30:04,447 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:30:04,460 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,461 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,462 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,462 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,465 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:30:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:04,468 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:30:04,469 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:30:04,469 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:30:04,469 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:30:05,280 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:30:05,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,281 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:30:05,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,282 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:30:05,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,282 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:30:05,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,284 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:05,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,284 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:30:05,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,285 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:30:05,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,285 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:30:05,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:30:05,287 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:30:05,288 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:30:05,288 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:30:05,289 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:31:02,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,308 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,309 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,310 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,312 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:31:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,315 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:31:02,317 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:31:02,317 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:31:02,318 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:31:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,329 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,332 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:31:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,342 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,343 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,343 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,346 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:31:02,346 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:31:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,354 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,355 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:02,358 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:31:02,358 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:31:03,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:03,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:03,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,383 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:03,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,384 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:03,387 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:31:03,387 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:31:04,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,411 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:04,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:31:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,417 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:31:04,418 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:31:04,418 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:31:04,419 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:31:04,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,433 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,433 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,437 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:31:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:04,439 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:31:04,440 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:31:04,440 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:31:04,441 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:31:05,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:31:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:31:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,237 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:31:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,239 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:31:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,240 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:05,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:31:05,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:31:05,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,242 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:31:05,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:31:05,246 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:31:05,246 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:31:05,246 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:31:05,247 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:32:02,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,288 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,289 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,293 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:32:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,295 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:32:02,298 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:32:02,298 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:32:02,298 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:32:02,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,309 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,309 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,310 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,312 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:32:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,321 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,322 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,323 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,326 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:32:02,326 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:32:02,333 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,333 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,334 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,335 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:02,338 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:32:02,338 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:32:03,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:03,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:03,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,371 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:03,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,371 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:03,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:03,374 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:32:03,374 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:32:04,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,401 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,402 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,402 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,405 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:04,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,406 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:32:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,408 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:32:04,409 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:32:04,409 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:32:04,410 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:32:04,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:04,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,424 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,425 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:04,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,429 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,430 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:32:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:04,432 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:32:04,434 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:32:04,434 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:32:04,434 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:32:05,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:32:05,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:32:05,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:32:05,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,251 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:32:05,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:05,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:32:05,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:32:05,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,255 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:32:05,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:32:05,257 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:32:05,257 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:32:05,257 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:32:05,258 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:33:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,279 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,280 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,284 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:33:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,286 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:33:02,289 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:33:02,289 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:33:02,289 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:33:02,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,299 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,300 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,303 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:33:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,313 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,314 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,317 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:33:02,317 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:33:02,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,326 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:02,328 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:33:02,328 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:33:03,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:03,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:03,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,353 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:03,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,353 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:03,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:03,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:03,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:03,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:03,357 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:33:03,357 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:33:04,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:04,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,371 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:04,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,372 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,375 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:33:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,377 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:33:04,378 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:33:04,378 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:33:04,379 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:33:04,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:04,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,394 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:04,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,394 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:04,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,397 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:33:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:04,400 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:33:04,401 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:33:04,401 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:33:04,401 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:33:05,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:33:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,226 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:33:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,227 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:33:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,228 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:33:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:33:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,230 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:33:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,231 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:33:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:33:05,233 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:33:05,233 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:33:05,233 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:33:05,234 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:34:02,263 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,265 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:02,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,266 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,266 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,270 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:34:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,273 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:34:02,275 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:34:02,275 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:34:02,276 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:34:02,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,288 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,288 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,291 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:34:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,301 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,302 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,305 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:34:02,305 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:34:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,313 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,314 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:02,317 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:34:02,317 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:34:03,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:03,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,342 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:03,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:03,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:03,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:03,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:03,345 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:34:03,345 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:34:04,388 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,389 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:04,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,390 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:04,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,390 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:04,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:04,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,392 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:04,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,393 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:34:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,395 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:34:04,396 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:34:04,396 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:34:04,397 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:34:04,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:34:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:04,417 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:34:04,418 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:34:04,418 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:34:04,419 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:34:05,210 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:34:05,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:34:05,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,212 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:34:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,212 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:34:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:05,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,214 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:34:05,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:34:05,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,215 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:34:05,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:34:05,217 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:34:05,218 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:34:05,218 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:34:05,218 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:35:02,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,278 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:35:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,281 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:35:02,283 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:35:02,283 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:35:02,284 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:35:02,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,294 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,295 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,295 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,298 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:35:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,309 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,309 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,312 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:35:02,313 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:35:02,319 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,320 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,321 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,321 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,323 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,323 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:02,324 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:35:02,324 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:35:03,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:03,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:03,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:03,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:03,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:03,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:03,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:03,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:03,335 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:35:03,335 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:35:04,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,375 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,376 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:04,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:04,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:04,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,379 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:35:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,382 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:35:04,383 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:35:04,383 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:35:04,383 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:35:04,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,398 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:04,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,402 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:35:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:04,404 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:35:04,405 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:35:04,405 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:35:04,406 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:35:05,227 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:35:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,228 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:35:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,229 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:35:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,230 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:35:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,231 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:35:05,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:35:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,233 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:35:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:35:05,235 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:35:05,236 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:35:05,236 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:35:05,236 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:36:02,280 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,281 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,282 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,283 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,285 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,285 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,287 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:36:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,289 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:36:02,292 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:36:02,292 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:36:02,292 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:36:02,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,306 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:36:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,316 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,317 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,320 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:36:02,320 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:36:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,329 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:02,332 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:36:02,332 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:36:03,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:03,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:03,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,361 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,362 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:03,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:03,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:03,365 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:36:03,365 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:36:04,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:04,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:04,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,418 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:04,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,418 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:04,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:04,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:04,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,422 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:36:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,424 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:36:04,425 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:36:04,425 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:36:04,426 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:36:04,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:04,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,440 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:04,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,441 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:04,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:04,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:04,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:04,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,444 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:36:04,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:04,446 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:36:04,447 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:36:04,448 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:36:04,448 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:36:05,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:36:05,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:36:05,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:36:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:36:05,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:36:05,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:36:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,278 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:36:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:36:05,280 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:36:05,281 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:36:05,281 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:36:05,282 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:37:02,333 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,334 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,335 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,336 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,340 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:37:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,342 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:37:02,344 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:37:02,344 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 14, 26, 163847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好久不见', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听陈奕迅的好久不见吧。', 'cost_time_ms': 219.110878} +2019-03-14 13:37:02,345 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:37:02,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,356 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,359 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:37:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,370 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,373 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:37:02,373 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:37:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,381 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:02,385 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:37:02,385 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:37:03,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:03,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:03,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:03,402 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:37:03,402 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:37:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,460 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,463 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:37:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,465 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:37:04,467 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:37:04,467 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:37:04,467 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:37:04,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,482 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,483 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,483 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,486 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:37:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:04,489 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:37:04,490 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:37:04,490 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:37:04,490 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:37:05,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:37:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:37:05,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,324 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:37:05,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:37:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:05,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:37:05,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:37:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,328 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:37:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:37:05,330 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:37:05,331 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:37:05,331 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:37:05,331 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:38:02,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,433 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,434 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,438 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:38:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,440 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:38:02,443 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:38:02,443 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 37, 38, 664750), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '模式制冷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '制冷的贵,不好卖。', 'cost_time_ms': 304.902177} +2019-03-14 13:38:02,443 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:38:02,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,456 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:38:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,471 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,475 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:38:02,475 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:38:02,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,482 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,483 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,484 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:02,486 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:38:02,487 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:38:03,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:03,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:03,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,507 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:03,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,507 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:03,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:03,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:03,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:03,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:03,511 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:38:03,511 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:38:04,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,538 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,541 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:38:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,543 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:38:04,544 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:38:04,544 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:38:04,545 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:38:04,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,558 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,559 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,559 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,562 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:38:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:04,564 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:38:04,565 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:38:04,566 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:38:04,566 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:38:05,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:38:05,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:38:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,352 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:38:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,353 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:38:05,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,354 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:05,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:38:05,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:38:05,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,356 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:38:05,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:38:05,358 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:38:05,358 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:38:05,358 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:38:05,359 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:39:02,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,467 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,468 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,473 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:39:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,476 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:39:02,479 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:39:02,479 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:39:02,479 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:39:02,489 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,490 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,491 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,491 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,494 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,494 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:39:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,507 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:39:02,507 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:39:02,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,515 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,516 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:02,518 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:39:02,518 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:39:03,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:03,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:03,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,568 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,568 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:03,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:03,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:03,571 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:39:03,571 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:39:04,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:04,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:04,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,586 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,586 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,589 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:39:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,591 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:39:04,592 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:39:04,592 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:39:04,593 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:39:04,607 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,609 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,609 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:04,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,612 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:39:04,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:04,615 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:39:04,616 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:39:04,616 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:39:04,616 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:39:05,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:39:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:39:05,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:39:05,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,413 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:39:05,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:05,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:39:05,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:39:05,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,416 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:39:05,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:39:05,418 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:39:05,418 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:39:05,418 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:39:05,419 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:40:02,464 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,467 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,468 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,471 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:40:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,474 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:40:02,476 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:40:02,476 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:40:02,477 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:40:02,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,488 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,492 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:40:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,506 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:40:02,506 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:40:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,514 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:02,517 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:40:02,517 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:40:03,572 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,573 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:03,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,574 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:03,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,574 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:03,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:03,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:03,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:03,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:03,578 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:40:03,578 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:40:04,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,607 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,608 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,608 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,611 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:40:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,614 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:40:04,615 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:40:04,615 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:40:04,615 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:40:04,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,631 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,631 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,634 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:40:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:04,637 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:40:04,638 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:40:04,638 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:40:04,638 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:40:05,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:40:05,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:40:05,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,455 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:40:05,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,456 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:40:05,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:05,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:40:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:40:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,459 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:40:05,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:40:05,461 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:40:05,462 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:40:05,462 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:40:05,462 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:41:02,475 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,476 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,477 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,478 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,479 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,482 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:41:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,484 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:41:02,486 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:41:02,486 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:41:02,487 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:41:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,497 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,498 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,498 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,501 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:41:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,512 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,512 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,515 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:41:02,515 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:41:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,523 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,525 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:02,527 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:41:02,527 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:41:03,546 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:03,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:03,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,547 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:03,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,548 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:03,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:03,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:03,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:03,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:03,551 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:41:03,551 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:41:04,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,567 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:41:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,570 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:41:04,571 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:41:04,571 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:41:04,571 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:41:04,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:04,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:04,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,585 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:04,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,586 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,588 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:41:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:04,590 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:41:04,591 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:41:04,592 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:41:04,592 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:41:05,390 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:41:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,391 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:41:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,392 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:41:05,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,392 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:41:05,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,394 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:05,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,394 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:41:05,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:41:05,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,395 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:41:05,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:41:05,397 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:41:05,398 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:41:05,398 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:41:05,399 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:42:02,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,397 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,398 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,399 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,401 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:42:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,404 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:42:02,406 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:42:02,406 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:42:02,407 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:42:02,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:02,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,417 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,418 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,419 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,422 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:42:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,438 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,438 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,441 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:42:02,441 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:42:02,448 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,450 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,451 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:02,454 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:42:02,454 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:42:03,472 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:03,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:03,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:03,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,474 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:03,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:03,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:03,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:03,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:03,477 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:42:03,477 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:42:04,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:04,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:04,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:42:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:42:04,520 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:42:04,520 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:42:04,520 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:42:04,533 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,534 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,535 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,538 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:42:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:04,540 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:42:04,541 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:42:04,541 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:42:04,542 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:42:05,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:42:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,345 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:42:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,346 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:42:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,346 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:42:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:42:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:42:05,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,349 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:42:05,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:42:05,351 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:42:05,352 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:42:05,352 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:42:05,352 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:43:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,358 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,359 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,360 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,363 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:43:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,365 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:43:02,367 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:43:02,368 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:43:02,368 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:43:02,378 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,378 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,379 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,380 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,383 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:43:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,393 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,394 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,397 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:43:02,397 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:43:02,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,405 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:02,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,406 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:02,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,406 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:02,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:02,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:02,409 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:43:02,409 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:43:03,414 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:03,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,415 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:03,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,416 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:03,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,416 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:03,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:03,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:03,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,419 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:03,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:03,419 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:43:03,419 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:43:04,460 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,461 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,462 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,463 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,466 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,466 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:43:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,469 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:43:04,470 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:43:04,470 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:43:04,470 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:43:04,485 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,486 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,486 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,487 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:04,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:04,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,490 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:43:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:04,492 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:43:04,494 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:43:04,494 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:43:04,494 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:43:05,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:43:05,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:43:05,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,309 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:43:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,310 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:43:05,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:43:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:43:05,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,313 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:43:05,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:43:05,315 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:43:05,316 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:43:05,316 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:43:05,316 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-14 13 +***** + +2019-03-14 13:44:02,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,329 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,330 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,334 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 13:44:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,336 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:44:02,338 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 13:44:02,338 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 38, 30, 492763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '唱一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 273.533278} +2019-03-14 13:44:02,339 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 13:44:02,348 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,349 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,350 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,350 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,353 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 13:44:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,364 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,367 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,367 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 13:44:02,367 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-14 12:00:00 +时间为:### 2019-03-14 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:44:02,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,375 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,376 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:02,378 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:44:02,378 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:44:03,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:03,404 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 12:00:00" and datetime< "2019-03-14 13:00:00" +2019-03-14 13:44:03,404 INFO sqlalchemy.engine.base.Engine {} +****282 +all****282 + +all****113 + +all****169 + +****113 + +****162 + +Start domain data classification: +2019-03-14 13:44:04,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,456 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 13:44:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,462 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:44:04,463 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 13:44:04,463 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'aircleaner': 0, 'airconditioner': 72, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 13:44:04,464 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 13:44:04,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:04,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,478 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:04,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,479 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:04,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,482 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 13:44:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:04,484 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:44:04,485 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 13:44:04,486 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 26, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 8, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 12, 'weather': 97} +2019-03-14 13:44:04,486 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 13:44:05,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 13:44:05,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 13:44:05,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,306 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 13:44:05,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 13:44:05,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:05,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 13:44:05,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 13:44:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,309 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 13:44:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 13:44:05,311 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 13:44:05,312 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 13:44:05,312 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 13:44:05,313 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 15 +***** + +2019-03-14 15:00:03,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,065 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,067 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,070 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 15:00:03,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,073 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 15:00:03,080 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 15:00:03,080 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 45, 6, 864368), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '那个软件', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不清楚你要的是哪款软件。', 'cost_time_ms': 321.615448}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 29, 306140), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天有小雨,气温19度到21度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 440.377095}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 29, 580255), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天有小雨,气温19度到21度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 308.691836}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 29, 912278), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '春节的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道春节的天气情况,但我可以帮你查询七天内的哦。格力空调祝您生活愉快。', 'cost_time_ms': 254.650257}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 30, 512883), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天有小雨,气温19度到21度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 315.832644}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 43, 792614), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '查一下', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你真是个爱学习的小朋友。', 'cost_time_ms': 187.090755}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 44, 197469), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 291.476088}, {'datetime': datetime.datetime(2019, 3, 14, 13, 45, 55, 521902), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天周几', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_week', 'response_data': '今天是星期四。', 'cost_time_ms': 183.889993} ... displaying 10 of 411 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 14, 59, 51, 747448), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 382.786973}, {'datetime': datetime.datetime(2019, 3, 14, 14, 59, 55, 949412), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 234.347522}) +2019-03-14 15:00:03,097 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 15:00:03,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:03,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,112 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:03,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,115 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 15:00:03,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:03,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:03,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,126 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:03,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,127 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:03,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:03,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,130 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 15:00:03,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,132 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 15:00:03,133 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 15:00:03,133 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 13, 46, 20, 201461), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你给我找', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 211.246075}, {'datetime': datetime.datetime(2019, 3, 14, 13, 53, 1, 183292), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '把温度调高几度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 2008.021962}, {'datetime': datetime.datetime(2019, 3, 14, 14, 0, 28, 228388), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '养活了全世界', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 359.693657}, {'datetime': datetime.datetime(2019, 3, 14, 14, 3, 23, 609384), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '关闭熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 236.279046}, {'datetime': datetime.datetime(2019, 3, 14, 14, 3, 46, 393692), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '关闭熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 605.875789}, {'datetime': datetime.datetime(2019, 3, 14, 14, 7, 25, 25790), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '关闭熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 246.801244}, {'datetime': datetime.datetime(2019, 3, 14, 14, 20, 18, 910499), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': '三把刀', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 161.910811}, {'datetime': datetime.datetime(2019, 3, 14, 14, 21, 23, 935879), 'mac_wifi': 'f4911e568519', 'mac_voice': 'c46e7b6f58ef', 'query': 'truecol一', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 212.874298} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 14, 49, 54, 77649), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '求到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 210.848021}, {'datetime': datetime.datetime(2019, 3, 14, 14, 58, 49, 701057), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥特斯是业内知名品牌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 234.715165}) +2019-03-14 15:00:03,134 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 14:00:00 +时间为:### 2019-03-14 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 14:00:00" and datetime< "2019-03-14 15:00:00" +2019-03-14 15:00:03,143 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:03,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,144 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,145 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:03,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,145 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:03,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:03,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,148 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:03,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:03,148 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 14:00:00" and datetime< "2019-03-14 15:00:00" +2019-03-14 15:00:03,148 INFO sqlalchemy.engine.base.Engine {} +****312 +all****312 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 14:00:00" and datetime< "2019-03-14 15:00:00" +2019-03-14 15:00:04,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:04,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:04,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,213 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:04,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,214 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:04,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:04,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:04,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:04,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:04,217 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 14:00:00" and datetime< "2019-03-14 15:00:00" +2019-03-14 15:00:04,217 INFO sqlalchemy.engine.base.Engine {} +****312 +all****312 + +all****212 + +all****100 + +****212 + +****87 + +Start domain data classification: +2019-03-14 15:00:05,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,235 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,239 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 15:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,241 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 15:00:05,242 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 15:00:05,242 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 15, 0), 'aircleaner': 0, 'airconditioner': 115, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 91, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 15:00:05,243 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 15:00:05,256 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:05,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:05,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,257 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:05,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,258 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:05,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:05,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:05,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:05,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,261 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 15:00:05,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:05,263 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 15:00:05,265 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 15:00:05,265 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 15, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 46, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 6, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 23, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 2, 'translate': 0, 'weather': 7} +2019-03-14 15:00:05,265 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 15:00:06,109 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 15:00:06,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 15:00:06,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,111 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 15:00:06,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,111 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 15:00:06,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:06,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 15:00:06,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 15:00:06,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,114 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 15:00:06,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 15:00:06,117 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 15:00:06,117 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 15:00:06,117 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 15, 0), '0~500ms': "[('airconditioner', 135), ('universalcontrol', 120), ('playcontrol', 15), ('chat', 59), ('music', 31), ('weather', 22)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 15:00:06,118 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 16 +***** + +2019-03-14 16:00:02,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,762 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,763 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,764 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,766 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,767 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:02,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,767 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 16:00:02,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,770 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 16:00:02,775 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 16:00:02,776 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 15, 0, 4, 102486), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '一加一等于几', 'classify': 'application', 'code': 0, 'domain': 'science', 'intent': 'calculator', 'response_data': '一加一等于2', 'cost_time_ms': 252.033017}, {'datetime': datetime.datetime(2019, 3, 14, 15, 0, 18, 325317), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '什么事', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '没事,我只是太开心了。', 'cost_time_ms': 204.366352}, {'datetime': datetime.datetime(2019, 3, 14, 15, 0, 21, 700327), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '屋里不怕风吹日晒。', 'cost_time_ms': 205.155054}, {'datetime': datetime.datetime(2019, 3, 14, 15, 0, 37, 174252), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 202.255769}, {'datetime': datetime.datetime(2019, 3, 14, 15, 0, 40, 92787), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 234.861178}, {'datetime': datetime.datetime(2019, 3, 14, 15, 0, 40, 132708), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.091545}, {'datetime': datetime.datetime(2019, 3, 14, 15, 1, 31, 469143), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 212.456568}, {'datetime': datetime.datetime(2019, 3, 14, 15, 1, 31, 511674), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 235.20413} ... displaying 10 of 322 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 15, 59, 13, 856136), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.642715}, {'datetime': datetime.datetime(2019, 3, 14, 15, 59, 22, 281405), 'mac_wifi': 'f4911e6759b9', 'mac_voice': 'c46e7baac663', 'query': '赵鹏的船歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏赵鹏的船歌哦。', 'cost_time_ms': 322.48869}) +2019-03-14 16:00:02,789 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 16:00:02,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,805 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,806 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,808 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 16:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,818 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,819 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,820 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,820 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,823 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,823 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 16:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,825 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 16:00:02,827 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 16:00:02,827 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 15, 2, 55, 856107), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请声控', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 191.786412}, {'datetime': datetime.datetime(2019, 3, 14, 15, 2, 59, 116408), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 248.335037}, {'datetime': datetime.datetime(2019, 3, 14, 15, 2, 59, 246987), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 238.931567}, {'datetime': datetime.datetime(2019, 3, 14, 15, 20, 26, 62589), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再整部', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 387.802194}, {'datetime': datetime.datetime(2019, 3, 14, 15, 28, 7, 752787), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 293.544476}, {'datetime': datetime.datetime(2019, 3, 14, 15, 31, 48, 216858), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我很想知道呀', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 211.372019}, {'datetime': datetime.datetime(2019, 3, 14, 15, 32, 0, 632833), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 338.346267}, {'datetime': datetime.datetime(2019, 3, 14, 15, 32, 14, 944626), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 212.723796} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 15, 52, 38, 167919), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为自动摆风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 274.046371}, {'datetime': datetime.datetime(2019, 3, 14, 15, 54, 41, 424599), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '善良的死神', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 202.253999}) +2019-03-14 16:00:02,828 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 15:00:00 +时间为:### 2019-03-14 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 15:00:00" and datetime< "2019-03-14 16:00:00" +2019-03-14 16:00:02,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,838 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,839 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 15:00:00" and datetime< "2019-03-14 16:00:00" +2019-03-14 16:00:02,841 INFO sqlalchemy.engine.base.Engine {} +****322 +all****322 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 15:00:00" and datetime< "2019-03-14 16:00:00" +2019-03-14 16:00:03,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:03,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,874 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:03,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,874 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:03,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:03,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:03,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:03,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:03,877 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 15:00:00" and datetime< "2019-03-14 16:00:00" +2019-03-14 16:00:03,877 INFO sqlalchemy.engine.base.Engine {} +****322 +all****322 + +all****185 + +all****137 + +****185 + +****122 + +Start domain data classification: +2019-03-14 16:00:04,893 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:04,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,893 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:04,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,894 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:04,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,895 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:04,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:04,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,897 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,898 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 16:00:04,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,900 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 16:00:04,901 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 16:00:04,901 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 16, 0), 'aircleaner': 0, 'airconditioner': 155, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 4, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 26, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 16:00:04,901 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 16:00:04,915 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:04,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,916 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:04,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,916 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:04,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,917 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:04,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:04,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:04,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,919 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:04,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,919 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 16:00:04,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:04,922 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 16:00:04,923 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 16:00:04,923 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 16, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 79, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 7, 'food': 2, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 20, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 10} +2019-03-14 16:00:04,923 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 16:00:05,738 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 16:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 16:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,740 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 16:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,741 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 16:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,742 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 16:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 16:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 16:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 16:00:05,746 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 16:00:05,746 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 16:00:05,746 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 16, 0), '0~500ms': "[('airconditioner', 154), ('universalcontrol', 26), ('playcontrol', 4), ('chat', 92), ('music', 20), ('weather', 10)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('food', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 16:00:05,747 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 17 +***** + +2019-03-14 17:00:02,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,386 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,389 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 17:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,392 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 17:00:02,398 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 17:00:02,399 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 16, 0, 35, 731028), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 343.86173}, {'datetime': datetime.datetime(2019, 3, 14, 16, 0, 54, 285257), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 197.468981}, {'datetime': datetime.datetime(2019, 3, 14, 16, 1, 8, 24366), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '云浮天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '云浮今天有小雨,气温17度到21度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 519.791}, {'datetime': datetime.datetime(2019, 3, 14, 16, 1, 17, 767233), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 187.628935}, {'datetime': datetime.datetime(2019, 3, 14, 16, 1, 22, 242096), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '我想听彭丽媛的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听彭丽媛的歌。', 'cost_time_ms': 288.285373}, {'datetime': datetime.datetime(2019, 3, 14, 16, 1, 30, 335765), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开空调制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 181.636431}, {'datetime': datetime.datetime(2019, 3, 14, 16, 1, 42, 260451), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 1691.780714}, {'datetime': datetime.datetime(2019, 3, 14, 16, 2, 12, 849069), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 214.66194} ... displaying 10 of 387 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 16, 59, 38, 348742), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 319.419143}, {'datetime': datetime.datetime(2019, 3, 14, 16, 59, 43, 477343), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'mp三版', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,是个mp3。', 'cost_time_ms': 172.129407}) +2019-03-14 17:00:02,416 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 17:00:02,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,436 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,440 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 17:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,450 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,450 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,451 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,455 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 17:00:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,458 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 17:00:02,459 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 17:00:02,459 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 16, 2, 21, 823746), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 210.944012}, {'datetime': datetime.datetime(2019, 3, 14, 16, 10, 9, 475719), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '每个应用程序间写的方便', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 389.884042}, {'datetime': datetime.datetime(2019, 3, 14, 16, 17, 4, 161499), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 2008.0112090000002}, {'datetime': datetime.datetime(2019, 3, 14, 16, 17, 4, 208067), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 2007.2286020000001}, {'datetime': datetime.datetime(2019, 3, 14, 16, 17, 37, 157736), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请声控', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 204.759182}, {'datetime': datetime.datetime(2019, 3, 14, 16, 20, 57, 198075), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '我是他都心疼', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 210.279659}, {'datetime': datetime.datetime(2019, 3, 14, 16, 31, 44, 993439), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 2009.711239}, {'datetime': datetime.datetime(2019, 3, 14, 16, 32, 3, 57857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 244.274453} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 16, 53, 38, 68991), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '但最小可能就是我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 215.966652}, {'datetime': datetime.datetime(2019, 3, 14, 16, 54, 0, 533166), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '他感觉他是我的请求请求的时候就哪一次它就只要打印出那个。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 253.577159}) +2019-03-14 17:00:02,460 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 16:00:00 +时间为:### 2019-03-14 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 16:00:00" and datetime< "2019-03-14 17:00:00" +2019-03-14 17:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,471 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:02,475 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 16:00:00" and datetime< "2019-03-14 17:00:00" +2019-03-14 17:00:02,475 INFO sqlalchemy.engine.base.Engine {} +****387 +all****387 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 16:00:00" and datetime< "2019-03-14 17:00:00" +2019-03-14 17:00:03,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:03,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:03,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,507 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:03,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,508 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:03,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:03,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:03,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:03,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:03,511 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 16:00:00" and datetime< "2019-03-14 17:00:00" +2019-03-14 17:00:03,511 INFO sqlalchemy.engine.base.Engine {} +****387 +all****387 + +all****244 + +all****143 + +****244 + +****129 + +Start domain data classification: +2019-03-14 17:00:04,533 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,535 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,538 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 17:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,540 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 17:00:04,541 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 17:00:04,541 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 17, 0), 'aircleaner': 0, 'airconditioner': 206, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 37, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 17:00:04,542 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 17:00:04,555 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:04,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:04,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,556 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:04,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,557 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,558 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,560 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 17:00:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:04,562 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 17:00:04,563 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 17:00:04,563 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 17, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 82, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 7, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 30, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 7} +2019-03-14 17:00:04,564 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 17:00:05,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 17:00:05,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 17:00:05,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,383 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 17:00:05,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,384 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 17:00:05,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:05,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 17:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 17:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,387 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 17:00:05,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 17:00:05,389 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 17:00:05,389 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 17:00:05,389 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 17, 0), '0~500ms': "[('airconditioner', 202), ('universalcontrol', 37), ('playcontrol', 1), ('chat', 90), ('music', 23), ('fm', 7)]", '1000~2000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 5), ('baike', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 6), ('chat', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 17:00:05,390 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 18 +***** + +2019-03-14 18:00:02,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,953 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:02,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,954 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,954 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,958 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 18:00:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,961 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 18:00:02,967 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 18:00:02,967 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 17, 0, 9, 846068), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吃点披萨', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '披萨不怎么喜欢,真不明白。', 'cost_time_ms': 216.511325}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 10, 745144), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '被一三五贺新年', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 243.949454}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 24, 206676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关电热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 254.032154}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 40, 924312), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 192.530953}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 41, 606066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.18849}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 42, 766587), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制暖模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.320087}, {'datetime': datetime.datetime(2019, 3, 14, 17, 1, 6, 70153), 'mac_wifi': 'f4911e594456', 'mac_voice': '00000000006d', 'query': '播放糖糖的非谁莫属', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '帮你找到了糖糖的非谁莫属,来听听吧。', 'cost_time_ms': 250.208215}, {'datetime': datetime.datetime(2019, 3, 14, 17, 1, 7, 136260), 'mac_wifi': 'f4911e50cd22', 'mac_voice': 'c46e7b6f58df', 'query': '播放糖糖的非谁莫属', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放糖糖的非谁莫属。', 'cost_time_ms': 260.941884} ... displaying 10 of 377 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 17, 59, 39, 558486), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 228.444585}, {'datetime': datetime.datetime(2019, 3, 14, 17, 59, 40, 738584), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 226.342599}) +2019-03-14 18:00:02,983 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 18:00:02,996 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,997 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:02,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,998 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,998 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:02,999 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:02,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,001 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 18:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,009 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,010 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,011 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:03,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,012 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:03,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,013 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:03,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,015 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 18:00:03,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,017 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 18:00:03,018 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 18:00:03,018 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 17, 0, 10, 745144), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '被一三五贺新年', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 243.949454}, {'datetime': datetime.datetime(2019, 3, 14, 17, 0, 24, 206676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关电热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 254.032154}, {'datetime': datetime.datetime(2019, 3, 14, 17, 2, 6, 12045), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '泽菲的标准', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 270.286321}, {'datetime': datetime.datetime(2019, 3, 14, 17, 8, 42, 476013), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '闻香品女人', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 394.922417}, {'datetime': datetime.datetime(2019, 3, 14, 17, 9, 10, 421952), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 246.316598}, {'datetime': datetime.datetime(2019, 3, 14, 17, 9, 11, 633136), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 234.21877}, {'datetime': datetime.datetime(2019, 3, 14, 17, 28, 6, 826203), 'mac_wifi': 'f4911e675957', 'mac_voice': '58b3fc2f431c', 'query': '刚才听她', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 298.568917}, {'datetime': datetime.datetime(2019, 3, 14, 17, 28, 29, 724885), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 248.988506} ... displaying 10 of 12 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 17, 51, 25, 944638), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '古风剧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 276.900682}, {'datetime': datetime.datetime(2019, 3, 14, 17, 51, 33, 263515), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 238.768048}) +2019-03-14 18:00:03,022 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 17:00:00 +时间为:### 2019-03-14 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 17:00:00" and datetime< "2019-03-14 18:00:00" +2019-03-14 18:00:03,028 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,029 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,030 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,030 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,031 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,032 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:03,033 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 17:00:00" and datetime< "2019-03-14 18:00:00" +2019-03-14 18:00:03,033 INFO sqlalchemy.engine.base.Engine {} +****377 +all****377 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 17:00:00" and datetime< "2019-03-14 18:00:00" +2019-03-14 18:00:04,068 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:04,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,069 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:04,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,070 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:04,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,071 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:04,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,072 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:04,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,073 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:04,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,073 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:04,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:04,074 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 17:00:00" and datetime< "2019-03-14 18:00:00" +2019-03-14 18:00:04,074 INFO sqlalchemy.engine.base.Engine {} +****377 +all****377 + +all****237 + +all****140 + +****237 + +****128 + +Start domain data classification: +2019-03-14 18:00:05,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,087 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,090 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 18:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,093 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 18:00:05,094 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 18:00:05,094 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 18, 0), 'aircleaner': 0, 'airconditioner': 208, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 28, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 18:00:05,094 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 18:00:05,109 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:05,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,111 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,111 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,114 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 18:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,116 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 18:00:05,117 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 18:00:05,117 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 18, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 65, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 28, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 29} +2019-03-14 18:00:05,118 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 18:00:05,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 18:00:05,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,942 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 18:00:05,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,943 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 18:00:05,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,944 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 18:00:05,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 18:00:05,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 18:00:05,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,947 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 18:00:05,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 18:00:05,949 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 18:00:05,949 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 18:00:05,949 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 18, 0), '0~500ms': "[('airconditioner', 208), ('universalcontrol', 28), ('playcontrol', 1), ('chat', 77), ('music', 26), ('weather', 25)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('baike', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 4), ('music', 2), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 18:00:05,950 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 19 +***** + +2019-03-14 19:00:02,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,625 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,628 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 19:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,631 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 19:00:02,639 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 19:00:02,639 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 18, 0, 5, 362534), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 217.587399}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 23, 677578), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 379.20148}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 33, 653070), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 427.411014}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 33, 991825), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 403.062939}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 34, 273928), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 251.210391}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 34, 571307), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 216.728149}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 40, 642155), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 242.38848}, {'datetime': datetime.datetime(2019, 3, 14, 18, 0, 43, 465916), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯集团', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 199.901518} ... displaying 10 of 563 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 18, 59, 56, 281151), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 257.907078}, {'datetime': datetime.datetime(2019, 3, 14, 18, 59, 56, 362984), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 275.901023}) +2019-03-14 19:00:02,663 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 19:00:02,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:02,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,678 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:02,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,679 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,679 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,682 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 19:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,690 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,691 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,692 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:02,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,693 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:02,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,694 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:02,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,696 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 19:00:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,698 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 19:00:02,699 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 19:00:02,699 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 18, 6, 14, 220391), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '把开制冷模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 259.303358}, {'datetime': datetime.datetime(2019, 3, 14, 18, 11, 40, 704261), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '心情模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 326.8184}, {'datetime': datetime.datetime(2019, 3, 14, 18, 13, 16, 220173), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '感觉外面冷得很', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 240.93414}, {'datetime': datetime.datetime(2019, 3, 14, 18, 19, 6, 896304), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为自动摆风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 243.184883}, {'datetime': datetime.datetime(2019, 3, 14, 18, 21, 25, 235304), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 321.273551}, {'datetime': datetime.datetime(2019, 3, 14, 18, 22, 56, 717028), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '福克斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 248.422739}, {'datetime': datetime.datetime(2019, 3, 14, 18, 28, 40, 131721), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '那土坡', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 386.142071}, {'datetime': datetime.datetime(2019, 3, 14, 18, 28, 50, 141165), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 213.785111} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 18, 45, 15, 307876), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '剩下的那排啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 258.323909}, {'datetime': datetime.datetime(2019, 3, 14, 18, 47, 35, 87032), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '四百一十个人的群里面', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 393.442841}) +2019-03-14 19:00:02,700 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 18:00:00 +时间为:### 2019-03-14 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 18:00:00" and datetime< "2019-03-14 19:00:00" +2019-03-14 19:00:02,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,708 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,709 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,710 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 18:00:00" and datetime< "2019-03-14 19:00:00" +2019-03-14 19:00:02,712 INFO sqlalchemy.engine.base.Engine {} +****563 +all****563 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 18:00:00" and datetime< "2019-03-14 19:00:00" +2019-03-14 19:00:03,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:03,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,773 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:03,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,774 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:03,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,775 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:03,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:03,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:03,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,777 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:03,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:03,778 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 18:00:00" and datetime< "2019-03-14 19:00:00" +2019-03-14 19:00:03,778 INFO sqlalchemy.engine.base.Engine {} +****563 +all****563 + +all****411 + +all****152 + +****411 + +****138 + +Start domain data classification: +2019-03-14 19:00:04,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,826 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,827 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:04,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,827 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:04,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:04,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,831 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 19:00:04,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,833 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 19:00:04,834 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 19:00:04,834 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 19, 0), 'aircleaner': 0, 'airconditioner': 346, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 64, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 19:00:04,835 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 19:00:04,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,850 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,850 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,853 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 19:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:04,855 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 19:00:04,857 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 19:00:04,857 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 19, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 117, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 16, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-14 19:00:04,857 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 19:00:05,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 19:00:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 19:00:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,686 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 19:00:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,687 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 19:00:05,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:05,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 19:00:05,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 19:00:05,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,690 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 19:00:05,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 19:00:05,692 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 19:00:05,693 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 19:00:05,693 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 19, 0), '0~500ms': "[('airconditioner', 344), ('universalcontrol', 63), ('playcontrol', 1), ('chat', 129), ('music', 15), ('baike', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 1), ('music', 1), ('news', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 19:00:05,693 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 20 +***** + +2019-03-14 20:00:02,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,640 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,644 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 20:00:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,647 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 20:00:02,656 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 20:00:02,656 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 19, 0, 3, 568091), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 234.855358}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 17, 591936), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.380861}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 17, 665504), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.842009}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 17, 716767), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.726507}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 17, 848280), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 369.544371}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 27, 944870), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.162946}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 27, 971427), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.815011}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 28, 49041), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 295.717331} ... displaying 10 of 679 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 19, 59, 41, 423832), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.31706}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 0, 958394), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '问题了', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '确实是个问题。', 'cost_time_ms': 211.742019}) +2019-03-14 20:00:02,684 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 20:00:02,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,698 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,699 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 20:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,713 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,716 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 20:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,718 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 20:00:02,719 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 20:00:02,719 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 19, 0, 48, 63231), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '部马价十倍', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 236.782806}, {'datetime': datetime.datetime(2019, 3, 14, 19, 0, 51, 524951), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这社会朱宇她对你辣么过吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 251.927819}, {'datetime': datetime.datetime(2019, 3, 14, 19, 2, 45, 863693), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'dido', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 188.759514}, {'datetime': datetime.datetime(2019, 3, 14, 19, 11, 11, 811027), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 222.525358}, {'datetime': datetime.datetime(2019, 3, 14, 19, 14, 45, 336701), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 255.294514}, {'datetime': datetime.datetime(2019, 3, 14, 19, 14, 58, 575201), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '资讯业内居民称', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 495.900152}, {'datetime': datetime.datetime(2019, 3, 14, 19, 15, 47, 108381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '福克斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 246.763083}, {'datetime': datetime.datetime(2019, 3, 14, 19, 16, 55, 552377), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请使开启换', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 253.726581} ... displaying 10 of 30 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 19, 56, 59, 369283), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到风速', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 215.439566}, {'datetime': datetime.datetime(2019, 3, 14, 19, 57, 54, 599676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 246.232529}) +2019-03-14 20:00:02,721 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 19:00:00 +时间为:### 2019-03-14 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 19:00:00" and datetime< "2019-03-14 20:00:00" +2019-03-14 20:00:02,728 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,730 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,730 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,731 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:02,733 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 19:00:00" and datetime< "2019-03-14 20:00:00" +2019-03-14 20:00:02,733 INFO sqlalchemy.engine.base.Engine {} +****678 +all****678 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 19:00:00" and datetime< "2019-03-14 20:00:00" +2019-03-14 20:00:03,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:03,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:03,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,804 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:03,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,805 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:03,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:03,808 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 19:00:00" and datetime< "2019-03-14 20:00:00" +2019-03-14 20:00:03,808 INFO sqlalchemy.engine.base.Engine {} +****678 +all****678 + +all****491 + +all****187 + +****491 + +****157 + +Start domain data classification: +2019-03-14 20:00:04,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,849 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,850 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,853 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 20:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,855 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 20:00:04,856 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 20:00:04,856 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 20, 0), 'aircleaner': 0, 'airconditioner': 416, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 75, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 20:00:04,857 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 20:00:04,870 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:04,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,871 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,872 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,872 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,875 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 20:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:04,878 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 20:00:04,879 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 20:00:04,879 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 20, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 1, 'chat': 153, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 2, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-14 20:00:04,879 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 20:00:05,720 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 20:00:05,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,721 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 20:00:05,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,722 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 20:00:05,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,723 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 20:00:05,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,724 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:05,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 20:00:05,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 20:00:05,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,726 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 20:00:05,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 20:00:05,728 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 20:00:05,729 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 20:00:05,729 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 20, 0), '0~500ms': "[('airconditioner', 416), ('universalcontrol', 74), ('aircleaner', 0), ('chat', 182), ('ancient_poem', 1), ('baike', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 20:00:05,729 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 21 +***** + +2019-03-14 21:00:02,507 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,509 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,510 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,512 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,512 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,514 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 21:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,517 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 21:00:02,525 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 21:00:02,525 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 20, 0, 3, 591792), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再冷一点', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '是天气转变啦。', 'cost_time_ms': 243.88991}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 20, 617457), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 199.828823}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 34, 140729), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 250.46401}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 34, 349559), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 428.428842}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 34, 373964), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 404.520532}, {'datetime': datetime.datetime(2019, 3, 14, 20, 0, 34, 791600), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 292.470242}, {'datetime': datetime.datetime(2019, 3, 14, 20, 1, 5, 435401), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 222.505266}, {'datetime': datetime.datetime(2019, 3, 14, 20, 1, 7, 106165), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 207.46917} ... displaying 10 of 551 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 20, 59, 57, 141748), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 390.395855}, {'datetime': datetime.datetime(2019, 3, 14, 20, 59, 57, 176534), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 385.889163}) +2019-03-14 21:00:02,580 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 21:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,591 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,592 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,593 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,595 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 21:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,606 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,606 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,609 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 21:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,611 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 21:00:02,613 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 21:00:02,613 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 20, 0, 20, 617457), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 199.828823}, {'datetime': datetime.datetime(2019, 3, 14, 20, 1, 9, 532994), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有没有首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 207.888767}, {'datetime': datetime.datetime(2019, 3, 14, 20, 3, 15, 355431), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请登堡', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 252.008905}, {'datetime': datetime.datetime(2019, 3, 14, 20, 3, 17, 188458), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '铁匠铺', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 245.094119}, {'datetime': datetime.datetime(2019, 3, 14, 20, 6, 46, 276556), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 2015.476697}, {'datetime': datetime.datetime(2019, 3, 14, 20, 8, 35, 58697), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 204.759017}, {'datetime': datetime.datetime(2019, 3, 14, 20, 10, 27, 58414), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 304.839186}, {'datetime': datetime.datetime(2019, 3, 14, 20, 10, 47, 849877), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 244.469586} ... displaying 10 of 37 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 20, 58, 8, 847238), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '在宁波', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 245.754975}, {'datetime': datetime.datetime(2019, 3, 14, 20, 59, 13, 769285), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '查到除湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 242.808398}) +2019-03-14 21:00:02,619 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 20:00:00 +时间为:### 2019-03-14 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 20:00:00" and datetime< "2019-03-14 21:00:00" +2019-03-14 21:00:02,640 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,641 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,642 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,642 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:02,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:02,645 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 20:00:00" and datetime< "2019-03-14 21:00:00" +2019-03-14 21:00:02,645 INFO sqlalchemy.engine.base.Engine {} +****552 +all****552 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 20:00:00" and datetime< "2019-03-14 21:00:00" +2019-03-14 21:00:03,664 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,665 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:03,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,666 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:03,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,666 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:03,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:03,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:03,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,669 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:03,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:03,670 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 20:00:00" and datetime< "2019-03-14 21:00:00" +2019-03-14 21:00:03,670 INFO sqlalchemy.engine.base.Engine {} +****552 +all****552 + +all****364 + +all****188 + +****364 + +****151 + +Start domain data classification: +2019-03-14 21:00:04,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,698 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,699 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 21:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,704 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 21:00:04,705 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 21:00:04,706 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 21, 0), 'aircleaner': 0, 'airconditioner': 300, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 64, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 21:00:04,706 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 21:00:04,719 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:04,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,720 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:04,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,721 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:04,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,722 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:04,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,723 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:04,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,723 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:04,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,724 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,724 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 21:00:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:04,727 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 21:00:04,728 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 21:00:04,728 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 21, 0), 'almanac': 0, 'ancient_poem': 2, 'astro': 0, 'baike': 3, 'chat': 128, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 18, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-14 21:00:04,729 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 21:00:05,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 21:00:05,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,558 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 21:00:05,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,559 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 21:00:05,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,560 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 21:00:05,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:05,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 21:00:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 21:00:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,563 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 21:00:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 21:00:05,565 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 21:00:05,565 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 21:00:05,566 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 21, 0), '0~500ms': "[('airconditioner', 295), ('universalcontrol', 64), ('aircleaner', 0), ('chat', 162), ('music', 16), ('baike', 3)]", '1000~2000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 21:00:05,566 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 22 +***** + +2019-03-14 22:00:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,436 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,440 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 22:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,443 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 22:00:02,453 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 22:00:02,453 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 21, 0, 7, 591877), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 256.260863}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 7, 625894), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.071167}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 7, 650034), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 216.84824}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 7, 777344), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 245.345601}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 28, 329533), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 217.587501}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 28, 331580), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 215.538118}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 28, 334283), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 216.264893}, {'datetime': datetime.datetime(2019, 3, 14, 21, 0, 28, 456585), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 206.063225} ... displaying 10 of 715 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 21, 59, 51, 307413), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 208.908667}, {'datetime': datetime.datetime(2019, 3, 14, 21, 59, 51, 328415), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 222.678416}) +2019-03-14 22:00:02,482 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 22:00:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,582 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 22:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,595 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,598 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 22:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,601 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 22:00:02,602 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 22:00:02,602 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 21, 1, 15, 286282), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 2008.134939}, {'datetime': datetime.datetime(2019, 3, 14, 21, 4, 43, 163407), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吵到制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 240.079111}, {'datetime': datetime.datetime(2019, 3, 14, 21, 6, 15, 49047), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '放克斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 382.300156}, {'datetime': datetime.datetime(2019, 3, 14, 21, 6, 39, 613598), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '求到除湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 253.580616}, {'datetime': datetime.datetime(2019, 3, 14, 21, 14, 5, 277109), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '神奇的画', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 396.336034}, {'datetime': datetime.datetime(2019, 3, 14, 21, 17, 22, 215603), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 249.734874}, {'datetime': datetime.datetime(2019, 3, 14, 21, 17, 22, 903507), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 242.173541}, {'datetime': datetime.datetime(2019, 3, 14, 21, 17, 35, 315971), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 247.582721} ... displaying 10 of 42 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 21, 58, 29, 866032), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '并为国家工程技术中心和国家提供', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 245.041409}, {'datetime': datetime.datetime(2019, 3, 14, 21, 59, 32, 332304), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 2007.088333}) +2019-03-14 22:00:02,608 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 21:00:00 +时间为:### 2019-03-14 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 21:00:00" and datetime< "2019-03-14 22:00:00" +2019-03-14 22:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,616 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,618 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 21:00:00" and datetime< "2019-03-14 22:00:00" +2019-03-14 22:00:02,621 INFO sqlalchemy.engine.base.Engine {} +****715 +all****715 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 21:00:00" and datetime< "2019-03-14 22:00:00" +2019-03-14 22:00:03,676 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:03,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,677 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:03,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,678 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:03,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,679 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:03,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:03,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:03,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,681 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:03,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:03,682 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 21:00:00" and datetime< "2019-03-14 22:00:00" +2019-03-14 22:00:03,682 INFO sqlalchemy.engine.base.Engine {} +****715 +all****715 + +all****503 + +all****212 + +****503 + +****170 + +Start domain data classification: +2019-03-14 22:00:04,736 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,737 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,738 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,739 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:04,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:04,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,742 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 22:00:04,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,744 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 22:00:04,745 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 22:00:04,745 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 22, 0), 'aircleaner': 0, 'airconditioner': 429, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 72, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 22:00:04,746 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 22:00:04,759 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:04,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:04,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,761 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,761 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,762 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,764 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 22:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:04,766 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 22:00:04,767 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 22:00:04,768 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 22, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 163, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-14 22:00:04,768 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 22:00:05,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 22:00:05,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 22:00:05,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 22:00:05,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,598 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 22:00:05,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:05,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 22:00:05,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 22:00:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,601 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 22:00:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 22:00:05,603 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 22:00:05,604 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 22:00:05,604 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 22, 0), '0~500ms': "[('airconditioner', 426), ('universalcontrol', 71), ('playcontrol', 2), ('chat', 201), ('music', 5), ('baike', 1)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 4), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 22:00:05,604 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-14 23 +***** + +2019-03-14 23:00:02,281 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,282 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,283 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,284 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,288 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-14 23:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,291 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 23:00:02,301 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 23:00:02,301 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 261296), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.106243}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 267767), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.832092}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 350873), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.627332}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 374378), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 292.417887}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 507069), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 320.824392}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 15, 922019), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.295973}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 23, 586708), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请使开机', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好吧,你说打开就打开。', 'cost_time_ms': 201.955693}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 33, 864160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.943664} ... displaying 10 of 755 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 22, 59, 59, 463353), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.46585}, {'datetime': datetime.datetime(2019, 3, 14, 22, 59, 59, 535951), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 297.442106}) +2019-03-14 23:00:02,331 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-14 23:00:02,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:02,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,347 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,348 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,351 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-14 23:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,361 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,362 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,365 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-14 23:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,367 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 23:00:02,368 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-14 23:00:02,368 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 22, 0, 33, 864160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.943664}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 55, 937950), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 261.419983}, {'datetime': datetime.datetime(2019, 3, 14, 22, 2, 17, 647940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 239.490323}, {'datetime': datetime.datetime(2019, 3, 14, 22, 2, 37, 315176), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 244.349067}, {'datetime': datetime.datetime(2019, 3, 14, 22, 4, 34, 133153), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 252.742361}, {'datetime': datetime.datetime(2019, 3, 14, 22, 9, 42, 118966), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 250.887027}, {'datetime': datetime.datetime(2019, 3, 14, 22, 14, 29, 943185), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 240.340729}, {'datetime': datetime.datetime(2019, 3, 14, 22, 15, 56, 761105), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 247.763948} ... displaying 10 of 22 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 22, 45, 42, 912523), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '加热调到制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 242.756319}, {'datetime': datetime.datetime(2019, 3, 14, 22, 56, 3, 352707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 253.919169}) +2019-03-14 23:00:02,370 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 22:00:00 +时间为:### 2019-03-14 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 22:00:00" and datetime< "2019-03-14 23:00:00" +2019-03-14 23:00:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,382 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,383 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:02,385 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 22:00:00" and datetime< "2019-03-14 23:00:00" +2019-03-14 23:00:02,385 INFO sqlalchemy.engine.base.Engine {} +****754 +all****754 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 22:00:00" and datetime< "2019-03-14 23:00:00" +2019-03-14 23:00:03,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,424 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:03,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,425 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,426 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:03,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,428 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:03,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,429 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:03,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:03,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:03,430 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 22:00:00" and datetime< "2019-03-14 23:00:00" +2019-03-14 23:00:03,430 INFO sqlalchemy.engine.base.Engine {} +****754 +all****754 + +all****596 + +all****158 + +****596 + +****136 + +Start domain data classification: +2019-03-14 23:00:04,541 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,543 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,543 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,546 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-14 23:00:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,548 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 23:00:04,549 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-14 23:00:04,550 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 23, 0), 'aircleaner': 0, 'airconditioner': 515, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 81, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-14 23:00:04,550 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-14 23:00:04,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,565 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,566 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-14 23:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:04,570 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 23:00:04,572 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-14 23:00:04,572 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 23, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 133, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-14 23:00:04,572 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-14 23:00:05,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-14 23:00:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-14 23:00:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,411 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-14 23:00:05,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-14 23:00:05,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:05,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-14 23:00:05,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-14 23:00:05,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-14 23:00:05,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-14 23:00:05,417 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-14 23:00:05,417 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-14 23:00:05,417 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 14, 23, 0), '0~500ms': "[('airconditioner', 512), ('universalcontrol', 81), ('aircleaner', 0), ('chat', 151), ('music', 3), ('almanac', 0)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-14 23:00:05,418 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190315: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190315" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190315: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190315" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-15 00 +***** + +2019-03-15 00:00:02,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,525 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,527 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 00:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,530 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 00:00:02,541 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 00:00:02,541 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 261296), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.106243}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 267767), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.832092}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 350873), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.627332}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 374378), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 292.417887}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 4, 507069), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 320.824392}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 15, 922019), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.295973}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 23, 586708), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请使开机', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好吧,你说打开就打开。', 'cost_time_ms': 201.955693}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 33, 864160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.943664} ... displaying 10 of 755 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 22, 59, 59, 463353), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.46585}, {'datetime': datetime.datetime(2019, 3, 14, 22, 59, 59, 535951), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 297.442106}) +2019-03-15 00:00:02,571 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 00:00:02,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,586 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,590 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 00:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,598 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,599 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,600 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,601 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,602 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,604 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 00:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,606 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 00:00:02,607 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 00:00:02,607 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 14, 22, 0, 33, 864160), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.943664}, {'datetime': datetime.datetime(2019, 3, 14, 22, 0, 55, 937950), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 261.419983}, {'datetime': datetime.datetime(2019, 3, 14, 22, 2, 17, 647940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 239.490323}, {'datetime': datetime.datetime(2019, 3, 14, 22, 2, 37, 315176), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 244.349067}, {'datetime': datetime.datetime(2019, 3, 14, 22, 4, 34, 133153), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 252.742361}, {'datetime': datetime.datetime(2019, 3, 14, 22, 9, 42, 118966), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 250.887027}, {'datetime': datetime.datetime(2019, 3, 14, 22, 14, 29, 943185), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 240.340729}, {'datetime': datetime.datetime(2019, 3, 14, 22, 15, 56, 761105), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 247.763948} ... displaying 10 of 22 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 14, 22, 45, 42, 912523), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '加热调到制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 242.756319}, {'datetime': datetime.datetime(2019, 3, 14, 22, 56, 3, 352707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 253.919169}) +2019-03-15 00:00:02,609 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-14 23:00:00 +时间为:### 2019-03-15 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 23:00:00" and datetime< "2019-03-15 00:00:00" +2019-03-15 00:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,616 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,618 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 23:00:00" and datetime< "2019-03-15 00:00:00" +2019-03-15 00:00:02,621 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 23:00:00" and datetime< "2019-03-15 00:00:00" +2019-03-15 00:00:03,619 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:03,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:03,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,622 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,622 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:03,625 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-14 23:00:00" and datetime< "2019-03-15 00:00:00" +2019-03-15 00:00:03,625 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +all****2 + +all****0 + +****2 + +****0 + +Start domain data classification: +2019-03-15 00:00:04,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,633 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,636 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 00:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,639 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 00:00:04,640 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 00:00:04,640 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 0, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 00:00:04,640 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 00:00:04,655 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,656 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,657 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,658 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,661 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 00:00:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:04,663 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 00:00:04,664 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 00:00:04,664 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 00:00:04,665 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 00:00:05,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 00:00:05,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 00:00:05,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 00:00:05,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 00:00:05,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:05,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 00:00:05,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 00:00:05,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,508 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 00:00:05,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 00:00:05,510 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 00:00:05,511 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 00:00:05,511 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 0, 0), '0~500ms': "[('airconditioner', 512), ('universalcontrol', 81), ('aircleaner', 0), ('chat', 151), ('music', 3), ('almanac', 0)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 00:00:05,511 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 01 +***** + +2019-03-15 01:00:02,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,937 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,940 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 01:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,943 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 01:00:02,952 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 01:00:02,952 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 0, 0, 32, 850000), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.641962}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 32, 851619), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.386942}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 32, 863846), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.844777}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 32, 892715), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.486423}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 55, 254529), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.393142}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 55, 264443), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.741285}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 55, 292607), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.330921}, {'datetime': datetime.datetime(2019, 3, 15, 0, 0, 55, 298633), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.498723} ... displaying 10 of 639 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 0, 59, 6, 531106), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.04063}, {'datetime': datetime.datetime(2019, 3, 15, 0, 59, 55, 716587), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.744863}) +2019-03-15 01:00:02,979 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 01:00:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,992 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,993 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:02,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:02,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:02,996 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 01:00:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,004 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,005 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:03,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,006 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,006 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,008 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,008 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:03,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,010 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 01:00:03,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,012 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 01:00:03,013 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 01:00:03,013 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 0, 3, 28, 17527), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 308.214068}, {'datetime': datetime.datetime(2019, 3, 15, 0, 3, 28, 24810), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 256.169455}, {'datetime': datetime.datetime(2019, 3, 15, 0, 3, 33, 261022), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为自动模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 239.355049}, {'datetime': datetime.datetime(2019, 3, 15, 0, 6, 45, 808543), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 229.845962}, {'datetime': datetime.datetime(2019, 3, 15, 0, 8, 53, 42121), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 241.795438}, {'datetime': datetime.datetime(2019, 3, 15, 0, 10, 46, 129949), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 250.028617}, {'datetime': datetime.datetime(2019, 3, 15, 0, 37, 47, 588949), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 226.72993}, {'datetime': datetime.datetime(2019, 3, 15, 0, 38, 20, 399626), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 238.510737} ... displaying 10 of 23 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 0, 43, 19, 563860), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '四时歌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 244.730169}, {'datetime': datetime.datetime(2019, 3, 15, 0, 54, 27, 234739), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开启后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 245.477608}) +2019-03-15 01:00:03,018 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 00:00:00 +时间为:### 2019-03-15 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 00:00:00" and datetime< "2019-03-15 01:00:00" +2019-03-15 01:00:03,025 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:03,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,026 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,026 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,027 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:03,030 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 00:00:00" and datetime< "2019-03-15 01:00:00" +2019-03-15 01:00:03,030 INFO sqlalchemy.engine.base.Engine {} +****639 +all****639 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 00:00:00" and datetime< "2019-03-15 01:00:00" +2019-03-15 01:00:04,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:04,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,095 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,096 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,097 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:04,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:04,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:04,099 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 00:00:00" and datetime< "2019-03-15 01:00:00" +2019-03-15 01:00:04,099 INFO sqlalchemy.engine.base.Engine {} +****639 +all****639 + +all****461 + +all****178 + +****461 + +****155 + +Start domain data classification: +2019-03-15 01:00:05,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,136 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,137 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:05,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:05,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 01:00:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 01:00:05,143 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 01:00:05,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 1, 0), 'aircleaner': 0, 'airconditioner': 391, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 70, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 01:00:05,144 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 01:00:05,160 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:05,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,160 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:05,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,161 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:05,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,162 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:05,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:05,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:05,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,164 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 01:00:05,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:05,167 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 01:00:05,168 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 01:00:05,168 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 1, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 1, 'chat': 145, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 6, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-15 01:00:05,168 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 01:00:06,003 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 01:00:06,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,004 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 01:00:06,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,005 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 01:00:06,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,005 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 01:00:06,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:06,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 01:00:06,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,008 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 01:00:06,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,008 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 01:00:06,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 01:00:06,010 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 01:00:06,011 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 01:00:06,011 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 1, 0), '0~500ms': "[('airconditioner', 391), ('universalcontrol', 70), ('aircleaner', 0), ('chat', 166), ('music', 6), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 01:00:06,011 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 02 +***** + +2019-03-15 02:00:02,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 02:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,530 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 02:00:02,535 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 02:00:02,535 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 1, 0, 18, 261684), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 390.692761}, {'datetime': datetime.datetime(2019, 3, 15, 1, 0, 38, 537796), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 233.356827}, {'datetime': datetime.datetime(2019, 3, 15, 1, 0, 47, 99279), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 210.415962}, {'datetime': datetime.datetime(2019, 3, 15, 1, 1, 0, 288915), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 200.202573}, {'datetime': datetime.datetime(2019, 3, 15, 1, 1, 33, 381634), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.388709}, {'datetime': datetime.datetime(2019, 3, 15, 1, 1, 43, 450824), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 212.64186}, {'datetime': datetime.datetime(2019, 3, 15, 1, 1, 54, 341434), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.950973}, {'datetime': datetime.datetime(2019, 3, 15, 1, 2, 4, 429047), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.267161} ... displaying 10 of 256 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 1, 59, 41, 210310), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 387.859259}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 1, 465398), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 225.955294}) +2019-03-15 02:00:02,547 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 02:00:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,568 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,569 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,572 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 02:00:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,585 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,588 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 02:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,591 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 02:00:02,591 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 02:00:02,591 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 1, 48, 9, 252637), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 237.991817} +2019-03-15 02:00:02,592 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 01:00:00 +时间为:### 2019-03-15 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 01:00:00" and datetime< "2019-03-15 02:00:00" +2019-03-15 02:00:02,601 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,601 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,602 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,603 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 01:00:00" and datetime< "2019-03-15 02:00:00" +2019-03-15 02:00:02,606 INFO sqlalchemy.engine.base.Engine {} +****255 +all****255 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 01:00:00" and datetime< "2019-03-15 02:00:00" +2019-03-15 02:00:03,627 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:03,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:03,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,629 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:03,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,630 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:03,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:03,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:03,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:03,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:03,633 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 01:00:00" and datetime< "2019-03-15 02:00:00" +2019-03-15 02:00:03,633 INFO sqlalchemy.engine.base.Engine {} +****255 +all****255 + +all****204 + +all****51 + +****204 + +****50 + +Start domain data classification: +2019-03-15 02:00:04,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,687 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,688 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,690 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 02:00:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,693 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 02:00:04,694 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 02:00:04,694 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 2, 0), 'aircleaner': 0, 'airconditioner': 179, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 25, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 02:00:04,694 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 02:00:04,714 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:04,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,715 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:04,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,715 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:04,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,716 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:04,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,717 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:04,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,718 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:04,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,718 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:04,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,719 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 02:00:04,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:04,721 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 02:00:04,722 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 02:00:04,722 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 2, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 4, 'chat': 40, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 02:00:04,723 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 02:00:05,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 02:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 02:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,533 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 02:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,534 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 02:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 02:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 02:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,537 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 02:00:05,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 02:00:05,539 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 02:00:05,539 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 02:00:05,540 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 2, 0), '0~500ms': "[('airconditioner', 180), ('universalcontrol', 25), ('aircleaner', 0), ('chat', 41), ('music', 5), ('baike', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 02:00:05,540 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 03 +***** + +2019-03-15 03:00:02,910 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,911 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,912 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,913 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,917 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 03:00:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,919 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 03:00:02,924 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 03:00:02,924 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 2, 0, 9, 940465), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 199.253536}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 23, 151035), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 191.713541}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 56, 203628), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.422133}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 56, 334596), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.98079}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 56, 461992), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 373.104834}, {'datetime': datetime.datetime(2019, 3, 15, 2, 0, 56, 532056), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 370.626377}, {'datetime': datetime.datetime(2019, 3, 15, 2, 1, 6, 126744), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 219.330272}, {'datetime': datetime.datetime(2019, 3, 15, 2, 1, 6, 147650), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 202.153218} ... displaying 10 of 247 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 2, 59, 32, 877304), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 187.430241}, {'datetime': datetime.datetime(2019, 3, 15, 2, 59, 46, 182561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 195.584479}) +2019-03-15 03:00:02,935 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 03:00:02,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,946 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,947 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,948 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:02,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,950 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 03:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,960 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,964 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 03:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,966 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 03:00:02,967 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 03:00:02,967 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 2, 15, 56, 744899), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 208.148922}, {'datetime': datetime.datetime(2019, 3, 15, 2, 16, 16, 588899), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 213.81716}, {'datetime': datetime.datetime(2019, 3, 15, 2, 22, 24, 241974), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请播部', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 237.387709}, {'datetime': datetime.datetime(2019, 3, 15, 2, 53, 16, 582572), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 2007.9650619999998}, {'datetime': datetime.datetime(2019, 3, 15, 2, 54, 38, 720941), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '没事就不能叫你了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 243.358655}) +2019-03-15 03:00:02,968 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 02:00:00 +时间为:### 2019-03-15 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 02:00:00" and datetime< "2019-03-15 03:00:00" +2019-03-15 03:00:02,975 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,976 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,976 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,977 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:02,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:02,980 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 02:00:00" and datetime< "2019-03-15 03:00:00" +2019-03-15 03:00:02,980 INFO sqlalchemy.engine.base.Engine {} +****248 +all****248 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 02:00:00" and datetime< "2019-03-15 03:00:00" +2019-03-15 03:00:04,038 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:04,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:04,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,040 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:04,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,041 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:04,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:04,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:04,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,044 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:04,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:04,044 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 02:00:00" and datetime< "2019-03-15 03:00:00" +2019-03-15 03:00:04,044 INFO sqlalchemy.engine.base.Engine {} +****248 +all****248 + +all****187 + +all****61 + +****187 + +****56 + +Start domain data classification: +2019-03-15 03:00:05,078 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,079 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:05,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,080 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:05,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,080 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,082 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,082 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,083 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,083 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 03:00:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,086 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 03:00:05,087 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 03:00:05,087 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 3, 0), 'aircleaner': 0, 'airconditioner': 164, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 23, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 03:00:05,087 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 03:00:05,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:05,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:05,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:05,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,102 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:05,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,105 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 03:00:05,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,108 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 03:00:05,109 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 03:00:05,109 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 3, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 46, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 10, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 03:00:05,109 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 03:00:05,926 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 03:00:05,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,927 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 03:00:05,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,928 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 03:00:05,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,929 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 03:00:05,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,930 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 03:00:05,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 03:00:05,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,932 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 03:00:05,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 03:00:05,934 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 03:00:05,935 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 03:00:05,935 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 3, 0), '0~500ms': "[('airconditioner', 162), ('universalcontrol', 23), ('aircleaner', 0), ('chat', 49), ('music', 8), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 03:00:05,936 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 04 +***** + +2019-03-15 04:00:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,371 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,375 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 04:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,377 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 04:00:02,383 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 04:00:02,383 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 3, 0, 19, 454282), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 540.163478}, {'datetime': datetime.datetime(2019, 3, 15, 3, 0, 29, 116064), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 199.854051}, {'datetime': datetime.datetime(2019, 3, 15, 3, 0, 40, 234499), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.538711}, {'datetime': datetime.datetime(2019, 3, 15, 3, 0, 50, 406696), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.993082}, {'datetime': datetime.datetime(2019, 3, 15, 3, 0, 51, 538522), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 191.407131}, {'datetime': datetime.datetime(2019, 3, 15, 3, 1, 0, 190322), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 217.85828}, {'datetime': datetime.datetime(2019, 3, 15, 3, 1, 30, 801205), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 188.779648}, {'datetime': datetime.datetime(2019, 3, 15, 3, 1, 42, 661092), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 195.786599} ... displaying 10 of 315 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 3, 59, 52, 65937), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 209.084107}, {'datetime': datetime.datetime(2019, 3, 15, 3, 59, 52, 226504), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 347.03325}) +2019-03-15 04:00:02,396 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 04:00:02,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 04:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,424 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,426 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,428 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,428 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,429 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 04:00:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,431 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 04:00:02,432 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 04:00:02,432 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 3, 6, 14, 988257), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 226.85948}, {'datetime': datetime.datetime(2019, 3, 15, 3, 51, 11, 323652), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 241.327214}, {'datetime': datetime.datetime(2019, 3, 15, 3, 58, 35, 926232), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'bubbly', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 246.816986}, {'datetime': datetime.datetime(2019, 3, 15, 3, 58, 35, 988193), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'bbq', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 234.412533}, {'datetime': datetime.datetime(2019, 3, 15, 3, 58, 38, 274858), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'gentleman', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 241.377784}, {'datetime': datetime.datetime(2019, 3, 15, 3, 58, 38, 457423), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'gentleman', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 241.219539}) +2019-03-15 04:00:02,432 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 03:00:00 +时间为:### 2019-03-15 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 03:00:00" and datetime< "2019-03-15 04:00:00" +2019-03-15 04:00:02,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,441 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,441 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:02,444 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 03:00:00" and datetime< "2019-03-15 04:00:00" +2019-03-15 04:00:02,444 INFO sqlalchemy.engine.base.Engine {} +****315 +all****315 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 03:00:00" and datetime< "2019-03-15 04:00:00" +2019-03-15 04:00:03,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:03,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:03,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:03,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:03,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:03,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:03,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:03,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:03,484 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 03:00:00" and datetime< "2019-03-15 04:00:00" +2019-03-15 04:00:03,484 INFO sqlalchemy.engine.base.Engine {} +****315 +all****315 + +all****249 + +all****66 + +****249 + +****60 + +Start domain data classification: +2019-03-15 04:00:04,539 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,541 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,542 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,545 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 04:00:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,547 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 04:00:04,548 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 04:00:04,548 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 4, 0), 'aircleaner': 0, 'airconditioner': 212, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 36, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 04:00:04,549 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 04:00:04,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,563 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,564 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,567 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 04:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:04,569 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 04:00:04,570 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 04:00:04,570 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 4, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 53, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 6, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 04:00:04,571 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 04:00:05,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 04:00:05,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 04:00:05,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,374 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 04:00:05,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,374 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 04:00:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:05,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 04:00:05,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 04:00:05,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,378 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 04:00:05,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 04:00:05,380 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 04:00:05,380 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 04:00:05,380 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 4, 0), '0~500ms': "[('airconditioner', 211), ('universalcontrol', 36), ('playcontrol', 1), ('chat', 59), ('music', 6), ('baike', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 04:00:05,381 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 05 +***** + +2019-03-15 05:00:02,759 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,761 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,762 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:02,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,766 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 05:00:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,768 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 05:00:02,773 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 05:00:02,773 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 4, 0, 3, 63027), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.090767}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 13, 61404), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.614054}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 13, 142936), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.84355}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 13, 145287), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.878793}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 13, 278906), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 378.973992}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 23, 105214), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.440648}, {'datetime': datetime.datetime(2019, 3, 15, 4, 0, 53, 688596), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 192.572952}, {'datetime': datetime.datetime(2019, 3, 15, 4, 1, 5, 507690), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 195.025993} ... displaying 10 of 249 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 4, 59, 35, 983739), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.017678}, {'datetime': datetime.datetime(2019, 3, 15, 4, 59, 46, 40715), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.389617}) +2019-03-15 05:00:02,783 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 05:00:02,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:02,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:02,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,798 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:02,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,801 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 05:00:02,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,809 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,810 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,811 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,811 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,814 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 05:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,816 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 05:00:02,817 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 05:00:02,817 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 4, 9, 20, 368011), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '使空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 193.194985} +2019-03-15 05:00:02,818 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 04:00:00 +时间为:### 2019-03-15 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 04:00:00" and datetime< "2019-03-15 05:00:00" +2019-03-15 05:00:02,824 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,826 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:02,829 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 04:00:00" and datetime< "2019-03-15 05:00:00" +2019-03-15 05:00:02,829 INFO sqlalchemy.engine.base.Engine {} +****249 +all****249 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 04:00:00" and datetime< "2019-03-15 05:00:00" +2019-03-15 05:00:03,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:03,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,874 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:03,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,875 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:03,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:03,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:03,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:03,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:03,878 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 04:00:00" and datetime< "2019-03-15 05:00:00" +2019-03-15 05:00:03,878 INFO sqlalchemy.engine.base.Engine {} +****249 +all****249 + +all****210 + +all****39 + +****210 + +****38 + +Start domain data classification: +2019-03-15 05:00:04,903 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,905 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,906 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,906 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,909 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 05:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,912 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 05:00:04,913 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 05:00:04,913 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 5, 0), 'aircleaner': 0, 'airconditioner': 182, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 28, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 05:00:04,913 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 05:00:04,926 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,927 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,928 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,929 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,930 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:04,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,932 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 05:00:04,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:04,934 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 05:00:04,935 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 05:00:04,935 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 5, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 37, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 05:00:04,936 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 05:00:05,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 05:00:05,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,773 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 05:00:05,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,774 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 05:00:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,774 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 05:00:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:05,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 05:00:05,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,777 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 05:00:05,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,777 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 05:00:05,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 05:00:05,780 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 05:00:05,780 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 05:00:05,780 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 5, 0), '0~500ms': "[('airconditioner', 182), ('universalcontrol', 28), ('aircleaner', 0), ('chat', 38), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 05:00:05,781 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 06 +***** + +2019-03-15 06:00:02,150 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,151 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,153 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,154 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,156 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:02,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,157 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 06:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,159 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 06:00:02,164 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 06:00:02,164 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 5, 0, 16, 553987), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 208.831302}, {'datetime': datetime.datetime(2019, 3, 15, 5, 0, 28, 385905), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 179.472142}, {'datetime': datetime.datetime(2019, 3, 15, 5, 0, 50, 217848), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.264363}, {'datetime': datetime.datetime(2019, 3, 15, 5, 1, 10, 731337), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 245.321013}, {'datetime': datetime.datetime(2019, 3, 15, 5, 1, 32, 175004), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 394.508576}, {'datetime': datetime.datetime(2019, 3, 15, 5, 2, 36, 455652), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 375.690939}, {'datetime': datetime.datetime(2019, 3, 15, 5, 2, 57, 33133), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 334.865317}, {'datetime': datetime.datetime(2019, 3, 15, 5, 3, 10, 74823), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.708623} ... displaying 10 of 234 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 5, 59, 39, 402236), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 192.17392}, {'datetime': datetime.datetime(2019, 3, 15, 5, 59, 51, 396900), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 198.708942}) +2019-03-15 06:00:02,174 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 06:00:02,187 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,188 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,189 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,190 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,192 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,192 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 06:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,202 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,203 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,206 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 06:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,208 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 06:00:02,209 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 06:00:02,209 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 5, 50, 27, 360559), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再听小欢杂谈', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 241.465135} +2019-03-15 06:00:02,210 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 05:00:00 +时间为:### 2019-03-15 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 05:00:00" and datetime< "2019-03-15 06:00:00" +2019-03-15 06:00:02,216 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,218 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,218 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:02,221 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 05:00:00" and datetime< "2019-03-15 06:00:00" +2019-03-15 06:00:02,221 INFO sqlalchemy.engine.base.Engine {} +****234 +all****234 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 05:00:00" and datetime< "2019-03-15 06:00:00" +2019-03-15 06:00:03,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:03,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:03,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:03,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,240 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:03,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:03,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:03,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:03,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:03,243 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 05:00:00" and datetime< "2019-03-15 06:00:00" +2019-03-15 06:00:03,243 INFO sqlalchemy.engine.base.Engine {} +****234 +all****234 + +all****182 + +all****52 + +****182 + +****51 + +Start domain data classification: +2019-03-15 06:00:04,263 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:04,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:04,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,265 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,265 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:04,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:04,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,269 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 06:00:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,271 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 06:00:04,272 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 06:00:04,272 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 6, 0), 'aircleaner': 0, 'airconditioner': 161, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 21, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 06:00:04,273 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 06:00:04,285 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:04,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,287 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,287 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:04,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:04,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:04,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,290 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 06:00:04,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:04,293 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 06:00:04,294 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 06:00:04,294 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 6, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 46, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-15 06:00:04,294 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 06:00:05,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 06:00:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,118 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 06:00:05,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,119 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 06:00:05,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,119 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 06:00:05,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:05,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 06:00:05,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,122 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 06:00:05,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,122 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 06:00:05,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 06:00:05,125 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 06:00:05,125 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 06:00:05,125 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 6, 0), '0~500ms': "[('airconditioner', 160), ('universalcontrol', 21), ('aircleaner', 0), ('chat', 46), ('music', 3), ('weather', 2)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 06:00:05,126 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 07 +***** + +2019-03-15 07:00:02,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,532 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 07:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 07:00:02,540 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 07:00:02,540 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 6, 0, 13, 21687), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.544962}, {'datetime': datetime.datetime(2019, 3, 15, 6, 0, 23, 489312), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 250.100855}, {'datetime': datetime.datetime(2019, 3, 15, 6, 0, 40, 782092), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 213.010109}, {'datetime': datetime.datetime(2019, 3, 15, 6, 0, 40, 786567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 207.96956}, {'datetime': datetime.datetime(2019, 3, 15, 6, 0, 40, 911373), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 330.04142}, {'datetime': datetime.datetime(2019, 3, 15, 6, 0, 40, 972833), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 241.929821}, {'datetime': datetime.datetime(2019, 3, 15, 6, 1, 48, 492793), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 385.712185}, {'datetime': datetime.datetime(2019, 3, 15, 6, 1, 59, 261382), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 395.826079} ... displaying 10 of 288 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 6, 59, 46, 338678), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 233.097658}, {'datetime': datetime.datetime(2019, 3, 15, 6, 59, 56, 494796), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.585817}) +2019-03-15 07:00:02,552 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 07:00:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,565 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 07:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,579 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,582 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 07:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,584 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 07:00:02,585 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 07:00:02,585 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 6, 56, 2, 134616), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 215.615811}, {'datetime': datetime.datetime(2019, 3, 15, 6, 56, 19, 170087), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 208.404951}, {'datetime': datetime.datetime(2019, 3, 15, 6, 56, 27, 187199), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 215.656419}, {'datetime': datetime.datetime(2019, 3, 15, 6, 56, 57, 121621), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 214.153417}, {'datetime': datetime.datetime(2019, 3, 15, 6, 58, 21, 726497), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 237.328676}) +2019-03-15 07:00:02,585 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 06:00:00 +时间为:### 2019-03-15 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 06:00:00" and datetime< "2019-03-15 07:00:00" +2019-03-15 07:00:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 06:00:00" and datetime< "2019-03-15 07:00:00" +2019-03-15 07:00:02,597 INFO sqlalchemy.engine.base.Engine {} +****288 +all****288 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 06:00:00" and datetime< "2019-03-15 07:00:00" +2019-03-15 07:00:03,616 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:03,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:03,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,618 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:03,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,618 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:03,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:03,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:03,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:03,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:03,621 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 06:00:00" and datetime< "2019-03-15 07:00:00" +2019-03-15 07:00:03,621 INFO sqlalchemy.engine.base.Engine {} +****288 +all****288 + +all****225 + +all****63 + +****225 + +****58 + +Start domain data classification: +2019-03-15 07:00:04,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,651 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 07:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,654 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 07:00:04,655 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 07:00:04,655 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 7, 0), 'aircleaner': 0, 'airconditioner': 203, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 22, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 07:00:04,655 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 07:00:04,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,670 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,671 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,671 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,674 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 07:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:04,677 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 07:00:04,678 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 07:00:04,678 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 7, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 53, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 1, 'weather': 0} +2019-03-15 07:00:04,678 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 07:00:05,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 07:00:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 07:00:05,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,497 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 07:00:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,497 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 07:00:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 07:00:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 07:00:05,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,500 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 07:00:05,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 07:00:05,502 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 07:00:05,503 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 07:00:05,503 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 7, 0), '0~500ms': "[('airconditioner', 203), ('universalcontrol', 21), ('aircleaner', 0), ('chat', 57), ('music', 3), ('translate', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 07:00:05,504 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 08 +***** + +2019-03-15 08:00:02,898 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:02,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,899 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,900 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,901 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,902 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,905 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 08:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,907 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 08:00:02,912 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 08:00:02,912 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 7, 0, 7, 751817), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调打开抽湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.677962}, {'datetime': datetime.datetime(2019, 3, 15, 7, 0, 17, 855940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 230.078808}, {'datetime': datetime.datetime(2019, 3, 15, 7, 0, 28, 138853), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.839547}, {'datetime': datetime.datetime(2019, 3, 15, 7, 1, 8, 742422), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 374.105872}, {'datetime': datetime.datetime(2019, 3, 15, 7, 1, 11, 452009), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 374.967402}, {'datetime': datetime.datetime(2019, 3, 15, 7, 1, 22, 34144), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 242.334219}, {'datetime': datetime.datetime(2019, 3, 15, 7, 1, 42, 836284), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 270.864993}, {'datetime': datetime.datetime(2019, 3, 15, 7, 1, 55, 847690), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.091039} ... displaying 10 of 312 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 7, 59, 19, 313854), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.191802}, {'datetime': datetime.datetime(2019, 3, 15, 7, 59, 40, 770914), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.070684}) +2019-03-15 08:00:02,925 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 08:00:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,939 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,942 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 08:00:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,950 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,952 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,952 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,953 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,955 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 08:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,957 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 08:00:02,958 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 08:00:02,958 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 7, 39, 34, 898992), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 236.893676}, {'datetime': datetime.datetime(2019, 3, 15, 7, 42, 22, 899760), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 244.150209}, {'datetime': datetime.datetime(2019, 3, 15, 7, 55, 56, 474003), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 239.008583}) +2019-03-15 08:00:02,959 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 07:00:00 +时间为:### 2019-03-15 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 07:00:00" and datetime< "2019-03-15 08:00:00" +2019-03-15 08:00:02,966 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:02,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,968 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:02,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,968 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:02,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,969 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,970 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:02,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:02,971 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 07:00:00" and datetime< "2019-03-15 08:00:00" +2019-03-15 08:00:02,971 INFO sqlalchemy.engine.base.Engine {} +****312 +all****312 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 07:00:00" and datetime< "2019-03-15 08:00:00" +2019-03-15 08:00:03,987 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:03,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,988 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:03,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,989 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:03,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,990 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:03,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,991 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:03,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,992 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:03,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,993 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:03,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:03,993 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 07:00:00" and datetime< "2019-03-15 08:00:00" +2019-03-15 08:00:03,993 INFO sqlalchemy.engine.base.Engine {} +****312 +all****312 + +all****256 + +all****56 + +****256 + +****53 + +Start domain data classification: +2019-03-15 08:00:05,034 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:05,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,034 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:05,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,035 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:05,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,036 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:05,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,038 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,039 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 08:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,042 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 08:00:05,043 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 08:00:05,043 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 8, 0), 'aircleaner': 0, 'airconditioner': 220, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 36, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 08:00:05,043 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 08:00:05,058 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:05,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,059 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:05,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,060 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:05,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,060 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:05,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,063 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 08:00:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,065 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 08:00:05,066 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 08:00:05,066 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 8, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 47, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 6, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 08:00:05,067 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 08:00:05,887 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 08:00:05,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,888 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 08:00:05,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,889 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 08:00:05,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,889 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 08:00:05,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 08:00:05,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 08:00:05,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,892 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 08:00:05,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 08:00:05,894 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 08:00:05,895 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 08:00:05,895 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 8, 0), '0~500ms': "[('airconditioner', 218), ('universalcontrol', 36), ('aircleaner', 0), ('chat', 49), ('music', 5), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 08:00:05,895 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 09 +***** + +2019-03-15 09:00:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 09:00:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 09:00:02,399 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 09:00:02,399 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 8, 0, 45, 144113), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 376.088471}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 5, 888937), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 365.525118}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 18, 679850), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.8405}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 30, 837871), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 675.937123}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 50, 889831), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 299.48694}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 50, 968033), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.763658}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 51, 43646), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 395.461536}, {'datetime': datetime.datetime(2019, 3, 15, 8, 1, 51, 149514), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 372.063619} ... displaying 10 of 211 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 8, 59, 13, 980960), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.895774}, {'datetime': datetime.datetime(2019, 3, 15, 8, 59, 57, 104924), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 251.419842}) +2019-03-15 09:00:02,408 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 09:00:02,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,422 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,425 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 09:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,435 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,436 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,439 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 09:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,441 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 09:00:02,442 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 09:00:02,442 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 8, 6, 10, 841445), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 248.662437}, {'datetime': datetime.datetime(2019, 3, 15, 8, 19, 38, 37206), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 255.938834}, {'datetime': datetime.datetime(2019, 3, 15, 8, 47, 3, 709267), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 235.773439}) +2019-03-15 09:00:02,443 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 08:00:00 +时间为:### 2019-03-15 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 08:00:00" and datetime< "2019-03-15 09:00:00" +2019-03-15 09:00:02,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,455 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,456 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:02,458 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 08:00:00" and datetime< "2019-03-15 09:00:00" +2019-03-15 09:00:02,458 INFO sqlalchemy.engine.base.Engine {} +****211 +all****211 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 08:00:00" and datetime< "2019-03-15 09:00:00" +2019-03-15 09:00:03,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:03,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:03,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:03,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 08:00:00" and datetime< "2019-03-15 09:00:00" +2019-03-15 09:00:03,497 INFO sqlalchemy.engine.base.Engine {} +****211 +all****211 + +all****168 + +all****43 + +****168 + +****40 + +Start domain data classification: +2019-03-15 09:00:04,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,544 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,544 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,547 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,548 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 09:00:04,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,550 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 09:00:04,551 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-15 09:00:04,551 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 9, 0), 'aircleaner': 0, 'airconditioner': 144, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 22, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 2} +2019-03-15 09:00:04,552 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 09:00:04,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,567 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,570 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 09:00:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:04,572 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 09:00:04,574 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 09:00:04,574 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 9, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 36, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-15 09:00:04,574 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 09:00:05,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 09:00:05,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 09:00:05,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 09:00:05,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 09:00:05,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:05,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 09:00:05,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 09:00:05,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 09:00:05,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 09:00:05,429 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 09:00:05,431 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 09:00:05,431 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 9, 0), '0~500ms': "[('airconditioner', 142), ('universalcontrol', 21), ('voiceswitching', 2), ('chat', 37), ('music', 1), ('news', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 1), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 09:00:05,432 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 10 +***** + +2019-03-15 10:00:02,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,908 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,911 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 10:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,914 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 10:00:02,920 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 10:00:02,920 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 9, 0, 7, 887159), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 247.682788}, {'datetime': datetime.datetime(2019, 3, 15, 9, 0, 53, 314157), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.54043}, {'datetime': datetime.datetime(2019, 3, 15, 9, 1, 13, 943102), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.607421}, {'datetime': datetime.datetime(2019, 3, 15, 9, 1, 35, 234933), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 392.156336}, {'datetime': datetime.datetime(2019, 3, 15, 9, 2, 24, 460485), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 395.71023}, {'datetime': datetime.datetime(2019, 3, 15, 9, 2, 57, 77772), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 343.675667}, {'datetime': datetime.datetime(2019, 3, 15, 9, 3, 7, 190922), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 226.049213}, {'datetime': datetime.datetime(2019, 3, 15, 9, 3, 15, 851932), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 215.361042} ... displaying 10 of 375 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 9, 59, 51, 540402), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 261.417852}, {'datetime': datetime.datetime(2019, 3, 15, 9, 59, 51, 678698), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 201.907397}) +2019-03-15 10:00:02,936 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 10:00:02,949 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,950 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,951 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,952 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,953 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,953 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,955 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 10:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,963 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,965 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,965 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:02,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,968 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 10:00:02,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,971 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 10:00:02,971 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 10:00:02,971 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 9, 7, 54, 934194), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '落霞三首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 236.879106}, {'datetime': datetime.datetime(2019, 3, 15, 9, 10, 7, 929212), 'mac_wifi': 'f4911e675a03', 'mac_voice': 'c46e7baac651', 'query': '有公证吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 207.353466}, {'datetime': datetime.datetime(2019, 3, 15, 9, 19, 25, 496169), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 2010.7378410000001}, {'datetime': datetime.datetime(2019, 3, 15, 9, 24, 10, 717340), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '制热模式制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 209.954785}, {'datetime': datetime.datetime(2019, 3, 15, 9, 33, 10, 272758), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 244.386963}, {'datetime': datetime.datetime(2019, 3, 15, 9, 35, 53, 679191), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 210.160175}, {'datetime': datetime.datetime(2019, 3, 15, 9, 46, 56, 398236), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '将球模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 283.024464}, {'datetime': datetime.datetime(2019, 3, 15, 9, 52, 17, 432748), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开抽湿模式打开', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 369.160615} ... displaying 10 of 13 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 9, 59, 8, 991312), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 246.266479}, {'datetime': datetime.datetime(2019, 3, 15, 9, 59, 9, 86669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 267.116412}) +2019-03-15 10:00:02,973 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 09:00:00 +时间为:### 2019-03-15 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 09:00:00" and datetime< "2019-03-15 10:00:00" +2019-03-15 10:00:02,996 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:02,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,997 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:02,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,998 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,998 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:02,999 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:02,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:03,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:03,000 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:03,001 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 09:00:00" and datetime< "2019-03-15 10:00:00" +2019-03-15 10:00:03,001 INFO sqlalchemy.engine.base.Engine {} +****375 +all****375 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 09:00:00" and datetime< "2019-03-15 10:00:00" +2019-03-15 10:00:04,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:04,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:04,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,050 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:04,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,050 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:04,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:04,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:04,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:04,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:04,053 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 09:00:00" and datetime< "2019-03-15 10:00:00" +2019-03-15 10:00:04,054 INFO sqlalchemy.engine.base.Engine {} +****375 +all****375 + +all****220 + +all****155 + +****220 + +****142 + +Start domain data classification: +2019-03-15 10:00:05,086 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,089 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:05,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,092 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 10:00:05,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,094 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 10:00:05,095 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 10:00:05,095 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 10, 0), 'aircleaner': 0, 'airconditioner': 180, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 39, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 10:00:05,096 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 10:00:05,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,112 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,112 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,115 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 10:00:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,118 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 10:00:05,119 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 10:00:05,119 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 10, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 4, 'chat': 74, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 33, 'news': 2, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 28} +2019-03-15 10:00:05,119 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 10:00:05,978 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 10:00:05,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,979 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 10:00:05,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,980 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 10:00:05,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,981 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 10:00:05,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,982 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 10:00:05,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 10:00:05,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,984 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 10:00:05,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 10:00:05,986 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 10:00:05,987 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 10:00:05,987 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 10, 0), '0~500ms': "[('airconditioner', 176), ('universalcontrol', 38), ('playcontrol', 1), ('chat', 85), ('music', 30), ('weather', 28)]", '1000~2000ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('music', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 10:00:05,987 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 11 +***** + +2019-03-15 11:00:02,714 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,715 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,716 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,717 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,722 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 11:00:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,725 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 11:00:02,734 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 11:00:02,734 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 10, 0, 16, 22551), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.862223}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 16, 42031), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.195661}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 16, 42031), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.195661}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 16, 431679), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.706093}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 36, 748829), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.986258}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 36, 775407), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.329734}, {'datetime': datetime.datetime(2019, 3, 15, 10, 0, 58, 877515), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.226185}, {'datetime': datetime.datetime(2019, 3, 15, 10, 1, 3, 811535), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首琵琶情', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '找到了吉仔的琵琶情,来听一下吧。', 'cost_time_ms': 473.180939} ... displaying 10 of 671 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 1, 650211), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.07983}, {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 1, 650211), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.07983}) +2019-03-15 11:00:02,765 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 11:00:02,778 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,779 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:02,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,780 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,780 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,783 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,783 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 11:00:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,792 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,793 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,795 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,798 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 11:00:02,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,800 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 11:00:02,801 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 11:00:02,801 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 10, 9, 20, 624300), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 236.13795}, {'datetime': datetime.datetime(2019, 3, 15, 10, 25, 54, 903695), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '没有找到没想到的内容', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 246.946226}, {'datetime': datetime.datetime(2019, 3, 15, 10, 30, 49, 694132), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 239.560667}, {'datetime': datetime.datetime(2019, 3, 15, 10, 31, 8, 806420), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '北京特别美', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 247.287576}, {'datetime': datetime.datetime(2019, 3, 15, 10, 34, 38, 665195), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 209.637109}, {'datetime': datetime.datetime(2019, 3, 15, 10, 34, 38, 944099), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 205.916315}, {'datetime': datetime.datetime(2019, 3, 15, 10, 35, 27, 946974), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '是不是拗口令', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 214.390371}, {'datetime': datetime.datetime(2019, 3, 15, 10, 37, 10, 473823), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 209.596851} ... displaying 10 of 13 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 10, 48, 53, 466781), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '高考语文必背多音字有哪些', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 166.97071}, {'datetime': datetime.datetime(2019, 3, 15, 10, 56, 14, 267010), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 246.278912}) +2019-03-15 11:00:02,802 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 10:00:00 +时间为:### 2019-03-15 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 10:00:00" and datetime< "2019-03-15 11:00:00" +2019-03-15 11:00:02,809 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,810 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,811 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,811 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:02,814 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 10:00:00" and datetime< "2019-03-15 11:00:00" +2019-03-15 11:00:02,814 INFO sqlalchemy.engine.base.Engine {} +****320 +all****320 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 10:00:00" and datetime< "2019-03-15 11:00:00" +2019-03-15 11:00:03,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:03,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:03,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,883 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,883 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:03,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:03,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:03,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:03,886 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 10:00:00" and datetime< "2019-03-15 11:00:00" +2019-03-15 11:00:03,886 INFO sqlalchemy.engine.base.Engine {} +****320 +all****320 + +all****227 + +all****93 + +****227 + +****80 + +Start domain data classification: +2019-03-15 11:00:04,914 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:04,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,915 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:04,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,916 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:04,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,916 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:04,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:04,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:04,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,919 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:04,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,919 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 11:00:04,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,922 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 11:00:04,923 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 11:00:04,923 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 11, 0), 'aircleaner': 0, 'airconditioner': 193, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 34, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 11:00:04,923 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 11:00:04,938 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,939 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:04,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,940 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:04,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,941 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,943 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,944 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 11:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:04,946 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 11:00:04,947 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather, reminder_v2) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s, %(reminder_v2)s) +2019-03-15 11:00:04,947 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 4, 'chat': 66, 'chengyu': 3, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 6, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0, 'reminder_v2': 1} +2019-03-15 11:00:04,948 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 11:00:05,776 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 11:00:05,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 11:00:05,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,778 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 11:00:05,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,778 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 11:00:05,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:05,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 11:00:05,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 11:00:05,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,781 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 11:00:05,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 11:00:05,783 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 11:00:05,784 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 11:00:05,784 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 11, 0), '0~500ms': "[('airconditioner', 541), ('universalcontrol', 34), ('aircleaner', 0), ('chat', 79), ('music', 6), ('baike', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 11:00:05,785 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 12 +***** + +2019-03-15 12:00:02,415 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,418 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,418 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,422 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 12:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,425 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 12:00:02,433 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 12:00:02,433 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 11, 0, 20, 858847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.121978}, {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 20, 896931), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.427501}, {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 21, 67559), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 394.159455}, {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 21, 134209), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 385.262987}, {'datetime': datetime.datetime(2019, 3, 15, 11, 0, 50, 638312), 'mac_wifi': 'f4911e675a03', 'mac_voice': 'c46e7baac651', 'query': '播放船歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏邓丽君的船歌哦。', 'cost_time_ms': 248.64866}, {'datetime': datetime.datetime(2019, 3, 15, 11, 1, 10, 107141), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.815918}, {'datetime': datetime.datetime(2019, 3, 15, 11, 1, 10, 115118), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 256.236714}, {'datetime': datetime.datetime(2019, 3, 15, 11, 1, 10, 847118), 'mac_wifi': 'f4911e675a03', 'mac_voice': 'c46e7baac651', 'query': '播放赵鹏的船歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听赵鹏的船歌吧。', 'cost_time_ms': 317.3112} ... displaying 10 of 547 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 11, 59, 43, 883853), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.364011}, {'datetime': datetime.datetime(2019, 3, 15, 11, 59, 46, 571447), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.251982}) +2019-03-15 12:00:02,456 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 12:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,475 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 12:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,485 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,486 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,486 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,489 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 12:00:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,492 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 12:00:02,493 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 12:00:02,493 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 11, 4, 10, 753466), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '跳起来坐到现在', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 215.088515}, {'datetime': datetime.datetime(2019, 3, 15, 11, 5, 16, 721434), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 2009.913138}, {'datetime': datetime.datetime(2019, 3, 15, 11, 5, 53, 509311), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '科斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 240.535454}, {'datetime': datetime.datetime(2019, 3, 15, 11, 6, 58, 809885), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '丛大伟的星座', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 210.231081}, {'datetime': datetime.datetime(2019, 3, 15, 11, 7, 8, 392539), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 209.42033}, {'datetime': datetime.datetime(2019, 3, 15, 11, 7, 24, 368047), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '比较火。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 188.178499}, {'datetime': datetime.datetime(2019, 3, 15, 11, 10, 58, 235634), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '江苏哪些地级市', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 214.579453}, {'datetime': datetime.datetime(2019, 3, 15, 11, 13, 55, 466757), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '朱少章的作品', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 294.564049} ... displaying 10 of 33 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 11, 50, 29, 40403), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 237.471947}, {'datetime': datetime.datetime(2019, 3, 15, 11, 50, 29, 108337), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体视频我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 252.587006}) +2019-03-15 12:00:02,495 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 11:00:00 +时间为:### 2019-03-15 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 11:00:00" and datetime< "2019-03-15 12:00:00" +2019-03-15 12:00:02,504 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,506 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 11:00:00" and datetime< "2019-03-15 12:00:00" +2019-03-15 12:00:02,509 INFO sqlalchemy.engine.base.Engine {} +****898 +all****898 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 11:00:00" and datetime< "2019-03-15 12:00:00" +2019-03-15 12:00:03,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:03,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:03,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,562 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:03,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,562 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:03,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:03,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:03,566 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 11:00:00" and datetime< "2019-03-15 12:00:00" +2019-03-15 12:00:03,566 INFO sqlalchemy.engine.base.Engine {} +****898 +all****898 + +all****669 + +all****229 + +****669 + +****196 + +Start domain data classification: +2019-03-15 12:00:04,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,637 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,637 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:04,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:04,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,640 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 12:00:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,642 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 12:00:04,643 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 12:00:04,643 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 12, 0), 'aircleaner': 0, 'airconditioner': 619, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 48, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 12:00:04,644 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 12:00:04,656 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,657 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,658 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,658 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,661 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 12:00:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:04,663 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 12:00:04,664 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 12:00:04,664 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 12, 0), 'almanac': 0, 'ancient_poem': 2, 'astro': 0, 'baike': 5, 'chat': 123, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 2, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 24, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 1, 'weather': 38} +2019-03-15 12:00:04,665 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 12:00:05,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 12:00:05,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 12:00:05,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 12:00:05,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 12:00:05,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 12:00:05,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 12:00:05,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,497 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 12:00:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 12:00:05,499 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 12:00:05,499 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 12:00:05,499 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 12, 0), '0~500ms': "[('airconditioner', 268), ('universalcontrol', 48), ('playcontrol', 2), ('chat', 152), ('weather', 25), ('music', 21)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 13), ('music', 2), ('baike', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 12:00:05,500 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 13 +***** + +2019-03-15 13:00:02,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,118 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,118 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,122 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 13:00:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,125 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 13:00:02,129 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 13:00:02,129 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 12, 0, 15, 364857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 210.272943}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 15, 444847), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 246.470803}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 15, 500686), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 237.292994}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 32, 913132), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.908106}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 32, 918462), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 252.841547}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 33, 37507), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.152833}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 33, 156935), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 340.394515}, {'datetime': datetime.datetime(2019, 3, 15, 12, 0, 40, 815181), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 245.128435} ... displaying 10 of 179 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 12, 44, 23, 176424), 'mac_wifi': 'f4911e590659', 'mac_voice': '000000000053', 'query': '健康对吗', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '健康,不单纯是身体的健康,更重要的是心理健康,即是身心健康,才是真正的健康!', 'cost_time_ms': 301.203831}, {'datetime': datetime.datetime(2019, 3, 15, 12, 46, 46, 295872), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '天气预报', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 343.081221}) +2019-03-15 13:00:02,137 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 13:00:02,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:02,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,149 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:02,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,150 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,150 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,153 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 13:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,163 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,164 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,167 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 13:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,169 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 13:00:02,170 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 13:00:02,170 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 12, 0, 40, 815181), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 245.128435}, {'datetime': datetime.datetime(2019, 3, 15, 12, 10, 59, 910540), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 237.884727}) +2019-03-15 13:00:02,170 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 12:00:00 +时间为:### 2019-03-15 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 12:00:00" and datetime< "2019-03-15 13:00:00" +2019-03-15 13:00:02,177 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,178 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,179 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,180 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:02,182 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 12:00:00" and datetime< "2019-03-15 13:00:00" +2019-03-15 13:00:02,182 INFO sqlalchemy.engine.base.Engine {} +****179 +all****179 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 12:00:00" and datetime< "2019-03-15 13:00:00" +2019-03-15 13:00:03,214 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:03,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,215 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,216 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:03,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,216 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:03,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:03,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:03,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:03,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:03,219 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 12:00:00" and datetime< "2019-03-15 13:00:00" +2019-03-15 13:00:03,219 INFO sqlalchemy.engine.base.Engine {} +****179 +all****179 + +all****124 + +all****55 + +****124 + +****53 + +Start domain data classification: +2019-03-15 13:00:04,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:04,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:04,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,235 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:04,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:04,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:04,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:04,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:04,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,239 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 13:00:04,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,242 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 13:00:04,243 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 13:00:04,243 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 13, 0), 'aircleaner': 0, 'airconditioner': 107, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 17, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 13:00:04,243 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 13:00:04,265 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:04,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,268 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,269 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,272 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 13:00:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:04,274 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 13:00:04,275 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 13:00:04,275 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 47, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 4, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-15 13:00:04,276 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 13:00:05,103 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 13:00:05,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 13:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,105 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 13:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,106 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 13:00:05,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,107 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:05,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 13:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 13:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,109 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 13:00:05,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 13:00:05,111 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 13:00:05,112 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 13:00:05,112 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 13, 0), '0~500ms': "[('airconditioner', 107), ('universalcontrol', 17), ('aircleaner', 0), ('chat', 49), ('music', 4), ('weather', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 13:00:05,112 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 14 +***** + +2019-03-15 14:00:02,591 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,598 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 14:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,600 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 14:00:02,603 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 14:00:02,603 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 13, 6, 39, 220949), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '怎么样', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '还可以。', 'cost_time_ms': 304.033029}, {'datetime': datetime.datetime(2019, 3, 15, 13, 12, 19, 299630), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮我换一下', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'change', 'response_data': '暂不支持该功能,我还在努力学习中', 'cost_time_ms': 418.410552}, {'datetime': datetime.datetime(2019, 3, 15, 13, 15, 17, 738948), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 308.135001}, {'datetime': datetime.datetime(2019, 3, 15, 13, 18, 20, 810736), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮我放一下', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 456.886017}, {'datetime': datetime.datetime(2019, 3, 15, 13, 19, 2, 300051), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播报娱乐新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是相关新闻:', 'cost_time_ms': 615.416964}, {'datetime': datetime.datetime(2019, 3, 15, 13, 24, 22, 83869), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮我换一下', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'change', 'response_data': '暂不支持该功能,我还在努力学习中', 'cost_time_ms': 417.003467}, {'datetime': datetime.datetime(2019, 3, 15, 13, 30, 44, 932422), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 372.715827}, {'datetime': datetime.datetime(2019, 3, 15, 13, 31, 4, 888260), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播报娱乐新闻', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '请问你要查哪个城市的天气呢?', 'cost_time_ms': 350.917209} ... displaying 10 of 47 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 13, 59, 10, 528112), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放渴死的鱼', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '帮你找到了彭亮的渴死的鱼,来听听吧。', 'cost_time_ms': 360.302469}, {'datetime': datetime.datetime(2019, 3, 15, 13, 59, 13, 197473), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '打开节能模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_energysavingon', 'response_data': 'success', 'cost_time_ms': 409.748229}) +2019-03-15 14:00:02,605 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 14:00:02,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,620 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,622 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,622 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 14:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,633 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,636 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 14:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,638 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 14:00:02,639 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 14:00:02,639 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 13, 54, 38, 659044), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '把开制冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 206.281257}, {'datetime': datetime.datetime(2019, 3, 15, 13, 57, 32, 283452), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '唤醒他灯光中打开了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 210.991301}, {'datetime': datetime.datetime(2019, 3, 15, 13, 58, 45, 871901), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '定时一小时', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 222.531237}, {'datetime': datetime.datetime(2019, 3, 15, 13, 58, 54, 862277), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '定时一小时', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 216.511605}) +2019-03-15 14:00:02,645 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 13:00:00 +时间为:### 2019-03-15 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 13:00:00" and datetime< "2019-03-15 14:00:00" +2019-03-15 14:00:02,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:02,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,660 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:02,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,661 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,661 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 13:00:00" and datetime< "2019-03-15 14:00:00" +2019-03-15 14:00:02,664 INFO sqlalchemy.engine.base.Engine {} +****47 +all****47 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 13:00:00" and datetime< "2019-03-15 14:00:00" +2019-03-15 14:00:03,721 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:03,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,722 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:03,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,723 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:03,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,724 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:03,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:03,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:03,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:03,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:03,727 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 13:00:00" and datetime< "2019-03-15 14:00:00" +2019-03-15 14:00:03,727 INFO sqlalchemy.engine.base.Engine {} +****47 +all****47 + +all****7 + +all****40 + +****7 + +****36 + +Start domain data classification: +2019-03-15 14:00:04,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,762 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,763 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,764 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,766 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,766 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,767 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 14:00:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,769 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 14:00:04,771 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 14:00:04,771 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 14, 0), 'aircleaner': 0, 'airconditioner': 6, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 14:00:04,771 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 14:00:04,788 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:04,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,789 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:04,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,790 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,791 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,792 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:04,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:04,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,795 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 14:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:04,798 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 14:00:04,799 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 14:00:04,800 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 14, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 8, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 19, 'news': 2, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 4} +2019-03-15 14:00:04,801 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 14:00:05,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 14:00:05,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 14:00:05,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 14:00:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,634 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 14:00:05,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:05,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 14:00:05,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 14:00:05,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,637 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 14:00:05,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 14:00:05,639 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 14:00:05,640 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 14:00:05,640 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 14, 0), '0~500ms': "[('airconditioner', 6), ('universalcontrol', 1), ('aircleaner', 0), ('music', 15), ('chat', 12), ('weather', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('news', 2), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 14:00:05,640 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py:1167: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison + result = method(y) +*****datetime: +2019-03-15 15 +***** + +Traceback (most recent call last): + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 420, in + load_run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 417, in load_run + TP.run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 393, in run + self.data_storage() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 149, in data_storage + control_error_data = outdata[(outdata['classify'] == 'control') & (outdata['code'] != 0)] + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1283, in wrapper + res = na_op(values, other) + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1169, in na_op + raise TypeError("invalid type comparison") +TypeError: invalid type comparison +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 16 +***** + +2019-03-15 16:00:02,578 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,581 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,582 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,586 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 16:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,590 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 16:00:02,594 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 16:00:02,594 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 15, 11, 42, 618379), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首周杰伦的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听周杰伦的歌。', 'cost_time_ms': 485.037737}, {'datetime': datetime.datetime(2019, 3, 15, 15, 12, 14, 474898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '时间越久', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 349.491444}, {'datetime': datetime.datetime(2019, 3, 15, 15, 12, 15, 235634), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '时间越久', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '时间越久,经历的人越多,越是明白,谁是喜欢,谁是爱,谁是最爱。', 'cost_time_ms': 169.637088}, {'datetime': datetime.datetime(2019, 3, 15, 15, 12, 15, 734269), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '时间越久', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '时间越久,经历的人越多,越是明白,谁是喜欢,谁是爱,谁是最爱。', 'cost_time_ms': 168.794252}, {'datetime': datetime.datetime(2019, 3, 15, 15, 14, 26, 954083), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首相逢何必曾相识', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听天籁回音的相逢何必曾相爱。', 'cost_time_ms': 701.96993}, {'datetime': datetime.datetime(2019, 3, 15, 15, 14, 45, 59898), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 443.30006}, {'datetime': datetime.datetime(2019, 3, 15, 15, 15, 1, 526840), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 276.272264}, {'datetime': datetime.datetime(2019, 3, 15, 15, 15, 2, 621976), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首童话', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是童可可的粉色云彩?听听看吧。', 'cost_time_ms': 393.313607} ... displaying 10 of 72 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 15, 47, 57, 799476), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首谭咏麟的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放谭咏麟的歌。', 'cost_time_ms': 565.718398}, {'datetime': datetime.datetime(2019, 3, 15, 15, 53, 19, 692925), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首李克勤的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放李克勤的歌。', 'cost_time_ms': 481.161771}) +2019-03-15 16:00:02,600 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 16:00:02,614 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,616 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,617 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,619 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 16:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,630 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,630 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,633 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 16:00:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,636 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 16:00:02,636 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 16:00:02,636 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 15, 12, 14, 474898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '时间越久', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 349.491444}, {'datetime': datetime.datetime(2019, 3, 15, 15, 33, 0, 879292), 'mac_wifi': 'f4911e594456', 'mac_voice': '00000000006d', 'query': '你妈妈是谁学友的歌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 206.324385}, {'datetime': datetime.datetime(2019, 3, 15, 15, 33, 23, 485127), 'mac_wifi': 'f4911e594456', 'mac_voice': '00000000006d', 'query': '你有张学友的歌的版权吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 215.982207}, {'datetime': datetime.datetime(2019, 3, 15, 15, 33, 34, 20246), 'mac_wifi': 'f4911e594456', 'mac_voice': '00000000006d', 'query': '你有张学友歌曲的版权吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 213.200107}, {'datetime': datetime.datetime(2019, 3, 15, 15, 47, 8, 721135), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '你好魔方', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 418.447708}) +2019-03-15 16:00:02,637 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 15:00:00 +时间为:### 2019-03-15 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 15:00:00" and datetime< "2019-03-15 16:00:00" +2019-03-15 16:00:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,651 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 15:00:00" and datetime< "2019-03-15 16:00:00" +2019-03-15 16:00:02,654 INFO sqlalchemy.engine.base.Engine {} +****72 +all****72 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 15:00:00" and datetime< "2019-03-15 16:00:00" +2019-03-15 16:00:03,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:03,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:03,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,660 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:03,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,661 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:03,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:03,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:03,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:03,664 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 15:00:00" and datetime< "2019-03-15 16:00:00" +2019-03-15 16:00:03,664 INFO sqlalchemy.engine.base.Engine {} +****72 +all****72 + +all****1 + +all****71 + +****1 + +****66 + +Start domain data classification: +2019-03-15 16:00:04,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:04,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,681 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,682 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,685 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 16:00:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,687 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 16:00:04,689 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 16:00:04,689 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 16, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 16:00:04,689 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 16:00:04,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,705 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,708 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 16:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:04,710 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 16:00:04,712 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 16:00:04,712 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 16, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 9, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 16, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 38} +2019-03-15 16:00:04,712 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 16:00:05,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 16:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 16:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,533 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 16:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,533 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 16:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 16:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 16:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,537 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 16:00:05,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 16:00:05,539 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 16:00:05,539 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 16:00:05,540 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 16, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('weather', 37), ('chat', 13), ('music', 12)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('chat', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 16:00:05,540 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 17 +***** + +2019-03-15 17:00:03,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,064 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,064 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,068 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 17:00:03,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,071 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 17:00:03,073 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 17:00:03,073 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 16, 1, 24, 908861), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 478.490124}, {'datetime': datetime.datetime(2019, 3, 15, 16, 5, 39, 409538), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '龙鳞套装', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 369.848687}, {'datetime': datetime.datetime(2019, 3, 15, 16, 5, 40, 207734), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '站在高大', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '站的高,摔的狠。', 'cost_time_ms': 179.969198}, {'datetime': datetime.datetime(2019, 3, 15, 16, 5, 40, 884491), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '泰国的广告', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '泰国的好。', 'cost_time_ms': 307.357182}, {'datetime': datetime.datetime(2019, 3, 15, 16, 5, 41, 609173), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '站在高岗上', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首龙飘飘的站在高岗上。', 'cost_time_ms': 245.25012}, {'datetime': datetime.datetime(2019, 3, 15, 16, 8, 0, 56618), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首张学友的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这首歌神的歌,叮当陪你慢慢享受。', 'cost_time_ms': 492.314139}, {'datetime': datetime.datetime(2019, 3, 15, 16, 9, 13, 114654), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 470.014722}, {'datetime': datetime.datetime(2019, 3, 15, 16, 10, 9, 983127), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 302.923045} ... displaying 10 of 28 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 16, 58, 45, 991079), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首老一点的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 458.791498}, {'datetime': datetime.datetime(2019, 3, 15, 16, 58, 56, 864810), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首刘德华的练习', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放刘德华的练习。', 'cost_time_ms': 392.356348}) +2019-03-15 17:00:03,075 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 17:00:03,091 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:03,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:03,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,093 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:03,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,093 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:03,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:03,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,096 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 17:00:03,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,106 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:03,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:03,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,108 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:03,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,109 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,112 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 17:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,114 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 17:00:03,115 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 17:00:03,115 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 16, 5, 39, 409538), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '龙鳞套装', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 369.848687} +2019-03-15 17:00:03,115 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 16:00:00 +时间为:### 2019-03-15 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 16:00:00" and datetime< "2019-03-15 17:00:00" +2019-03-15 17:00:03,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:03,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:03,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,124 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:03,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,125 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:03,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:03,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:03,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:03,128 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 16:00:00" and datetime< "2019-03-15 17:00:00" +2019-03-15 17:00:03,128 INFO sqlalchemy.engine.base.Engine {} +****28 +all****28 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 16:00:00" and datetime< "2019-03-15 17:00:00" +2019-03-15 17:00:04,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:04,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:04,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,181 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:04,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,181 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:04,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:04,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:04,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:04,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:04,185 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 16:00:00" and datetime< "2019-03-15 17:00:00" +2019-03-15 17:00:04,185 INFO sqlalchemy.engine.base.Engine {} +****28 +all****28 + +all****2 + +all****26 + +****2 + +****25 + +Start domain data classification: +2019-03-15 17:00:05,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:05,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,196 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:05,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,197 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,198 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,201 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 17:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,204 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 17:00:05,205 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 17:00:05,205 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 17, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 17:00:05,205 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 17:00:05,226 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,226 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,227 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,228 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,230 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,230 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,231 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 17:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:05,233 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 17:00:05,234 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 17:00:05,234 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 17, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 6, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 18, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 17:00:05,235 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 17:00:06,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 17:00:06,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,078 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 17:00:06,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,079 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 17:00:06,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,079 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 17:00:06,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:06,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 17:00:06,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,082 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 17:00:06,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,082 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 17:00:06,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 17:00:06,084 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 17:00:06,085 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 17:00:06,085 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 17, 0), '0~500ms': "[('playcontrol', 1), ('universalcontrol', 1), ('aircleaner', 0), ('music', 15), ('chat', 7), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 17:00:06,086 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 18 +***** + +2019-03-15 18:00:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,506 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,510 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 18:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,512 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 18:00:02,514 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 18:00:02,515 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 17, 2, 13, 155448), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '下一首', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_next', 'response_data': 'success', 'cost_time_ms': 428.101093}, {'datetime': datetime.datetime(2019, 3, 15, 17, 2, 18, 822682), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '停止播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_stop', 'response_data': 'success', 'cost_time_ms': 338.54264}, {'datetime': datetime.datetime(2019, 3, 15, 17, 3, 56, 777435), 'mac_wifi': 'f4911e594440', 'mac_voice': '000000000058', 'query': '灯光关', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lightoff', 'response_data': 'success', 'cost_time_ms': 354.216497}, {'datetime': datetime.datetime(2019, 3, 15, 17, 5, 18, 583719), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海今天的温度是多少', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'conditional_search_temperature', 'response_data': '珠海今天气温比昨天冷一些,16度到20度。气温还不错哦。格力空调祝您生活愉快。', 'cost_time_ms': 569.016707}, {'datetime': datetime.datetime(2019, 3, 15, 17, 5, 38, 81577), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '请播放彭丽媛的在希望的田野上', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首彭丽媛的在希望的田野上。', 'cost_time_ms': 502.105762}, {'datetime': datetime.datetime(2019, 3, 15, 17, 5, 54, 228866), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '停止播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_stop', 'response_data': 'success', 'cost_time_ms': 229.327007}, {'datetime': datetime.datetime(2019, 3, 15, 17, 6, 0, 110329), 'mac_wifi': 'f4911e590659', 'mac_voice': '000000000053', 'query': '请风速关机', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的,稍等。', 'cost_time_ms': 220.977967}, {'datetime': datetime.datetime(2019, 3, 15, 17, 7, 44, 519639), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放凉凉', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听杨宗纬/张碧晨的凉凉。', 'cost_time_ms': 405.49625} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 17, 56, 40, 919574), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首starshigh心通', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听russellcrowe的stars吧。', 'cost_time_ms': 580.159148}, {'datetime': datetime.datetime(2019, 3, 15, 17, 57, 4, 980664), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首错的人', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放萧亚轩的错的人。', 'cost_time_ms': 261.85273}) +2019-03-15 18:00:02,516 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 18:00:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,532 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 18:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,541 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,541 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,542 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,543 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,546 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 18:00:02,546 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-15 17:00:00 +时间为:### 2019-03-15 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 17:00:00" and datetime< "2019-03-15 18:00:00" +2019-03-15 18:00:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,555 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:02,557 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 17:00:00" and datetime< "2019-03-15 18:00:00" +2019-03-15 18:00:02,557 INFO sqlalchemy.engine.base.Engine {} +****19 +all****19 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 17:00:00" and datetime< "2019-03-15 18:00:00" +2019-03-15 18:00:03,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,569 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:03,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,570 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,570 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:03,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:03,574 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 17:00:00" and datetime< "2019-03-15 18:00:00" +2019-03-15 18:00:03,574 INFO sqlalchemy.engine.base.Engine {} +****19 +all****19 + +all****4 + +all****15 + +****4 + +****15 + +Start domain data classification: +2019-03-15 18:00:04,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:04,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:04,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,599 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:04,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:04,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:04,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,602 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 18:00:04,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,604 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 18:00:04,605 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 18:00:04,605 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 18, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 18:00:04,606 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 18:00:04,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,622 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,623 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,626 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 18:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:04,628 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 18:00:04,629 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 18:00:04,629 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 18, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 12, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-15 18:00:04,630 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 18:00:05,467 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 18:00:05,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 18:00:05,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,469 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 18:00:05,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,470 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 18:00:05,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:05,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 18:00:05,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 18:00:05,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,473 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 18:00:05,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 18:00:05,475 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 18:00:05,476 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 18:00:05,476 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 18, 0), '0~500ms': "[('playcontrol', 3), ('universalcontrol', 1), ('aircleaner', 0), ('music', 9), ('chat', 2), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 18:00:05,476 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 19 +***** + +2019-03-15 19:00:02,920 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,922 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,923 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,924 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,929 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 19:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,932 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 19:00:02,936 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 19:00:02,936 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 18, 6, 58, 719184), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首内华达', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是vicetone/cozizuehlsdorff的nevada?听听看吧。', 'cost_time_ms': 474.226798}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 415045), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 584.388056}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 485870), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气啊', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 590.0384}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 563350), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 531.115165}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 580627), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 503.523761}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 643805), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 474.561171}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 649423), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 618.0516}, {'datetime': datetime.datetime(2019, 3, 15, 18, 9, 35, 821850), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温16度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 387.350954} ... displaying 10 of 46 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 18, 52, 9, 335433), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首moveyourbody', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首sia的moveyourbody送给你。', 'cost_time_ms': 516.938261}, {'datetime': datetime.datetime(2019, 3, 15, 18, 52, 29, 415008), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '分子播放', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 222.828631}) +2019-03-15 19:00:02,940 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 19:00:02,961 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,961 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,962 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,963 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,965 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,966 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 19:00:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,974 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:02,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,975 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,976 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,976 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,979 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 19:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,981 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 19:00:02,982 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 19:00:02,982 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 18, 10, 5, 466749), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 220.618385}, {'datetime': datetime.datetime(2019, 3, 15, 18, 10, 11, 271013), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '切为睿风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 218.684788}, {'datetime': datetime.datetime(2019, 3, 15, 18, 34, 56, 620157), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '重力加速度是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 352.801837}, {'datetime': datetime.datetime(2019, 3, 15, 18, 45, 9, 561454), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '播放苏轼的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 210.226423}, {'datetime': datetime.datetime(2019, 3, 15, 18, 52, 29, 415008), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '分子播放', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 222.828631}) +2019-03-15 19:00:02,983 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 18:00:00 +时间为:### 2019-03-15 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 18:00:00" and datetime< "2019-03-15 19:00:00" +2019-03-15 19:00:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:02,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,992 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:02,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,993 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:02,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:02,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:02,996 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 18:00:00" and datetime< "2019-03-15 19:00:00" +2019-03-15 19:00:02,996 INFO sqlalchemy.engine.base.Engine {} +****46 +all****46 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 18:00:00" and datetime< "2019-03-15 19:00:00" +2019-03-15 19:00:04,010 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:04,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:04,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:04,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,013 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:04,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,016 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:04,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:04,016 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 18:00:00" and datetime< "2019-03-15 19:00:00" +2019-03-15 19:00:04,017 INFO sqlalchemy.engine.base.Engine {} +****46 +all****46 + +all****1 + +all****45 + +****1 + +****40 + +Start domain data classification: +2019-03-15 19:00:05,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:05,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,040 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:05,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,041 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:05,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,044 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,044 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 19:00:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,047 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 19:00:05,048 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 19:00:05,048 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 19, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 19:00:05,048 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 19:00:05,072 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:05,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,072 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:05,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,073 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:05,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,074 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:05,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,077 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 19:00:05,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,079 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 19:00:05,080 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 19:00:05,080 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 19, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 14, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 2, 'translate': 0, 'weather': 20} +2019-03-15 19:00:05,081 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 19:00:05,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 19:00:05,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 19:00:05,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,926 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 19:00:05,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,927 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 19:00:05,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 19:00:05,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,930 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 19:00:05,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,930 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 19:00:05,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 19:00:05,932 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 19:00:05,933 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 19:00:05,933 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 19, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('weather', 15), ('music', 9), ('chat', 7)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 5), ('music', 4), ('baike', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 19:00:05,934 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 20 +***** + +2019-03-15 20:00:02,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:02,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,046 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,050 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 20:00:02,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,052 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 20:00:02,055 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 20:00:02,055 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 19, 18, 36, 667012), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '风量减小', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducefanspeed', 'response_data': 'success', 'cost_time_ms': 347.811994}, {'datetime': datetime.datetime(2019, 3, 15, 19, 18, 53, 497353), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首lovestory', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放taylorswift的lovestory。', 'cost_time_ms': 728.685403}, {'datetime': datetime.datetime(2019, 3, 15, 19, 28, 22, 574264), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首贾斯汀比伯的letmeloveyou', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是justinbieber的letmeloveyou?听听看吧。', 'cost_time_ms': 980.188107}, {'datetime': datetime.datetime(2019, 3, 15, 19, 39, 16, 744160), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首对不起', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首panta.q/周深的对不起。', 'cost_time_ms': 397.863306}) +2019-03-15 20:00:02,056 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 20:00:02,066 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:02,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,067 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,068 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:02,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,068 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:02,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,071 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:02,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,071 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 20:00:02,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,080 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:02,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,080 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:02,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,081 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:02,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,082 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:02,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,083 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,084 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,084 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,085 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 20:00:02,085 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-15 19:00:00 +时间为:### 2019-03-15 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 19:00:00" and datetime< "2019-03-15 20:00:00" +2019-03-15 20:00:02,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,093 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:02,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,094 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:02,097 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 19:00:00" and datetime< "2019-03-15 20:00:00" +2019-03-15 20:00:02,097 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 19:00:00" and datetime< "2019-03-15 20:00:00" +2019-03-15 20:00:03,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:03,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:03,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,109 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:03,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:03,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:03,113 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 19:00:00" and datetime< "2019-03-15 20:00:00" +2019-03-15 20:00:03,113 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +all****1 + +all****3 + +****1 + +****3 + +Start domain data classification: +2019-03-15 20:00:04,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:04,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,139 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,140 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:04,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,143 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 20:00:04,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,146 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 20:00:04,147 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 20:00:04,147 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 20, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 20:00:04,147 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 20:00:04,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:04,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:04,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,162 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:04,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,163 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:04,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:04,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,166 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 20:00:04,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,168 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 20:00:04,169 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 20:00:04,169 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 20, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 20:00:04,170 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 20:00:04,984 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 20:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 20:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,986 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 20:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,986 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 20:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 20:00:04,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 20:00:04,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,989 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 20:00:04,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 20:00:04,991 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 20:00:04,992 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 20:00:04,992 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 20, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 20:00:04,993 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 21 +***** + +2019-03-15 21:00:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,476 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 21:00:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,478 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 21:00:02,481 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 21:00:02,481 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 20, 4, 37, 895979), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放一首空心', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听光泽的空心吧。', 'cost_time_ms': 401.674686}, {'datetime': datetime.datetime(2019, 3, 15, 20, 7, 51, 282995), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首just', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听mamamoo的just。', 'cost_time_ms': 563.8754}, {'datetime': datetime.datetime(2019, 3, 15, 20, 8, 19, 53093), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放贾斯丁比伯的的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是justinbieber的loveyourself?听听看吧。', 'cost_time_ms': 360.015898}, {'datetime': datetime.datetime(2019, 3, 15, 20, 8, 39, 304097), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放贾斯汀比伯的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是justinbieber的loveyourself?听听看吧。', 'cost_time_ms': 453.603058}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 36, 709633), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '想不来', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不去。', 'cost_time_ms': 378.803991}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 332422), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 213.104317}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 530770), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 360.405154}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 572401), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 344.039366} ... displaying 10 of 59 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 20, 55, 59, 648943), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '经常熬夜', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '预设的答案用光了,再问自爆。', 'cost_time_ms': 203.221042}, {'datetime': datetime.datetime(2019, 3, 15, 20, 55, 59, 912715), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '经常熬夜', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '还是身体最重要呀。', 'cost_time_ms': 200.477692}) +2019-03-15 21:00:02,485 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 21:00:02,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,497 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,498 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,501 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 21:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,509 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,511 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,511 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,515 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 21:00:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,517 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 21:00:02,518 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 21:00:02,518 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 332422), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 213.104317}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 530770), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 360.405154}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 572401), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 344.039366}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 579519), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 287.232432}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 37, 772280), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '又有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 282.226442}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 40, 88418), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '上不来', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 228.46313}, {'datetime': datetime.datetime(2019, 3, 15, 20, 13, 40, 647875), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有什么用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 154.121866}, {'datetime': datetime.datetime(2019, 3, 15, 20, 20, 14, 842510), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '大菠萝吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 384.204884} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 20, 46, 42, 420212), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '不是吗心不乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 213.741715}, {'datetime': datetime.datetime(2019, 3, 15, 20, 46, 43, 488100), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '降头在不在一个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 240.207575}) +2019-03-15 21:00:02,519 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 20:00:00 +时间为:### 2019-03-15 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 20:00:00" and datetime< "2019-03-15 21:00:00" +2019-03-15 21:00:02,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,535 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,536 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:02,539 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 20:00:00" and datetime< "2019-03-15 21:00:00" +2019-03-15 21:00:02,539 INFO sqlalchemy.engine.base.Engine {} +****59 +all****59 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 20:00:00" and datetime< "2019-03-15 21:00:00" +2019-03-15 21:00:03,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:03,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:03,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,563 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:03,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,564 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:03,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:03,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:03,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:03,567 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 20:00:00" and datetime< "2019-03-15 21:00:00" +2019-03-15 21:00:03,567 INFO sqlalchemy.engine.base.Engine {} +****59 +all****59 + +all****1 + +all****58 + +****1 + +****41 + +Start domain data classification: +2019-03-15 21:00:04,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:04,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:04,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,578 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:04,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,579 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:04,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:04,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:04,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:04,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,582 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 21:00:04,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,584 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 21:00:04,585 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, scence) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(scence)s) +2019-03-15 21:00:04,585 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 21, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'scence': 1} +2019-03-15 21:00:04,586 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 21:00:04,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,609 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,610 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:04,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:04,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:04,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,613 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 21:00:04,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:04,615 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 21:00:04,617 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather, reminder_v2) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s, %(reminder_v2)s) +2019-03-15 21:00:04,617 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 21, 0), 'almanac': 0, 'ancient_poem': 2, 'astro': 0, 'baike': 1, 'chat': 29, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 7, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0, 'reminder_v2': 1} +2019-03-15 21:00:04,617 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 21:00:05,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 21:00:05,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 21:00:05,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,437 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 21:00:05,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,438 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 21:00:05,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:05,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 21:00:05,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 21:00:05,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,441 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 21:00:05,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 21:00:05,443 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 21:00:05,444 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 21:00:05,444 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 21, 0), '0~500ms': "[('scence', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 45), ('music', 6), ('ancient_poem', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 21:00:05,444 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 22 +***** + +2019-03-15 22:00:02,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,305 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,305 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,309 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 22:00:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,311 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 22:00:02,314 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 22:00:02,314 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 21, 4, 33, 4250), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请风速', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 363.300286}, {'datetime': datetime.datetime(2019, 3, 15, 21, 12, 31, 807835), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请登录', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': 'qq登陆。', 'cost_time_ms': 331.179482}, {'datetime': datetime.datetime(2019, 3, 15, 21, 12, 38, 915479), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '二十六度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 297.948577}, {'datetime': datetime.datetime(2019, 3, 15, 21, 14, 46, 85119), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请吩咐', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不敢当,说什么吩咐。', 'cost_time_ms': 325.452597}, {'datetime': datetime.datetime(2019, 3, 15, 21, 41, 10, 180383), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 392.367244}, {'datetime': datetime.datetime(2019, 3, 15, 21, 41, 10, 349961), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 395.047891}, {'datetime': datetime.datetime(2019, 3, 15, 21, 41, 10, 374619), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 412.596993}, {'datetime': datetime.datetime(2019, 3, 15, 21, 41, 43, 120101), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请风速', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risefanspeed', 'response_data': 'success', 'cost_time_ms': 215.739991} ... displaying 10 of 37 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 21, 58, 58, 642682), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '韩语歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放韩语歌。', 'cost_time_ms': 393.938698}, {'datetime': datetime.datetime(2019, 3, 15, 21, 58, 59, 666480), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '韩磊的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听韩磊的歌吧!', 'cost_time_ms': 305.922822}) +2019-03-15 22:00:02,316 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 22:00:02,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,331 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 22:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,339 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,341 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,344 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 22:00:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,346 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 22:00:02,346 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 22:00:02,346 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 21, 46, 54, 215773), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '二十一日', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 224.803677}, {'datetime': datetime.datetime(2019, 3, 15, 21, 46, 54, 299471), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诡船档案', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 368.118133}, {'datetime': datetime.datetime(2019, 3, 15, 21, 52, 21, 315208), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '什么班', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 353.842055}, {'datetime': datetime.datetime(2019, 3, 15, 21, 53, 26, 504035), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '碧纱如烟', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 363.983341}, {'datetime': datetime.datetime(2019, 3, 15, 21, 58, 58, 577604), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '有胡雯', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 224.611216}) +2019-03-15 22:00:02,347 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 21:00:00 +时间为:### 2019-03-15 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 21:00:00" and datetime< "2019-03-15 22:00:00" +2019-03-15 22:00:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,361 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 21:00:00" and datetime< "2019-03-15 22:00:00" +2019-03-15 22:00:02,363 INFO sqlalchemy.engine.base.Engine {} +****37 +all****37 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 21:00:00" and datetime< "2019-03-15 22:00:00" +2019-03-15 22:00:03,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:03,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:03,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,383 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:03,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,384 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:03,387 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 21:00:00" and datetime< "2019-03-15 22:00:00" +2019-03-15 22:00:03,387 INFO sqlalchemy.engine.base.Engine {} +****37 +all****37 + +all****10 + +all****27 + +****10 + +****22 + +Start domain data classification: +2019-03-15 22:00:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,408 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,409 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,412 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 22:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,414 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 22:00:04,415 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 22:00:04,415 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 22, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 8, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 22:00:04,416 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 22:00:04,430 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,432 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,433 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,435 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 22:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:04,438 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 22:00:04,439 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 22:00:04,439 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 22, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 12, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 10, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-15 22:00:04,448 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 22:00:05,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 22:00:05,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,262 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 22:00:05,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,263 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 22:00:05,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,264 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 22:00:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,266 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 22:00:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,266 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 22:00:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,267 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 22:00:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 22:00:05,269 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 22:00:05,270 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 22:00:05,270 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 22, 0), '0~500ms': "[('universalcontrol', 8), ('airconditioner', 2), ('aircleaner', 0), ('chat', 17), ('music', 7), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 22:00:05,271 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-15 23 +***** + +2019-03-15 23:00:02,756 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,758 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,760 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,761 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,762 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,764 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-15 23:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,766 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 23:00:02,769 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 23:00:02,769 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 22, 7, 0, 976066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 546.145018}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 1, 112662), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 482.463088}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 1, 168675), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 523.190591}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 2, 928324), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 307.930254}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 5, 448713), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '听前一', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '听一听,看一看,世界其实没有那么糟。', 'cost_time_ms': 179.54705}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 7, 486069), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '停电热', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '哪停电了。', 'cost_time_ms': 179.033221}, {'datetime': datetime.datetime(2019, 3, 15, 22, 8, 11, 209381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你头像', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '允许你对我的头像发表意见。', 'cost_time_ms': 307.217587}, {'datetime': datetime.datetime(2019, 3, 15, 22, 8, 12, 473810), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调小十三度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducetemp', 'response_data': 'success', 'cost_time_ms': 207.306358} ... displaying 10 of 63 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 7, 801502), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想要首', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '想就行动。', 'cost_time_ms': 188.082346}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 8, 539915), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '然后呢', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'baike_more', 'response_data': '你的问题太难了,我没法回答', 'cost_time_ms': 187.20609}) +2019-03-15 23:00:02,773 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-15 23:00:02,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,786 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,787 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:02,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,788 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:02,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:02,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,792 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-15 23:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:02,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:02,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,804 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,805 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,809 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-15 23:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,813 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 23:00:02,814 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-15 23:00:02,814 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 22, 8, 15, 422156), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '二十三度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 2008.6192180000003}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 3857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道你要查询的地方,请指定一个城市吧。格力空调祝您生活愉快。', 'cost_time_ms': 236.396442}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 101056), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他才是八十', 'classify': 'application', 'code': -3, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道你要查询的地方,请指定一个城市吧。格力空调祝您生活愉快。', 'cost_time_ms': 234.718883}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 210504), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 296.553054}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 334507), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 265.642785}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 119071), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'sugar', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 216.725168}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 355202), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '舍得删除', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 269.732659}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 622503), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '咱不舍得删除', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.892551}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 3, 281474), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'vogue', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 361.365688}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 4, 257119), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '能不能提高点', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 268.167267}) +2019-03-15 23:00:02,815 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 22:00:00 +时间为:### 2019-03-15 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 22:00:00" and datetime< "2019-03-15 23:00:00" +2019-03-15 23:00:02,823 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,824 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,825 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 22:00:00" and datetime< "2019-03-15 23:00:00" +2019-03-15 23:00:02,828 INFO sqlalchemy.engine.base.Engine {} +****63 +all****63 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 22:00:00" and datetime< "2019-03-15 23:00:00" +2019-03-15 23:00:03,831 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:03,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,832 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:03,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,833 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:03,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,834 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:03,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,835 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:03,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,836 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:03,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,837 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:03,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:03,837 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 22:00:00" and datetime< "2019-03-15 23:00:00" +2019-03-15 23:00:03,837 INFO sqlalchemy.engine.base.Engine {} +****63 +all****63 + +all****5 + +all****58 + +****5 + +****48 + +Start domain data classification: +2019-03-15 23:00:04,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,849 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,850 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,853 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-15 23:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,855 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 23:00:04,857 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-15 23:00:04,857 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 23, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 5, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-15 23:00:04,857 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-15 23:00:04,879 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,880 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:04,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,881 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,881 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,883 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,884 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-15 23:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:04,887 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 23:00:04,888 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-15 23:00:04,888 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 23, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 38, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 2, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 1, 'stock': 0, 'translate': 0, 'weather': 6} +2019-03-15 23:00:04,889 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-15 23:00:05,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-15 23:00:05,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-15 23:00:05,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,712 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-15 23:00:05,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,713 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-15 23:00:05,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:05,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-15 23:00:05,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-15 23:00:05,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,716 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-15 23:00:05,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-15 23:00:05,718 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-15 23:00:05,719 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-15 23:00:05,719 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 15, 23, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('chat', 45), ('weather', 6), ('music', 2)]", '1000~2000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-15 23:00:05,719 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190316: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190316" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190316: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190316" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-16 00 +***** + +2019-03-16 00:00:02,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,353 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,354 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,358 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 00:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,360 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 00:00:02,363 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 00:00:02,363 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 22, 7, 0, 976066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 546.145018}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 1, 112662), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 482.463088}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 1, 168675), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 523.190591}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 2, 928324), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温16度到20度。你还可以问我:明天的天气怎么样?格力空调祝您生活愉快。', 'cost_time_ms': 307.930254}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 5, 448713), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '听前一', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '听一听,看一看,世界其实没有那么糟。', 'cost_time_ms': 179.54705}, {'datetime': datetime.datetime(2019, 3, 15, 22, 7, 7, 486069), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '停电热', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '哪停电了。', 'cost_time_ms': 179.033221}, {'datetime': datetime.datetime(2019, 3, 15, 22, 8, 11, 209381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你头像', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '允许你对我的头像发表意见。', 'cost_time_ms': 307.217587}, {'datetime': datetime.datetime(2019, 3, 15, 22, 8, 12, 473810), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调小十三度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducetemp', 'response_data': 'success', 'cost_time_ms': 207.306358} ... displaying 10 of 63 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 7, 801502), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想要首', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '想就行动。', 'cost_time_ms': 188.082346}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 8, 539915), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '然后呢', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'baike_more', 'response_data': '你的问题太难了,我没法回答', 'cost_time_ms': 187.20609}) +2019-03-16 00:00:02,367 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 00:00:02,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,381 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,381 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,384 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 00:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,395 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,395 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,398 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,399 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 00:00:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,401 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 00:00:02,402 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 00:00:02,402 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 15, 22, 8, 15, 422156), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '二十三度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 2008.6192180000003}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 3857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道你要查询的地方,请指定一个城市吧。格力空调祝您生活愉快。', 'cost_time_ms': 236.396442}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 101056), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他才是八十', 'classify': 'application', 'code': -3, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道你要查询的地方,请指定一个城市吧。格力空调祝您生活愉快。', 'cost_time_ms': 234.718883}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 210504), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 296.553054}, {'datetime': datetime.datetime(2019, 3, 15, 22, 9, 17, 334507), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他还是八十', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 265.642785}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 119071), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'sugar', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 216.725168}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 355202), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '舍得删除', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 269.732659}, {'datetime': datetime.datetime(2019, 3, 15, 22, 11, 29, 622503), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '咱不舍得删除', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.892551}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 3, 281474), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'vogue', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 361.365688}, {'datetime': datetime.datetime(2019, 3, 15, 22, 30, 4, 257119), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '能不能提高点', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 268.167267}) +2019-03-16 00:00:02,403 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-15 23:00:00 +时间为:### 2019-03-16 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 23:00:00" and datetime< "2019-03-16 00:00:00" +2019-03-16 00:00:02,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,412 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,413 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,416 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:02,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:02,416 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 23:00:00" and datetime< "2019-03-16 00:00:00" +2019-03-16 00:00:02,416 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 23:00:00" and datetime< "2019-03-16 00:00:00" +2019-03-16 00:00:03,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:03,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:03,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,441 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:03,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,441 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:03,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:03,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:03,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:03,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:03,445 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-15 23:00:00" and datetime< "2019-03-16 00:00:00" +2019-03-16 00:00:03,445 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 00:00:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,460 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,463 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 00:00:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,465 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 00:00:04,466 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 00:00:04,467 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 00:00:04,467 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 00:00:04,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,482 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,483 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,486 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 00:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:04,488 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 00:00:04,490 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 00:00:04,490 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 00:00:04,490 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 00:00:05,306 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 00:00:05,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 00:00:05,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,308 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 00:00:05,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,309 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 00:00:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,310 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:05,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,310 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 00:00:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 00:00:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,312 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 00:00:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 00:00:05,314 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 00:00:05,315 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 00:00:05,315 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 0, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('chat', 45), ('weather', 6), ('music', 2)]", '1000~2000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 00:00:05,315 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 01 +***** + +2019-03-16 01:00:02,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:02,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,661 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,662 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,662 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,666 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 01:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,669 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 01:00:02,671 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 01:00:02,671 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 0, 4, 5, 95282), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '音乐响起来', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 488.60519}, {'datetime': datetime.datetime(2019, 3, 16, 0, 4, 31, 351839), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来一首歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 382.259815}, {'datetime': datetime.datetime(2019, 3, 16, 0, 5, 8, 132181), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '知否知否', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '“知否,知否”出自宋代李清照的《如梦令·昨夜雨疏风骤》,全文如下:', 'cost_time_ms': 175.506694}) +2019-03-16 01:00:02,672 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 01:00:02,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,683 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,684 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,687 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 01:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,697 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,698 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,701 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 01:00:02,701 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 00:00:00 +时间为:### 2019-03-16 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 00:00:00" and datetime< "2019-03-16 01:00:00" +2019-03-16 01:00:02,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,709 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,710 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:02,713 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 00:00:00" and datetime< "2019-03-16 01:00:00" +2019-03-16 01:00:02,713 INFO sqlalchemy.engine.base.Engine {} +****3 +all****3 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 00:00:00" and datetime< "2019-03-16 01:00:00" +2019-03-16 01:00:03,753 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:03,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:03,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,755 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:03,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,756 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:03,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:03,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:03,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:03,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:03,759 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 00:00:00" and datetime< "2019-03-16 01:00:00" +2019-03-16 01:00:03,759 INFO sqlalchemy.engine.base.Engine {} +****3 +all****3 + +all****0 + +all****3 + +****0 + +****3 + +Start domain data classification: +2019-03-16 01:00:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,773 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,773 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,776 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 01:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,779 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 01:00:04,780 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 01:00:04,780 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 1, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 01:00:04,780 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 01:00:04,795 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,798 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:04,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,800 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 01:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:04,803 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 01:00:04,804 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 01:00:04,804 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 1, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 2, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 01:00:04,805 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 01:00:05,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 01:00:05,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,610 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 01:00:05,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,611 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 01:00:05,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,611 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 01:00:05,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:05,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 01:00:05,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,614 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 01:00:05,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,614 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 01:00:05,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 01:00:05,616 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 01:00:05,617 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 01:00:05,617 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 1, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('ancient_poem', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 01:00:05,617 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 02 +***** + +2019-03-16 02:00:01,997 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:01,998 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:01,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:01,999 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,000 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:02,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:02,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,003 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 02:00:02,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,006 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 02:00:02,008 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 02:00:02,008 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 1, 41, 43, 191343), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 431.247986} +2019-03-16 02:00:02,009 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 02:00:02,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:02,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,019 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:02,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,020 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 02:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,031 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:02,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:02,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,033 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,034 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,036 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 02:00:02,036 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 01:00:00 +时间为:### 2019-03-16 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 01:00:00" and datetime< "2019-03-16 02:00:00" +2019-03-16 02:00:02,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:02,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:02,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,044 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:02,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,045 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:02,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:02,047 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 01:00:00" and datetime< "2019-03-16 02:00:00" +2019-03-16 02:00:02,047 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 01:00:00" and datetime< "2019-03-16 02:00:00" +2019-03-16 02:00:03,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,065 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,067 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:03,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:03,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:03,070 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 01:00:00" and datetime< "2019-03-16 02:00:00" +2019-03-16 02:00:03,070 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-16 02:00:04,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:04,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,096 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,096 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,101 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:04,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,101 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 02:00:04,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,104 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 02:00:04,105 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 02:00:04,105 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 02:00:04,105 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 02:00:04,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:04,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:04,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,126 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:04,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,126 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:04,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:04,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,129 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 02:00:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,131 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 02:00:04,132 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 02:00:04,135 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 02:00:04,136 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 02:00:04,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 02:00:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,942 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 02:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,943 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 02:00:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,944 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 02:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 02:00:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 02:00:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,948 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 02:00:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 02:00:04,950 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 02:00:04,950 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 02:00:04,951 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 02:00:04,952 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 03 +***** + +2019-03-16 03:00:02,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:02,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,495 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,496 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,500 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 03:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,502 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 03:00:02,504 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 03:00:02,505 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 03:00:02,505 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 03:00:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,526 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,529 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 03:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,539 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,543 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 03:00:02,543 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 02:00:00 +时间为:### 2019-03-16 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 02:00:00" and datetime< "2019-03-16 03:00:00" +2019-03-16 03:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,552 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,553 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:02,555 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 02:00:00" and datetime< "2019-03-16 03:00:00" +2019-03-16 03:00:02,555 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 02:00:00" and datetime< "2019-03-16 03:00:00" +2019-03-16 03:00:03,599 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:03,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,601 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:03,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,601 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:03,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:03,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:03,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:03,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:03,605 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 02:00:00" and datetime< "2019-03-16 03:00:00" +2019-03-16 03:00:03,605 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-16 03:00:04,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,626 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,629 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 03:00:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,631 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 03:00:04,632 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 03:00:04,632 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 3, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 03:00:04,633 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 03:00:04,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,649 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,652 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 03:00:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:04,654 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 03:00:04,655 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 03:00:04,656 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 3, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 03:00:04,656 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 03:00:05,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 03:00:05,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 03:00:05,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,455 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 03:00:05,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,456 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 03:00:05,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:05,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 03:00:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 03:00:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,459 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 03:00:05,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 03:00:05,461 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 03:00:05,461 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 03:00:05,462 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 3, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 03:00:05,462 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 04 +***** + +2019-03-16 04:00:02,816 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,818 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,819 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,819 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,823 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 04:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,826 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 04:00:02,828 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 04:00:02,828 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 04:00:02,829 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 04:00:02,839 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,840 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,842 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,843 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,843 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,844 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,845 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 04:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,855 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,856 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,859 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 04:00:02,859 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 03:00:00 +时间为:### 2019-03-16 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 03:00:00" and datetime< "2019-03-16 04:00:00" +2019-03-16 04:00:02,866 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,866 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,867 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,868 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,870 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:02,871 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 03:00:00" and datetime< "2019-03-16 04:00:00" +2019-03-16 04:00:02,871 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 03:00:00" and datetime< "2019-03-16 04:00:00" +2019-03-16 04:00:03,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:03,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,883 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,884 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:03,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,885 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:03,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:03,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:03,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:03,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:03,888 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 03:00:00" and datetime< "2019-03-16 04:00:00" +2019-03-16 04:00:03,888 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 04:00:04,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:04,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:04,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,902 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:04,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:04,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,905 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 04:00:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,908 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 04:00:04,909 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 04:00:04,909 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 4, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 04:00:04,909 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 04:00:04,922 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:04,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,923 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:04,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,924 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:04,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,925 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:04,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,927 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 04:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:04,930 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 04:00:04,931 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 04:00:04,931 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 4, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 04:00:04,932 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 04:00:05,738 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 04:00:05,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 04:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,740 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 04:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,741 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 04:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,742 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 04:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 04:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 04:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 04:00:05,746 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 04:00:05,747 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 04:00:05,747 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 4, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 04:00:05,748 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 05 +***** + +2019-03-16 05:00:02,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:02,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,087 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,091 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 05:00:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,094 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 05:00:02,096 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 05:00:02,096 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 05:00:02,097 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 05:00:02,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,109 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:02,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,110 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:02,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,111 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,114 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 05:00:02,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,125 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,128 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 05:00:02,128 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 04:00:00 +时间为:### 2019-03-16 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 04:00:00" and datetime< "2019-03-16 05:00:00" +2019-03-16 05:00:02,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,136 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,137 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,138 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 04:00:00" and datetime< "2019-03-16 05:00:00" +2019-03-16 05:00:02,141 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 04:00:00" and datetime< "2019-03-16 05:00:00" +2019-03-16 05:00:03,152 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:03,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:03,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,154 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:03,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:03,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,156 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:03,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:03,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:03,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:03,158 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 04:00:00" and datetime< "2019-03-16 05:00:00" +2019-03-16 05:00:03,158 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 05:00:04,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:04,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,176 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:04,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,177 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:04,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,178 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:04,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:04,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,180 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:04,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,180 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:04,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,181 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 05:00:04,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,183 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 05:00:04,184 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 05:00:04,184 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 5, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 05:00:04,185 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 05:00:04,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:04,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:04,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,199 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:04,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,200 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:04,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:04,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:04,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,203 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 05:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:04,205 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 05:00:04,207 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 05:00:04,207 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 5, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 05:00:04,207 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 05:00:05,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 05:00:05,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,003 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 05:00:05,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,004 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 05:00:05,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,005 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 05:00:05,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:05,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 05:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 05:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,007 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 05:00:05,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 05:00:05,009 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 05:00:05,010 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 05:00:05,010 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 5, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 05:00:05,011 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 06 +***** + +2019-03-16 06:00:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,386 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,391 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 06:00:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,393 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 06:00:02,395 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 06:00:02,396 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 06:00:02,396 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 06:00:02,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,410 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,411 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,414 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 06:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,424 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,425 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,428 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,429 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 06:00:02,429 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 05:00:00 +时间为:### 2019-03-16 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 05:00:00" and datetime< "2019-03-16 06:00:00" +2019-03-16 06:00:02,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,438 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:02,441 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 05:00:00" and datetime< "2019-03-16 06:00:00" +2019-03-16 06:00:02,441 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 05:00:00" and datetime< "2019-03-16 06:00:00" +2019-03-16 06:00:03,448 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:03,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:03,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,450 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:03,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,450 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:03,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:03,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:03,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:03,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:03,454 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 05:00:00" and datetime< "2019-03-16 06:00:00" +2019-03-16 06:00:03,454 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 06:00:04,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:04,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:04,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,508 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 06:00:04,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,510 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 06:00:04,511 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 06:00:04,511 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 6, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 06:00:04,512 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 06:00:04,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,533 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,533 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,534 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,537 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 06:00:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:04,539 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 06:00:04,540 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 06:00:04,540 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 6, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 06:00:04,541 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 06:00:05,333 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 06:00:05,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,334 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 06:00:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,335 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 06:00:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,336 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 06:00:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 06:00:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 06:00:05,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,338 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 06:00:05,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 06:00:05,340 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 06:00:05,341 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 06:00:05,341 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 6, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 06:00:05,342 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 07 +***** + +2019-03-16 07:00:02,651 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,653 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,655 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,656 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,657 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:02,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,658 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 07:00:02,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,661 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 07:00:02,663 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 07:00:02,663 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 07:00:02,664 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 07:00:02,675 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:02,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,676 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:02,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,677 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:02,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,677 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:02,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,680 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,680 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 07:00:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,689 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,690 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,691 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:02,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,691 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:02,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,693 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,693 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,694 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:02,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,695 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 07:00:02,695 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 06:00:00 +时间为:### 2019-03-16 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 06:00:00" and datetime< "2019-03-16 07:00:00" +2019-03-16 07:00:02,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,703 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 06:00:00" and datetime< "2019-03-16 07:00:00" +2019-03-16 07:00:02,706 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 06:00:00" and datetime< "2019-03-16 07:00:00" +2019-03-16 07:00:03,730 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:03,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,731 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:03,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,732 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:03,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,733 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:03,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,734 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:03,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,735 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:03,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,735 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:03,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:03,736 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 06:00:00" and datetime< "2019-03-16 07:00:00" +2019-03-16 07:00:03,736 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 07:00:04,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:04,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,743 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,744 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,744 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:04,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:04,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,747 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:04,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,747 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 07:00:04,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,750 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 07:00:04,751 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 07:00:04,751 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 7, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 07:00:04,751 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 07:00:04,766 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,767 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,767 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,768 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,769 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:04,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:04,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,771 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 07:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:04,773 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 07:00:04,775 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 07:00:04,775 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 7, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 07:00:04,775 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 07:00:05,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 07:00:05,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 07:00:05,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 07:00:05,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 07:00:05,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:05,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 07:00:05,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 07:00:05,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,591 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 07:00:05,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 07:00:05,593 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 07:00:05,593 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 07:00:05,593 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 7, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 07:00:05,594 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 08 +***** + +2019-03-16 08:00:01,921 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:01,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,922 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:01,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,923 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:01,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,924 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:01,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,926 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:01,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,928 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 08:00:01,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,931 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 08:00:01,933 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 08:00:01,933 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 2, 5, 36, 480857), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '把音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 424.615972} +2019-03-16 08:00:01,934 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 08:00:01,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:01,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:01,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,946 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:01,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,947 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:01,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:01,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,950 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 08:00:01,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:01,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,960 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:01,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,961 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:01,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:01,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:01,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,964 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 08:00:01,965 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 07:00:00 +时间为:### 2019-03-16 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 07:00:00" and datetime< "2019-03-16 08:00:00" +2019-03-16 08:00:01,971 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:01,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,972 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:01,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,973 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:01,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,974 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:01,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:01,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:01,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:01,976 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 07:00:00" and datetime< "2019-03-16 08:00:00" +2019-03-16 08:00:01,976 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 07:00:00" and datetime< "2019-03-16 08:00:00" +2019-03-16 08:00:02,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,983 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,984 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:02,987 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 07:00:00" and datetime< "2019-03-16 08:00:00" +2019-03-16 08:00:02,987 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 08:00:04,005 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:04,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,006 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:04,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,007 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:04,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,008 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:04,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:04,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,011 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 08:00:04,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,013 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 08:00:04,015 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 08:00:04,015 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 8, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 08:00:04,015 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 08:00:04,031 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:04,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:04,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,033 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:04,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,034 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:04,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:04,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,037 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 08:00:04,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,039 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 08:00:04,040 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 08:00:04,040 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 8, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 08:00:04,041 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 08:00:04,838 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 08:00:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,839 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 08:00:04,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,840 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 08:00:04,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,841 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 08:00:04,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 08:00:04,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,843 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 08:00:04,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,844 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 08:00:04,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 08:00:04,846 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 08:00:04,846 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 08:00:04,846 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 8, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 08:00:04,847 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 09 +***** + +2019-03-16 09:00:02,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,307 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 09:00:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,310 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 09:00:02,312 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 09:00:02,313 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 8, 18, 5, 566603), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 472.087072}, {'datetime': datetime.datetime(2019, 3, 16, 8, 31, 1, 249846), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '患者换首dj歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏dj歌曲。', 'cost_time_ms': 548.447836}, {'datetime': datetime.datetime(2019, 3, 16, 8, 35, 53, 879604), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首周华健的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放周华健的歌。', 'cost_time_ms': 455.707506}, {'datetime': datetime.datetime(2019, 3, 16, 8, 42, 57, 537383), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '换一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 377.065996}, {'datetime': datetime.datetime(2019, 3, 16, 8, 43, 9, 206532), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首徐良的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '跟着徐良的歌声,回到第一天,再开心一遍。', 'cost_time_ms': 466.555761}, {'datetime': datetime.datetime(2019, 3, 16, 8, 43, 31, 440888), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '换一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 234.519189}, {'datetime': datetime.datetime(2019, 3, 16, 8, 43, 41, 248618), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 284.379467}, {'datetime': datetime.datetime(2019, 3, 16, 8, 43, 53, 95288), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首相逢何必曾相识', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听天籁回音的相逢何必曾相爱。', 'cost_time_ms': 518.809417} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 8, 58, 11, 661863), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '唱首刘德华的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听刘德华的歌。', 'cost_time_ms': 524.073626}, {'datetime': datetime.datetime(2019, 3, 16, 8, 59, 43, 846295), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '播一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 562.234616}) +2019-03-16 09:00:02,314 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 09:00:02,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,331 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,334 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 09:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,343 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,345 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,345 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:02,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,348 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 09:00:02,348 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 08:00:00 +时间为:### 2019-03-16 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 08:00:00" and datetime< "2019-03-16 09:00:00" +2019-03-16 09:00:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,356 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,357 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,357 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:02,360 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 08:00:00" and datetime< "2019-03-16 09:00:00" +2019-03-16 09:00:02,360 INFO sqlalchemy.engine.base.Engine {} +****11 +all****11 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 08:00:00" and datetime< "2019-03-16 09:00:00" +2019-03-16 09:00:03,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,363 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:03,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:03,366 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 08:00:00" and datetime< "2019-03-16 09:00:00" +2019-03-16 09:00:03,366 INFO sqlalchemy.engine.base.Engine {} +****11 +all****11 + +all****0 + +all****11 + +****0 + +****11 + +Start domain data classification: +2019-03-16 09:00:04,383 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,386 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:04,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,389 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 09:00:04,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,391 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 09:00:04,392 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 09:00:04,392 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 9, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 09:00:04,393 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 09:00:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,408 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,408 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,411 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 09:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:04,413 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 09:00:04,415 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 09:00:04,415 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 9, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 11, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 09:00:04,415 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 09:00:05,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 09:00:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,213 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 09:00:05,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,214 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 09:00:05,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,215 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 09:00:05,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:05,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 09:00:05,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,217 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 09:00:05,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,217 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 09:00:05,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 09:00:05,219 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 09:00:05,220 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 09:00:05,220 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 9, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 7), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 09:00:05,221 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 10 +***** + +2019-03-16 10:00:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,582 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,584 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,588 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 10:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,590 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 10:00:02,592 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 10:00:02,592 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 9, 0, 4, 235657), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '播一首月亮', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听韩红的月亮吧。', 'cost_time_ms': 473.92076}, {'datetime': datetime.datetime(2019, 3, 16, 9, 0, 16, 526505), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '播一首北京', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是汪峰的北京北京?听听看吧。', 'cost_time_ms': 252.419921}, {'datetime': datetime.datetime(2019, 3, 16, 9, 0, 30, 804563), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '音量调小一点', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 229.147483}, {'datetime': datetime.datetime(2019, 3, 16, 9, 4, 53, 387772), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '今日头条', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是今日的热点新闻,', 'cost_time_ms': 490.182593}, {'datetime': datetime.datetime(2019, 3, 16, 9, 8, 53, 757453), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '别说了', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的,那你有需要再叫我吧。', 'cost_time_ms': 344.907674}, {'datetime': datetime.datetime(2019, 3, 16, 9, 9, 19, 350606), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '你觉得全员销售怎么样', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '很不错!', 'cost_time_ms': 319.95756}, {'datetime': datetime.datetime(2019, 3, 16, 9, 10, 5, 421983), 'mac_wifi': 'f4911e69b6b1', 'mac_voice': 'c46e7b6f5c61', 'query': '播放一首雷军的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏雷军的歌。', 'cost_time_ms': 582.121101}) +2019-03-16 10:00:02,593 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 10:00:02,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,608 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,611 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 10:00:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,619 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,620 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,621 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,625 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 10:00:02,625 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 09:00:00 +时间为:### 2019-03-16 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 09:00:00" and datetime< "2019-03-16 10:00:00" +2019-03-16 10:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,633 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:02,636 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 09:00:00" and datetime< "2019-03-16 10:00:00" +2019-03-16 10:00:02,636 INFO sqlalchemy.engine.base.Engine {} +****7 +all****7 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 09:00:00" and datetime< "2019-03-16 10:00:00" +2019-03-16 10:00:03,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:03,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:03,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:03,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:03,652 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 09:00:00" and datetime< "2019-03-16 10:00:00" +2019-03-16 10:00:03,652 INFO sqlalchemy.engine.base.Engine {} +****7 +all****7 + +all****1 + +all****6 + +****1 + +****6 + +Start domain data classification: +2019-03-16 10:00:04,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,684 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,685 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,688 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 10:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,690 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 10:00:04,691 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 10:00:04,691 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 10, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 10:00:04,692 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 10:00:04,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,709 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,710 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,713 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 10:00:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:04,715 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 10:00:04,717 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 10:00:04,717 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 10, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 10:00:04,717 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 10:00:05,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 10:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 10:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,532 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 10:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,533 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 10:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 10:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 10:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,536 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 10:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 10:00:05,538 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 10:00:05,538 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 10:00:05,538 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 10, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 2), ('music', 2), ('news', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 10:00:05,539 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 11 +***** + +2019-03-16 11:00:02,852 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,855 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,855 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,859 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 11:00:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,861 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 11:00:02,864 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 11:00:02,864 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 10, 43, 53, 369896), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十二点暂停了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 340.925727} +2019-03-16 11:00:02,864 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 11:00:02,874 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,875 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:02,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,876 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:02,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,877 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:02,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,879 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,879 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 11:00:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,888 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,889 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,889 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,890 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,893 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,893 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 11:00:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,895 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 11:00:02,896 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 11:00:02,896 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 10, 43, 53, 369896), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十二点暂停了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 340.925727} +2019-03-16 11:00:02,897 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-16 10:00:00 +时间为:### 2019-03-16 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 10:00:00" and datetime< "2019-03-16 11:00:00" +2019-03-16 11:00:02,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,915 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:02,917 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 10:00:00" and datetime< "2019-03-16 11:00:00" +2019-03-16 11:00:02,918 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 10:00:00" and datetime< "2019-03-16 11:00:00" +2019-03-16 11:00:03,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:03,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,953 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:03,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,954 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:03,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,955 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:03,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:03,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:03,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:03,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:03,958 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 10:00:00" and datetime< "2019-03-16 11:00:00" +2019-03-16 11:00:03,958 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****0 + +Start domain data classification: +2019-03-16 11:00:04,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:04,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,964 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 11:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,966 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 11:00:04,968 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 11:00:04,968 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 11, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 11:00:04,968 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 11:00:04,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,983 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,984 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,987 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 11:00:04,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:04,989 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 11:00:04,990 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 11:00:04,990 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 11:00:04,991 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 11:00:05,809 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 11:00:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,810 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 11:00:05,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,811 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 11:00:05,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,812 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 11:00:05,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:05,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 11:00:05,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 11:00:05,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,815 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 11:00:05,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 11:00:05,817 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 11:00:05,817 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 11:00:05,818 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 11, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 11:00:05,818 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 12 +***** + +2019-03-16 12:00:02,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,185 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,188 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 12:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,191 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 12:00:02,193 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 12:00:02,193 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 11, 10, 1, 102291), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放下醉', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是corki的下坠falling?听听看吧。', 'cost_time_ms': 422.955446}, {'datetime': datetime.datetime(2019, 3, 16, 11, 27, 15, 643231), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '百万萝莉过大江', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听10只萝莉的百万萝莉过大江吧。', 'cost_time_ms': 806.001164}, {'datetime': datetime.datetime(2019, 3, 16, 11, 28, 12, 612399), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '来一首奇迹再现', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听毛华锋的奇迹再现。', 'cost_time_ms': 856.669714}, {'datetime': datetime.datetime(2019, 3, 16, 11, 36, 7, 692809), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '南征北战', 'classify': 'application', 'code': 0, 'domain': 'chengyu', 'intent': 'search_chengyu', 'response_data': '形容转战南北,经历了许多战斗。', 'cost_time_ms': 360.284601}) +2019-03-16 12:00:02,194 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 12:00:02,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,209 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,210 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,212 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 12:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,221 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,222 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,222 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,223 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,224 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,225 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,226 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 12:00:02,226 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 11:00:00 +时间为:### 2019-03-16 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 11:00:00" and datetime< "2019-03-16 12:00:00" +2019-03-16 12:00:02,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,235 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:02,238 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 11:00:00" and datetime< "2019-03-16 12:00:00" +2019-03-16 12:00:02,238 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 11:00:00" and datetime< "2019-03-16 12:00:00" +2019-03-16 12:00:03,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:03,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:03,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,237 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:03,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,238 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:03,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:03,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,240 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:03,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:03,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:03,241 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 11:00:00" and datetime< "2019-03-16 12:00:00" +2019-03-16 12:00:03,241 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +all****0 + +all****4 + +****0 + +****4 + +Start domain data classification: +2019-03-16 12:00:04,260 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:04,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:04,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,262 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:04,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,263 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:04,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:04,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,266 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 12:00:04,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,268 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 12:00:04,269 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 12:00:04,269 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 12, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 12:00:04,276 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 12:00:04,288 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:04,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:04,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,290 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:04,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,291 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:04,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:04,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:04,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:04,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,294 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 12:00:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:04,296 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 12:00:04,297 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 12:00:04,297 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 12, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 1, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 12:00:04,298 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 12:00:05,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 12:00:05,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 12:00:05,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 12:00:05,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,103 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 12:00:05,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 12:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 12:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,106 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 12:00:05,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 12:00:05,108 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 12:00:05,108 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 12:00:05,109 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chengyu', 1), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 12:00:05,109 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 13 +***** + +2019-03-16 13:00:02,445 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,446 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,447 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,448 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,450 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,451 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,453 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 13:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,456 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 13:00:02,458 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 13:00:02,458 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 12, 41, 28, 457372), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '这是没有语音', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '没有就算了。', 'cost_time_ms': 358.408373}, {'datetime': datetime.datetime(2019, 3, 16, 12, 48, 21, 682408), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 430.413126}, {'datetime': datetime.datetime(2019, 3, 16, 12, 48, 38, 168831), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首爱的觉醒', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首陶辰宇的爱的觉醒送给你。', 'cost_time_ms': 832.765819}, {'datetime': datetime.datetime(2019, 3, 16, 12, 49, 6, 144249), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '泰坦尼克号主题曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听泰坦尼克号的主题曲,myheartwillgoon。', 'cost_time_ms': 251.176097}) +2019-03-16 13:00:02,459 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 13:00:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,471 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,471 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,474 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 13:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,483 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,483 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,485 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,488 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 13:00:02,488 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 12:00:00 +时间为:### 2019-03-16 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 12:00:00" and datetime< "2019-03-16 13:00:00" +2019-03-16 13:00:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,497 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 12:00:00" and datetime< "2019-03-16 13:00:00" +2019-03-16 13:00:02,500 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 12:00:00" and datetime< "2019-03-16 13:00:00" +2019-03-16 13:00:03,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:03,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,507 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:03,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,508 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:03,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,508 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:03,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:03,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:03,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:03,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:03,512 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 12:00:00" and datetime< "2019-03-16 13:00:00" +2019-03-16 13:00:03,512 INFO sqlalchemy.engine.base.Engine {} +****4 +all****4 + +all****0 + +all****4 + +****0 + +****4 + +Start domain data classification: +2019-03-16 13:00:04,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,543 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:04,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,544 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,544 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:04,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,547 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 13:00:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,549 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 13:00:04,550 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 13:00:04,550 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 13, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 13:00:04,551 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 13:00:04,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,567 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,569 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 13:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:04,571 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 13:00:04,572 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 13:00:04,572 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 13:00:04,573 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 13:00:05,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 13:00:05,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 13:00:05,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 13:00:05,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,373 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 13:00:05,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 13:00:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 13:00:05,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,376 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 13:00:05,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 13:00:05,378 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 13:00:05,379 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 13:00:05,379 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 13:00:05,380 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 14 +***** + +2019-03-16 14:00:02,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:02,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,725 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:02,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,726 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:02,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,726 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:02,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,729 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,730 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 14:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,732 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 14:00:02,735 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 14:00:02,735 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 13, 10, 39, 804834), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 402.472933}, {'datetime': datetime.datetime(2019, 3, 16, 13, 11, 12, 791444), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首安静的钢琴曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放安静的钢琴音乐。', 'cost_time_ms': 2007.9878959999999}, {'datetime': datetime.datetime(2019, 3, 16, 13, 11, 28, 866912), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '钢琴曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏钢琴音乐。', 'cost_time_ms': 382.882225}, {'datetime': datetime.datetime(2019, 3, 16, 13, 19, 33, 954395), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 430.373905}, {'datetime': datetime.datetime(2019, 3, 16, 13, 19, 46, 384450), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首安静的钢琴曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是流浪的安静钢琴曲?听听看吧。', 'cost_time_ms': 729.626908}, {'datetime': datetime.datetime(2019, 3, 16, 13, 19, 57, 726155), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首钢琴曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放钢琴音乐。', 'cost_time_ms': 403.266344}, {'datetime': datetime.datetime(2019, 3, 16, 13, 28, 42, 18827), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 360.339148}, {'datetime': datetime.datetime(2019, 3, 16, 13, 28, 57, 340112), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首雨的印记', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听昼夜的雨的印记吧。', 'cost_time_ms': 733.617769} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 13, 51, 17, 826040), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首龙珠的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听龙珠的主题曲,mindpower...気...。', 'cost_time_ms': 473.836526}, {'datetime': datetime.datetime(2019, 3, 16, 13, 55, 26, 658077), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首樱桃小丸子的主题曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 390.012385}) +2019-03-16 14:00:02,736 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 14:00:02,746 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,747 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:02,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,748 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,748 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,750 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,750 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,751 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 14:00:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,761 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,762 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:02,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,765 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 14:00:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,767 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 14:00:02,768 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 14:00:02,768 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 13, 28, 42, 18827), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 360.339148} +2019-03-16 14:00:02,768 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-16 13:00:00 +时间为:### 2019-03-16 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 13:00:00" and datetime< "2019-03-16 14:00:00" +2019-03-16 14:00:02,775 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:02,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,776 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:02,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,777 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:02,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,777 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:02,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,778 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:02,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:02,780 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 13:00:00" and datetime< "2019-03-16 14:00:00" +2019-03-16 14:00:02,780 INFO sqlalchemy.engine.base.Engine {} +****15 +all****15 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 13:00:00" and datetime< "2019-03-16 14:00:00" +2019-03-16 14:00:03,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:03,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,826 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:03,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,827 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:03,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,827 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:03,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:03,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:03,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:03,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:03,831 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 13:00:00" and datetime< "2019-03-16 14:00:00" +2019-03-16 14:00:03,831 INFO sqlalchemy.engine.base.Engine {} +****15 +all****15 + +all****0 + +all****15 + +****0 + +****14 + +Start domain data classification: +2019-03-16 14:00:04,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:04,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,838 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,839 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:04,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,839 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:04,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:04,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:04,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:04,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,843 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 14:00:04,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,845 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 14:00:04,846 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 14:00:04,846 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 14, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 14:00:04,847 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 14:00:04,861 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:04,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,862 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:04,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,862 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:04,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,863 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:04,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,864 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,865 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:04,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,865 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:04,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,866 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 14:00:04,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:04,868 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 14:00:04,869 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 14:00:04,869 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 14, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 14, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 14:00:04,870 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 14:00:05,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 14:00:05,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,670 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 14:00:05,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,671 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 14:00:05,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,672 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 14:00:05,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:05,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 14:00:05,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 14:00:05,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,675 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 14:00:05,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 14:00:05,677 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 14:00:05,678 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 14:00:05,678 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 14, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 7), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 5), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 14:00:05,678 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 15 +***** + +2019-03-16 15:00:02,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,134 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,134 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,138 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 15:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,141 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 15:00:02,143 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 15:00:02,143 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 14, 2, 44, 147467), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 336.664987}, {'datetime': datetime.datetime(2019, 3, 16, 14, 2, 44, 147467), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 336.664987}, {'datetime': datetime.datetime(2019, 3, 16, 14, 5, 46, 669618), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '天气怎么样?', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 491.53367}, {'datetime': datetime.datetime(2019, 3, 16, 14, 6, 9, 361855), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '我想听郭兰英的我的祖国', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放郭兰英的我的祖国。', 'cost_time_ms': 254.67765}, {'datetime': datetime.datetime(2019, 3, 16, 14, 15, 18, 166179), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 414.682081}, {'datetime': datetime.datetime(2019, 3, 16, 14, 23, 10, 443045), 'mac_wifi': 'f4911e69b6d2', 'mac_voice': 'c46e7b6f58eb', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 455.413593}, {'datetime': datetime.datetime(2019, 3, 16, 14, 36, 37, 631783), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 356.580029}, {'datetime': datetime.datetime(2019, 3, 16, 14, 36, 37, 705745), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 345.140872} ... displaying 10 of 37 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 14, 59, 19, 55778), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 444.755104}, {'datetime': datetime.datetime(2019, 3, 16, 14, 59, 19, 55778), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 444.755104}) +2019-03-16 15:00:02,146 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 15:00:02,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,158 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,159 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,159 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,162 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 15:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,170 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:02,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:02,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,172 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:02,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,173 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:02,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,176 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 15:00:02,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,178 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 15:00:02,179 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 15:00:02,179 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 14, 2, 44, 147467), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 336.664987}, {'datetime': datetime.datetime(2019, 3, 16, 14, 2, 44, 147467), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 336.664987}, {'datetime': datetime.datetime(2019, 3, 16, 14, 42, 14, 742461), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 320.863313}, {'datetime': datetime.datetime(2019, 3, 16, 14, 42, 16, 411393), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 225.486149}) +2019-03-16 15:00:02,179 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-16 14:00:00 +时间为:### 2019-03-16 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 14:00:00" and datetime< "2019-03-16 15:00:00" +2019-03-16 15:00:02,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,200 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:02,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,201 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:02,204 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 14:00:00" and datetime< "2019-03-16 15:00:00" +2019-03-16 15:00:02,204 INFO sqlalchemy.engine.base.Engine {} +****37 +all****37 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 14:00:00" and datetime< "2019-03-16 15:00:00" +2019-03-16 15:00:03,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:03,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:03,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:03,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:03,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:03,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:03,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:03,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:03,229 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 14:00:00" and datetime< "2019-03-16 15:00:00" +2019-03-16 15:00:03,229 INFO sqlalchemy.engine.base.Engine {} +****37 +all****37 + +all****1 + +all****36 + +****1 + +****32 + +Start domain data classification: +2019-03-16 15:00:04,258 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,259 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:04,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,260 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:04,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,260 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:04,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:04,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:04,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,263 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:04,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,263 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 15:00:04,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,266 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 15:00:04,267 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 15:00:04,267 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 15, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 15:00:04,267 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 15:00:04,282 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,284 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:04,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,284 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:04,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,287 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 15:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:04,290 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 15:00:04,291 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 15:00:04,291 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 15, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 8, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 23, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-16 15:00:04,291 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 15:00:05,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 15:00:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 15:00:05,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 15:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,129 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 15:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 15:00:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 15:00:05,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,132 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 15:00:05,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 15:00:05,134 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 15:00:05,135 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 15:00:05,135 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 15, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 23), ('chat', 11), ('weather', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 15:00:05,136 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 16 +***** + +2019-03-16 16:00:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,497 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,501 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 16:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,503 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 16:00:02,507 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 16:00:02,507 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 15, 2, 1, 978702), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放霍尊的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听霍尊的歌吧!', 'cost_time_ms': 502.792381}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 440973), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 630.332501}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 444665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 531.049597}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 449326), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 484.841164}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 451405), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 499.754904}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 454307), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 523.037847}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 15, 573139), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温17度到22度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 365.136418}, {'datetime': datetime.datetime(2019, 3, 16, 15, 5, 19, 422804), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海节电停', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 209.232466} ... displaying 10 of 107 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 15, 53, 15, 721165), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '关闭空调', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_off', 'response_data': 'success', 'cost_time_ms': 302.284482}, {'datetime': datetime.datetime(2019, 3, 16, 15, 59, 10, 55780), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '这首歌叫什么名字', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'query_song', 'response_data': 'success', 'cost_time_ms': 384.018063}) +2019-03-16 16:00:02,512 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 16:00:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 16:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,539 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,542 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 16:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,544 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 16:00:02,545 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 16:00:02,545 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 15, 5, 19, 422804), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海节电停', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 209.232466}, {'datetime': datetime.datetime(2019, 3, 16, 15, 6, 30, 753387), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '读物海竿卸力', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 217.032908}, {'datetime': datetime.datetime(2019, 3, 16, 15, 8, 59, 947713), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '他在他在她说她说我在', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 205.601871}, {'datetime': datetime.datetime(2019, 3, 16, 15, 9, 30, 734772), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吐槽中的生活', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 248.604872}, {'datetime': datetime.datetime(2019, 3, 16, 15, 10, 2, 678816), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空气质量标准', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 210.631048}, {'datetime': datetime.datetime(2019, 3, 16, 15, 11, 20, 874138), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '专业人员咨询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 211.993001}, {'datetime': datetime.datetime(2019, 3, 16, 15, 11, 26, 878940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '因为我没听明白', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 242.498538}, {'datetime': datetime.datetime(2019, 3, 16, 15, 12, 32, 31036), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '语音对讲', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 217.174424} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 15, 14, 55, 933120), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '体温查询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 247.093228}, {'datetime': datetime.datetime(2019, 3, 16, 15, 23, 45, 469999), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 348.320676}) +2019-03-16 16:00:02,546 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-16 15:00:00 +时间为:### 2019-03-16 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 15:00:00" and datetime< "2019-03-16 16:00:00" +2019-03-16 16:00:02,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,558 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,558 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:02,561 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 15:00:00" and datetime< "2019-03-16 16:00:00" +2019-03-16 16:00:02,561 INFO sqlalchemy.engine.base.Engine {} +****107 +all****107 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 15:00:00" and datetime< "2019-03-16 16:00:00" +2019-03-16 16:00:03,607 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:03,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:03,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,609 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:03,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,609 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:03,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:03,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:03,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:03,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:03,613 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 15:00:00" and datetime< "2019-03-16 16:00:00" +2019-03-16 16:00:03,613 INFO sqlalchemy.engine.base.Engine {} +****107 +all****107 + +all****8 + +all****99 + +****8 + +****83 + +Start domain data classification: +2019-03-16 16:00:04,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,637 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:04,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:04,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:04,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,641 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 16:00:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,643 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 16:00:04,644 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 16:00:04,644 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 16, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 5, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 16:00:04,645 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 16:00:04,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,661 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,663 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 16:00:04,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:04,666 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 16:00:04,667 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 16:00:04,667 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 16, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 11, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 9, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 63} +2019-03-16 16:00:04,668 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 16:00:05,509 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 16:00:05,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 16:00:05,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,511 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 16:00:05,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,511 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 16:00:05,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,512 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:05,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 16:00:05,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 16:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,514 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 16:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 16:00:05,516 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 16:00:05,517 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 16:00:05,517 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 16, 0), '0~500ms': "[('universalcontrol', 5), ('airconditioner', 2), ('playcontrol', 1), ('weather', 59), ('chat', 27), ('music', 5)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('weather', 3), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 16:00:05,518 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 17 +***** + +2019-03-16 17:00:02,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,902 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,903 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,907 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 17:00:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,910 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 17:00:02,912 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 17:00:02,912 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 16, 3, 26, 656369), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的,我知道了。', 'cost_time_ms': 222.497357}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 26, 713741), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的,我知道了。', 'cost_time_ms': 737.620306}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 27, 520694), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '恩有时候会这样子的。', 'cost_time_ms': 336.272605}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 27, 524235), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的,我知道了。', 'cost_time_ms': 198.411486}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 27, 749271), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的,我知道了。', 'cost_time_ms': 180.244674}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 27, 912123), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '恩有时候会这样子的。', 'cost_time_ms': 187.390332}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 27, 917321), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的,我知道了。', 'cost_time_ms': 327.749123}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 28, 53891), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好,我等你就是。', 'cost_time_ms': 313.801991} ... displaying 10 of 18 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 16, 16, 48, 47, 259758), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首汪峰的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起感受内心的力量。', 'cost_time_ms': 500.348694}, {'datetime': datetime.datetime(2019, 3, 16, 16, 54, 17, 671062), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '声音太大了', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 362.323409}) +2019-03-16 17:00:02,914 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 17:00:02,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,926 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,929 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 17:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,938 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,938 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,940 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,942 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,943 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 17:00:02,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,945 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 17:00:02,946 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 17:00:02,946 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 16, 3, 28, 584413), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '正在联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 206.595804}, {'datetime': datetime.datetime(2019, 3, 16, 16, 3, 29, 152692), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 211.040402}) +2019-03-16 17:00:02,946 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-16 16:00:00 +时间为:### 2019-03-16 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 16:00:00" and datetime< "2019-03-16 17:00:00" +2019-03-16 17:00:02,960 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,961 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,962 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,962 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:02,965 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 16:00:00" and datetime< "2019-03-16 17:00:00" +2019-03-16 17:00:02,965 INFO sqlalchemy.engine.base.Engine {} +****18 +all****18 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 16:00:00" and datetime< "2019-03-16 17:00:00" +2019-03-16 17:00:03,973 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:03,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,974 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:03,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,975 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:03,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,976 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:03,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,977 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:03,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:03,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:03,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:03,979 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 16:00:00" and datetime< "2019-03-16 17:00:00" +2019-03-16 17:00:03,979 INFO sqlalchemy.engine.base.Engine {} +****18 +all****18 + +all****1 + +all****17 + +****1 + +****15 + +Start domain data classification: +2019-03-16 17:00:05,007 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,008 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:05,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,009 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:05,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,010 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:05,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,012 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,012 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:05,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,013 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 17:00:05,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,015 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 17:00:05,016 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 17:00:05,017 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 17, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 17:00:05,017 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 17:00:05,038 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,040 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:05,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,041 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:05,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,044 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 17:00:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,046 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 17:00:05,047 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 17:00:05,047 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 17, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 12, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 2, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 1, 'weather': 0} +2019-03-16 17:00:05,048 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 17:00:05,862 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 17:00:05,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 17:00:05,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,864 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 17:00:05,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,865 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 17:00:05,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,866 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 17:00:05,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 17:00:05,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,868 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 17:00:05,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 17:00:05,870 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 17:00:05,871 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 17:00:05,871 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 17, 0), '0~500ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 13), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('translate', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 17:00:05,872 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 18 +***** + +2019-03-16 18:00:02,206 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,209 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,209 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,213 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 18:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,215 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 18:00:02,218 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 18:00:02,218 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 17, 5, 47, 502203), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放珠海新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下就是珠海的相关新闻,', 'cost_time_ms': 709.847898}, {'datetime': datetime.datetime(2019, 3, 16, 17, 25, 26, 709886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首酒窝的游子梦送给你。', 'cost_time_ms': 544.691101}, {'datetime': datetime.datetime(2019, 3, 16, 17, 35, 0, 372000), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放热播歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 417.586858}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 177011), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 457.253354}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 918006), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首酒窝的游子梦。', 'cost_time_ms': 373.808914}, {'datetime': datetime.datetime(2019, 3, 16, 17, 40, 14, 484262), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 454.613104}) +2019-03-16 18:00:02,219 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 18:00:02,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:02,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,232 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,235 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 18:00:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,245 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,248 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 18:00:02,248 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 17:00:00 +时间为:### 2019-03-16 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 17:00:00" and datetime< "2019-03-16 18:00:00" +2019-03-16 18:00:02,255 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,255 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,256 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,257 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 17:00:00" and datetime< "2019-03-16 18:00:00" +2019-03-16 18:00:02,260 INFO sqlalchemy.engine.base.Engine {} +****6 +all****6 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 17:00:00" and datetime< "2019-03-16 18:00:00" +2019-03-16 18:00:03,260 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:03,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:03,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,262 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:03,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,262 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:03,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:03,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:03,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:03,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:03,265 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 17:00:00" and datetime< "2019-03-16 18:00:00" +2019-03-16 18:00:03,266 INFO sqlalchemy.engine.base.Engine {} +****6 +all****6 + +all****0 + +all****6 + +****0 + +****6 + +Start domain data classification: +2019-03-16 18:00:04,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:04,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,279 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:04,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,279 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:04,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:04,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:04,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,283 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 18:00:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,285 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 18:00:04,286 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 18:00:04,286 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 18, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 18:00:04,287 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 18:00:04,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:04,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:04,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,306 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 18:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:04,309 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 18:00:04,310 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 18:00:04,310 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 18, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 18:00:04,310 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 18:00:05,122 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 18:00:05,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 18:00:05,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,124 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 18:00:05,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,125 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 18:00:05,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:05,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 18:00:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 18:00:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,128 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 18:00:05,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 18:00:05,130 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 18:00:05,130 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 18:00:05,131 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 18, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 18:00:05,131 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 19 +***** + +2019-03-16 19:00:02,440 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,442 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,443 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,446 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,447 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 19:00:02,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,449 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 19:00:02,451 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 19:00:02,452 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 17, 5, 47, 502203), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放珠海新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下就是珠海的相关新闻,', 'cost_time_ms': 709.847898}, {'datetime': datetime.datetime(2019, 3, 16, 17, 25, 26, 709886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首酒窝的游子梦送给你。', 'cost_time_ms': 544.691101}, {'datetime': datetime.datetime(2019, 3, 16, 17, 35, 0, 372000), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放热播歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 417.586858}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 177011), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 457.253354}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 918006), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首酒窝的游子梦。', 'cost_time_ms': 373.808914}, {'datetime': datetime.datetime(2019, 3, 16, 17, 40, 14, 484262), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 454.613104}) +2019-03-16 19:00:02,453 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 19:00:02,470 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,473 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,475 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 19:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,484 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,485 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,485 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,486 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,488 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,489 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,489 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 19:00:02,489 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 18:00:00 +时间为:### 2019-03-16 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 18:00:00" and datetime< "2019-03-16 19:00:00" +2019-03-16 19:00:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,496 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,497 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,498 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,500 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:02,501 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 18:00:00" and datetime< "2019-03-16 19:00:00" +2019-03-16 19:00:02,501 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 18:00:00" and datetime< "2019-03-16 19:00:00" +2019-03-16 19:00:03,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:03,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:03,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,537 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:03,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,538 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:03,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:03,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:03,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:03,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:03,541 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 18:00:00" and datetime< "2019-03-16 19:00:00" +2019-03-16 19:00:03,542 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 19:00:04,545 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:04,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,546 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:04,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,547 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:04,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,548 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:04,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:04,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:04,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:04,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,551 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 19:00:04,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,553 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 19:00:04,554 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 19:00:04,554 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 19, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 19:00:04,555 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 19:00:04,569 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,569 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,570 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,571 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:04,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:04,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:04,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:04,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,574 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 19:00:04,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:04,576 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 19:00:04,577 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 19:00:04,577 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 19, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 19:00:04,578 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 19:00:05,389 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 19:00:05,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,390 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 19:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 19:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,392 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 19:00:05,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:05,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 19:00:05,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,394 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 19:00:05,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,394 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 19:00:05,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 19:00:05,396 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 19:00:05,397 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 19:00:05,397 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 19, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 19:00:05,397 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 20 +***** + +2019-03-16 20:00:02,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,126 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,130 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 20:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,132 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 20:00:02,135 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 20:00:02,135 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 17, 5, 47, 502203), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放珠海新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下就是珠海的相关新闻,', 'cost_time_ms': 709.847898}, {'datetime': datetime.datetime(2019, 3, 16, 17, 25, 26, 709886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首酒窝的游子梦送给你。', 'cost_time_ms': 544.691101}, {'datetime': datetime.datetime(2019, 3, 16, 17, 35, 0, 372000), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放热播歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 417.586858}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 177011), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 457.253354}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 918006), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首酒窝的游子梦。', 'cost_time_ms': 373.808914}, {'datetime': datetime.datetime(2019, 3, 16, 17, 40, 14, 484262), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 454.613104}) +2019-03-16 20:00:02,135 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 20:00:02,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:02,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,149 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:02,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,150 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,150 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,153 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 20:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,163 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,164 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,167 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 20:00:02,167 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 19:00:00 +时间为:### 2019-03-16 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 19:00:00" and datetime< "2019-03-16 20:00:00" +2019-03-16 20:00:02,173 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:02,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,174 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:02,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,175 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,176 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:02,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 19:00:00" and datetime< "2019-03-16 20:00:00" +2019-03-16 20:00:02,178 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 19:00:00" and datetime< "2019-03-16 20:00:00" +2019-03-16 20:00:03,178 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:03,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:03,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,180 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:03,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,180 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:03,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:03,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:03,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:03,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:03,183 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 19:00:00" and datetime< "2019-03-16 20:00:00" +2019-03-16 20:00:03,183 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 20:00:04,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:04,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,202 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:04,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,203 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,203 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:04,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:04,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:04,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,206 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 20:00:04,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,209 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 20:00:04,210 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 20:00:04,210 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 20, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 20:00:04,210 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 20:00:04,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:04,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:04,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:04,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:04,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:04,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:04,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:04,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,229 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 20:00:04,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:04,231 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 20:00:04,232 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 20:00:04,232 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 20, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 20:00:04,233 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 20:00:05,038 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 20:00:05,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 20:00:05,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,040 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 20:00:05,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,041 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 20:00:05,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:05,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 20:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 20:00:05,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,044 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 20:00:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 20:00:05,046 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 20:00:05,047 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 20:00:05,047 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 20, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 20:00:05,047 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 21 +***** + +2019-03-16 21:00:02,219 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,220 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,221 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,222 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,224 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,225 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,226 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 21:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,228 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 21:00:02,230 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 21:00:02,231 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 17, 5, 47, 502203), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放珠海新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下就是珠海的相关新闻,', 'cost_time_ms': 709.847898}, {'datetime': datetime.datetime(2019, 3, 16, 17, 25, 26, 709886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首酒窝的游子梦送给你。', 'cost_time_ms': 544.691101}, {'datetime': datetime.datetime(2019, 3, 16, 17, 35, 0, 372000), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放热播歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 417.586858}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 177011), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 457.253354}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 918006), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首酒窝的游子梦。', 'cost_time_ms': 373.808914}, {'datetime': datetime.datetime(2019, 3, 16, 17, 40, 14, 484262), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 454.613104}) +2019-03-16 21:00:02,231 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 21:00:02,241 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,242 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,243 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,245 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,245 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,246 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 21:00:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,255 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,256 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,257 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,260 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 21:00:02,260 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 20:00:00 +时间为:### 2019-03-16 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 20:00:00" and datetime< "2019-03-16 21:00:00" +2019-03-16 21:00:02,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,267 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,268 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,269 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 20:00:00" and datetime< "2019-03-16 21:00:00" +2019-03-16 21:00:02,271 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 20:00:00" and datetime< "2019-03-16 21:00:00" +2019-03-16 21:00:03,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:03,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:03,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,272 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:03,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,273 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:03,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:03,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:03,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:03,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:03,276 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 20:00:00" and datetime< "2019-03-16 21:00:00" +2019-03-16 21:00:03,276 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 21:00:04,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:04,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:04,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,293 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,294 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:04,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:04,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:04,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,297 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 21:00:04,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,300 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 21:00:04,301 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 21:00:04,301 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 21, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 21:00:04,301 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 21:00:04,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:04,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:04,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:04,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,317 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:04,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:04,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:04,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:04,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,319 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 21:00:04,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:04,322 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 21:00:04,323 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 21:00:04,323 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 21, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 21:00:04,324 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 21:00:05,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 21:00:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,136 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 21:00:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,137 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 21:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 21:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:05,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 21:00:05,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 21:00:05,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 21:00:05,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 21:00:05,143 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 21:00:05,143 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 21:00:05,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 21, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 21:00:05,144 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-16 22 +***** + +2019-03-16 22:00:02,465 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,467 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,468 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,468 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,472 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 22:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,475 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 22:00:02,477 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 22:00:02,477 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 17, 5, 47, 502203), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放珠海新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下就是珠海的相关新闻,', 'cost_time_ms': 709.847898}, {'datetime': datetime.datetime(2019, 3, 16, 17, 25, 26, 709886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首酒窝的游子梦送给你。', 'cost_time_ms': 544.691101}, {'datetime': datetime.datetime(2019, 3, 16, 17, 35, 0, 372000), 'mac_wifi': 'f4911e5f5b28', 'mac_voice': 'c46e7b6f5c70', 'query': '播放热播歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 417.586858}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 177011), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 457.253354}, {'datetime': datetime.datetime(2019, 3, 16, 17, 38, 53, 918006), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首游子梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首酒窝的游子梦。', 'cost_time_ms': 373.808914}, {'datetime': datetime.datetime(2019, 3, 16, 17, 40, 14, 484262), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 454.613104}) +2019-03-16 22:00:02,478 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 22:00:02,486 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,488 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:02,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,492 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 22:00:02,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,502 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,505 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 22:00:02,505 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 21:00:00 +时间为:### 2019-03-16 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 21:00:00" and datetime< "2019-03-16 22:00:00" +2019-03-16 22:00:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:02,517 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 21:00:00" and datetime< "2019-03-16 22:00:00" +2019-03-16 22:00:02,517 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 21:00:00" and datetime< "2019-03-16 22:00:00" +2019-03-16 22:00:03,521 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:03,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:03,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,524 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:03,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:03,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:03,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:03,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:03,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:03,537 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 21:00:00" and datetime< "2019-03-16 22:00:00" +2019-03-16 22:00:03,537 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-16 22:00:04,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 22:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,570 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 22:00:04,571 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 22:00:04,572 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 22, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 22:00:04,572 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 22:00:04,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,588 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,588 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,591 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 22:00:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:04,594 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 22:00:04,595 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 22:00:04,595 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 22, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 22:00:04,595 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 22:00:05,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 22:00:05,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,401 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 22:00:05,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,402 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 22:00:05,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,403 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 22:00:05,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,404 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:05,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,405 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 22:00:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,405 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 22:00:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,406 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 22:00:05,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 22:00:05,408 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 22:00:05,409 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 22:00:05,409 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 22, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 22:00:05,409 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-16 23 +***** + +2019-03-16 23:00:02,753 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:02,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,756 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,757 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,760 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-16 23:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,763 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 23:00:02,765 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-16 23:00:02,765 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 22, 11, 55, 979205), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '在你妹听都听不见', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我看到了一片星星。', 'cost_time_ms': 325.454798}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 9, 864180), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我们要做个乖宝宝,不能骂人哦。', 'cost_time_ms': 315.522628}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 36, 584802), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你找我大爷有什么事。', 'cost_time_ms': 184.004509}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 52, 285947), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '操你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装听不见的样子。', 'cost_time_ms': 156.165688}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 5, 392486), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '操你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这可难倒我了。', 'cost_time_ms': 167.32753}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 22, 532887), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '烤起来', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '烤要。', 'cost_time_ms': 157.793489}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 51, 341925), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 298.084682}, {'datetime': datetime.datetime(2019, 3, 16, 22, 18, 20, 203886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听欢子的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放欢子的歌。', 'cost_time_ms': 519.940133}, {'datetime': datetime.datetime(2019, 3, 16, 22, 59, 28, 553495), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 411.781988}) +2019-03-16 23:00:02,766 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-16 23:00:02,779 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:02,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,780 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,780 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,781 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,783 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,783 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,784 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-16 23:00:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,793 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,793 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,795 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,798 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-16 23:00:02,798 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 22:00:00 +时间为:### 2019-03-16 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 22:00:00" and datetime< "2019-03-16 23:00:00" +2019-03-16 23:00:02,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,806 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:02,809 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 22:00:00" and datetime< "2019-03-16 23:00:00" +2019-03-16 23:00:02,809 INFO sqlalchemy.engine.base.Engine {} +****9 +all****9 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 22:00:00" and datetime< "2019-03-16 23:00:00" +2019-03-16 23:00:03,814 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:03,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,815 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:03,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,817 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:03,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,817 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:03,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:03,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:03,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,820 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:03,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:03,820 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 22:00:00" and datetime< "2019-03-16 23:00:00" +2019-03-16 23:00:03,821 INFO sqlalchemy.engine.base.Engine {} +****9 +all****9 + +all****0 + +all****9 + +****0 + +****9 + +Start domain data classification: +2019-03-16 23:00:04,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,850 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,851 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,854 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-16 23:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,857 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 23:00:04,858 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-16 23:00:04,858 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 23, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-16 23:00:04,858 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-16 23:00:04,875 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,875 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,876 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,877 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,879 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,879 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,880 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-16 23:00:04,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:04,882 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 23:00:04,883 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-16 23:00:04,883 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 23, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 6, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-16 23:00:04,884 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-16 23:00:05,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-16 23:00:05,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-16 23:00:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,685 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-16 23:00:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,686 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-16 23:00:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:05,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-16 23:00:05,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-16 23:00:05,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,689 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-16 23:00:05,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-16 23:00:05,691 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-16 23:00:05,691 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-16 23:00:05,692 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 16, 23, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 6), ('music', 2), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-16 23:00:05,692 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-17 00 +***** + +2019-03-17 00:00:02,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,506 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 00:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,509 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 00:00:02,511 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 00:00:02,511 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 16, 22, 11, 55, 979205), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '在你妹听都听不见', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我看到了一片星星。', 'cost_time_ms': 325.454798}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 9, 864180), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我们要做个乖宝宝,不能骂人哦。', 'cost_time_ms': 315.522628}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 36, 584802), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你找我大爷有什么事。', 'cost_time_ms': 184.004509}, {'datetime': datetime.datetime(2019, 3, 16, 22, 12, 52, 285947), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '操你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装听不见的样子。', 'cost_time_ms': 156.165688}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 5, 392486), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '操你大爷', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这可难倒我了。', 'cost_time_ms': 167.32753}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 22, 532887), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '烤起来', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '烤要。', 'cost_time_ms': 157.793489}, {'datetime': datetime.datetime(2019, 3, 16, 22, 13, 51, 341925), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 298.084682}, {'datetime': datetime.datetime(2019, 3, 16, 22, 18, 20, 203886), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听欢子的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放欢子的歌。', 'cost_time_ms': 519.940133}, {'datetime': datetime.datetime(2019, 3, 16, 22, 59, 28, 553495), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 411.781988}) +2019-03-17 00:00:02,512 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 00:00:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,524 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,525 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,527 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 00:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,537 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,537 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,540 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 00:00:02,540 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-16 23:00:00 +时间为:### 2019-03-17 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 23:00:00" and datetime< "2019-03-17 00:00:00" +2019-03-17 00:00:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,548 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,549 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:02,552 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 23:00:00" and datetime< "2019-03-17 00:00:00" +2019-03-17 00:00:02,552 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 23:00:00" and datetime< "2019-03-17 00:00:00" +2019-03-17 00:00:03,555 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:03,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,556 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,557 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:03,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,558 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:03,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,559 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:03,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:03,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,560 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:03,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:03,561 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-16 23:00:00" and datetime< "2019-03-17 00:00:00" +2019-03-17 00:00:03,561 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 00:00:04,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,565 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,566 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 00:00:04,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,571 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 00:00:04,572 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 00:00:04,572 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 00:00:04,572 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 00:00:04,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:04,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:04,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,588 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,588 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,591 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 00:00:04,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:04,593 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 00:00:04,594 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 00:00:04,595 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 00:00:04,595 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 00:00:05,395 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 00:00:05,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 00:00:05,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,397 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 00:00:05,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,398 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 00:00:05,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,399 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:05,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 00:00:05,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 00:00:05,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,401 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 00:00:05,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 00:00:05,403 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 00:00:05,403 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 00:00:05,403 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 0, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 6), ('music', 2), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 00:00:05,404 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 01 +***** + +2019-03-17 01:00:02,794 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:02,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,797 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:02,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,801 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 01:00:02,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,806 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 01:00:02,808 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 01:00:02,808 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 17, 0, 18, 18, 579953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '达到了该领域的世界先进水平', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 350.162771}, {'datetime': datetime.datetime(2019, 3, 17, 0, 45, 18, 867469), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听欢子的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放欢子的歌。', 'cost_time_ms': 424.114689}) +2019-03-17 01:00:02,809 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 01:00:02,820 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,822 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,823 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,824 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,825 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 01:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,834 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,834 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,835 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,836 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:02,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,837 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,839 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 01:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,841 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 01:00:02,842 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 01:00:02,842 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 0, 18, 18, 579953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '达到了该领域的世界先进水平', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 350.162771} +2019-03-17 01:00:02,842 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 00:00:00 +时间为:### 2019-03-17 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 00:00:00" and datetime< "2019-03-17 01:00:00" +2019-03-17 01:00:02,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:02,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:02,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,851 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,851 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 00:00:00" and datetime< "2019-03-17 01:00:00" +2019-03-17 01:00:02,854 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 00:00:00" and datetime< "2019-03-17 01:00:00" +2019-03-17 01:00:03,862 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:03,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:03,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,864 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:03,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,864 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:03,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,866 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:03,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:03,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:03,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:03,868 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 00:00:00" and datetime< "2019-03-17 01:00:00" +2019-03-17 01:00:03,868 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +all****0 + +all****2 + +****0 + +****1 + +Start domain data classification: +2019-03-17 01:00:04,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,874 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,875 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,875 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,879 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 01:00:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,881 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 01:00:04,882 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 01:00:04,882 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 01:00:04,883 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 01:00:04,903 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,905 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,906 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,907 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:04,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,907 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,909 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 01:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:04,911 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 01:00:04,912 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 01:00:04,912 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 01:00:04,913 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 01:00:05,738 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 01:00:05,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 01:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,740 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 01:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,741 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 01:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,742 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 01:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 01:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 01:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 01:00:05,746 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 01:00:05,747 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 01:00:05,747 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 01:00:05,747 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 02 +***** + +2019-03-17 02:00:02,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,349 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,350 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,351 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,353 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,353 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,354 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 02:00:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,357 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 02:00:02,359 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 02:00:02,359 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 11, 46, 493134), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诗宫词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《宫词》,来自唐代顾况,全文如下:', 'cost_time_ms': 397.485527} +2019-03-17 02:00:02,360 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 02:00:02,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,374 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,376 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 02:00:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,390 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 02:00:02,390 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 01:00:00 +时间为:### 2019-03-17 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 01:00:00" and datetime< "2019-03-17 02:00:00" +2019-03-17 02:00:02,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,399 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:02,402 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 01:00:00" and datetime< "2019-03-17 02:00:00" +2019-03-17 02:00:02,402 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 01:00:00" and datetime< "2019-03-17 02:00:00" +2019-03-17 02:00:03,428 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:03,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,429 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:03,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,430 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:03,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,430 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:03,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:03,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:03,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,433 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:03,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:03,434 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 01:00:00" and datetime< "2019-03-17 02:00:00" +2019-03-17 02:00:03,434 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-17 02:00:04,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,495 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,495 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:04,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,498 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 02:00:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,501 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 02:00:04,502 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 02:00:04,502 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 2, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 02:00:04,502 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 02:00:04,516 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,517 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,518 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,519 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,521 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 02:00:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:04,525 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 02:00:04,526 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 02:00:04,526 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 2, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 02:00:04,527 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 02:00:05,328 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 02:00:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 02:00:05,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,330 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 02:00:05,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,331 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 02:00:05,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,332 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:05,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 02:00:05,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 02:00:05,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,334 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 02:00:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 02:00:05,336 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 02:00:05,336 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 02:00:05,336 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 2, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 02:00:05,337 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-17 03 +***** + +2019-03-17 03:00:02,731 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,734 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,738 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 03:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,741 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 03:00:02,743 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 03:00:02,743 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 11, 46, 493134), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诗宫词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《宫词》,来自唐代顾况,全文如下:', 'cost_time_ms': 397.485527} +2019-03-17 03:00:02,744 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 03:00:02,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,756 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,757 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,757 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,760 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,760 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 03:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,770 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,770 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,771 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:02,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:02,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,774 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 03:00:02,774 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 02:00:00 +时间为:### 2019-03-17 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 02:00:00" and datetime< "2019-03-17 03:00:00" +2019-03-17 03:00:02,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,783 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:02,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:02,786 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 02:00:00" and datetime< "2019-03-17 03:00:00" +2019-03-17 03:00:02,786 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 02:00:00" and datetime< "2019-03-17 03:00:00" +2019-03-17 03:00:03,827 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:03,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:03,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,829 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:03,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,829 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:03,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:03,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:03,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:03,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:03,832 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 02:00:00" and datetime< "2019-03-17 03:00:00" +2019-03-17 03:00:03,832 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 03:00:04,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,851 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,852 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,855 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:04,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,855 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 03:00:04,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,858 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 03:00:04,859 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 03:00:04,859 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 3, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 03:00:04,859 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 03:00:04,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,874 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,875 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,878 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 03:00:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:04,880 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 03:00:04,881 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 03:00:04,881 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 3, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 03:00:04,882 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 03:00:05,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 03:00:05,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 03:00:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,686 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 03:00:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,687 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 03:00:05,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:05,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 03:00:05,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 03:00:05,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,690 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 03:00:05,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 03:00:05,692 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 03:00:05,693 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 03:00:05,693 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 3, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 03:00:05,693 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-17 04 +***** + +2019-03-17 04:00:02,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,275 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,276 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,277 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,279 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,279 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,280 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 04:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,283 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 04:00:02,285 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 04:00:02,285 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 11, 46, 493134), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诗宫词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《宫词》,来自唐代顾况,全文如下:', 'cost_time_ms': 397.485527} +2019-03-17 04:00:02,286 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 04:00:02,297 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,299 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,300 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,302 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 04:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,311 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,313 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,313 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,316 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 04:00:02,317 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 03:00:00 +时间为:### 2019-03-17 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 03:00:00" and datetime< "2019-03-17 04:00:00" +2019-03-17 04:00:02,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 03:00:00" and datetime< "2019-03-17 04:00:00" +2019-03-17 04:00:02,328 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 03:00:00" and datetime< "2019-03-17 04:00:00" +2019-03-17 04:00:03,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:03,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:03,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:03,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,326 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:03,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:03,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:03,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:03,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:03,329 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 03:00:00" and datetime< "2019-03-17 04:00:00" +2019-03-17 04:00:03,329 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 04:00:04,346 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:04,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:04,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:04,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:04,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:04,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,352 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 04:00:04,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,354 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 04:00:04,355 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 04:00:04,356 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 4, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 04:00:04,356 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 04:00:04,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,371 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:04,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,372 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,375 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 04:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:04,377 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 04:00:04,378 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 04:00:04,378 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 4, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 04:00:04,379 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 04:00:05,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 04:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,185 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 04:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,186 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 04:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,186 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 04:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 04:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,189 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 04:00:05,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,189 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 04:00:05,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 04:00:05,191 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 04:00:05,192 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 04:00:05,192 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 4, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 04:00:05,193 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-17 05 +***** + +2019-03-17 05:00:02,599 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,602 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,602 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,606 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 05:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,608 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 05:00:02,611 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 05:00:02,611 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 11, 46, 493134), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诗宫词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《宫词》,来自唐代顾况,全文如下:', 'cost_time_ms': 397.485527} +2019-03-17 05:00:02,611 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 05:00:02,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,624 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,627 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 05:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,636 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,637 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,638 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,640 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,641 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 05:00:02,641 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 04:00:00 +时间为:### 2019-03-17 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 04:00:00" and datetime< "2019-03-17 05:00:00" +2019-03-17 05:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,649 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 04:00:00" and datetime< "2019-03-17 05:00:00" +2019-03-17 05:00:02,653 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 04:00:00" and datetime< "2019-03-17 05:00:00" +2019-03-17 05:00:03,691 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:03,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,692 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:03,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,693 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:03,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,694 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:03,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:03,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:03,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:03,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:03,697 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 04:00:00" and datetime< "2019-03-17 05:00:00" +2019-03-17 05:00:03,697 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 05:00:04,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,704 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,705 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,706 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:04,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,709 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 05:00:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,711 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 05:00:04,712 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 05:00:04,712 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 5, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 05:00:04,713 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 05:00:04,726 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:04,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,727 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,728 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,728 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,729 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:04,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,730 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:04,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,731 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,731 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 05:00:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:04,733 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 05:00:04,735 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 05:00:04,735 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 5, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 05:00:04,735 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 05:00:05,529 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 05:00:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 05:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,531 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 05:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,532 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 05:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 05:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 05:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,535 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 05:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 05:00:05,537 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 05:00:05,538 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 05:00:05,538 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 5, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 05:00:05,538 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190317" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-17 06 +***** + +2019-03-17 06:00:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,938 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,942 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 06:00:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,945 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 06:00:02,947 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 06:00:02,947 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 1, 11, 46, 493134), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '诗宫词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '《宫词》,来自唐代顾况,全文如下:', 'cost_time_ms': 397.485527} +2019-03-17 06:00:02,948 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 06:00:02,956 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,957 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,958 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,959 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,960 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,960 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,961 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,962 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 06:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,970 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:02,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,971 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,972 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:02,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,972 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:02,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,974 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,974 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,975 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 06:00:02,976 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 05:00:00 +时间为:### 2019-03-17 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 05:00:00" and datetime< "2019-03-17 06:00:00" +2019-03-17 06:00:02,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,984 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,984 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:02,987 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 05:00:00" and datetime< "2019-03-17 06:00:00" +2019-03-17 06:00:02,987 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 05:00:00" and datetime< "2019-03-17 06:00:00" +2019-03-17 06:00:03,988 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:03,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,989 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:03,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,990 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:03,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,991 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:03,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,992 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:03,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,993 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:03,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:03,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:03,994 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 05:00:00" and datetime< "2019-03-17 06:00:00" +2019-03-17 06:00:03,994 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 06:00:04,997 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:04,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:04,998 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:04,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:04,999 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:04,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,000 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:05,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,003 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 06:00:05,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,005 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 06:00:05,006 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 06:00:05,006 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 6, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 06:00:05,007 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 06:00:05,027 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:05,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,027 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:05,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,028 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:05,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,029 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:05,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,030 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,031 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,031 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:05,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,032 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 06:00:05,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,034 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 06:00:05,035 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 06:00:05,035 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 6, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 06:00:05,036 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 06:00:05,866 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 06:00:05,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,867 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 06:00:05,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,868 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 06:00:05,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,869 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 06:00:05,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,870 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,871 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 06:00:05,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 06:00:05,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,872 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 06:00:05,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 06:00:05,874 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 06:00:05,875 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 06:00:05,875 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 6, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 06:00:05,875 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 07 +***** + +2019-03-17 07:00:02,267 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,268 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,269 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,270 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,274 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 07:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,276 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 07:00:02,278 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 07:00:02,279 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 17, 6, 49, 53, 745983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '菜品具体的做法推荐您去网上查看哦', 'cost_time_ms': 349.765045}, {'datetime': datetime.datetime(2019, 3, 17, 6, 49, 54, 910171), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤当今之乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 357.788391}) +2019-03-17 07:00:02,279 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 07:00:02,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,290 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,291 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,294 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 07:00:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,304 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,305 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:02,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,308 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 07:00:02,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,310 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 07:00:02,311 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 07:00:02,311 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 6, 49, 54, 910171), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤当今之乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 357.788391} +2019-03-17 07:00:02,311 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 06:00:00 +时间为:### 2019-03-17 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 06:00:00" and datetime< "2019-03-17 07:00:00" +2019-03-17 07:00:02,320 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,321 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,322 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,322 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,323 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:02,325 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 06:00:00" and datetime< "2019-03-17 07:00:00" +2019-03-17 07:00:02,325 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 06:00:00" and datetime< "2019-03-17 07:00:00" +2019-03-17 07:00:03,336 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:03,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:03,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,338 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:03,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,339 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:03,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,340 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:03,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:03,342 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 06:00:00" and datetime< "2019-03-17 07:00:00" +2019-03-17 07:00:03,342 INFO sqlalchemy.engine.base.Engine {} +****2 +all****2 + +all****0 + +all****2 + +****0 + +****1 + +Start domain data classification: +2019-03-17 07:00:04,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:04,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:04,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,370 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,373 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 07:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,376 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 07:00:04,377 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 07:00:04,377 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 7, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 07:00:04,378 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 07:00:04,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:04,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,400 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,401 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,401 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,404 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 07:00:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:04,406 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 07:00:04,408 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 07:00:04,408 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 7, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 07:00:04,408 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 07:00:05,197 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 07:00:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 07:00:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,199 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 07:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,199 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 07:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 07:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 07:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,202 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 07:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 07:00:05,204 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 07:00:05,205 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 07:00:05,205 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 7, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 07:00:05,205 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 08 +***** + +2019-03-17 08:00:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,508 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,510 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,512 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,514 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 08:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,516 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 08:00:02,518 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 08:00:02,518 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 17, 6, 49, 53, 745983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '菜品具体的做法推荐您去网上查看哦', 'cost_time_ms': 349.765045}, {'datetime': datetime.datetime(2019, 3, 17, 6, 49, 54, 910171), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤当今之乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 357.788391}) +2019-03-17 08:00:02,519 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 08:00:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,529 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,530 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 08:00:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,543 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,544 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,545 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,546 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,547 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 08:00:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,549 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 08:00:02,550 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 08:00:02,550 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 6, 49, 54, 910171), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '萝卜汤当今之乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 357.788391} +2019-03-17 08:00:02,550 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 07:00:00 +时间为:### 2019-03-17 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 07:00:00" and datetime< "2019-03-17 08:00:00" +2019-03-17 08:00:02,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 07:00:00" and datetime< "2019-03-17 08:00:00" +2019-03-17 08:00:02,567 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 07:00:00" and datetime< "2019-03-17 08:00:00" +2019-03-17 08:00:03,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:03,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,588 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:03,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:03,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:03,591 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 07:00:00" and datetime< "2019-03-17 08:00:00" +2019-03-17 08:00:03,591 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 08:00:04,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:04,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:04,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,603 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:04,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,604 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:04,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,607 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 08:00:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,609 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 08:00:04,610 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 08:00:04,610 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 8, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 08:00:04,611 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 08:00:04,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:04,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,634 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:04,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:04,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,636 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,636 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 08:00:04,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:04,638 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 08:00:04,640 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 08:00:04,640 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 8, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 08:00:04,640 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 08:00:05,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 08:00:05,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 08:00:05,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,423 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 08:00:05,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 08:00:05,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:05,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 08:00:05,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 08:00:05,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 08:00:05,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 08:00:05,429 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 08:00:05,429 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 08:00:05,429 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 8, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 08:00:05,430 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 09 +***** + +2019-03-17 09:00:02,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:02,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,744 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:02,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,745 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,746 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,747 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,749 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 09:00:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,752 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 09:00:02,754 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 09:00:02,754 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 8, 34, 13, 923573), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '没反应', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '再试试。', 'cost_time_ms': 316.413926} +2019-03-17 09:00:02,755 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 09:00:02,764 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,765 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,766 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,766 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,767 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,768 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,769 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,769 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 09:00:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,778 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,778 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,779 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:02,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,780 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:02,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,783 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 09:00:02,783 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 08:00:00 +时间为:### 2019-03-17 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 08:00:00" and datetime< "2019-03-17 09:00:00" +2019-03-17 09:00:02,789 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,791 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:02,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,792 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 08:00:00" and datetime< "2019-03-17 09:00:00" +2019-03-17 09:00:02,794 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 08:00:00" and datetime< "2019-03-17 09:00:00" +2019-03-17 09:00:03,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:03,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,809 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,810 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:03,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,811 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:03,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:03,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:03,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:03,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:03,814 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 08:00:00" and datetime< "2019-03-17 09:00:00" +2019-03-17 09:00:03,814 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-17 09:00:04,820 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:04,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:04,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,822 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:04,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,823 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:04,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,824 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:04,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,826 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 09:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,828 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 09:00:04,829 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 09:00:04,830 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 9, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 09:00:04,830 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 09:00:04,844 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:04,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,844 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,845 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,846 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:04,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,849 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 09:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:04,851 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 09:00:04,852 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 09:00:04,852 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 9, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 09:00:04,853 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 09:00:05,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 09:00:05,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 09:00:05,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,670 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 09:00:05,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,670 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 09:00:05,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:05,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 09:00:05,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 09:00:05,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,673 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 09:00:05,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 09:00:05,675 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 09:00:05,676 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 09:00:05,676 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 9, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 09:00:05,677 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 10 +***** + +2019-03-17 10:00:02,020 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,021 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,022 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,023 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,025 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,025 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,026 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:02,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,027 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 10:00:02,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,030 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 10:00:02,032 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 10:00:02,032 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 9, 28, 12, 306624), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '他就是整', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 364.48718} +2019-03-17 10:00:02,033 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 10:00:02,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:02,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:02,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,045 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,046 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,049 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 10:00:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,057 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:02,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,058 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:02,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,059 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:02,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,060 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:02,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:02,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,063 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 10:00:02,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,065 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 10:00:02,066 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 10:00:02,066 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 9, 28, 12, 306624), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '他就是整', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 364.48718} +2019-03-17 10:00:02,066 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 09:00:00 +时间为:### 2019-03-17 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 09:00:00" and datetime< "2019-03-17 10:00:00" +2019-03-17 10:00:02,081 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:02,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,082 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:02,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,083 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:02,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,084 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:02,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,085 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,085 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,086 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:02,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:02,086 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 09:00:00" and datetime< "2019-03-17 10:00:00" +2019-03-17 10:00:02,086 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 09:00:00" and datetime< "2019-03-17 10:00:00" +2019-03-17 10:00:03,083 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:03,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:03,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:03,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:03,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:03,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:03,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:03,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:03,089 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 09:00:00" and datetime< "2019-03-17 10:00:00" +2019-03-17 10:00:03,089 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****0 + +Start domain data classification: +2019-03-17 10:00:04,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:04,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,105 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:04,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,106 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,106 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,109 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:04,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,109 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 10:00:04,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,112 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 10:00:04,113 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 10:00:04,113 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 10, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 10:00:04,114 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 10:00:04,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:04,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,136 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:04,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 10:00:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 10:00:04,143 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 10:00:04,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 10, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 10:00:04,144 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 10:00:04,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 10:00:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 10:00:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,960 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 10:00:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 10:00:04,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 10:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 10:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,964 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 10:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 10:00:04,966 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 10:00:04,967 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 10:00:04,967 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 10, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 10:00:04,967 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 11 +***** + +2019-03-17 11:00:02,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,274 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,275 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,276 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,279 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 11:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,282 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 11:00:02,284 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 11:00:02,284 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 10, 45, 20, 628327), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开领域的世界先进水平', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 333.693062} +2019-03-17 11:00:02,285 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 11:00:02,296 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,296 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,297 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,298 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,299 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,299 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,301 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 11:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,310 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,311 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,311 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,313 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,313 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,314 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,314 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 11:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,316 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 11:00:02,317 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 11:00:02,317 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 10, 45, 20, 628327), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开领域的世界先进水平', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 333.693062} +2019-03-17 11:00:02,318 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 10:00:00 +时间为:### 2019-03-17 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 10:00:00" and datetime< "2019-03-17 11:00:00" +2019-03-17 11:00:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,326 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,326 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 10:00:00" and datetime< "2019-03-17 11:00:00" +2019-03-17 11:00:02,329 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 10:00:00" and datetime< "2019-03-17 11:00:00" +2019-03-17 11:00:03,334 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:03,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:03,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,336 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:03,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,336 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:03,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:03,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:03,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:03,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:03,339 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 10:00:00" and datetime< "2019-03-17 11:00:00" +2019-03-17 11:00:03,339 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****0 + +Start domain data classification: +2019-03-17 11:00:04,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,366 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:04,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,367 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:04,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,368 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:04,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:04,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:04,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,370 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 11:00:04,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,373 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 11:00:04,374 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 11:00:04,374 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 11:00:04,374 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 11:00:04,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:04,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,395 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,396 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,398 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,398 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 11:00:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:04,400 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 11:00:04,402 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 11:00:04,402 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 11:00:04,402 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 11:00:05,186 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 11:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,187 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 11:00:05,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,188 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 11:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,188 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 11:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,190 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:05,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,190 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 11:00:05,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 11:00:05,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,191 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 11:00:05,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 11:00:05,193 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 11:00:05,194 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 11:00:05,194 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 11:00:05,194 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 12 +***** + +2019-03-17 12:00:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,278 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,279 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,283 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 12:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,285 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 12:00:02,288 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 12:00:02,288 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 22, 50, 897870), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '把温度调到多少度', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '室内舒适室外不知。', 'cost_time_ms': 299.724139} +2019-03-17 12:00:02,288 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 12:00:02,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,301 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,304 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 12:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,314 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,315 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,318 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 12:00:02,318 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 11:00:00 +时间为:### 2019-03-17 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 11:00:00" and datetime< "2019-03-17 12:00:00" +2019-03-17 12:00:02,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,326 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,327 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 11:00:00" and datetime< "2019-03-17 12:00:00" +2019-03-17 12:00:02,329 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 11:00:00" and datetime< "2019-03-17 12:00:00" +2019-03-17 12:00:03,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:03,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:03,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:03,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,333 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:03,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:03,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:03,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:03,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:03,336 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 11:00:00" and datetime< "2019-03-17 12:00:00" +2019-03-17 12:00:03,336 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-17 12:00:04,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:04,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,345 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:04,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,346 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:04,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,347 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:04,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,349 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:04,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,350 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 12:00:04,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,352 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 12:00:04,353 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 12:00:04,354 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 12, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 12:00:04,354 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 12:00:04,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,374 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:04,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,376 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 12:00:04,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:04,379 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 12:00:04,380 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 12:00:04,380 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 12, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 12:00:04,381 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 12:00:05,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 12:00:05,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,196 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 12:00:05,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,197 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 12:00:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,198 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 12:00:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 12:00:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 12:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,201 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 12:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 12:00:05,203 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 12:00:05,204 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 12:00:05,204 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 12, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 12:00:05,204 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 13 +***** + +2019-03-17 13:00:02,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,520 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,521 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,525 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 13:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,527 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 13:00:02,530 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 13:00:02,530 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 22, 50, 897870), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '把温度调到多少度', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '室内舒适室外不知。', 'cost_time_ms': 299.724139} +2019-03-17 13:00:02,530 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 13:00:02,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,540 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,542 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,544 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,545 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 13:00:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,554 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,555 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,556 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,558 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,558 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,559 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 13:00:02,559 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 12:00:00 +时间为:### 2019-03-17 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 12:00:00" and datetime< "2019-03-17 13:00:00" +2019-03-17 13:00:02,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,567 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:02,570 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 12:00:00" and datetime< "2019-03-17 13:00:00" +2019-03-17 13:00:02,570 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 12:00:00" and datetime< "2019-03-17 13:00:00" +2019-03-17 13:00:03,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:03,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:03,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:03,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:03,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:03,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:03,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:03,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:03,580 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 12:00:00" and datetime< "2019-03-17 13:00:00" +2019-03-17 13:00:03,581 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 13:00:04,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:04,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:04,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,605 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:04,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:04,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,609 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 13:00:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,611 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 13:00:04,612 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 13:00:04,612 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 13, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 13:00:04,613 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 13:00:04,626 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,626 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,627 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,628 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,631 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 13:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:04,633 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 13:00:04,634 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 13:00:04,634 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 13:00:04,635 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 13:00:05,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 13:00:05,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 13:00:05,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,456 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 13:00:05,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 13:00:05,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,458 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 13:00:05,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 13:00:05,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 13:00:05,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 13:00:05,462 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 13:00:05,463 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 13:00:05,463 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 13, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 13:00:05,463 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 14 +***** + +2019-03-17 14:00:02,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,770 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,771 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:02,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,771 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:02,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,775 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 14:00:02,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,778 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 14:00:02,780 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 14:00:02,780 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 22, 50, 897870), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '把温度调到多少度', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '室内舒适室外不知。', 'cost_time_ms': 299.724139} +2019-03-17 14:00:02,780 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 14:00:02,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,791 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:02,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,792 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,792 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,795 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 14:00:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,805 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,806 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,809 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 14:00:02,809 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 13:00:00 +时间为:### 2019-03-17 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 13:00:00" and datetime< "2019-03-17 14:00:00" +2019-03-17 14:00:02,815 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,816 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,817 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:02,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,818 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,820 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:02,820 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 13:00:00" and datetime< "2019-03-17 14:00:00" +2019-03-17 14:00:02,820 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 13:00:00" and datetime< "2019-03-17 14:00:00" +2019-03-17 14:00:03,862 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:03,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:03,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,864 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:03,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,865 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:03,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,866 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:03,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:03,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:03,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:03,868 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 13:00:00" and datetime< "2019-03-17 14:00:00" +2019-03-17 14:00:03,868 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 14:00:04,871 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,873 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,874 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:04,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:04,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,877 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 14:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,879 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 14:00:04,880 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 14:00:04,880 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 14, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 14:00:04,881 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 14:00:04,893 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:04,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,894 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:04,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,895 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:04,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,896 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:04,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,897 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,897 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,898 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:04,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,898 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 14:00:04,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:04,901 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 14:00:04,902 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 14:00:04,902 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 14, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 14:00:04,902 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 14:00:05,722 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 14:00:05,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 14:00:05,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,724 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 14:00:05,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,725 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 14:00:05,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:05,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 14:00:05,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 14:00:05,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,729 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 14:00:05,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 14:00:05,731 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 14:00:05,733 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 14:00:05,733 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 14, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 14:00:05,733 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 15 +***** + +2019-03-17 15:00:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,315 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,316 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,320 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 15:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,322 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 15:00:02,324 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 15:00:02,324 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 11, 22, 50, 897870), 'mac_wifi': 'f4911e7060eb', 'mac_voice': 'c46e7b6f5c14', 'query': '把温度调到多少度', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '室内舒适室外不知。', 'cost_time_ms': 299.724139} +2019-03-17 15:00:02,325 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 15:00:02,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,337 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,340 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 15:00:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,348 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,349 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,350 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,351 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,353 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,354 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 15:00:02,354 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 14:00:00 +时间为:### 2019-03-17 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 14:00:00" and datetime< "2019-03-17 15:00:00" +2019-03-17 15:00:02,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,362 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:02,365 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 14:00:00" and datetime< "2019-03-17 15:00:00" +2019-03-17 15:00:02,365 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 14:00:00" and datetime< "2019-03-17 15:00:00" +2019-03-17 15:00:03,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:03,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,374 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:03,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:03,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:03,377 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 14:00:00" and datetime< "2019-03-17 15:00:00" +2019-03-17 15:00:03,377 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 15:00:04,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:04,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 15:00:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,417 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 15:00:04,418 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 15:00:04,418 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 15, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 15:00:04,419 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 15:00:04,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,437 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 15:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:04,440 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 15:00:04,441 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 15:00:04,441 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 15, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 15:00:04,441 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 15:00:05,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 15:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 15:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 15:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,239 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 15:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,240 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:05,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 15:00:05,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 15:00:05,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,242 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 15:00:05,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 15:00:05,244 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 15:00:05,244 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 15:00:05,245 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 15, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 15:00:05,245 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 16 +***** + +2019-03-17 16:00:02,573 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,580 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 16:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,583 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 16:00:02,585 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 16:00:02,585 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 17, 15, 1, 39, 599544), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首许廷铿的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的歌吧!', 'cost_time_ms': 488.695877}, {'datetime': datetime.datetime(2019, 3, 17, 15, 17, 18, 557232), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 478.996789}, {'datetime': datetime.datetime(2019, 3, 17, 15, 17, 45, 134731), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首张国荣的千千阕歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是张国荣的千千阕歌(自制版伴奏)?听听看吧。', 'cost_time_ms': 391.393572}, {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 15, 112437), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 207.433555}, {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 22, 760311), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首安静', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听周杰伦的安静吧。', 'cost_time_ms': 477.138269}, {'datetime': datetime.datetime(2019, 3, 17, 15, 26, 14, 671589), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首徐鲤的沧桑', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是王杰的沧桑?听听看吧。', 'cost_time_ms': 923.251675}, {'datetime': datetime.datetime(2019, 3, 17, 15, 26, 32, 130038), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首封神榜的主题曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏封神榜的主题曲,每一生都等你。', 'cost_time_ms': 388.946024}, {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 7, 256744), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首徐鲤的沧桑', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是王杰的沧桑?听听看吧。', 'cost_time_ms': 511.999415} ... displaying 10 of 12 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 33, 360953), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首徐鲤的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放徐鲤的歌。', 'cost_time_ms': 463.051656}, {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 34, 239258), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首徐鲤的镜湖', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听徐鲤的镜湖吧。', 'cost_time_ms': 265.837082}) +2019-03-17 16:00:02,586 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 16:00:02,599 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,601 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,601 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,602 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,604 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 16:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,613 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,613 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,614 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,615 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,616 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,618 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 16:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,620 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 16:00:02,621 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 16:00:02,621 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 15, 112437), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 207.433555} +2019-03-17 16:00:02,621 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 15:00:00 +时间为:### 2019-03-17 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 15:00:00" and datetime< "2019-03-17 16:00:00" +2019-03-17 16:00:02,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,630 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:02,633 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 15:00:00" and datetime< "2019-03-17 16:00:00" +2019-03-17 16:00:02,633 INFO sqlalchemy.engine.base.Engine {} +****12 +all****12 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 15:00:00" and datetime< "2019-03-17 16:00:00" +2019-03-17 16:00:03,641 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:03,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:03,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,643 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,643 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:03,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:03,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:03,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:03,647 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 15:00:00" and datetime< "2019-03-17 16:00:00" +2019-03-17 16:00:03,647 INFO sqlalchemy.engine.base.Engine {} +****12 +all****12 + +all****0 + +all****12 + +****0 + +****11 + +Start domain data classification: +2019-03-17 16:00:04,655 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,656 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,657 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:04,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,658 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:04,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,659 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,660 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,661 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 16:00:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,663 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 16:00:04,664 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 16:00:04,664 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 16, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 16:00:04,665 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 16:00:04,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,687 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:04,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,688 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,688 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,691 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 16:00:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:04,693 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 16:00:04,695 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 16:00:04,695 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 16, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 11, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 16:00:04,695 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 16:00:05,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 16:00:05,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 16:00:05,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 16:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 16:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 16:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 16:00:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 16:00:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 16:00:05,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 16:00:05,520 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 16:00:05,520 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 16, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 9), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 16:00:05,521 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 17 +***** + +2019-03-17 17:00:02,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,827 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,828 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,828 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,832 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 17:00:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,835 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 17:00:02,837 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 17:00:02,837 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 17, 15, 1, 39, 599544), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首许廷铿的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的歌吧!', 'cost_time_ms': 488.695877}, {'datetime': datetime.datetime(2019, 3, 17, 15, 17, 18, 557232), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 478.996789}, {'datetime': datetime.datetime(2019, 3, 17, 15, 17, 45, 134731), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首张国荣的千千阕歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是张国荣的千千阕歌(自制版伴奏)?听听看吧。', 'cost_time_ms': 391.393572}, {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 15, 112437), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 207.433555}, {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 22, 760311), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首安静', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听周杰伦的安静吧。', 'cost_time_ms': 477.138269}, {'datetime': datetime.datetime(2019, 3, 17, 15, 26, 14, 671589), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首徐鲤的沧桑', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是王杰的沧桑?听听看吧。', 'cost_time_ms': 923.251675}, {'datetime': datetime.datetime(2019, 3, 17, 15, 26, 32, 130038), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首封神榜的主题曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏封神榜的主题曲,每一生都等你。', 'cost_time_ms': 388.946024}, {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 7, 256744), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首徐鲤的沧桑', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是王杰的沧桑?听听看吧。', 'cost_time_ms': 511.999415} ... displaying 10 of 12 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 33, 360953), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首徐鲤的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放徐鲤的歌。', 'cost_time_ms': 463.051656}, {'datetime': datetime.datetime(2019, 3, 17, 15, 31, 34, 239258), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首徐鲤的镜湖', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听徐鲤的镜湖吧。', 'cost_time_ms': 265.837082}) +2019-03-17 17:00:02,838 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 17:00:02,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:02,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,851 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,852 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,855 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 17:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,864 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:02,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,865 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:02,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,865 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:02,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,868 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 17:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,870 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 17:00:02,871 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 17:00:02,871 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 15, 18, 15, 112437), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 207.433555} +2019-03-17 17:00:02,872 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-17 16:00:00 +时间为:### 2019-03-17 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 16:00:00" and datetime< "2019-03-17 17:00:00" +2019-03-17 17:00:02,878 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:02,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,879 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,880 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,880 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,882 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:02,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:02,883 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 16:00:00" and datetime< "2019-03-17 17:00:00" +2019-03-17 17:00:02,883 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 16:00:00" and datetime< "2019-03-17 17:00:00" +2019-03-17 17:00:03,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:03,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:03,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,930 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:03,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,931 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:03,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:03,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:03,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:03,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 16:00:00" and datetime< "2019-03-17 17:00:00" +2019-03-17 17:00:03,934 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 17:00:04,940 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:04,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,942 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,942 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,945 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 17:00:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,948 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 17:00:04,949 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 17:00:04,949 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 17:00:04,950 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 17:00:04,963 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,964 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,965 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:04,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:04,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,968 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 17:00:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:04,970 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 17:00:04,972 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 17:00:04,972 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 17:00:04,972 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 17:00:05,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 17:00:05,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 17:00:05,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,770 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 17:00:05,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,771 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 17:00:05,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:05,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 17:00:05,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 17:00:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,774 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 17:00:05,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 17:00:05,776 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 17:00:05,777 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 17:00:05,777 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 9), ('chat', 1), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 17:00:05,777 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 18 +***** + +2019-03-17 18:00:02,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,096 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,097 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:02,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:02,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,101 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 18:00:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,104 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 18:00:02,106 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 18:00:02,106 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 19, 48, 170121), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首许廷铿的面具', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的面具吧。', 'cost_time_ms': 841.321451} +2019-03-17 18:00:02,106 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 18:00:02,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,118 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,118 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,119 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,121 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 18:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,131 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,132 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,135 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 18:00:02,135 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 17:00:00 +时间为:### 2019-03-17 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 17:00:00" and datetime< "2019-03-17 18:00:00" +2019-03-17 18:00:02,141 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,142 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,143 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,144 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:02,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:02,146 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 17:00:00" and datetime< "2019-03-17 18:00:00" +2019-03-17 18:00:02,146 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 17:00:00" and datetime< "2019-03-17 18:00:00" +2019-03-17 18:00:03,147 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:03,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:03,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,149 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:03,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,149 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:03,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:03,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:03,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:03,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:03,152 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 17:00:00" and datetime< "2019-03-17 18:00:00" +2019-03-17 18:00:03,152 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-17 18:00:04,169 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:04,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,170 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:04,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,171 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:04,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,172 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:04,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,173 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:04,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:04,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:04,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,175 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 18:00:04,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,177 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 18:00:04,178 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 18:00:04,178 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 18, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 18:00:04,179 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 18:00:04,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:04,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:04,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,195 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:04,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,196 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:04,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:04,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:04,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:04,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,198 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 18:00:04,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:04,201 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 18:00:04,202 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 18:00:04,202 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 18, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 18:00:04,202 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 18:00:05,001 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 18:00:05,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 18:00:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,003 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 18:00:05,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,004 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 18:00:05,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,005 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:05,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 18:00:05,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 18:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,007 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 18:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 18:00:05,009 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 18:00:05,010 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 18:00:05,010 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 18, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 18:00:05,010 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 19 +***** + +2019-03-17 19:00:02,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,334 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,337 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,338 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 19:00:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,340 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 19:00:02,342 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 19:00:02,342 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 19, 48, 170121), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首许廷铿的面具', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的面具吧。', 'cost_time_ms': 841.321451} +2019-03-17 19:00:02,343 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 19:00:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,356 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,357 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,360 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 19:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,369 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,370 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,371 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,372 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,374 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 19:00:02,374 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 18:00:00 +时间为:### 2019-03-17 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 18:00:00" and datetime< "2019-03-17 19:00:00" +2019-03-17 19:00:02,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,382 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:02,385 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 18:00:00" and datetime< "2019-03-17 19:00:00" +2019-03-17 19:00:02,385 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 18:00:00" and datetime< "2019-03-17 19:00:00" +2019-03-17 19:00:03,383 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:03,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,385 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:03,389 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 18:00:00" and datetime< "2019-03-17 19:00:00" +2019-03-17 19:00:03,389 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 19:00:04,391 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:04,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:04,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,393 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,393 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,396 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 19:00:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,399 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 19:00:04,400 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 19:00:04,400 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 19, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 19:00:04,400 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 19:00:04,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:04,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,417 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:04,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,418 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:04,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,418 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:04,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,419 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:04,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,420 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:04,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,421 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 19:00:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:04,423 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 19:00:04,425 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 19:00:04,425 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 19, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 19:00:04,425 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 19:00:05,231 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 19:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,232 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 19:00:05,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,233 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 19:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,233 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 19:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,235 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,235 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 19:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 19:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,237 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 19:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 19:00:05,239 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 19:00:05,239 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 19:00:05,239 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 19, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 19:00:05,240 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 20 +***** + +2019-03-17 20:00:02,557 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,560 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,561 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,565 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 20:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,567 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 20:00:02,569 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 20:00:02,569 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 19, 48, 170121), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首许廷铿的面具', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的面具吧。', 'cost_time_ms': 841.321451} +2019-03-17 20:00:02,570 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 20:00:02,579 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,581 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,582 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,585 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 20:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,595 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,598 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 20:00:02,598 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 19:00:00 +时间为:### 2019-03-17 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 19:00:00" and datetime< "2019-03-17 20:00:00" +2019-03-17 20:00:02,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,606 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,607 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:02,610 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 19:00:00" and datetime< "2019-03-17 20:00:00" +2019-03-17 20:00:02,610 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 19:00:00" and datetime< "2019-03-17 20:00:00" +2019-03-17 20:00:03,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:03,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,644 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:03,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,645 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:03,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:03,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:03,649 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 19:00:00" and datetime< "2019-03-17 20:00:00" +2019-03-17 20:00:03,649 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 20:00:04,659 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:04,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,660 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:04,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,661 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:04,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,662 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:04,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:04,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:04,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,665 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 20:00:04,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,667 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 20:00:04,669 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 20:00:04,669 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 20, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 20:00:04,669 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 20:00:04,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,686 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,686 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:04,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,689 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 20:00:04,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:04,692 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 20:00:04,693 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 20:00:04,693 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 20, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 20:00:04,693 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 20:00:05,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 20:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 20:00:05,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,515 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 20:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,516 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 20:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 20:00:05,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,519 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 20:00:05,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,519 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 20:00:05,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 20:00:05,521 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 20:00:05,522 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 20:00:05,522 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 20, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 20:00:05,522 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 21 +***** + +2019-03-17 21:00:02,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,836 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:02,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,837 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,838 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,841 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 21:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,844 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 21:00:02,846 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 21:00:02,846 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 17, 19, 48, 170121), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来首许廷铿的面具', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听许廷铿的面具吧。', 'cost_time_ms': 841.321451} +2019-03-17 21:00:02,847 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 21:00:02,856 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,856 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,858 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,859 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,860 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,860 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,861 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 21:00:02,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,870 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,870 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,871 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:02,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,872 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:02,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:02,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,875 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 21:00:02,876 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 20:00:00 +时间为:### 2019-03-17 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 20:00:00" and datetime< "2019-03-17 21:00:00" +2019-03-17 21:00:02,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,883 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:02,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,884 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:02,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,885 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:02,887 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 20:00:00" and datetime< "2019-03-17 21:00:00" +2019-03-17 21:00:02,887 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 20:00:00" and datetime< "2019-03-17 21:00:00" +2019-03-17 21:00:03,928 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:03,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:03,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,930 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:03,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,931 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:03,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:03,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:03,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:03,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 20:00:00" and datetime< "2019-03-17 21:00:00" +2019-03-17 21:00:03,934 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 21:00:04,943 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,945 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,946 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:04,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,949 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 21:00:04,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,951 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 21:00:04,952 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 21:00:04,952 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 21:00:04,953 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 21:00:04,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:04,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,968 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,968 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,969 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,970 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:04,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:04,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:04,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,972 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 21:00:04,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:04,974 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 21:00:04,975 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 21:00:04,975 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 21:00:04,976 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 21:00:05,791 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 21:00:05,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,792 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 21:00:05,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,793 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 21:00:05,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,793 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 21:00:05,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:05,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 21:00:05,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,796 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 21:00:05,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,796 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 21:00:05,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 21:00:05,798 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 21:00:05,799 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 21:00:05,799 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 21:00:05,800 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-17 22 +***** + +2019-03-17 22:00:02,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:02,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,173 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:02,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,174 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,175 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,179 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 22:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,181 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 22:00:02,184 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 22:00:02,184 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-17 22:00:02,184 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 22:00:02,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,195 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,198 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 22:00:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,209 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,210 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,212 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 22:00:02,212 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 21:00:00 +时间为:### 2019-03-17 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 21:00:00" and datetime< "2019-03-17 22:00:00" +2019-03-17 22:00:02,219 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,219 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,220 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,221 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,222 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:02,224 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 21:00:00" and datetime< "2019-03-17 22:00:00" +2019-03-17 22:00:02,224 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 21:00:00" and datetime< "2019-03-17 22:00:00" +2019-03-17 22:00:03,239 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:03,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,240 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:03,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,241 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:03,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,242 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:03,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:03,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:03,245 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 21:00:00" and datetime< "2019-03-17 22:00:00" +2019-03-17 22:00:03,245 INFO sqlalchemy.engine.base.Engine {} +****1 +all****1 + +all****0 + +all****1 + +****0 + +****1 + +Start domain data classification: +2019-03-17 22:00:04,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:04,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:04,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,255 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:04,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,256 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:04,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:04,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,259 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 22:00:04,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,261 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 22:00:04,262 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 22:00:04,263 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 22, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 22:00:04,263 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 22:00:04,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:04,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,279 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:04,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,280 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:04,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,280 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:04,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,283 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 22:00:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:04,285 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 22:00:04,287 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 22:00:04,287 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 22, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 22:00:04,287 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 22:00:05,088 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 22:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,089 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 22:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,090 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 22:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,091 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 22:00:05,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,092 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:05,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,093 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 22:00:05,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,094 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 22:00:05,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,094 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 22:00:05,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 22:00:05,096 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 22:00:05,097 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 22:00:05,097 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 22, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 22:00:05,097 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +0 +*****datetime: +2019-03-17 23 +***** + +2019-03-17 23:00:02,419 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-17 23:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,429 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 23:00:02,431 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-17 23:00:02,431 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-17 23:00:02,432 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-17 23:00:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,442 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,443 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,443 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,446 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,446 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-17 23:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,457 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,457 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,459 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,460 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-17 23:00:02,460 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 22:00:00 +时间为:### 2019-03-17 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 22:00:00" and datetime< "2019-03-17 23:00:00" +2019-03-17 23:00:02,467 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,468 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,469 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 22:00:00" and datetime< "2019-03-17 23:00:00" +2019-03-17 23:00:02,472 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 22:00:00" and datetime< "2019-03-17 23:00:00" +2019-03-17 23:00:03,467 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:03,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,468 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:03,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,469 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:03,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,469 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:03,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:03,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,471 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:03,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,472 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:03,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:03,473 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 22:00:00" and datetime< "2019-03-17 23:00:00" +2019-03-17 23:00:03,473 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-17 23:00:04,486 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,488 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:04,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,488 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:04,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:04,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,491 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-17 23:00:04,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,494 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 23:00:04,495 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-17 23:00:04,495 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 23, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-17 23:00:04,495 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-17 23:00:04,508 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:04,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,509 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:04,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,510 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:04,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,510 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:04,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:04,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,512 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:04,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,513 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,513 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-17 23:00:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:04,516 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 23:00:04,517 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-17 23:00:04,517 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 23, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-17 23:00:04,517 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-17 23:00:05,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-17 23:00:05,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,324 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-17 23:00:05,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,325 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-17 23:00:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-17 23:00:05,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:05,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-17 23:00:05,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,328 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-17 23:00:05,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,329 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-17 23:00:05,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-17 23:00:05,331 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-17 23:00:05,331 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-17 23:00:05,331 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 23, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-17 23:00:05,332 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 00 +***** + +2019-03-18 00:00:02,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,806 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,808 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,812 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 00:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,814 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 00:00:02,817 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 00:00:02,817 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 00:00:02,817 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 00:00:02,827 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:02,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,829 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,830 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,833 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 00:00:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,841 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,842 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,843 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,843 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,846 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 00:00:02,846 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-17 23:00:00 +时间为:### 2019-03-18 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 23:00:00" and datetime< "2019-03-18 00:00:00" +2019-03-18 00:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,855 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 23:00:00" and datetime< "2019-03-18 00:00:00" +2019-03-18 00:00:02,858 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 23:00:00" and datetime< "2019-03-18 00:00:00" +2019-03-18 00:00:03,864 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:03,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,865 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:03,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,866 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:03,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,867 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:03,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:03,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:03,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:03,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:03,870 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-17 23:00:00" and datetime< "2019-03-18 00:00:00" +2019-03-18 00:00:03,870 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 00:00:04,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:04,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,883 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,884 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,887 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 00:00:04,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,889 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 00:00:04,890 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 00:00:04,890 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 00:00:04,891 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 00:00:04,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:04,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,908 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:04,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:04,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,911 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 00:00:04,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:04,913 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 00:00:04,914 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 00:00:04,914 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 00:00:04,915 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 00:00:05,716 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 00:00:05,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 00:00:05,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,718 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 00:00:05,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,719 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 00:00:05,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:05,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 00:00:05,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 00:00:05,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,721 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 00:00:05,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 00:00:05,723 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 00:00:05,724 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 00:00:05,724 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 0, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 00:00:05,724 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 01 +***** + +2019-03-18 01:00:02,189 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,190 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,192 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,194 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,196 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 01:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,198 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 01:00:02,200 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 01:00:02,201 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 01:00:02,201 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 01:00:02,210 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,212 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,212 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,214 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,215 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 01:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,233 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 01:00:02,233 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 00:00:00 +时间为:### 2019-03-18 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 00:00:00" and datetime< "2019-03-18 01:00:00" +2019-03-18 01:00:02,239 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,240 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,242 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 00:00:00" and datetime< "2019-03-18 01:00:00" +2019-03-18 01:00:02,244 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 00:00:00" and datetime< "2019-03-18 01:00:00" +2019-03-18 01:00:03,253 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:03,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:03,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,255 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:03,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,256 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:03,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:03,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:03,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:03,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:03,259 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 00:00:00" and datetime< "2019-03-18 01:00:00" +2019-03-18 01:00:03,259 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 01:00:04,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,273 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,274 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,277 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 01:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,280 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 01:00:04,281 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 01:00:04,281 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 1, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 01:00:04,281 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 01:00:04,296 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:04,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,297 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:04,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,297 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:04,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,298 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:04,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,299 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:04,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,301 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 01:00:04,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:04,303 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 01:00:04,304 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 01:00:04,304 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 1, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 01:00:04,305 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 01:00:05,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 01:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 01:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,112 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 01:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,112 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 01:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 01:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 01:00:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,115 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 01:00:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 01:00:05,118 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 01:00:05,118 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 01:00:05,118 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 1, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 01:00:05,119 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 02 +***** + +2019-03-18 02:00:02,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,685 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,686 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,689 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 02:00:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,692 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 02:00:02,694 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 02:00:02,694 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 02:00:02,695 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 02:00:02,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,709 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,710 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,713 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 02:00:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,721 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,722 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,723 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:02,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,724 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:02,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:02,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,727 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 02:00:02,727 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 01:00:00 +时间为:### 2019-03-18 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 01:00:00" and datetime< "2019-03-18 02:00:00" +2019-03-18 02:00:02,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,735 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:02,738 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 01:00:00" and datetime< "2019-03-18 02:00:00" +2019-03-18 02:00:02,738 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 01:00:00" and datetime< "2019-03-18 02:00:00" +2019-03-18 02:00:03,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:03,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:03,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,804 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:03,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,805 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:03,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:03,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:03,808 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 01:00:00" and datetime< "2019-03-18 02:00:00" +2019-03-18 02:00:03,808 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 02:00:04,862 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:04,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:04,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,864 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,865 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:04,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,866 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:04,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:04,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:04,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,868 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 02:00:04,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,870 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 02:00:04,871 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 02:00:04,872 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 2, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 02:00:04,872 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 02:00:04,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:04,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:04,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,896 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:04,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,897 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:04,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,898 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:04,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:04,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:04,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,900 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 02:00:04,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:04,902 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 02:00:04,903 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 02:00:04,903 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 2, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 02:00:04,904 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 02:00:05,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 02:00:05,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,736 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 02:00:05,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,737 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 02:00:05,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,737 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 02:00:05,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 02:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 02:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,741 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 02:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 02:00:05,743 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 02:00:05,751 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 02:00:05,752 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 2, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 02:00:05,752 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 03 +***** + +2019-03-18 03:00:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,246 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,246 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,249 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,250 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 03:00:02,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,252 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 03:00:02,255 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 03:00:02,255 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 03:00:02,255 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 03:00:02,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,267 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,269 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,272 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 03:00:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,281 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,282 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,283 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,284 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,285 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,286 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,287 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 03:00:02,287 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 02:00:00 +时间为:### 2019-03-18 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 02:00:00" and datetime< "2019-03-18 03:00:00" +2019-03-18 03:00:02,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,294 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,295 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,295 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:02,298 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 02:00:00" and datetime< "2019-03-18 03:00:00" +2019-03-18 03:00:02,298 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 02:00:00" and datetime< "2019-03-18 03:00:00" +2019-03-18 03:00:03,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:03,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:03,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,294 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:03,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,295 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:03,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:03,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:03,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:03,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:03,298 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 02:00:00" and datetime< "2019-03-18 03:00:00" +2019-03-18 03:00:03,298 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 03:00:04,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,306 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,309 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,309 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 03:00:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,312 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 03:00:04,313 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 03:00:04,313 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 3, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 03:00:04,313 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 03:00:04,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,331 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 03:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:04,333 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 03:00:04,335 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 03:00:04,335 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 3, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 03:00:04,335 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 03:00:05,129 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 03:00:05,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 03:00:05,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,131 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 03:00:05,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,132 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 03:00:05,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:05,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 03:00:05,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 03:00:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,135 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 03:00:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 03:00:05,137 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 03:00:05,138 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 03:00:05,138 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 3, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 03:00:05,138 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 04 +***** + +2019-03-18 04:00:02,613 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,616 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,617 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,620 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 04:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,623 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 04:00:02,625 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 04:00:02,625 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 04:00:02,626 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 04:00:02,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,635 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,636 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,637 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,639 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,640 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 04:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,653 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 04:00:02,654 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 03:00:00 +时间为:### 2019-03-18 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 03:00:00" and datetime< "2019-03-18 04:00:00" +2019-03-18 04:00:02,660 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:02,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,661 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,662 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,662 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 03:00:00" and datetime< "2019-03-18 04:00:00" +2019-03-18 04:00:02,665 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 03:00:00" and datetime< "2019-03-18 04:00:00" +2019-03-18 04:00:03,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,664 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,665 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:03,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,666 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:03,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:03,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:03,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:03,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:03,669 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 03:00:00" and datetime< "2019-03-18 04:00:00" +2019-03-18 04:00:03,669 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 04:00:04,672 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,673 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,674 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,675 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,676 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:04,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,677 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:04,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,677 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,678 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 04:00:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,680 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 04:00:04,681 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 04:00:04,682 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 4, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 04:00:04,682 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 04:00:04,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,697 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,698 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,700 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 04:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:04,703 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 04:00:04,704 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 04:00:04,704 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 4, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 04:00:04,705 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 04:00:05,498 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 04:00:05,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 04:00:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,500 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 04:00:05,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,501 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 04:00:05,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:05,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,503 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 04:00:05,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,503 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 04:00:05,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,504 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 04:00:05,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 04:00:05,506 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 04:00:05,507 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 04:00:05,507 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 4, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 04:00:05,507 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 05 +***** + +2019-03-18 05:00:03,001 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:03,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,003 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:03,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,004 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,005 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,008 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 05:00:03,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,010 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 05:00:03,012 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 05:00:03,012 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 05:00:03,013 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 05:00:03,023 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:03,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,023 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:03,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,024 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:03,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,025 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:03,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,026 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,027 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,027 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,028 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 05:00:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,036 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:03,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,037 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,038 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,038 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:03,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,041 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,042 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 05:00:03,042 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 04:00:00 +时间为:### 2019-03-18 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 04:00:00" and datetime< "2019-03-18 05:00:00" +2019-03-18 05:00:03,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,050 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,050 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:03,053 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 04:00:00" and datetime< "2019-03-18 05:00:00" +2019-03-18 05:00:03,053 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 04:00:00" and datetime< "2019-03-18 05:00:00" +2019-03-18 05:00:04,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:04,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,093 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:04,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,094 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:04,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,094 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,097 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:04,098 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 04:00:00" and datetime< "2019-03-18 05:00:00" +2019-03-18 05:00:04,098 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 05:00:05,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:05,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:05,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:05,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,102 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:05,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,103 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,105 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 05:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,108 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 05:00:05,109 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 05:00:05,109 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 5, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 05:00:05,109 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 05:00:05,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:05,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:05,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,126 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:05,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,126 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:05,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,129 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 05:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,131 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 05:00:05,133 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 05:00:05,133 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 5, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 05:00:05,133 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 05:00:05,927 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 05:00:05,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,928 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 05:00:05,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,929 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 05:00:05,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,929 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 05:00:05,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 05:00:05,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,932 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 05:00:05,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,932 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 05:00:05,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 05:00:05,934 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 05:00:05,935 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 05:00:05,935 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 5, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 05:00:05,936 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 06 +***** + +2019-03-18 06:00:02,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:02,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:02,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,416 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 06:00:02,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,420 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 06:00:02,422 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 06:00:02,422 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 06:00:02,423 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 06:00:02,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,436 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,439 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 06:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,448 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,450 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,451 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:02,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,454 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 06:00:02,454 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 05:00:00 +时间为:### 2019-03-18 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 05:00:00" and datetime< "2019-03-18 06:00:00" +2019-03-18 06:00:02,461 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,462 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,463 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:02,466 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 05:00:00" and datetime< "2019-03-18 06:00:00" +2019-03-18 06:00:02,466 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 05:00:00" and datetime< "2019-03-18 06:00:00" +2019-03-18 06:00:03,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:03,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:03,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:03,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 05:00:00" and datetime< "2019-03-18 06:00:00" +2019-03-18 06:00:03,497 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 06:00:04,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:04,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:04,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 06:00:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 06:00:04,520 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 06:00:04,520 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 6, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 06:00:04,521 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 06:00:04,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,536 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,538 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 06:00:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:04,541 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 06:00:04,542 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 06:00:04,542 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 6, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 06:00:04,542 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 06:00:05,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 06:00:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,336 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 06:00:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,337 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 06:00:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,337 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 06:00:05,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,338 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:05,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 06:00:05,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,339 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 06:00:05,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,340 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 06:00:05,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 06:00:05,342 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 06:00:05,343 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 06:00:05,343 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 6, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 06:00:05,343 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 07 +***** + +2019-03-18 07:00:02,816 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,817 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,819 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,819 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:02,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,823 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 07:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,825 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 07:00:02,828 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 07:00:02,828 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 07:00:02,828 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 07:00:02,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,838 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,839 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,842 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 07:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,851 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,852 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,853 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,855 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,856 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 07:00:02,856 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 06:00:00 +时间为:### 2019-03-18 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 06:00:00" and datetime< "2019-03-18 07:00:00" +2019-03-18 07:00:02,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,864 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:02,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,865 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:02,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,866 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:02,868 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 06:00:00" and datetime< "2019-03-18 07:00:00" +2019-03-18 07:00:02,868 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 06:00:00" and datetime< "2019-03-18 07:00:00" +2019-03-18 07:00:03,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:03,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,902 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:03,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,903 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:03,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,903 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:03,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:03,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:03,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:03,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:03,907 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 06:00:00" and datetime< "2019-03-18 07:00:00" +2019-03-18 07:00:03,907 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 07:00:04,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:04,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:04,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,913 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:04,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,914 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:04,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:04,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:04,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:04,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,917 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 07:00:04,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,920 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 07:00:04,921 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 07:00:04,921 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 7, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 07:00:04,921 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 07:00:04,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,936 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,937 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:04,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:04,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,940 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 07:00:04,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:04,942 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 07:00:04,943 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 07:00:04,943 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 7, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 07:00:04,944 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 07:00:05,737 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 07:00:05,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,738 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 07:00:05,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,739 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 07:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,740 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 07:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 07:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,742 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 07:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,742 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 07:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 07:00:05,744 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 07:00:05,745 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 07:00:05,745 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 7, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 07:00:05,745 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190318" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-18 08 +***** + +2019-03-18 08:00:02,335 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,338 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,339 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,340 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,343 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 08:00:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,345 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 08:00:02,347 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 08:00:02,347 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 17, 21, 12, 19, 887430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '拿走了可以', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拿去吧。', 'cost_time_ms': 335.271459} +2019-03-18 08:00:02,348 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 08:00:02,363 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,363 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,364 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,365 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,367 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,367 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,368 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 08:00:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,378 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,379 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,382 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 08:00:02,382 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-18 07:00:00 +时间为:### 2019-03-18 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 07:00:00" and datetime< "2019-03-18 08:00:00" +2019-03-18 08:00:02,388 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,389 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,391 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,392 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,392 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:02,393 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 07:00:00" and datetime< "2019-03-18 08:00:00" +2019-03-18 08:00:02,393 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 07:00:00" and datetime< "2019-03-18 08:00:00" +2019-03-18 08:00:03,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:03,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:03,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,394 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:03,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,395 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:03,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:03,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,398 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:03,398 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 07:00:00" and datetime< "2019-03-18 08:00:00" +2019-03-18 08:00:03,398 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-18 08:00:04,409 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:04,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,415 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 08:00:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,417 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 08:00:04,418 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 08:00:04,418 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 8, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 08:00:04,419 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 08:00:04,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,433 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,434 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,436 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 08:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:04,439 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 08:00:04,440 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 08:00:04,440 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 8, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 08:00:04,440 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 08:00:05,242 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 08:00:05,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 08:00:05,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,244 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 08:00:05,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,244 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 08:00:05,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:05,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 08:00:05,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 08:00:05,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,247 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 08:00:05,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 08:00:05,249 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 08:00:05,250 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 08:00:05,250 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 8, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 08:00:05,251 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 09 +***** + +2019-03-18 09:00:02,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,582 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,583 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,587 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 09:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,589 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 09:00:02,591 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 09:00:02,592 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 8, 37, 47, 231071), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '再牛逼下', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '说脏话是不好的行为哦。', 'cost_time_ms': 302.843519}, {'datetime': datetime.datetime(2019, 3, 18, 8, 38, 27, 367940), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '朗诵毛泽东的诗词', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '好的,推荐你欣赏现代毛泽东的作品,《沁园春·长沙》:', 'cost_time_ms': 325.549475}, {'datetime': datetime.datetime(2019, 3, 18, 8, 38, 50, 937089), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '帮我换一部', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '可以说清楚点吗?求一部啥漫还是什么嘞。', 'cost_time_ms': 364.475375}, {'datetime': datetime.datetime(2019, 3, 18, 8, 41, 23, 22272), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '一的对数是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 325.926871}, {'datetime': datetime.datetime(2019, 3, 18, 8, 41, 32, 844494), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '一道对数是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 278.154267}, {'datetime': datetime.datetime(2019, 3, 18, 8, 43, 51, 779964), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '播放孙楠', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听孙楠的歌吧!', 'cost_time_ms': 462.54681}, {'datetime': datetime.datetime(2019, 3, 18, 8, 44, 1, 668770), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '放新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻,', 'cost_time_ms': 321.608437}, {'datetime': datetime.datetime(2019, 3, 18, 8, 44, 18, 840579), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '播放下一首', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_next', 'response_data': 'success', 'cost_time_ms': 364.683728}) +2019-03-18 09:00:02,593 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 09:00:02,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,603 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,604 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,607 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 09:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,616 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,617 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,620 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 09:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,622 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 09:00:02,623 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 09:00:02,623 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 8, 41, 23, 22272), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '一的对数是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 325.926871}, {'datetime': datetime.datetime(2019, 3, 18, 8, 41, 32, 844494), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '一道对数是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 278.154267}) +2019-03-18 09:00:02,624 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 08:00:00 +时间为:### 2019-03-18 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 08:00:00" and datetime< "2019-03-18 09:00:00" +2019-03-18 09:00:02,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,640 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,641 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 08:00:00" and datetime< "2019-03-18 09:00:00" +2019-03-18 09:00:02,643 INFO sqlalchemy.engine.base.Engine {} +****8 +all****8 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 08:00:00" and datetime< "2019-03-18 09:00:00" +2019-03-18 09:00:03,748 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:03,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,749 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:03,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,750 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:03,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,751 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:03,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:03,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:03,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,754 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:03,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:03,754 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 08:00:00" and datetime< "2019-03-18 09:00:00" +2019-03-18 09:00:03,754 INFO sqlalchemy.engine.base.Engine {} +****8 +all****8 + +all****1 + +all****7 + +****1 + +****5 + +Start domain data classification: +2019-03-18 09:00:04,795 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,798 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:04,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,801 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 09:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,803 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 09:00:04,805 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 09:00:04,805 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 9, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 09:00:04,805 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 09:00:04,827 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:04,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,828 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:04,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,829 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:04,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,830 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:04,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,831 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:04,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,832 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:04,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,833 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 09:00:04,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:04,835 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 09:00:04,836 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 09:00:04,836 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 9, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 09:00:04,837 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 09:00:05,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 09:00:05,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 09:00:05,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 09:00:05,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,651 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 09:00:05,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:05,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 09:00:05,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 09:00:05,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,654 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 09:00:05,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 09:00:05,656 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 09:00:05,657 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 09:00:05,657 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 9, 0), '0~500ms': "[('playcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('chat', 4), ('ancient_poem', 1), ('music', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 09:00:05,657 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 10 +***** + +2019-03-18 10:00:02,005 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:02,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,006 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:02,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,007 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:02,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,008 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:02,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,012 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 10:00:02,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,014 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 10:00:02,017 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 10:00:02,017 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 9, 1, 22, 862563), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温19度到25度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 452.051248}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 27, 299266), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海今天多云', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'conditional_search_description', 'response_data': '我查了下,珠海今天有云。格力空调祝您生活愉快。', 'cost_time_ms': 460.469985}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 27, 349669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '海滨街多远', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 363.453721}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 27, 440262), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海今天多云', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'conditional_search_description', 'response_data': '我查了下,珠海今天有云。格力空调祝您生活愉快。', 'cost_time_ms': 299.75692}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 28, 296679), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十九度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 243.64557}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 42, 974156), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 294.231076}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 43, 42271), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 309.811513}, {'datetime': datetime.datetime(2019, 3, 18, 9, 1, 43, 45158), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 281.181082} ... displaying 10 of 55 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 9, 41, 29, 687115), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '西安天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '西安今天晴,气温7度到25度,比珠海市冷很多,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 448.108974}, {'datetime': datetime.datetime(2019, 3, 18, 9, 41, 44, 910600), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放一首歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 524.06522}) +2019-03-18 10:00:02,021 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 10:00:02,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,034 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,035 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,038 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 10:00:02,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,046 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,047 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:02,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,049 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,050 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:02,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,052 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 10:00:02,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,054 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 10:00:02,055 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 10:00:02,055 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 9, 1, 27, 349669), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '海滨街多远', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 363.453721}, {'datetime': datetime.datetime(2019, 3, 18, 9, 34, 46, 560294), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '我叫左十三', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 340.904382}) +2019-03-18 10:00:02,055 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 09:00:00 +时间为:### 2019-03-18 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 09:00:00" and datetime< "2019-03-18 10:00:00" +2019-03-18 10:00:02,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:02,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,066 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:02,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:02,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:02,068 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 09:00:00" and datetime< "2019-03-18 10:00:00" +2019-03-18 10:00:02,069 INFO sqlalchemy.engine.base.Engine {} +****55 +all****55 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 09:00:00" and datetime< "2019-03-18 10:00:00" +2019-03-18 10:00:03,147 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:03,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,148 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:03,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,149 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:03,149 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,150 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:03,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,151 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:03,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,152 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:03,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:03,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:03,153 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 09:00:00" and datetime< "2019-03-18 10:00:00" +2019-03-18 10:00:03,154 INFO sqlalchemy.engine.base.Engine {} +****55 +all****55 + +all****4 + +all****51 + +****4 + +****49 + +Start domain data classification: +2019-03-18 10:00:04,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:04,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:04,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,195 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:04,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,196 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:04,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:04,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:04,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:04,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,199 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 10:00:04,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,201 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 10:00:04,202 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 10:00:04,202 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 10, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 4, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 10:00:04,203 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 10:00:04,216 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:04,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:04,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,218 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:04,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,219 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:04,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:04,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:04,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:04,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,221 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 10:00:04,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:04,224 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 10:00:04,225 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 10:00:04,225 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 10, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 3, 'chat': 11, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 32} +2019-03-18 10:00:04,225 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 10:00:05,048 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 10:00:05,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 10:00:05,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,050 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 10:00:05,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,050 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 10:00:05,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 10:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 10:00:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,054 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 10:00:05,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 10:00:05,056 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 10:00:05,056 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 10:00:05,057 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 10, 0), '0~500ms': "[('universalcontrol', 4), ('aircleaner', 0), ('airconditioner', 0), ('weather', 30), ('chat', 13), ('baike', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 2), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 10:00:05,057 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 11 +***** + +2019-03-18 11:00:02,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,485 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 11:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,487 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 11:00:02,493 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 11:00:02,493 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 10, 3, 35, 384801), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 457.154339}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 35, 348902), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 349.29723}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 37, 554141), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '互联网', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '互联网(英语:internet),是网络与网络之间所串连成的庞大网络,这些网络以一组通用的协议相连,形成逻辑上的单一巨大国际网络。这种将计算机网络互相联接在一起的方法可称作“网络互联”,在这基础上发展出覆盖全世界的全球性互联网络称互联网,即是互相连接一起的网络结构。', 'cost_time_ms': 322.059734}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 44, 257051), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 170.793816}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 44, 319073), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 165.736907}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 44, 428567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 214.181056}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 44, 512186), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么叫离线模式。', 'cost_time_ms': 264.911375}, {'datetime': datetime.datetime(2019, 3, 18, 10, 11, 53, 880415), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这是进入了复读机模式了么...。', 'cost_time_ms': 169.093444} ... displaying 10 of 284 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 10, 59, 55, 550009), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.910015}, {'datetime': datetime.datetime(2019, 3, 18, 10, 59, 58, 789953), 'mac_wifi': 'f4911e590659', 'mac_voice': '000000000053', 'query': '赵云传', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 303.912809}) +2019-03-18 11:00:02,505 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 11:00:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,526 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 11:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,538 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,539 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,542 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 11:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,544 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 11:00:02,545 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 11:00:02,545 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 10, 11, 44, 257051), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 170.793816}, {'datetime': datetime.datetime(2019, 3, 18, 10, 13, 53, 148604), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '绝对值是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 561.965605}, {'datetime': datetime.datetime(2019, 3, 18, 10, 14, 13, 232818), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '绝对支持', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 182.327762}, {'datetime': datetime.datetime(2019, 3, 18, 10, 14, 22, 268011), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '三的绝对值是多少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 343.935411}, {'datetime': datetime.datetime(2019, 3, 18, 10, 31, 33, 56131), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你要带加密狗去吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 215.768981}, {'datetime': datetime.datetime(2019, 3, 18, 10, 32, 39, 665844), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '不够自信', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 217.3363}, {'datetime': datetime.datetime(2019, 3, 18, 10, 33, 33, 753673), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '你要出差吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 193.707815}, {'datetime': datetime.datetime(2019, 3, 18, 10, 35, 59, 300162), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '把停止健康', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 243.26168} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 10, 54, 18, 19211), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我本身就是语音助手', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 243.4931}, {'datetime': datetime.datetime(2019, 3, 18, 10, 59, 58, 789953), 'mac_wifi': 'f4911e590659', 'mac_voice': '000000000053', 'query': '赵云传', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 303.912809}) +2019-03-18 11:00:02,554 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 10:00:00 +时间为:### 2019-03-18 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 10:00:00" and datetime< "2019-03-18 11:00:00" +2019-03-18 11:00:02,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,562 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,562 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:02,565 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 10:00:00" and datetime< "2019-03-18 11:00:00" +2019-03-18 11:00:02,565 INFO sqlalchemy.engine.base.Engine {} +****284 +all****284 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 10:00:00" and datetime< "2019-03-18 11:00:00" +2019-03-18 11:00:03,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:03,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:03,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,704 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:03,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,705 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:03,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:03,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:03,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:03,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:03,707 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 10:00:00" and datetime< "2019-03-18 11:00:00" +2019-03-18 11:00:03,707 INFO sqlalchemy.engine.base.Engine {} +****284 +all****284 + +all****180 + +all****104 + +****180 + +****88 + +Start domain data classification: +2019-03-18 11:00:04,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:04,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:04,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,756 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:04,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,756 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:04,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:04,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:04,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:04,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,759 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 11:00:04,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,761 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 11:00:04,762 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 11:00:04,763 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 11, 0), 'aircleaner': 0, 'airconditioner': 153, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 27, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 11:00:04,763 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 11:00:04,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,778 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:04,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,779 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:04,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:04,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:04,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:04,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,781 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 11:00:04,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:04,784 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 11:00:04,785 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 11:00:04,785 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 11, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 76, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 10, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-18 11:00:04,785 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 11:00:05,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 11:00:05,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 11:00:05,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,607 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 11:00:05,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,607 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 11:00:05,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:05,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 11:00:05,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 11:00:05,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,610 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 11:00:05,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 11:00:05,612 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 11:00:05,613 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 11:00:05,613 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 11, 0), '0~500ms': "[('airconditioner', 151), ('universalcontrol', 27), ('aircleaner', 0), ('chat', 91), ('music', 8), ('baike', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 11:00:05,613 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 12 +***** + +2019-03-18 12:00:02,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,066 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:02,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,067 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:02,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,067 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:02,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:02,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,071 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 12:00:02,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,074 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 12:00:02,081 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 12:00:02,081 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 11, 0, 3, 720939), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 205.47574}, {'datetime': datetime.datetime(2019, 3, 18, 11, 0, 3, 809572), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 210.464591}, {'datetime': datetime.datetime(2019, 3, 18, 11, 0, 3, 883088), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 226.576036}, {'datetime': datetime.datetime(2019, 3, 18, 11, 0, 3, 923654), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 307.684308}, {'datetime': datetime.datetime(2019, 3, 18, 11, 0, 4, 178167), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 493.262949}, {'datetime': datetime.datetime(2019, 3, 18, 11, 0, 59, 942571), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 208.02555}, {'datetime': datetime.datetime(2019, 3, 18, 11, 1, 0, 265922), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.120333}, {'datetime': datetime.datetime(2019, 3, 18, 11, 1, 3, 807703), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 214.737685} ... displaying 10 of 390 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 11, 59, 34, 775577), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 192.178557}, {'datetime': datetime.datetime(2019, 3, 18, 11, 59, 40, 10931), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 220.670475}) +2019-03-18 12:00:02,100 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 12:00:02,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:02,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,118 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,119 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:02,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,122 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 12:00:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,133 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,133 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,137 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 12:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 12:00:02,140 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 12:00:02,140 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 11, 3, 17, 168977), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '求到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 247.065385}, {'datetime': datetime.datetime(2019, 3, 18, 11, 5, 7, 129195), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开换风运行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 242.091294}, {'datetime': datetime.datetime(2019, 3, 18, 11, 5, 8, 658932), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '换风模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 247.380121}, {'datetime': datetime.datetime(2019, 3, 18, 11, 10, 12, 287634), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 239.136293}, {'datetime': datetime.datetime(2019, 3, 18, 11, 15, 40, 963043), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 245.8154}, {'datetime': datetime.datetime(2019, 3, 18, 11, 20, 18, 16303), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 214.577689}, {'datetime': datetime.datetime(2019, 3, 18, 11, 27, 10, 303644), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好小乐', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 236.57377}, {'datetime': datetime.datetime(2019, 3, 18, 11, 27, 32, 328028), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 219.946565} ... displaying 10 of 22 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 11, 59, 17, 923965), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '欢迎使用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 222.972284}, {'datetime': datetime.datetime(2019, 3, 18, 11, 59, 23, 415396), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '以前我没听明白', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 252.229676}) +2019-03-18 12:00:02,142 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 11:00:00 +时间为:### 2019-03-18 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 11:00:00" and datetime< "2019-03-18 12:00:00" +2019-03-18 12:00:02,156 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:02,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,158 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,159 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:02,162 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 11:00:00" and datetime< "2019-03-18 12:00:00" +2019-03-18 12:00:02,162 INFO sqlalchemy.engine.base.Engine {} +****390 +all****390 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 11:00:00" and datetime< "2019-03-18 12:00:00" +2019-03-18 12:00:03,241 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:03,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,242 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:03,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,243 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:03,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,244 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,245 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:03,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:03,247 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 11:00:00" and datetime< "2019-03-18 12:00:00" +2019-03-18 12:00:03,247 INFO sqlalchemy.engine.base.Engine {} +****390 +all****390 + +all****263 + +all****127 + +****263 + +****105 + +Start domain data classification: +2019-03-18 12:00:04,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,278 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:04,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,279 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:04,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:04,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:04,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:04,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,282 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 12:00:04,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,284 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 12:00:04,285 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 12:00:04,285 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 12, 0), 'aircleaner': 0, 'airconditioner': 219, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 41, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 12:00:04,286 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 12:00:04,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,305 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,309 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 12:00:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:04,311 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 12:00:04,312 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 12:00:04,312 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 12, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 98, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 6, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 12:00:04,313 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 12:00:05,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 12:00:05,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,154 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 12:00:05,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,155 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 12:00:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 12:00:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 12:00:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 12:00:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,158 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 12:00:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 12:00:05,160 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 12:00:05,161 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 12:00:05,161 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 12, 0), '0~500ms': "[('airconditioner', 214), ('universalcontrol', 41), ('playcontrol', 3), ('chat', 115), ('music', 6), ('baike', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 4), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 12:00:05,161 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 13 +***** + +2019-03-18 13:00:02,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,579 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,580 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,580 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,582 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,584 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 13:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,587 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 13:00:02,591 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 13:00:02,591 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 12, 0, 13, 125544), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 293.143041}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 23, 38111), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 179.931233}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 23, 123836), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 208.747997}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 24, 103483), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 218.886576}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 34, 567368), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.670685}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 44, 44414), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.49026}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 44, 205233), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.958513}, {'datetime': datetime.datetime(2019, 3, 18, 12, 0, 54, 144213), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 205.034136} ... displaying 10 of 145 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 12, 59, 59, 654200), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 298.551747}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 0, 441132), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 298.237458}) +2019-03-18 13:00:02,597 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 13:00:02,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,609 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,610 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,611 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,614 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 13:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,626 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,630 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 13:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,632 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 13:00:02,633 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 13:00:02,633 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 12, 10, 8, 167837), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 2008.8916590000001}, {'datetime': datetime.datetime(2019, 3, 18, 12, 17, 8, 600273), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 250.78716}, {'datetime': datetime.datetime(2019, 3, 18, 12, 18, 59, 806811), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '咨询业内知名品牌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 275.397014}, {'datetime': datetime.datetime(2019, 3, 18, 12, 19, 7, 50333), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '是业内知名品牌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 242.15225}) +2019-03-18 13:00:02,634 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 12:00:00 +时间为:### 2019-03-18 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 12:00:00" and datetime< "2019-03-18 13:00:00" +2019-03-18 13:00:02,650 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,651 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,652 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,655 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:02,655 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 12:00:00" and datetime< "2019-03-18 13:00:00" +2019-03-18 13:00:02,655 INFO sqlalchemy.engine.base.Engine {} +****143 +all****143 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 12:00:00" and datetime< "2019-03-18 13:00:00" +2019-03-18 13:00:03,788 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:03,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,789 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:03,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,790 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:03,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,790 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:03,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,792 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:03,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,792 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:03,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:03,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:03,794 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 12:00:00" and datetime< "2019-03-18 13:00:00" +2019-03-18 13:00:03,794 INFO sqlalchemy.engine.base.Engine {} +****143 +all****143 + +all****100 + +all****43 + +****100 + +****39 + +Start domain data classification: +2019-03-18 13:00:04,820 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:04,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:04,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,822 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:04,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,823 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:04,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,826 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 13:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,829 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 13:00:04,830 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 13:00:04,830 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 13, 0), 'aircleaner': 0, 'airconditioner': 86, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 14, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 13:00:04,830 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 13:00:04,845 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,845 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:04,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,846 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:04,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,847 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,849 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,849 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,850 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 13:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:04,852 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 13:00:04,853 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 13:00:04,854 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 13, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 36, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 3} +2019-03-18 13:00:04,854 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 13:00:05,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 13:00:05,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 13:00:05,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,687 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 13:00:05,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,688 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 13:00:05,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:05,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 13:00:05,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 13:00:05,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,691 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 13:00:05,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 13:00:05,693 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 13:00:05,694 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 13:00:05,694 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 13, 0), '0~500ms': "[('airconditioner', 86), ('universalcontrol', 14), ('aircleaner', 0), ('chat', 39), ('weather', 4), ('almanac', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 13:00:05,694 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 14 +***** + +2019-03-18 14:00:02,197 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,199 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,200 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:02,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,204 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 14:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,206 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 14:00:02,211 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 14:00:02,211 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 13, 0, 5, 341445), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 334.382784}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 7, 721320), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '国内风采', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 219.912977}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 8, 255643), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 293.461496}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 8, 634919), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 291.395144}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 10, 184039), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 320.599016}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 11, 8574), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 317.066964}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 29, 46038), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 323.330706}, {'datetime': datetime.datetime(2019, 3, 18, 13, 0, 30, 434321), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 325.187819} ... displaying 10 of 219 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 13, 59, 40, 24904), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '丑到制暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 292.360673}, {'datetime': datetime.datetime(2019, 3, 18, 13, 59, 40, 28303), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 271.216567}) +2019-03-18 14:00:02,221 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 14:00:02,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,235 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,238 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 14:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,248 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,249 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,252 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 14:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,254 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 14:00:02,255 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 14:00:02,255 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 13, 0, 7, 721320), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '国内风采', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 219.912977}, {'datetime': datetime.datetime(2019, 3, 18, 13, 53, 5, 899924), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '大铭播', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 246.036895}, {'datetime': datetime.datetime(2019, 3, 18, 13, 54, 2, 733756), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '求到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 236.885893}, {'datetime': datetime.datetime(2019, 3, 18, 13, 59, 17, 270663), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '亲亲开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 250.91384}, {'datetime': datetime.datetime(2019, 3, 18, 13, 59, 40, 24904), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '丑到制暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 292.360673}) +2019-03-18 14:00:02,256 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 13:00:00 +时间为:### 2019-03-18 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 13:00:00" and datetime< "2019-03-18 14:00:00" +2019-03-18 14:00:02,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,272 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:02,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,273 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:02,276 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 13:00:00" and datetime< "2019-03-18 14:00:00" +2019-03-18 14:00:02,276 INFO sqlalchemy.engine.base.Engine {} +****221 +all****221 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 13:00:00" and datetime< "2019-03-18 14:00:00" +2019-03-18 14:00:03,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:03,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,399 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,400 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:03,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:03,403 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 13:00:00" and datetime< "2019-03-18 14:00:00" +2019-03-18 14:00:03,403 INFO sqlalchemy.engine.base.Engine {} +****221 +all****221 + +all****138 + +all****83 + +****138 + +****78 + +Start domain data classification: +2019-03-18 14:00:04,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:04,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,496 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:04,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:04,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,499 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 14:00:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,501 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 14:00:04,502 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 14:00:04,503 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 14, 0), 'aircleaner': 0, 'airconditioner': 115, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 23, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 14:00:04,503 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 14:00:04,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:04,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:04,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,520 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:04,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,520 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:04,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,523 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 14:00:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:04,526 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 14:00:04,527 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 14:00:04,527 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 14, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 39, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 38} +2019-03-18 14:00:04,528 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 14:00:05,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 14:00:05,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 14:00:05,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,378 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 14:00:05,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,379 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 14:00:05,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:05,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 14:00:05,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 14:00:05,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,383 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 14:00:05,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 14:00:05,385 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 14:00:05,386 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 14:00:05,386 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 14, 0), '0~500ms': "[('airconditioner', 115), ('universalcontrol', 23), ('aircleaner', 0), ('chat', 44), ('weather', 36), ('music', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 14:00:05,386 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 15 +***** + +2019-03-18 15:00:02,976 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:02,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,979 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,980 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:02,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,982 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,982 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,984 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 15:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:02,988 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 15:00:03,000 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 15:00:03,000 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 14, 0, 10, 301966), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 181.104457}, {'datetime': datetime.datetime(2019, 3, 18, 14, 0, 10, 333153), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 173.269009}, {'datetime': datetime.datetime(2019, 3, 18, 14, 0, 10, 365206), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 199.883794}, {'datetime': datetime.datetime(2019, 3, 18, 14, 0, 10, 407936), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 177.542381}, {'datetime': datetime.datetime(2019, 3, 18, 14, 0, 10, 677965), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 181.696622}, {'datetime': datetime.datetime(2019, 3, 18, 14, 1, 4, 591909), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 246.690801}, {'datetime': datetime.datetime(2019, 3, 18, 14, 1, 4, 679941), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.220746}, {'datetime': datetime.datetime(2019, 3, 18, 14, 1, 4, 698150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 326.370984} ... displaying 10 of 679 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 14, 59, 34, 495798), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '没有空调。', 'cost_time_ms': 204.356338}, {'datetime': datetime.datetime(2019, 3, 18, 14, 59, 52, 342898), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '光棍节', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '光棍节,又名光光节、脱光节,是一种流传于年轻人的娱乐性节日,以庆祝自己仍是单身一族为傲(“光棍”的意思便是“单身”)。光棍节产生于校园,并通过网络等媒介传播,逐渐形成了一种光棍节的文化。国家统计局推算,到2020年,中国处于婚龄的男性将比女性多出3000万到4000万,所以光棍节是单身一族的一个另类节日,这个日子便被定为“光棍节”(onesday)。如今这一天是众多为单身男女脱离光棍状态而举办交友聚会活动的日子,也有越来越多的人选在这天结婚,因此又被称为“脱光节”。于此同时,也是各大商家以脱光为由打折促销的时期。', 'cost_time_ms': 357.832582}) +2019-03-18 15:00:03,032 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 15:00:03,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,047 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:03,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,050 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 15:00:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,059 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:03,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,059 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:03,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,060 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:03,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,061 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:03,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,064 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 15:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,066 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 15:00:03,067 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 15:00:03,067 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 14, 5, 51, 323826), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为智慧眼', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 394.277915}, {'datetime': datetime.datetime(2019, 3, 18, 14, 12, 23, 71447), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设置为自洗模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 246.65325}, {'datetime': datetime.datetime(2019, 3, 18, 14, 13, 49, 478971), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 252.607639}, {'datetime': datetime.datetime(2019, 3, 18, 14, 17, 18, 542608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 248.00513}, {'datetime': datetime.datetime(2019, 3, 18, 14, 25, 11, 469850), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 251.126827}, {'datetime': datetime.datetime(2019, 3, 18, 14, 28, 50, 415733), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭左右摆风空调制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 249.830915}, {'datetime': datetime.datetime(2019, 3, 18, 14, 33, 48, 906150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 252.283304}, {'datetime': datetime.datetime(2019, 3, 18, 14, 45, 24, 409635), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这个是我随便入内', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 247.38274} ... displaying 10 of 18 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 14, 59, 13, 245488), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 250.344631}, {'datetime': datetime.datetime(2019, 3, 18, 14, 59, 22, 141407), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 242.728007}) +2019-03-18 15:00:03,068 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 14:00:00 +时间为:### 2019-03-18 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 14:00:00" and datetime< "2019-03-18 15:00:00" +2019-03-18 15:00:03,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,078 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:03,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,078 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:03,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,079 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:03,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:03,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:03,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:03,082 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 14:00:00" and datetime< "2019-03-18 15:00:00" +2019-03-18 15:00:03,082 INFO sqlalchemy.engine.base.Engine {} +****679 +all****679 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 14:00:00" and datetime< "2019-03-18 15:00:00" +2019-03-18 15:00:04,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:04,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,134 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,134 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:04,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:04,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:04,137 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 14:00:00" and datetime< "2019-03-18 15:00:00" +2019-03-18 15:00:04,137 INFO sqlalchemy.engine.base.Engine {} +****679 +all****679 + +all****436 + +all****243 + +****436 + +****225 + +Start domain data classification: +2019-03-18 15:00:05,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:05,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,202 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,203 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,203 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,206 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 15:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,209 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 15:00:05,210 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 15:00:05,210 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 15, 0), 'aircleaner': 0, 'airconditioner': 357, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 79, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 15:00:05,210 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 15:00:05,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:05,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,229 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 15:00:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:05,231 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 15:00:05,232 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 15:00:05,232 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 15, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 3, 'chat': 146, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 0, 'music': 13, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 60} +2019-03-18 15:00:05,233 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 15:00:06,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 15:00:06,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 15:00:06,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,063 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 15:00:06,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,063 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 15:00:06,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:06,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 15:00:06,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 15:00:06,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,066 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 15:00:06,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 15:00:06,068 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 15:00:06,069 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 15:00:06,069 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 15, 0), '0~500ms': "[('airconditioner', 357), ('universalcontrol', 79), ('aircleaner', 0), ('chat', 162), ('weather', 55), ('music', 10)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 2), ('chat', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 3), ('ancient_poem', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 15:00:06,070 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 16 +***** + +2019-03-18 16:00:02,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:02,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,646 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,646 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,650 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 16:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,653 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 16:00:02,662 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 16:00:02,662 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 15, 0, 6, 862198), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.865233}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 6, 919830), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.204409}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 17, 348436), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.633569}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 17, 383674), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.649482}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 17, 475374), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 247.39337}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 17, 523747), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 370.115213}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 27, 393104), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.085302}, {'datetime': datetime.datetime(2019, 3, 18, 15, 0, 27, 469855), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 238.658083} ... displaying 10 of 636 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 15, 59, 57, 455273), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 199.78813}, {'datetime': datetime.datetime(2019, 3, 18, 15, 59, 57, 543926), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 204.441568}) +2019-03-18 16:00:02,688 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 16:00:02,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,704 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,707 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 16:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,715 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,716 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,717 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,717 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,721 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 16:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,723 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 16:00:02,724 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 16:00:02,724 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 15, 2, 59, 4009), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 252.602332}, {'datetime': datetime.datetime(2019, 3, 18, 15, 3, 20, 492976), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭摆风打开加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 301.151376}, {'datetime': datetime.datetime(2019, 3, 18, 15, 4, 41, 952036), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开节电', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 271.447693}, {'datetime': datetime.datetime(2019, 3, 18, 15, 6, 37, 489362), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 241.757108}, {'datetime': datetime.datetime(2019, 3, 18, 15, 6, 58, 571859), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 251.21215}, {'datetime': datetime.datetime(2019, 3, 18, 15, 7, 45, 109316), 'mac_wifi': 'f4911e59443c', 'mac_voice': '000000000067', 'query': '推出了家用太阳能', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 219.825422}, {'datetime': datetime.datetime(2019, 3, 18, 15, 7, 50, 148178), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 252.639996}, {'datetime': datetime.datetime(2019, 3, 18, 15, 8, 3, 877314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 256.168733} ... displaying 10 of 20 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 15, 54, 25, 40865), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 207.748247}, {'datetime': datetime.datetime(2019, 3, 18, 15, 56, 14, 995798), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调空调停', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 191.889136}) +2019-03-18 16:00:02,725 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 15:00:00 +时间为:### 2019-03-18 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 15:00:00" and datetime< "2019-03-18 16:00:00" +2019-03-18 16:00:02,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:02,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,736 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,736 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:02,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:02,739 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 15:00:00" and datetime< "2019-03-18 16:00:00" +2019-03-18 16:00:02,739 INFO sqlalchemy.engine.base.Engine {} +****636 +all****636 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 15:00:00" and datetime< "2019-03-18 16:00:00" +2019-03-18 16:00:03,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:03,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:03,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,883 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,883 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:03,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:03,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:03,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:03,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:03,886 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 15:00:00" and datetime< "2019-03-18 16:00:00" +2019-03-18 16:00:03,886 INFO sqlalchemy.engine.base.Engine {} +****636 +all****636 + +all****461 + +all****175 + +****461 + +****155 + +Start domain data classification: +2019-03-18 16:00:04,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:04,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,931 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,932 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:04,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,933 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,935 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 16:00:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,937 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 16:00:04,938 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 16:00:04,938 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 16, 0), 'aircleaner': 0, 'airconditioner': 381, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 80, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 16:00:04,939 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 16:00:04,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,953 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,953 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,954 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:04,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,957 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 16:00:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:04,959 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 16:00:04,961 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 16:00:04,961 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 16, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 145, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 0, 'music': 4, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 1, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-18 16:00:04,961 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 16:00:05,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 16:00:05,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 16:00:05,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,806 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 16:00:05,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 16:00:05,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:05,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 16:00:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 16:00:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,810 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 16:00:05,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 16:00:05,812 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 16:00:05,813 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 16:00:05,813 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 16, 0), '0~500ms': "[('airconditioner', 380), ('universalcontrol', 80), ('aircleaner', 0), ('chat', 160), ('holiday', 3), ('music', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 16:00:05,813 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 17 +***** + +2019-03-18 17:00:02,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:02,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,374 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,377 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 17:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,380 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 17:00:02,388 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 17:00:02,388 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 16, 0, 18, 518559), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '暂停播', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '很抱歉,没有找到你想要的内容', 'cost_time_ms': 456.367962}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 45, 374756), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十八度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 210.483154}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 46, 58615), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '喜欢你', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '谢谢,我也喜欢你。', 'cost_time_ms': 211.008386}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 46, 71032), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十八度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 215.29035}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 46, 572812), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十八度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 202.100956}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 49, 219536), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '那点吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '那不少了。', 'cost_time_ms': 230.625187}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 49, 427482), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '海那边的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 383.570261}, {'datetime': datetime.datetime(2019, 3, 18, 16, 0, 49, 429570), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '那边吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '是格力电器帅气的工程师', 'cost_time_ms': 210.137493} ... displaying 10 of 526 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 16, 59, 44, 909158), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.041433}, {'datetime': datetime.datetime(2019, 3, 18, 16, 59, 45, 4863), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.915512}) +2019-03-18 17:00:02,410 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 17:00:02,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,423 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 17:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,437 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,438 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:02,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,439 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,441 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,442 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 17:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,444 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 17:00:02,445 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 17:00:02,445 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 16, 0, 49, 427482), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '海那边的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 383.570261}, {'datetime': datetime.datetime(2019, 3, 18, 16, 2, 35, 472797), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '使调小', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 261.123238}, {'datetime': datetime.datetime(2019, 3, 18, 16, 6, 6, 440997), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 242.831097}, {'datetime': datetime.datetime(2019, 3, 18, 16, 8, 51, 607337), 'mac_wifi': 'f4911e594446', 'mac_voice': '28ede07d072b', 'query': '跟上那头', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 352.527702}, {'datetime': datetime.datetime(2019, 3, 18, 16, 12, 3, 295454), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '调整到标准女生', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 225.898109}, {'datetime': datetime.datetime(2019, 3, 18, 16, 12, 13, 873516), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '变成女孩子的声音', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 178.182051}, {'datetime': datetime.datetime(2019, 3, 18, 16, 12, 22, 27264), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '还钱为自洗模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 242.714727}, {'datetime': datetime.datetime(2019, 3, 18, 16, 12, 22, 31232), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '自洗模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 251.145453} ... displaying 10 of 40 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 16, 49, 52, 759619), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '天才制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 367.561248}, {'datetime': datetime.datetime(2019, 3, 18, 16, 51, 14, 862607), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '相见添酒回灯', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 393.113053}) +2019-03-18 17:00:02,451 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 16:00:00 +时间为:### 2019-03-18 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 16:00:00" and datetime< "2019-03-18 17:00:00" +2019-03-18 17:00:02,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,460 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,461 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:02,463 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 16:00:00" and datetime< "2019-03-18 17:00:00" +2019-03-18 17:00:02,464 INFO sqlalchemy.engine.base.Engine {} +****526 +all****526 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 16:00:00" and datetime< "2019-03-18 17:00:00" +2019-03-18 17:00:03,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:03,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:03,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:03,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:03,651 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 16:00:00" and datetime< "2019-03-18 17:00:00" +2019-03-18 17:00:03,651 INFO sqlalchemy.engine.base.Engine {} +****526 +all****526 + +all****325 + +all****201 + +****325 + +****161 + +Start domain data classification: +2019-03-18 17:00:04,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:04,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,709 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:04,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,710 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:04,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:04,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,713 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 17:00:04,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,716 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 17:00:04,717 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 17:00:04,717 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 17, 0), 'aircleaner': 0, 'airconditioner': 277, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 46, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 17:00:04,718 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 17:00:04,731 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:04,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,732 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:04,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,733 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:04,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,734 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:04,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,735 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,737 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 17:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:04,739 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 17:00:04,741 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 17:00:04,741 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 17, 0), 'almanac': 0, 'ancient_poem': 3, 'astro': 0, 'baike': 2, 'chat': 98, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 31, 'news': 0, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 25} +2019-03-18 17:00:04,741 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 17:00:05,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 17:00:05,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,598 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 17:00:05,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,599 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 17:00:05,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,600 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 17:00:05,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:05,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,602 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 17:00:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,602 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 17:00:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,603 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 17:00:05,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 17:00:05,605 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 17:00:05,606 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 17:00:05,606 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 17, 0), '0~500ms': "[('airconditioner', 276), ('universalcontrol', 46), ('playcontrol', 2), ('chat', 135), ('music', 27), ('weather', 20)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('weather', 5), ('music', 3), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 17:00:05,607 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 18 +***** + +2019-03-18 18:00:02,152 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,154 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,159 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 18:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,162 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 18:00:02,167 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 18:00:02,167 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 17, 0, 50, 915399), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '下一个', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_next', 'response_data': 'success', 'cost_time_ms': 372.179778}, {'datetime': datetime.datetime(2019, 3, 18, 17, 0, 59, 482195), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 206.756651}, {'datetime': datetime.datetime(2019, 3, 18, 17, 0, 59, 605835), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 340.956973}, {'datetime': datetime.datetime(2019, 3, 18, 17, 1, 24, 172736), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 189.435347}, {'datetime': datetime.datetime(2019, 3, 18, 17, 1, 28, 291225), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 250.337593}, {'datetime': datetime.datetime(2019, 3, 18, 17, 1, 39, 286042), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.93821}, {'datetime': datetime.datetime(2019, 3, 18, 17, 1, 44, 732172), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 255.449823}, {'datetime': datetime.datetime(2019, 3, 18, 17, 1, 44, 846205), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.769167} ... displaying 10 of 287 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 17, 59, 49, 364945), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 366.860626}, {'datetime': datetime.datetime(2019, 3, 18, 17, 59, 49, 522936), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 337.831781}) +2019-03-18 18:00:02,180 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 18:00:02,191 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,191 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,192 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,193 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,194 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,196 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 18:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,206 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,207 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,210 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 18:00:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,212 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 18:00:02,213 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 18:00:02,213 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 17, 11, 0, 548875), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '于是厨师把肉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 252.197585}, {'datetime': datetime.datetime(2019, 3, 18, 17, 11, 0, 551066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '厨师把肉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 244.816341}, {'datetime': datetime.datetime(2019, 3, 18, 17, 14, 24, 983973), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '发生内乱', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 411.116052}, {'datetime': datetime.datetime(2019, 3, 18, 17, 15, 1, 395565), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '接过糖果的时候', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 250.560196}, {'datetime': datetime.datetime(2019, 3, 18, 17, 19, 2, 552932), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为丈夫', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 260.419092}, {'datetime': datetime.datetime(2019, 3, 18, 17, 27, 41, 403145), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 381.470631}, {'datetime': datetime.datetime(2019, 3, 18, 17, 46, 38, 557931), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开换风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 275.650574}, {'datetime': datetime.datetime(2019, 3, 18, 17, 46, 39, 816914), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '把嘴巴关了吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 260.370813} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 17, 49, 56, 923434), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 248.896121}, {'datetime': datetime.datetime(2019, 3, 18, 17, 56, 19, 258586), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '窗前一树流水', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.857787}) +2019-03-18 18:00:02,214 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 17:00:00 +时间为:### 2019-03-18 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 17:00:00" and datetime< "2019-03-18 18:00:00" +2019-03-18 18:00:02,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,224 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,225 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 17:00:00" and datetime< "2019-03-18 18:00:00" +2019-03-18 18:00:02,228 INFO sqlalchemy.engine.base.Engine {} +****287 +all****287 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 17:00:00" and datetime< "2019-03-18 18:00:00" +2019-03-18 18:00:03,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:03,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:03,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,310 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:03,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,310 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:03,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:03,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:03,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,313 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:03,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:03,314 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 17:00:00" and datetime< "2019-03-18 18:00:00" +2019-03-18 18:00:03,314 INFO sqlalchemy.engine.base.Engine {} +****287 +all****287 + +all****163 + +all****124 + +****163 + +****113 + +Start domain data classification: +2019-03-18 18:00:04,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,386 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:04,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:04,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:04,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:04,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,390 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 18:00:04,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,392 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 18:00:04,393 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 18:00:04,394 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 18, 0), 'aircleaner': 0, 'airconditioner': 141, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 19, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 18:00:04,394 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 18:00:04,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,413 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:04,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:04,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:04,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,416 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 18:00:04,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:04,418 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 18:00:04,419 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 18:00:04,419 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 18, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 66, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 7, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 34} +2019-03-18 18:00:04,420 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 18:00:05,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 18:00:05,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,279 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 18:00:05,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,280 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 18:00:05,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,280 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 18:00:05,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:05,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 18:00:05,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 18:00:05,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,284 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 18:00:05,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 18:00:05,288 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 18:00:05,288 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 18:00:05,290 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 18, 0), '0~500ms': "[('airconditioner', 138), ('universalcontrol', 19), ('playcontrol', 3), ('chat', 77), ('weather', 30), ('music', 6)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 3), ('aircleaner', 0), ('airconditionerfan', 0), ('weather', 4), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 18:00:05,291 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 19 +***** + +2019-03-18 19:00:02,810 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,812 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,814 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,815 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,816 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,816 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,817 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 19:00:02,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,820 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 19:00:02,825 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 19:00:02,825 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 171137), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 337.537841}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 290701), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 350.541162}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 296148), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 352.962138}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 343007), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 367.58396}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 468958), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 492.528988}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 5, 496975), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温19度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 457.178681}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 8, 420460), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '冬冬海青天', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 297.059814}, {'datetime': datetime.datetime(2019, 3, 18, 18, 0, 16, 825220), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯给我讲', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 218.367766} ... displaying 10 of 273 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 18, 59, 58, 435792), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.163465}, {'datetime': datetime.datetime(2019, 3, 18, 18, 59, 58, 440555), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.712385}) +2019-03-18 19:00:02,837 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 19:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,855 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:02,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,858 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 19:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,866 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,867 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:02,867 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,868 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,868 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:02,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,870 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,870 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,871 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:02,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,872 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 19:00:02,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,874 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 19:00:02,875 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 19:00:02,875 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 18, 0, 8, 420460), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '冬冬海青天', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 297.059814}, {'datetime': datetime.datetime(2019, 3, 18, 18, 11, 34, 281216), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 236.77761}, {'datetime': datetime.datetime(2019, 3, 18, 18, 21, 52, 430786), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '福克斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 381.442565}, {'datetime': datetime.datetime(2019, 3, 18, 18, 28, 41, 973502), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 2011.1371070000002}, {'datetime': datetime.datetime(2019, 3, 18, 18, 29, 50, 552732), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 265.90411}, {'datetime': datetime.datetime(2019, 3, 18, 18, 30, 15, 476348), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 816.772839}, {'datetime': datetime.datetime(2019, 3, 18, 18, 57, 25, 133989), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 178.60379}, {'datetime': datetime.datetime(2019, 3, 18, 18, 57, 45, 888191), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 188.779658} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 18, 59, 1, 415425), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 210.125733}, {'datetime': datetime.datetime(2019, 3, 18, 18, 59, 1, 515674), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调具体细节', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 257.091022}) +2019-03-18 19:00:02,876 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 18:00:00 +时间为:### 2019-03-18 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 18:00:00" and datetime< "2019-03-18 19:00:00" +2019-03-18 19:00:02,899 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,901 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 18:00:00" and datetime< "2019-03-18 19:00:00" +2019-03-18 19:00:02,904 INFO sqlalchemy.engine.base.Engine {} +****273 +all****273 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 18:00:00" and datetime< "2019-03-18 19:00:00" +2019-03-18 19:00:03,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:03,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:03,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,931 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:03,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,932 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:03,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:03,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:03,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:03,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:03,935 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 18:00:00" and datetime< "2019-03-18 19:00:00" +2019-03-18 19:00:03,935 INFO sqlalchemy.engine.base.Engine {} +****273 +all****273 + +all****178 + +all****95 + +****178 + +****84 + +Start domain data classification: +2019-03-18 19:00:04,960 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:04,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,961 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:04,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,962 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,963 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,964 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,965 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,966 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 19:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,969 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 19:00:04,970 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 19:00:04,970 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 19, 0), 'aircleaner': 0, 'airconditioner': 148, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 30, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 19:00:04,970 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 19:00:04,991 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:04,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,992 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:04,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,993 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:04,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,994 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:04,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:04,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:04,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:04,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,997 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 19:00:04,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:04,999 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 19:00:05,000 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 19:00:05,000 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 19, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 59, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 4, 'joke': 0, 'music': 10, 'news': 0, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 8} +2019-03-18 19:00:05,001 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 19:00:05,868 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 19:00:05,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,869 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 19:00:05,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,870 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 19:00:05,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,871 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 19:00:05,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,872 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:05,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 19:00:05,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 19:00:05,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,874 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 19:00:05,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 19:00:05,876 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 19:00:05,877 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 19:00:05,877 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 19, 0), '0~500ms': "[('airconditioner', 146), ('universalcontrol', 30), ('aircleaner', 0), ('chat', 67), ('music', 8), ('weather', 8)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 19:00:05,877 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 20 +***** + +2019-03-18 20:00:02,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,625 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,629 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 20:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,632 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 20:00:02,644 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 20:00:02,644 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 19, 0, 9, 916899), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.987328}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 9, 929203), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.105542}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 9, 940812), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.959572}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 10, 41628), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 277.443603}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 10, 184511), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 302.747061}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 30, 460724), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 203.63406}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 30, 538383), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 187.579942}, {'datetime': datetime.datetime(2019, 3, 18, 19, 0, 30, 612863), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 323.535325} ... displaying 10 of 948 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 19, 59, 53, 509779), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 260.111133}, {'datetime': datetime.datetime(2019, 3, 18, 19, 59, 53, 685610), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 375.781194}) +2019-03-18 20:00:02,683 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 20:00:02,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,704 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,704 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,707 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 20:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,718 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,719 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,722 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 20:00:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,724 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 20:00:02,726 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 20:00:02,726 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 19, 1, 49, 68314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 247.091017}, {'datetime': datetime.datetime(2019, 3, 18, 19, 1, 49, 125785), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 244.400355}, {'datetime': datetime.datetime(2019, 3, 18, 19, 2, 1, 667158), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 262.647134}, {'datetime': datetime.datetime(2019, 3, 18, 19, 3, 41, 490101), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 2008.9727329999998}, {'datetime': datetime.datetime(2019, 3, 18, 19, 4, 19, 19104), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 217.107449}, {'datetime': datetime.datetime(2019, 3, 18, 19, 4, 28, 431630), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 320.370089}, {'datetime': datetime.datetime(2019, 3, 18, 19, 5, 21, 171006), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 305.806032}, {'datetime': datetime.datetime(2019, 3, 18, 19, 7, 8, 998925), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调已关闭', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 186.031602} ... displaying 10 of 80 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 19, 57, 40, 811558), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 267.065359}, {'datetime': datetime.datetime(2019, 3, 18, 19, 58, 23, 493893), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 302.387991}) +2019-03-18 20:00:02,736 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 19:00:00 +时间为:### 2019-03-18 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 19:00:00" and datetime< "2019-03-18 20:00:00" +2019-03-18 20:00:02,747 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:02,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,748 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,749 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,749 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:02,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,751 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:02,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:02,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:02,752 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 19:00:00" and datetime< "2019-03-18 20:00:00" +2019-03-18 20:00:02,752 INFO sqlalchemy.engine.base.Engine {} +****948 +all****948 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 19:00:00" and datetime< "2019-03-18 20:00:00" +2019-03-18 20:00:03,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:03,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,797 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:03,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,798 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:03,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,799 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:03,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:03,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,801 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:03,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,802 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:03,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:03,802 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 19:00:00" and datetime< "2019-03-18 20:00:00" +2019-03-18 20:00:03,802 INFO sqlalchemy.engine.base.Engine {} +****948 +all****948 + +all****642 + +all****306 + +****642 + +****226 + +Start domain data classification: +2019-03-18 20:00:04,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,855 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:04,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,856 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:04,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:04,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:04,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:04,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,859 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 20:00:04,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,861 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 20:00:04,862 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 20:00:04,862 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 20, 0), 'aircleaner': 0, 'airconditioner': 557, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 7, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 78, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 20:00:04,863 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 20:00:04,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:04,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,878 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:04,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,879 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:04,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,880 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:04,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:04,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,882 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 20:00:04,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:04,884 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 20:00:04,886 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 20:00:04,886 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 20, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 171, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 9, 'joke': 0, 'music': 18, 'news': 3, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 22} +2019-03-18 20:00:04,887 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 20:00:05,716 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 20:00:05,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 20:00:05,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,718 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 20:00:05,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,718 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 20:00:05,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:05,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 20:00:05,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 20:00:05,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,721 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 20:00:05,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 20:00:05,723 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 20:00:05,724 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 20:00:05,724 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 20, 0), '0~500ms': "[('airconditioner', 556), ('universalcontrol', 78), ('playcontrol', 7), ('chat', 250), ('music', 18), ('weather', 17)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 5), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 20:00:05,724 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 21 +***** + +2019-03-18 21:00:02,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,360 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,364 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 21:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,367 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 21:00:02,379 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 21:00:02,379 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 20, 0, 14, 736132), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.785745}, {'datetime': datetime.datetime(2019, 3, 18, 20, 0, 14, 834814), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.738663}, {'datetime': datetime.datetime(2019, 3, 18, 20, 0, 15, 254457), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 260.614927}, {'datetime': datetime.datetime(2019, 3, 18, 20, 0, 15, 642485), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 1121.331993}, {'datetime': datetime.datetime(2019, 3, 18, 20, 0, 46, 91430), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 205.520111}, {'datetime': datetime.datetime(2019, 3, 18, 20, 0, 46, 261071), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '屋里太冷了', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 342.435517}, {'datetime': datetime.datetime(2019, 3, 18, 20, 1, 3, 827131), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 187.543773}, {'datetime': datetime.datetime(2019, 3, 18, 20, 1, 3, 958902), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 220.530108} ... displaying 10 of 927 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 20, 59, 42, 302937), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '一加一等于几', 'classify': 'application', 'code': 0, 'domain': 'science', 'intent': 'calculator', 'response_data': '一加一等于2', 'cost_time_ms': 259.46453}, {'datetime': datetime.datetime(2019, 3, 18, 20, 59, 42, 346939), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '一加一等于几', 'classify': 'application', 'code': 0, 'domain': 'science', 'intent': 'calculator', 'response_data': '一加一等于2', 'cost_time_ms': 284.151683}) +2019-03-18 21:00:02,417 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 21:00:02,486 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:02,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:02,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,488 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,488 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:02,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,490 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,491 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 21:00:02,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,501 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,502 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,503 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,506 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 21:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,508 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 21:00:02,510 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 21:00:02,510 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 20, 1, 23, 353166), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 250.800596}, {'datetime': datetime.datetime(2019, 3, 18, 20, 2, 5, 271713), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 251.477168}, {'datetime': datetime.datetime(2019, 3, 18, 20, 2, 26, 804484), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请下开', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 243.308602}, {'datetime': datetime.datetime(2019, 3, 18, 20, 2, 28, 582025), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 236.384825}, {'datetime': datetime.datetime(2019, 3, 18, 20, 3, 52, 343159), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 273.577115}, {'datetime': datetime.datetime(2019, 3, 18, 20, 4, 34, 131538), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 253.349591}, {'datetime': datetime.datetime(2019, 3, 18, 20, 4, 45, 630731), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 251.660822}, {'datetime': datetime.datetime(2019, 3, 18, 20, 4, 47, 364236), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置打开祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 313.720264} ... displaying 10 of 101 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 20, 58, 30, 658242), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 249.001625}, {'datetime': datetime.datetime(2019, 3, 18, 20, 59, 30, 23953), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '你好魔方', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 207.729039}) +2019-03-18 21:00:02,519 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 20:00:00 +时间为:### 2019-03-18 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 20:00:00" and datetime< "2019-03-18 21:00:00" +2019-03-18 21:00:02,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:02,531 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 20:00:00" and datetime< "2019-03-18 21:00:00" +2019-03-18 21:00:02,531 INFO sqlalchemy.engine.base.Engine {} +****927 +all****927 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 20:00:00" and datetime< "2019-03-18 21:00:00" +2019-03-18 21:00:03,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,596 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,596 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:03,599 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 20:00:00" and datetime< "2019-03-18 21:00:00" +2019-03-18 21:00:03,599 INFO sqlalchemy.engine.base.Engine {} +****927 +all****927 + +all****600 + +all****327 + +****600 + +****226 + +Start domain data classification: +2019-03-18 21:00:04,673 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,675 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,675 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,677 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:04,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,677 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:04,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,678 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 21:00:04,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,681 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 21:00:04,682 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 21:00:04,682 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 21, 0), 'aircleaner': 0, 'airconditioner': 513, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 5, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 82, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 21:00:04,682 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 21:00:04,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,696 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,697 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,701 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 21:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:04,706 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 21:00:04,707 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 21:00:04,708 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 21, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 2, 'chat': 179, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 5, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 11, 'news': 2, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 22} +2019-03-18 21:00:04,709 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 21:00:05,525 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 21:00:05,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 21:00:05,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,527 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 21:00:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,527 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 21:00:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 21:00:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 21:00:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,530 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 21:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 21:00:05,532 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 21:00:05,532 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 21:00:05,533 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 21, 0), '0~500ms': "[('airconditioner', 508), ('universalcontrol', 81), ('playcontrol', 5), ('chat', 275), ('weather', 17), ('music', 11)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 3), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 4), ('universalcontrol', 1), ('aircleaner', 0), ('weather', 5), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 21:00:05,533 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 22 +***** + +2019-03-18 22:00:03,070 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:03,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,071 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:03,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,073 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:03,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,073 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:03,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:03,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,077 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 22:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,080 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 22:00:03,092 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 22:00:03,092 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 21, 0, 26, 834675), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.322919}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 26, 910179), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.264586}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 26, 975156), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.080332}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 27, 105453), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 388.868633}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 34, 994615), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 250.250674}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 38, 208126), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.547002}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 38, 234968), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.202342}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 46, 541154), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 254.924868} ... displaying 10 of 882 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 1, 52790), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.864903}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 2, 361314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设置为地暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 209.37198}) +2019-03-18 22:00:03,127 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 22:00:03,141 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:03,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,141 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:03,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,142 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:03,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,143 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:03,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:03,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,146 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 22:00:03,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,155 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:03,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,155 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:03,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,156 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:03,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,157 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:03,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,159 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,159 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:03,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,160 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 22:00:03,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,162 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 22:00:03,164 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 22:00:03,164 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 21, 0, 34, 994615), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 250.250674}, {'datetime': datetime.datetime(2019, 3, 18, 21, 0, 46, 541154), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 254.924868}, {'datetime': datetime.datetime(2019, 3, 18, 21, 1, 2, 9690), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开启快风速', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 243.421841}, {'datetime': datetime.datetime(2019, 3, 18, 21, 2, 54, 890120), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 249.378559}, {'datetime': datetime.datetime(2019, 3, 18, 21, 4, 51, 388863), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 251.350013}, {'datetime': datetime.datetime(2019, 3, 18, 21, 6, 7, 700296), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 239.820786}, {'datetime': datetime.datetime(2019, 3, 18, 21, 8, 0, 352353), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 250.37673}, {'datetime': datetime.datetime(2019, 3, 18, 21, 9, 58, 994150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 250.999575} ... displaying 10 of 94 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 21, 59, 57, 858102), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 241.946526}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 2, 361314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设置为地暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 209.37198}) +2019-03-18 22:00:03,172 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 21:00:00 +时间为:### 2019-03-18 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 21:00:00" and datetime< "2019-03-18 22:00:00" +2019-03-18 22:00:03,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:03,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:03,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,184 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:03,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,185 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:03,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:03,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:03,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:03,188 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 21:00:00" and datetime< "2019-03-18 22:00:00" +2019-03-18 22:00:03,188 INFO sqlalchemy.engine.base.Engine {} +****880 +all****880 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 21:00:00" and datetime< "2019-03-18 22:00:00" +2019-03-18 22:00:04,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:04,278 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 21:00:00" and datetime< "2019-03-18 22:00:00" +2019-03-18 22:00:04,278 INFO sqlalchemy.engine.base.Engine {} +****880 +all****880 + +all****610 + +all****270 + +****610 + +****177 + +Start domain data classification: +2019-03-18 22:00:05,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:05,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:05,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:05,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:05,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:05,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:05,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,336 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 22:00:05,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,338 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 22:00:05,339 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 22:00:05,339 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 22, 0), 'aircleaner': 0, 'airconditioner': 524, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 85, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 22:00:05,340 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 22:00:05,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:05,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:05,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,355 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:05,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,356 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:05,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:05,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:05,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:05,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,359 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 22:00:05,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:05,361 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 22:00:05,362 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 22:00:05,362 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 22, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 168, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 7, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-18 22:00:05,363 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 22:00:06,196 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 22:00:06,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,197 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 22:00:06,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,198 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 22:00:06,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,199 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 22:00:06,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:06,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,200 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 22:00:06,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,201 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 22:00:06,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,202 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 22:00:06,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 22:00:06,204 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 22:00:06,205 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 22:00:06,205 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 22, 0), '0~500ms': "[('airconditioner', 524), ('universalcontrol', 85), ('playcontrol', 1), ('chat', 261), ('music', 6), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 22:00:06,205 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-18 23 +***** + +2019-03-18 23:00:02,820 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,822 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,823 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,827 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-18 23:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,830 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 23:00:02,840 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 23:00:02,840 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 22, 0, 8, 462540), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '清新开', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '最近很多人走这条路线哦。', 'cost_time_ms': 220.097067}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 8, 724811), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的。', 'cost_time_ms': 223.422054}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 9, 274564), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '什么继续进行。', 'cost_time_ms': 218.087913}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 12, 220373), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 258.95018}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 20, 260927), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 247.5692}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 20, 345633), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 239.31036}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 21, 891584), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 216.520362}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 22, 361273), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.209813} ... displaying 10 of 849 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 22, 59, 55, 572229), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 218.532467}, {'datetime': datetime.datetime(2019, 3, 18, 22, 59, 55, 701687), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 341.198994}) +2019-03-18 23:00:02,875 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-18 23:00:02,887 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,888 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,888 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,889 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,892 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-18 23:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,901 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,905 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-18 23:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,907 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 23:00:02,909 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-18 23:00:02,909 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 18, 22, 0, 20, 260927), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 247.5692}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 20, 345633), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 239.31036}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 30, 590181), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 239.086678}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 44, 334599), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '菲菲的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 213.093245}, {'datetime': datetime.datetime(2019, 3, 18, 22, 0, 45, 587857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '黑叮本第零个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 257.790156}, {'datetime': datetime.datetime(2019, 3, 18, 22, 2, 16, 950126), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 248.483868}, {'datetime': datetime.datetime(2019, 3, 18, 22, 2, 27, 701368), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 239.649354}, {'datetime': datetime.datetime(2019, 3, 18, 22, 2, 36, 982088), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 250.137573} ... displaying 10 of 102 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 18, 22, 58, 42, 964946), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 246.830268}, {'datetime': datetime.datetime(2019, 3, 18, 22, 59, 25, 698600), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 2010.714342}) +2019-03-18 23:00:02,917 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 22:00:00 +时间为:### 2019-03-18 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 22:00:00" and datetime< "2019-03-18 23:00:00" +2019-03-18 23:00:02,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,927 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:02,930 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 22:00:00" and datetime< "2019-03-18 23:00:00" +2019-03-18 23:00:02,930 INFO sqlalchemy.engine.base.Engine {} +****851 +all****851 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 22:00:00" and datetime< "2019-03-18 23:00:00" +2019-03-18 23:00:04,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,014 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,015 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,016 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:04,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,017 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:04,019 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 22:00:00" and datetime< "2019-03-18 23:00:00" +2019-03-18 23:00:04,019 INFO sqlalchemy.engine.base.Engine {} +****851 +all****851 + +all****580 + +all****271 + +****580 + +****168 + +Start domain data classification: +2019-03-18 23:00:05,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:05,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,154 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:05,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,155 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,158 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-18 23:00:05,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,161 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 23:00:05,162 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-18 23:00:05,162 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 23, 0), 'aircleaner': 0, 'airconditioner': 503, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 76, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-18 23:00:05,163 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-18 23:00:05,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:05,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:05,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,182 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:05,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,183 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:05,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,186 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-18 23:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:05,188 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 23:00:05,189 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-18 23:00:05,189 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 23, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 1, 'chat': 160, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 1} +2019-03-18 23:00:05,190 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-18 23:00:06,008 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-18 23:00:06,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,009 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-18 23:00:06,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,010 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-18 23:00:06,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,012 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-18 23:00:06,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,013 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:06,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-18 23:00:06,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-18 23:00:06,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,016 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-18 23:00:06,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-18 23:00:06,018 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-18 23:00:06,019 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-18 23:00:06,019 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 18, 23, 0), '0~500ms': "[('airconditioner', 501), ('universalcontrol', 76), ('playcontrol', 1), ('chat', 260), ('music', 5), ('baike', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-18 23:00:06,020 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190319: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190319" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 00 +***** + +2019-03-19 00:00:02,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,134 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,136 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 00:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 00:00:02,144 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 00:00:02,144 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 0, 225983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 242.360313} +2019-03-19 00:00:02,145 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 00:00:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,164 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,165 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 00:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,176 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,177 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,179 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,183 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 00:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,187 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 00:00:02,188 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 00:00:02,189 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 0, 225983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 242.360313} +2019-03-19 00:00:02,190 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-18 23:00:00 +时间为:### 2019-03-19 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 23:00:00" and datetime< "2019-03-19 00:00:00" +2019-03-19 00:00:02,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,225 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:02,229 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 23:00:00" and datetime< "2019-03-19 00:00:00" +2019-03-19 00:00:02,229 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 23:00:00" and datetime< "2019-03-19 00:00:00" +2019-03-19 00:00:03,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,248 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:03,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,249 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:03,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,250 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:03,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:03,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:03,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:03,253 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-18 23:00:00" and datetime< "2019-03-19 00:00:00" +2019-03-19 00:00:03,253 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-19 00:00:04,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,277 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,277 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:04,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,278 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:04,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,279 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:04,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:04,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:04,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,281 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 00:00:04,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,283 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 00:00:04,284 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 00:00:04,285 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 00:00:04,285 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 00:00:04,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:04,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:04,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,300 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:04,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:04,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,303 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 00:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:04,305 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 00:00:04,307 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 00:00:04,307 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-19 00:00:04,307 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 00:00:05,111 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 00:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 00:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,113 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 00:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,114 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 00:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 00:00:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,117 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 00:00:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,117 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 00:00:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 00:00:05,119 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 00:00:05,120 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 00:00:05,120 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 0, 0), '0~500ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 00:00:05,121 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 01 +***** + +2019-03-19 01:00:02,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,130 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,134 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 01:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,137 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 01:00:02,148 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 01:00:02,148 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 0, 0, 13, 193122), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.195289}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 13, 244566), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.65536}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 13, 276475), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 231.618555}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 13, 330988), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 250.190773}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 13, 426715), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 339.401018}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 19, 958394), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请使开机', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好吧,你说打开就打开。', 'cost_time_ms': 324.10449}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 21, 410567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 239.489144}, {'datetime': datetime.datetime(2019, 3, 19, 0, 0, 23, 21889), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 202.695015} ... displaying 10 of 888 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 0, 59, 57, 146992), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 250.052084}, {'datetime': datetime.datetime(2019, 3, 19, 0, 59, 57, 317022), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 338.513546}) +2019-03-19 01:00:02,184 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 01:00:02,200 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:02,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,202 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,203 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,206 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 01:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,214 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,215 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,216 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,217 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,219 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 01:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,222 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 01:00:02,223 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 01:00:02,223 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 0, 0, 21, 410567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 239.489144}, {'datetime': datetime.datetime(2019, 3, 19, 0, 1, 50, 374997), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '自洗模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 243.349254}, {'datetime': datetime.datetime(2019, 3, 19, 0, 1, 55, 507408), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 247.797385}, {'datetime': datetime.datetime(2019, 3, 19, 0, 2, 16, 994206), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 240.999333}, {'datetime': datetime.datetime(2019, 3, 19, 0, 3, 31, 466665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 225.636997}, {'datetime': datetime.datetime(2019, 3, 19, 0, 3, 31, 956451), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 240.028507}, {'datetime': datetime.datetime(2019, 3, 19, 0, 4, 16, 133274), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 231.784771}, {'datetime': datetime.datetime(2019, 3, 19, 0, 4, 27, 644882), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 229.682655} ... displaying 10 of 64 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 0, 59, 11, 278466), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 243.934792}, {'datetime': datetime.datetime(2019, 3, 19, 0, 59, 23, 94637), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 242.463925}) +2019-03-19 01:00:02,229 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 00:00:00 +时间为:### 2019-03-19 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 00:00:00" and datetime< "2019-03-19 01:00:00" +2019-03-19 01:00:02,239 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,239 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,240 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,241 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 00:00:00" and datetime< "2019-03-19 01:00:00" +2019-03-19 01:00:02,244 INFO sqlalchemy.engine.base.Engine {} +****889 +all****889 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 00:00:00" and datetime< "2019-03-19 01:00:00" +2019-03-19 01:00:03,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:03,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 00:00:00" and datetime< "2019-03-19 01:00:00" +2019-03-19 01:00:03,307 INFO sqlalchemy.engine.base.Engine {} +****889 +all****889 + +all****643 + +all****246 + +****643 + +****181 + +Start domain data classification: +2019-03-19 01:00:04,396 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,397 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,398 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,399 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:04,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,400 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:04,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:04,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,402 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 01:00:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,405 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 01:00:04,406 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 01:00:04,406 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 1, 0), 'aircleaner': 0, 'airconditioner': 566, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 76, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 01:00:04,406 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 01:00:04,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:04,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:04,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,422 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:04,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,423 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:04,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,425 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 01:00:04,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:04,428 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 01:00:04,429 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 01:00:04,429 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 1, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 3, 'chat': 172, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 0, 'music': 5, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-19 01:00:04,430 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 01:00:05,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 01:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,265 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 01:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,266 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 01:00:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,267 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 01:00:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:05,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 01:00:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 01:00:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,270 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 01:00:05,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 01:00:05,271 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 01:00:05,272 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 01:00:05,272 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 1, 0), '0~500ms': "[('airconditioner', 566), ('universalcontrol', 76), ('playcontrol', 1), ('chat', 236), ('music', 4), ('baike', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 01:00:05,273 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 02 +***** + +2019-03-19 02:00:02,863 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,864 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:02,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,865 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,866 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:02,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:02,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,870 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 02:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,873 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 02:00:02,885 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 02:00:02,885 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 1, 0, 7, 178804), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.241611}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 7, 271623), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.01199}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 7, 288994), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 234.988621}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 17, 88377), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.783502}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 17, 98686), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.968577}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 17, 158846), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 252.520291}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 17, 258477), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.849158}, {'datetime': datetime.datetime(2019, 3, 19, 1, 0, 17, 324022), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 374.202524} ... displaying 10 of 923 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 1, 59, 40, 270274), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 346.856546}, {'datetime': datetime.datetime(2019, 3, 19, 1, 59, 55, 871567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请将开启', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好吧,你说打开就打开。', 'cost_time_ms': 219.929924}) +2019-03-19 02:00:02,922 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 02:00:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,936 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,937 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,938 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,941 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 02:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,950 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,952 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,952 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,956 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 02:00:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,958 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 02:00:02,959 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 02:00:02,959 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 1, 0, 41, 506661), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你能放点', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 244.321734}, {'datetime': datetime.datetime(2019, 3, 19, 1, 2, 11, 558584), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 242.412506}, {'datetime': datetime.datetime(2019, 3, 19, 1, 2, 23, 22516), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 243.044122}, {'datetime': datetime.datetime(2019, 3, 19, 1, 2, 54, 362443), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调寇准', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 240.47919}, {'datetime': datetime.datetime(2019, 3, 19, 1, 2, 54, 443632), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行烹调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 239.547854}, {'datetime': datetime.datetime(2019, 3, 19, 1, 3, 5, 23567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 244.253272}, {'datetime': datetime.datetime(2019, 3, 19, 1, 3, 39, 246127), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 237.185909}, {'datetime': datetime.datetime(2019, 3, 19, 1, 6, 38, 738051), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '风调为制热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 237.649043} ... displaying 10 of 64 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 1, 52, 43, 988707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 237.091529}, {'datetime': datetime.datetime(2019, 3, 19, 1, 58, 2, 107381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 235.257084}) +2019-03-19 02:00:02,967 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 01:00:00 +时间为:### 2019-03-19 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 01:00:00" and datetime< "2019-03-19 02:00:00" +2019-03-19 02:00:02,975 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:02,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,976 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:02,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,977 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:02,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,977 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:02,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,978 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,979 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:02,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:02,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:02,980 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 01:00:00" and datetime< "2019-03-19 02:00:00" +2019-03-19 02:00:02,980 INFO sqlalchemy.engine.base.Engine {} +****923 +all****923 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 01:00:00" and datetime< "2019-03-19 02:00:00" +2019-03-19 02:00:04,103 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:04,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:04,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,105 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:04,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,106 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:04,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,107 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:04,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,107 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:04,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:04,109 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 01:00:00" and datetime< "2019-03-19 02:00:00" +2019-03-19 02:00:04,109 INFO sqlalchemy.engine.base.Engine {} +****923 +all****923 + +all****675 + +all****248 + +****675 + +****184 + +Start domain data classification: +2019-03-19 02:00:05,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,213 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:05,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,214 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:05,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:05,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:05,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,217 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:05,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,217 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 02:00:05,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,220 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 02:00:05,221 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 02:00:05,221 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 2, 0), 'aircleaner': 0, 'airconditioner': 590, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 85, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 02:00:05,221 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 02:00:05,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,236 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,237 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:05,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,240 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 02:00:05,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:05,242 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 02:00:05,244 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 02:00:05,244 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 2, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 174, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-19 02:00:05,244 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 02:00:06,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 02:00:06,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,086 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 02:00:06,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,087 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 02:00:06,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,087 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 02:00:06,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:06,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 02:00:06,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,090 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 02:00:06,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,090 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 02:00:06,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 02:00:06,093 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 02:00:06,094 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 02:00:06,094 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 2, 0), '0~500ms': "[('airconditioner', 590), ('universalcontrol', 85), ('aircleaner', 0), ('chat', 237), ('music', 4), ('baike', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 02:00:06,094 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 03 +***** + +2019-03-19 03:00:02,612 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,614 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,615 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,615 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,619 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 03:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,622 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 03:00:02,633 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 03:00:02,633 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 2, 0, 10, 732652), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 200.054158}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 10, 785676), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 198.644645}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 10, 824130), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 192.841199}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 10, 860162), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 192.608883}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 10, 986294), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 259.934514}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 44, 173216), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.172305}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 44, 188283), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.422021}, {'datetime': datetime.datetime(2019, 3, 19, 2, 0, 44, 236111), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.005137} ... displaying 10 of 875 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 2, 59, 45, 451522), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 194.259302}, {'datetime': datetime.datetime(2019, 3, 19, 2, 59, 45, 481935), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 191.329098}) +2019-03-19 03:00:02,669 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 03:00:02,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,686 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,687 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,687 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,689 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,690 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 03:00:02,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,699 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,699 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,700 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,701 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,703 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,704 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 03:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,706 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 03:00:02,707 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 03:00:02,707 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 2, 5, 43, 108371), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '资讯味蕾的旅行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 241.241821}, {'datetime': datetime.datetime(2019, 3, 19, 2, 5, 43, 387775), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '资讯列那的故事', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 239.239003}, {'datetime': datetime.datetime(2019, 3, 19, 2, 6, 11, 371434), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 348.6076}, {'datetime': datetime.datetime(2019, 3, 19, 2, 6, 32, 540591), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 237.373573}, {'datetime': datetime.datetime(2019, 3, 19, 2, 6, 43, 543131), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 233.649644}, {'datetime': datetime.datetime(2019, 3, 19, 2, 7, 34, 763279), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 232.579404}, {'datetime': datetime.datetime(2019, 3, 19, 2, 10, 38, 835296), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 248.577123}, {'datetime': datetime.datetime(2019, 3, 19, 2, 10, 59, 95001), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 247.108305} ... displaying 10 of 47 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 2, 59, 31, 562450), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 242.753271}, {'datetime': datetime.datetime(2019, 3, 19, 2, 59, 42, 615829), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 238.480737}) +2019-03-19 03:00:02,710 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 02:00:00 +时间为:### 2019-03-19 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 02:00:00" and datetime< "2019-03-19 03:00:00" +2019-03-19 03:00:02,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,718 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,719 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:02,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:02,722 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 02:00:00" and datetime< "2019-03-19 03:00:00" +2019-03-19 03:00:02,722 INFO sqlalchemy.engine.base.Engine {} +****875 +all****875 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 02:00:00" and datetime< "2019-03-19 03:00:00" +2019-03-19 03:00:03,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:03,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,806 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:03,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:03,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:03,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:03,809 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 02:00:00" and datetime< "2019-03-19 03:00:00" +2019-03-19 03:00:03,809 INFO sqlalchemy.engine.base.Engine {} +****875 +all****875 + +all****631 + +all****244 + +****631 + +****197 + +Start domain data classification: +2019-03-19 03:00:04,859 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:04,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,860 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:04,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,861 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:04,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,861 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:04,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,863 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:04,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,863 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:04,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,864 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,864 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 03:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,867 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 03:00:04,868 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 03:00:04,868 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 3, 0), 'aircleaner': 0, 'airconditioner': 547, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 84, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 03:00:04,868 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 03:00:04,883 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,884 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,885 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,886 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:04,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:04,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,888 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 03:00:04,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:04,890 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 03:00:04,892 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 03:00:04,892 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 3, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 3, 'chat': 192, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-19 03:00:04,892 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 03:00:05,753 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 03:00:05,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 03:00:05,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,755 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 03:00:05,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,755 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 03:00:05,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:05,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 03:00:05,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 03:00:05,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,758 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 03:00:05,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 03:00:05,760 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 03:00:05,761 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 03:00:05,761 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 3, 0), '0~500ms': "[('airconditioner', 547), ('universalcontrol', 84), ('aircleaner', 0), ('chat', 239), ('baike', 3), ('fm', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 03:00:05,762 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 04 +***** + +2019-03-19 04:00:02,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,360 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,364 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 04:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,367 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 04:00:02,378 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 04:00:02,378 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 3, 0, 7, 118378), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.419023}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 7, 136427), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.80116}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 7, 171032), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.601229}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 7, 174233), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.765289}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 17, 563356), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.607664}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 17, 592522), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.395969}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 17, 675452), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要除湿模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.383417}, {'datetime': datetime.datetime(2019, 3, 19, 3, 0, 27, 632618), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 247.618027} ... displaying 10 of 826 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 3, 59, 57, 751953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 185.014548}, {'datetime': datetime.datetime(2019, 3, 19, 3, 59, 59, 898245), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '奥克斯是奥克斯集团有限公司旗下品牌,是于2002年5月份投资10亿元成立的全资子公司,奥克斯是集团多元化战略中最关键的一环,是一家集研、产、供、销一体的大型企业:拥有通信研究院,手机生产基地、手机电池生产厂和通讯销售公司;目前已拥有国际先进的大型设备300余台,其中德国西门子公司自动贴片机15台; ... (426 characters truncated) ... 0亿新建占地300亩的塘厦奥克斯通讯科技产业园;届时手机的年产能达到1000万台。我们有理由相信:凭借奥克斯通讯的品牌优势、品质优势、计划体系优势、风险管控优势,在全体奥克斯员工长期不懈的努力下,在顺利实施产业升级战略、人才战略、国际化战略的基础上,奥克斯通讯公司终将发展成为全球移动十大品牌之一。', 'cost_time_ms': 253.03097}) +2019-03-19 04:00:02,412 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 04:00:02,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,428 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,432 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 04:00:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,442 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,443 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,446 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 04:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,448 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 04:00:02,449 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 04:00:02,449 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 3, 0, 54, 163580), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '无尽剑装', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 239.955831}, {'datetime': datetime.datetime(2019, 3, 19, 3, 1, 50, 744107), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 242.114574}, {'datetime': datetime.datetime(2019, 3, 19, 3, 2, 1, 865001), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 256.629078}, {'datetime': datetime.datetime(2019, 3, 19, 3, 4, 17, 557013), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.014946}, {'datetime': datetime.datetime(2019, 3, 19, 3, 4, 18, 62977), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 211.317219}, {'datetime': datetime.datetime(2019, 3, 19, 3, 4, 18, 641790), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 241.496046}, {'datetime': datetime.datetime(2019, 3, 19, 3, 4, 40, 262163), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 247.164976}, {'datetime': datetime.datetime(2019, 3, 19, 3, 4, 40, 372417), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 243.97363} ... displaying 10 of 37 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 3, 51, 0, 664952), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 199.506898}, {'datetime': datetime.datetime(2019, 3, 19, 3, 51, 20, 6247), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 240.024326}) +2019-03-19 04:00:02,455 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 03:00:00 +时间为:### 2019-03-19 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 03:00:00" and datetime< "2019-03-19 04:00:00" +2019-03-19 04:00:02,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,463 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,464 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,464 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,466 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,466 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:02,467 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 03:00:00" and datetime< "2019-03-19 04:00:00" +2019-03-19 04:00:02,467 INFO sqlalchemy.engine.base.Engine {} +****825 +all****825 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 03:00:00" and datetime< "2019-03-19 04:00:00" +2019-03-19 04:00:03,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:03,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,519 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:03,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,520 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:03,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,521 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:03,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:03,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:03,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:03,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:03,525 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 03:00:00" and datetime< "2019-03-19 04:00:00" +2019-03-19 04:00:03,525 INFO sqlalchemy.engine.base.Engine {} +****825 +all****825 + +all****601 + +all****224 + +****601 + +****187 + +Start domain data classification: +2019-03-19 04:00:04,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:04,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,566 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:04,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,567 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,567 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:04,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:04,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,570 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,570 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 04:00:04,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,573 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 04:00:04,574 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 04:00:04,574 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 4, 0), 'aircleaner': 0, 'airconditioner': 523, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 78, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 04:00:04,575 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 04:00:04,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:04,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,589 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:04,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,590 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,590 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:04,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:04,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,593 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 04:00:04,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:04,596 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 04:00:04,597 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 04:00:04,597 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 4, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 0, 'chat': 183, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 3, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-19 04:00:04,597 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 04:00:05,666 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 04:00:05,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,667 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 04:00:05,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,668 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 04:00:05,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,668 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 04:00:05,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,670 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:05,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,670 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 04:00:05,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,671 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 04:00:05,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,671 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 04:00:05,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 04:00:05,674 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 04:00:05,674 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 04:00:05,674 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 4, 0), '0~500ms': "[('airconditioner', 523), ('universalcontrol', 78), ('aircleaner', 0), ('chat', 220), ('music', 3), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 04:00:05,675 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 05 +***** + +2019-03-19 05:00:02,241 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,248 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 05:00:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,251 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 05:00:02,262 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 05:00:02,262 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 4, 0, 11, 897124), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.08458}, {'datetime': datetime.datetime(2019, 3, 19, 4, 0, 11, 969845), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 234.670381}, {'datetime': datetime.datetime(2019, 3, 19, 4, 0, 11, 999365), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.656953}, {'datetime': datetime.datetime(2019, 3, 19, 4, 0, 50, 670885), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 196.697889}, {'datetime': datetime.datetime(2019, 3, 19, 4, 0, 50, 689086), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 191.794921}, {'datetime': datetime.datetime(2019, 3, 19, 4, 1, 5, 387354), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.854913}, {'datetime': datetime.datetime(2019, 3, 19, 4, 1, 5, 449227), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 235.977369}, {'datetime': datetime.datetime(2019, 3, 19, 4, 1, 5, 484096), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 247.311327} ... displaying 10 of 846 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 4, 59, 45, 280697), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.731782}, {'datetime': datetime.datetime(2019, 3, 19, 4, 59, 45, 296637), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '求到除湿', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '肿么除湿啊……空调除湿功能。', 'cost_time_ms': 342.675158}) +2019-03-19 05:00:02,297 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 05:00:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,313 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,314 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,317 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 05:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,331 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 05:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,333 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 05:00:02,336 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 05:00:02,336 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 4, 2, 1, 625278), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开手动模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 245.131414}, {'datetime': datetime.datetime(2019, 3, 19, 4, 3, 40, 551648), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 240.913687}, {'datetime': datetime.datetime(2019, 3, 19, 4, 6, 41, 914255), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 234.277409}, {'datetime': datetime.datetime(2019, 3, 19, 4, 7, 3, 625787), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 234.874052}, {'datetime': datetime.datetime(2019, 3, 19, 4, 7, 57, 17192), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 242.737388}, {'datetime': datetime.datetime(2019, 3, 19, 4, 8, 27, 750856), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 239.060197}, {'datetime': datetime.datetime(2019, 3, 19, 4, 8, 28, 427604), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 234.519423}, {'datetime': datetime.datetime(2019, 3, 19, 4, 9, 13, 353463), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 236.029965} ... displaying 10 of 77 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 4, 59, 20, 846087), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 241.981194}, {'datetime': datetime.datetime(2019, 3, 19, 4, 59, 27, 461014), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体情况可找专业人员咨询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 242.833419}) +2019-03-19 05:00:02,346 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 04:00:00 +时间为:### 2019-03-19 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 04:00:00" and datetime< "2019-03-19 05:00:00" +2019-03-19 05:00:02,352 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,354 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,355 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,357 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:02,357 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 04:00:00" and datetime< "2019-03-19 05:00:00" +2019-03-19 05:00:02,358 INFO sqlalchemy.engine.base.Engine {} +****847 +all****847 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 04:00:00" and datetime< "2019-03-19 05:00:00" +2019-03-19 05:00:03,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:03,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,409 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:03,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,409 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:03,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:03,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:03,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:03,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:03,412 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 04:00:00" and datetime< "2019-03-19 05:00:00" +2019-03-19 05:00:03,413 INFO sqlalchemy.engine.base.Engine {} +****847 +all****847 + +all****588 + +all****259 + +****588 + +****182 + +Start domain data classification: +2019-03-19 05:00:04,499 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:04,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,500 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:04,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,501 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:04,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,502 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:04,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,503 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,504 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,505 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 05:00:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,508 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 05:00:04,509 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 05:00:04,509 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 5, 0), 'aircleaner': 0, 'airconditioner': 502, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 86, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 05:00:04,509 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 05:00:04,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,524 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,525 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:04,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,526 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:04,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,528 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,529 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 05:00:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:04,531 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 05:00:04,532 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 05:00:04,532 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 5, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 2, 'chat': 177, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 2, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 1, 'translate': 0, 'weather': 0} +2019-03-19 05:00:04,533 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 05:00:05,389 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 05:00:05,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,390 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 05:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 05:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,391 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 05:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:05,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,393 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 05:00:05,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,394 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 05:00:05,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,395 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 05:00:05,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 05:00:05,397 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 05:00:05,397 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 05:00:05,397 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 5, 0), '0~500ms': "[('airconditioner', 502), ('universalcontrol', 86), ('aircleaner', 0), ('chat', 253), ('baike', 1), ('music', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 05:00:05,398 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 06 +***** + +2019-03-19 06:00:02,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,937 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,939 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,940 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 06:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:02,943 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 06:00:02,954 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 06:00:02,955 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 5, 0, 25, 250757), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 239.527999}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 28, 321842), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 242.091974}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 29, 623712), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.004289}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 38, 915078), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 251.86833}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 57, 605175), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的。', 'cost_time_ms': 214.767142}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 59, 711720), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 208.198204}, {'datetime': datetime.datetime(2019, 3, 19, 5, 0, 59, 713108), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 204.769271}, {'datetime': datetime.datetime(2019, 3, 19, 5, 1, 1, 496621), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调打开', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 186.301307} ... displaying 10 of 841 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 5, 59, 51, 204621), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 239.189904}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 1, 933608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.762851}) +2019-03-19 06:00:02,989 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 06:00:03,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:03,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,003 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:03,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,004 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,004 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,005 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,007 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 06:00:03,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,017 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,018 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,018 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:03,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,021 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 06:00:03,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,024 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 06:00:03,025 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 06:00:03,025 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 5, 0, 25, 250757), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 239.527999}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 3, 471133), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 234.320179}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 15, 49879), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.378247}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 36, 7423), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 241.089186}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 47, 648573), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开启adas', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 236.242196}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 50, 488348), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 239.561142}, {'datetime': datetime.datetime(2019, 3, 19, 5, 3, 57, 470825), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 244.116825}, {'datetime': datetime.datetime(2019, 3, 19, 5, 4, 20, 174937), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 232.920572} ... displaying 10 of 107 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 5, 57, 9, 899858), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 239.347051}, {'datetime': datetime.datetime(2019, 3, 19, 5, 58, 47, 147465), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 244.203826}) +2019-03-19 06:00:03,035 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 05:00:00 +时间为:### 2019-03-19 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 05:00:00" and datetime< "2019-03-19 06:00:00" +2019-03-19 06:00:03,042 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,043 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,044 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,045 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:03,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:03,047 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 05:00:00" and datetime< "2019-03-19 06:00:00" +2019-03-19 06:00:03,047 INFO sqlalchemy.engine.base.Engine {} +****840 +all****840 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 05:00:00" and datetime< "2019-03-19 06:00:00" +2019-03-19 06:00:04,129 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:04,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,131 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,131 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,133 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:04,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:04,135 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 05:00:00" and datetime< "2019-03-19 06:00:00" +2019-03-19 06:00:04,135 INFO sqlalchemy.engine.base.Engine {} +****840 +all****840 + +all****540 + +all****300 + +****540 + +****193 + +Start domain data classification: +2019-03-19 06:00:05,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:05,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,183 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,184 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,185 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:05,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:05,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,188 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 06:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,191 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 06:00:05,192 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 06:00:05,192 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 6, 0), 'aircleaner': 0, 'airconditioner': 476, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 63, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 06:00:05,192 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 06:00:05,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,209 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:05,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,210 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:05,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:05,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:05,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:05,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,213 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 06:00:05,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:05,215 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 06:00:05,216 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 06:00:05,216 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 6, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 1, 'chat': 179, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 7, 'news': 2, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 3} +2019-03-19 06:00:05,217 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 06:00:06,056 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 06:00:06,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,057 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 06:00:06,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,058 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 06:00:06,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,059 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 06:00:06,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,060 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:06,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 06:00:06,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 06:00:06,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,062 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 06:00:06,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 06:00:06,064 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 06:00:06,065 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 06:00:06,065 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 6, 0), '0~500ms': "[('airconditioner', 476), ('universalcontrol', 64), ('playcontrol', 1), ('chat', 285), ('music', 6), ('weather', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 06:00:06,065 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 07 +***** + +2019-03-19 07:00:02,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:02,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,737 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,738 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,738 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:02,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,742 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 07:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,745 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 07:00:02,757 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 07:00:02,757 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 6, 0, 22, 523150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 207.381666}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 22, 556896), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 201.115905}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 22, 627051), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 195.991382}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 22, 655972), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 180.767458}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 24, 387067), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调打开', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 195.729783}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 33, 569175), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请使开启', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好吧,你说打开就打开。', 'cost_time_ms': 214.278543}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 34, 263921), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行核查', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 237.583464}, {'datetime': datetime.datetime(2019, 3, 19, 6, 0, 35, 635856), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.724913} ... displaying 10 of 885 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 6, 59, 45, 498802), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 215.284479}, {'datetime': datetime.datetime(2019, 3, 19, 6, 59, 45, 597471), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 306.496339}) +2019-03-19 07:00:02,793 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 07:00:02,807 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,809 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,809 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,812 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 07:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,822 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,823 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:02,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,824 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,826 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 07:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,828 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 07:00:02,830 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 07:00:02,830 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 6, 0, 34, 263921), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行核查', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 237.583464}, {'datetime': datetime.datetime(2019, 3, 19, 6, 2, 29, 741111), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设置为自洁模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 399.680542}, {'datetime': datetime.datetime(2019, 3, 19, 6, 2, 38, 737334), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 234.011823}, {'datetime': datetime.datetime(2019, 3, 19, 6, 3, 20, 852275), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 240.873118}, {'datetime': datetime.datetime(2019, 3, 19, 6, 4, 2, 136194), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我吃醋', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 204.934525}, {'datetime': datetime.datetime(2019, 3, 19, 6, 4, 56, 386675), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 245.881523}, {'datetime': datetime.datetime(2019, 3, 19, 6, 5, 5, 537885), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 237.084952}, {'datetime': datetime.datetime(2019, 3, 19, 6, 6, 21, 13477), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 238.504902} ... displaying 10 of 72 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 6, 59, 11, 635318), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 233.185213}, {'datetime': datetime.datetime(2019, 3, 19, 6, 59, 33, 412388), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 240.867626}) +2019-03-19 07:00:02,833 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 06:00:00 +时间为:### 2019-03-19 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 06:00:00" and datetime< "2019-03-19 07:00:00" +2019-03-19 07:00:02,844 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,845 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,846 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:02,849 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 06:00:00" and datetime< "2019-03-19 07:00:00" +2019-03-19 07:00:02,849 INFO sqlalchemy.engine.base.Engine {} +****886 +all****886 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 06:00:00" and datetime< "2019-03-19 07:00:00" +2019-03-19 07:00:03,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:03,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:03,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,918 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:03,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,919 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:03,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,920 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:03,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:03,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:03,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:03,922 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 06:00:00" and datetime< "2019-03-19 07:00:00" +2019-03-19 07:00:03,922 INFO sqlalchemy.engine.base.Engine {} +****886 +all****886 + +all****598 + +all****288 + +****598 + +****216 + +Start domain data classification: +2019-03-19 07:00:04,969 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,970 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:04,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,971 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:04,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,972 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:04,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,973 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:04,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,974 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:04,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,975 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 07:00:04,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,977 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 07:00:04,978 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 07:00:04,979 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 7, 0), 'aircleaner': 0, 'airconditioner': 502, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 95, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 07:00:04,979 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 07:00:04,993 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:04,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:04,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,995 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:04,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,995 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:04,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:04,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:04,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:04,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:04,998 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 07:00:04,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,001 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 07:00:05,002 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 07:00:05,002 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 7, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 1, 'chat': 198, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 5, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 10} +2019-03-19 07:00:05,003 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 07:00:05,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 07:00:05,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 07:00:05,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,851 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 07:00:05,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,852 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 07:00:05,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:05,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 07:00:05,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 07:00:05,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,855 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 07:00:05,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 07:00:05,857 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 07:00:05,858 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 07:00:05,858 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 7, 0), '0~500ms': "[('airconditioner', 501), ('universalcontrol', 93), ('playcontrol', 1), ('chat', 270), ('weather', 10), ('music', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 07:00:05,858 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 08 +***** + +2019-03-19 08:00:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,506 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,510 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 08:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,513 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 08:00:02,520 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 08:00:02,520 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 7, 0, 7, 185570), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 251.36177}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 10, 113224), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.293665}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 10, 259815), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.009024}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 18, 223141), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '显示开', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_lighton', 'response_data': 'success', 'cost_time_ms': 202.245063}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 18, 367859), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '清新开启', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '最近很多人走这条路线哦。', 'cost_time_ms': 217.451559}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 19, 560244), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 244.918312}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 20, 830822), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.286894}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 30, 666012), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.213477} ... displaying 10 of 465 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 7, 59, 53, 862665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 372.782771}, {'datetime': datetime.datetime(2019, 3, 19, 7, 59, 53, 901498), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 333.911905}) +2019-03-19 08:00:02,539 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 08:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,552 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,553 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,555 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 08:00:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,563 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,565 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,565 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,568 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 08:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,571 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 08:00:02,571 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 08:00:02,572 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 7, 0, 7, 185570), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 251.36177}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 19, 560244), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 244.918312}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 50, 227408), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 336.381205}, {'datetime': datetime.datetime(2019, 3, 19, 7, 0, 50, 234787), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 246.354057}, {'datetime': datetime.datetime(2019, 3, 19, 7, 1, 11, 450492), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 237.892394}, {'datetime': datetime.datetime(2019, 3, 19, 7, 2, 1, 99962), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '取消开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 237.522286}, {'datetime': datetime.datetime(2019, 3, 19, 7, 2, 1, 749381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 233.091766}, {'datetime': datetime.datetime(2019, 3, 19, 7, 4, 1, 753168), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 2009.752755} ... displaying 10 of 26 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 7, 40, 52, 107716), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这是俺满足的一个人', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 255.454988}, {'datetime': datetime.datetime(2019, 3, 19, 7, 57, 13, 191240), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '梦的传奇', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 196.995487}) +2019-03-19 08:00:02,585 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 07:00:00 +时间为:### 2019-03-19 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 07:00:00" and datetime< "2019-03-19 08:00:00" +2019-03-19 08:00:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 07:00:00" and datetime< "2019-03-19 08:00:00" +2019-03-19 08:00:02,597 INFO sqlalchemy.engine.base.Engine {} +****465 +all****465 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 07:00:00" and datetime< "2019-03-19 08:00:00" +2019-03-19 08:00:03,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:03,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:03,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,682 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:03,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,683 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:03,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,684 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:03,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:03,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:03,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:03,686 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 07:00:00" and datetime< "2019-03-19 08:00:00" +2019-03-19 08:00:03,686 INFO sqlalchemy.engine.base.Engine {} +****465 +all****465 + +all****337 + +all****128 + +****337 + +****102 + +Start domain data classification: +2019-03-19 08:00:04,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:04,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:04,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,735 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,738 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 08:00:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,741 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 08:00:04,742 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 08:00:04,742 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 8, 0), 'aircleaner': 0, 'airconditioner': 307, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 30, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 08:00:04,742 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 08:00:04,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:04,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,760 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:04,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,761 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,762 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,765 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 08:00:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:04,767 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 08:00:04,768 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 08:00:04,768 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 8, 0), 'almanac': 0, 'ancient_poem': 7, 'astro': 0, 'baike': 3, 'chat': 89, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 1, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 2} +2019-03-19 08:00:04,769 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 08:00:05,602 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 08:00:05,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 08:00:05,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 08:00:05,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 08:00:05,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:05,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 08:00:05,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 08:00:05,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,608 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 08:00:05,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 08:00:05,610 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 08:00:05,611 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 08:00:05,611 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 8, 0), '0~500ms': "[('airconditioner', 306), ('universalcontrol', 30), ('aircleaner', 0), ('chat', 113), ('ancient_poem', 7), ('baike', 3)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 08:00:05,611 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 09 +***** + +2019-03-19 09:00:02,182 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,184 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,185 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,185 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,188 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,189 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 09:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,192 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 09:00:02,199 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 09:00:02,199 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 8, 0, 8, 314790), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.229486}, {'datetime': datetime.datetime(2019, 3, 19, 8, 0, 14, 879608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 188.909023}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 4, 126462), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.763518}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 4, 246561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 388.240813}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 4, 324514), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 324.11622}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 4, 359975), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 331.383207}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 4, 387255), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 381.358636}, {'datetime': datetime.datetime(2019, 3, 19, 8, 1, 15, 399848), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.454238} ... displaying 10 of 444 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 8, 59, 38, 169366), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 366.550464}, {'datetime': datetime.datetime(2019, 3, 19, 8, 59, 45, 967140), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好,我等你就是。', 'cost_time_ms': 210.328237}) +2019-03-19 09:00:02,217 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 09:00:02,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,230 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:02,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,231 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,234 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 09:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,242 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,244 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,248 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 09:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,250 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 09:00:02,251 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 09:00:02,251 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 8, 1, 24, 721415), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 243.125161}, {'datetime': datetime.datetime(2019, 3, 19, 8, 4, 54, 770509), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '可是空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 193.452142}, {'datetime': datetime.datetime(2019, 3, 19, 8, 7, 18, 76387), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '海月明珠有', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 402.31417}, {'datetime': datetime.datetime(2019, 3, 19, 8, 15, 50, 212045), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '袖石东海', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 242.811853}, {'datetime': datetime.datetime(2019, 3, 19, 8, 21, 7, 240370), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请将关新风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 239.371776}, {'datetime': datetime.datetime(2019, 3, 19, 8, 36, 29, 498095), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调怎么做', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 203.500344}, {'datetime': datetime.datetime(2019, 3, 19, 8, 37, 20, 901668), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 242.390674}, {'datetime': datetime.datetime(2019, 3, 19, 8, 37, 31, 951324), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 243.323872} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 8, 46, 57, 152517), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '世界上谁最讨厌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 211.309976}, {'datetime': datetime.datetime(2019, 3, 19, 8, 55, 20, 482253), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吵到制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 236.32691}) +2019-03-19 09:00:02,252 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 08:00:00 +时间为:### 2019-03-19 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 08:00:00" and datetime< "2019-03-19 09:00:00" +2019-03-19 09:00:02,259 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,259 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,261 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,263 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,263 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:02,264 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 08:00:00" and datetime< "2019-03-19 09:00:00" +2019-03-19 09:00:02,264 INFO sqlalchemy.engine.base.Engine {} +****444 +all****444 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 08:00:00" and datetime< "2019-03-19 09:00:00" +2019-03-19 09:00:03,360 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:03,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:03,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,362 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:03,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,363 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:03,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:03,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:03,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:03,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:03,366 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 08:00:00" and datetime< "2019-03-19 09:00:00" +2019-03-19 09:00:03,366 INFO sqlalchemy.engine.base.Engine {} +****444 +all****444 + +all****298 + +all****146 + +****298 + +****132 + +Start domain data classification: +2019-03-19 09:00:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,408 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,409 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,412 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 09:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,415 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 09:00:04,416 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 09:00:04,416 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 9, 0), 'aircleaner': 0, 'airconditioner': 262, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 34, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 09:00:04,416 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 09:00:04,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,438 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 09:00:04,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:04,440 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 09:00:04,442 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 09:00:04,442 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 9, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 6, 'chat': 79, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 12, 'joke': 0, 'music': 35, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-19 09:00:04,442 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 09:00:05,295 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 09:00:05,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,296 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 09:00:05,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,297 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 09:00:05,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,297 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 09:00:05,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,299 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:05,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,299 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 09:00:05,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 09:00:05,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,301 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 09:00:05,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 09:00:05,303 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 09:00:05,303 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 09:00:05,303 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 9, 0), '0~500ms': "[('airconditioner', 262), ('universalcontrol', 34), ('playcontrol', 2), ('chat', 93), ('music', 33), ('holiday', 12)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 09:00:05,304 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 10 +***** + +2019-03-19 10:00:02,939 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,942 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:02,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,943 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:02,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:02,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,948 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 10:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:02,955 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 10:00:02,964 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 10:00:02,964 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 9, 0, 27, 94815), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.889238}, {'datetime': datetime.datetime(2019, 3, 19, 9, 0, 27, 139496), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.298358}, {'datetime': datetime.datetime(2019, 3, 19, 9, 0, 27, 222735), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 323.844748}, {'datetime': datetime.datetime(2019, 3, 19, 9, 0, 38, 238096), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 246.836393}, {'datetime': datetime.datetime(2019, 3, 19, 9, 0, 49, 508768), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 241.318564}, {'datetime': datetime.datetime(2019, 3, 19, 9, 0, 49, 572755), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.952441}, {'datetime': datetime.datetime(2019, 3, 19, 9, 1, 0, 188552), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天几号', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_date', 'response_data': '今天是3月19日,星期二。', 'cost_time_ms': 221.637986}, {'datetime': datetime.datetime(2019, 3, 19, 9, 1, 10, 15409), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.142115} ... displaying 10 of 588 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 1, 28624), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.806775}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 1, 278033), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 284.763362}) +2019-03-19 10:00:03,004 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 10:00:03,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,017 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:03,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,018 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:03,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,019 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:03,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:03,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,021 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 10:00:03,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,030 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,031 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,032 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,032 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:03,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,034 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,035 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 10:00:03,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,037 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 10:00:03,038 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 10:00:03,038 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 9, 2, 37, 635806), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '强温度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 245.242224}, {'datetime': datetime.datetime(2019, 3, 19, 9, 13, 35, 623023), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '草沁人', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 243.813669}, {'datetime': datetime.datetime(2019, 3, 19, 9, 16, 6, 130828), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '搁这空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 245.542129}, {'datetime': datetime.datetime(2019, 3, 19, 9, 16, 20, 228716), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '标杆企业最新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 249.717366}, {'datetime': datetime.datetime(2019, 3, 19, 9, 20, 30, 175765), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '张伟张益达', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 241.015048}, {'datetime': datetime.datetime(2019, 3, 19, 9, 20, 30, 310208), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '张伟张益达', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 360.914328}, {'datetime': datetime.datetime(2019, 3, 19, 9, 20, 30, 488107), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '张伟张益达', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 241.65436}, {'datetime': datetime.datetime(2019, 3, 19, 9, 21, 18, 332550), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先前就给他五个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 242.347684} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 9, 38, 58, 549857), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 243.800016}, {'datetime': datetime.datetime(2019, 3, 19, 9, 57, 43, 806514), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请声控', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 213.805165}) +2019-03-19 10:00:03,040 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 09:00:00 +时间为:### 2019-03-19 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 09:00:00" and datetime< "2019-03-19 10:00:00" +2019-03-19 10:00:03,051 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:03,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,052 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,052 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,053 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:03,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:03,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:03,055 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 09:00:00" and datetime< "2019-03-19 10:00:00" +2019-03-19 10:00:03,055 INFO sqlalchemy.engine.base.Engine {} +****586 +all****586 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 09:00:00" and datetime< "2019-03-19 10:00:00" +2019-03-19 10:00:04,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:04,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,096 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:04,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,097 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:04,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:04,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:04,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:04,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:04,100 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 09:00:00" and datetime< "2019-03-19 10:00:00" +2019-03-19 10:00:04,100 INFO sqlalchemy.engine.base.Engine {} +****586 +all****586 + +all****290 + +all****296 + +****290 + +****277 + +Start domain data classification: +2019-03-19 10:00:05,142 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,143 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:05,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,144 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:05,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,145 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:05,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:05,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:05,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,147 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:05,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,148 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 10:00:05,148 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,150 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 10:00:05,151 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 10:00:05,151 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 10, 0), 'aircleaner': 0, 'airconditioner': 235, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 5, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 50, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 10:00:05,152 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 10:00:05,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:05,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:05,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,172 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:05,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,173 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:05,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:05,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:05,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:05,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,176 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 10:00:05,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:05,178 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 10:00:05,180 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 10:00:05,180 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 10, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 6, 'chat': 152, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 45, 'joke': 0, 'music': 42, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 31} +2019-03-19 10:00:05,180 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 10:00:06,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 10:00:06,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,019 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 10:00:06,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,020 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 10:00:06,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 10:00:06,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:06,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 10:00:06,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,023 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 10:00:06,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,024 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 10:00:06,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 10:00:06,026 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 10:00:06,027 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 10:00:06,029 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 10, 0), '0~500ms': "[('airconditioner', 235), ('universalcontrol', 49), ('playcontrol', 5), ('chat', 170), ('holiday', 43), ('music', 39)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('holiday', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('universalcontrol', 1), ('aircleaner', 0), ('weather', 5), ('music', 2), ('holiday', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 10:00:06,030 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 11 +***** + +2019-03-19 11:00:02,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:02,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:02,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,697 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,698 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 11:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,704 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 11:00:02,712 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 11:00:02,712 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 10, 0, 12, 582133), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '的歌吗', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 327.6054}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 14, 62661), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 254.296702}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 32, 742786), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 228.909869}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 32, 865478), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.829852}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 32, 897721), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 230.939555}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 41, 162060), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 208.686984}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 41, 173710), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 204.388523}, {'datetime': datetime.datetime(2019, 3, 19, 10, 0, 41, 392829), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 351.338366} ... displaying 10 of 501 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 10, 59, 23, 811523), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'itisperfect', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 245.40746}, {'datetime': datetime.datetime(2019, 3, 19, 10, 59, 24, 838866), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 238.200851}) +2019-03-19 11:00:02,733 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 11:00:02,745 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,745 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,746 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,747 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:02,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,749 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,749 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:02,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,750 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 11:00:02,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,759 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,759 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,761 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,761 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,763 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:02,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,766 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 11:00:02,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,769 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 11:00:02,770 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 11:00:02,771 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 10, 2, 9, 33169), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '智能风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 248.305215}, {'datetime': datetime.datetime(2019, 3, 19, 10, 5, 19, 920432), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '暗克斯康铁路', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 329.184585}, {'datetime': datetime.datetime(2019, 3, 19, 10, 6, 8, 325349), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式调为', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 245.667504}, {'datetime': datetime.datetime(2019, 3, 19, 10, 6, 27, 88542), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 248.395247}, {'datetime': datetime.datetime(2019, 3, 19, 10, 11, 32, 102180), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 2008.638517}, {'datetime': datetime.datetime(2019, 3, 19, 10, 14, 44, 940849), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '十五秒之内', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 214.364451}, {'datetime': datetime.datetime(2019, 3, 19, 10, 23, 14, 981839), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '快进两分钟', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 206.394631}, {'datetime': datetime.datetime(2019, 3, 19, 10, 24, 25, 958848), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 195.602157} ... displaying 10 of 21 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 10, 59, 17, 248959), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 2012.9264930000002}, {'datetime': datetime.datetime(2019, 3, 19, 10, 59, 23, 811523), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'itisperfect', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 245.40746}) +2019-03-19 11:00:02,774 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 10:00:00 +时间为:### 2019-03-19 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 10:00:00" and datetime< "2019-03-19 11:00:00" +2019-03-19 11:00:02,784 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,786 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,787 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:02,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:02,790 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 10:00:00" and datetime< "2019-03-19 11:00:00" +2019-03-19 11:00:02,790 INFO sqlalchemy.engine.base.Engine {} +****503 +all****503 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 10:00:00" and datetime< "2019-03-19 11:00:00" +2019-03-19 11:00:03,895 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:03,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,896 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:03,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,897 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:03,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,898 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:03,898 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:03,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:03,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:03,901 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 10:00:00" and datetime< "2019-03-19 11:00:00" +2019-03-19 11:00:03,901 INFO sqlalchemy.engine.base.Engine {} +****503 +all****503 + +all****252 + +all****251 + +****252 + +****230 + +Start domain data classification: +2019-03-19 11:00:04,954 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:04,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,956 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,956 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:04,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,959 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 11:00:04,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,962 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 11:00:04,963 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 11:00:04,963 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 11, 0), 'aircleaner': 0, 'airconditioner': 220, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 4, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 28, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 11:00:04,963 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 11:00:04,977 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:04,977 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,978 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:04,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,978 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:04,978 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,979 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,980 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,981 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,981 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 11:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:04,984 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 11:00:04,985 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 11:00:04,985 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 11, 0), 'almanac': 0, 'ancient_poem': 1, 'astro': 0, 'baike': 2, 'chat': 132, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 20, 'joke': 0, 'music': 43, 'news': 0, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 30} +2019-03-19 11:00:04,986 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 11:00:05,807 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 11:00:05,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 11:00:05,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,809 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 11:00:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,809 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 11:00:05,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:05,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 11:00:05,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 11:00:05,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,812 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 11:00:05,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 11:00:05,814 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 11:00:05,815 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 11:00:05,815 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 11, 0), '0~500ms': "[('airconditioner', 218), ('universalcontrol', 28), ('playcontrol', 4), ('chat', 149), ('music', 41), ('weather', 26)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 4), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 4), ('music', 1), ('science', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 11:00:05,815 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 12 +***** + +2019-03-19 12:00:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,391 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 12:00:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 12:00:02,399 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 12:00:02,399 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 11, 0, 34, 536692), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '今天的天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温20度到26度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 452.884905}, {'datetime': datetime.datetime(2019, 3, 19, 11, 1, 41, 549522), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来首小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '和你一起听小苹果,就是一种美好。', 'cost_time_ms': 385.116405}, {'datetime': datetime.datetime(2019, 3, 19, 11, 1, 41, 804608), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来首小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '现在来欣赏小苹果吧!', 'cost_time_ms': 305.632898}, {'datetime': datetime.datetime(2019, 3, 19, 11, 1, 42, 954276), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来首小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听小苹果吧。', 'cost_time_ms': 379.105874}, {'datetime': datetime.datetime(2019, 3, 19, 11, 1, 42, 998324), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来首小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '现在来欣赏小苹果吧!', 'cost_time_ms': 281.35801}, {'datetime': datetime.datetime(2019, 3, 19, 11, 2, 7, 515584), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '唐诗吟诵', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代白居易的作品,《长恨歌》:', 'cost_time_ms': 210.294829}, {'datetime': datetime.datetime(2019, 3, 19, 11, 2, 52, 352194), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '好久了', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '还挺有毅力。', 'cost_time_ms': 166.33151}, {'datetime': datetime.datetime(2019, 3, 19, 11, 2, 56, 453019), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 390.730607} ... displaying 10 of 290 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 11, 59, 31, 564681), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 197.009341}, {'datetime': datetime.datetime(2019, 3, 19, 11, 59, 40, 807369), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 201.716629}) +2019-03-19 12:00:02,414 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 12:00:02,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,433 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,433 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,436 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 12:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,445 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,446 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,448 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,449 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,450 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,451 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,452 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:02,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,453 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 12:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,456 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 12:00:02,456 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 12:00:02,457 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 11, 7, 3, 748791), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '唐诗蝉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 206.816363}, {'datetime': datetime.datetime(2019, 3, 19, 11, 14, 3, 421592), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '经常模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 243.946033}, {'datetime': datetime.datetime(2019, 3, 19, 11, 14, 4, 776783), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 214.666853}, {'datetime': datetime.datetime(2019, 3, 19, 11, 17, 48, 800629), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 209.419256}, {'datetime': datetime.datetime(2019, 3, 19, 11, 18, 28, 411085), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': 'ineedtogotoaday一七五', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 227.937525}, {'datetime': datetime.datetime(2019, 3, 19, 11, 19, 10, 78783), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十三点五十八分', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 223.81267}, {'datetime': datetime.datetime(2019, 3, 19, 11, 19, 10, 142207), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '三点五十八分', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 209.06043}, {'datetime': datetime.datetime(2019, 3, 19, 11, 19, 10, 361351), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十三点五十八分', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 232.960858} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 11, 44, 50, 1170), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '风调模式设为制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 392.057274}, {'datetime': datetime.datetime(2019, 3, 19, 11, 58, 38, 149001), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '通常模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 240.550301}) +2019-03-19 12:00:02,458 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 11:00:00 +时间为:### 2019-03-19 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 11:00:00" and datetime< "2019-03-19 12:00:00" +2019-03-19 12:00:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,476 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,477 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:02,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,478 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,479 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,480 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:02,481 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 11:00:00" and datetime< "2019-03-19 12:00:00" +2019-03-19 12:00:02,481 INFO sqlalchemy.engine.base.Engine {} +****290 +all****290 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 11:00:00" and datetime< "2019-03-19 12:00:00" +2019-03-19 12:00:03,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:03,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,623 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,623 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:03,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:03,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:03,626 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 11:00:00" and datetime< "2019-03-19 12:00:00" +2019-03-19 12:00:03,626 INFO sqlalchemy.engine.base.Engine {} +****290 +all****290 + +all****158 + +all****132 + +****158 + +****118 + +Start domain data classification: +2019-03-19 12:00:04,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,670 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,671 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,673 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 12:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,676 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 12:00:04,677 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 12:00:04,677 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 12, 0), 'aircleaner': 0, 'airconditioner': 129, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 29, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 12:00:04,677 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 12:00:04,692 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,693 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,693 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,694 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,695 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,696 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,697 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 12:00:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:04,699 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 12:00:04,700 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 12:00:04,700 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 12, 0), 'almanac': 1, 'ancient_poem': 3, 'astro': 1, 'baike': 4, 'chat': 84, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 11, 'news': 2, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 1} +2019-03-19 12:00:04,700 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 12:00:05,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 12:00:05,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 12:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,515 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 12:00:05,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,516 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 12:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,522 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 12:00:05,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 12:00:05,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,524 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 12:00:05,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 12:00:05,526 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 12:00:05,527 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 12:00:05,527 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 12, 0), '0~500ms': "[('airconditioner', 128), ('universalcontrol', 28), ('aircleaner', 0), ('chat', 96), ('music', 9), ('ancient_poem', 3)]", '1000~2000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('baike', 1), ('chat', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 12:00:05,528 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 13 +***** + +2019-03-19 13:00:02,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,182 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,184 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,187 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,188 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 13:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,191 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 13:00:02,196 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 13:00:02,196 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 12, 0, 14, 240733), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 236.412294}, {'datetime': datetime.datetime(2019, 3, 19, 12, 0, 14, 619066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 235.889607}, {'datetime': datetime.datetime(2019, 3, 19, 12, 0, 15, 101371), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 240.22252}, {'datetime': datetime.datetime(2019, 3, 19, 12, 0, 16, 253730), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制暖模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.284331}, {'datetime': datetime.datetime(2019, 3, 19, 12, 0, 44, 538064), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '启动项目。', 'cost_time_ms': 203.807371}, {'datetime': datetime.datetime(2019, 3, 19, 12, 1, 7, 380156), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 244.522408}, {'datetime': datetime.datetime(2019, 3, 19, 12, 1, 25, 548424), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 194.423443}, {'datetime': datetime.datetime(2019, 3, 19, 12, 1, 27, 20255), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 207.697003} ... displaying 10 of 295 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 12, 41, 5, 68383), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 161.782229}, {'datetime': datetime.datetime(2019, 3, 19, 12, 41, 8, 283461), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 212.601287}) +2019-03-19 13:00:02,209 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 13:00:02,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,224 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,229 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 13:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,239 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,242 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 13:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,245 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 13:00:02,245 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 13:00:02,245 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 12, 19, 17, 853223), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 254.671293}, {'datetime': datetime.datetime(2019, 3, 19, 12, 20, 1, 391003), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 248.669894}, {'datetime': datetime.datetime(2019, 3, 19, 12, 21, 2, 272204), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 248.676401}, {'datetime': datetime.datetime(2019, 3, 19, 12, 22, 4, 47627), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '在宁波', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 250.36035}, {'datetime': datetime.datetime(2019, 3, 19, 12, 23, 24, 86682), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置到制冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 232.530278}) +2019-03-19 13:00:02,246 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 12:00:00 +时间为:### 2019-03-19 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 12:00:00" and datetime< "2019-03-19 13:00:00" +2019-03-19 13:00:02,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,254 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,255 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,256 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 12:00:00" and datetime< "2019-03-19 13:00:00" +2019-03-19 13:00:02,259 INFO sqlalchemy.engine.base.Engine {} +****295 +all****295 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 12:00:00" and datetime< "2019-03-19 13:00:00" +2019-03-19 13:00:03,370 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:03,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:03,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,372 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,372 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,373 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:03,375 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 12:00:00" and datetime< "2019-03-19 13:00:00" +2019-03-19 13:00:03,375 INFO sqlalchemy.engine.base.Engine {} +****295 +all****295 + +all****180 + +all****115 + +****180 + +****110 + +Start domain data classification: +2019-03-19 13:00:04,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,409 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,410 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,412 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 13:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,415 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 13:00:04,416 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 13:00:04,416 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 13, 0), 'aircleaner': 0, 'airconditioner': 155, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 25, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 13:00:04,416 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 13:00:04,430 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,432 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,432 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,433 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,435 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 13:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:04,437 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 13:00:04,438 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 13:00:04,439 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 13, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 66, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 30} +2019-03-19 13:00:04,439 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 13:00:05,263 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 13:00:05,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 13:00:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,265 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 13:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,266 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 13:00:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:05,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 13:00:05,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 13:00:05,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,269 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 13:00:05,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 13:00:05,270 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 13:00:05,271 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 13:00:05,271 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 13, 0), '0~500ms': "[('airconditioner', 152), ('universalcontrol', 25), ('aircleaner', 0), ('chat', 70), ('weather', 27), ('almanac', 1)]", '1000~2000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('weather', 3), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 13:00:05,272 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 14 +***** + +2019-03-19 14:00:02,830 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:02,831 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,832 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,834 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,835 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,837 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,840 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 14:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,843 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 14:00:02,853 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 14:00:02,853 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 13, 34, 32, 790629), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '我准备好零食,一起来听儿童故事,爱探险的朵拉吧。', 'cost_time_ms': 431.305566}, {'datetime': datetime.datetime(2019, 3, 19, 13, 34, 34, 917861), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '我要听故事我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听可爱蓝精灵的故事-麦甜吧。', 'cost_time_ms': 374.581974}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 4, 698921), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '和你一起听小苹果,就是一种美好。', 'cost_time_ms': 368.102093}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 4, 749947), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '小苹果', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '每次听,心情都快乐到飞起呢!', 'cost_time_ms': 330.747463}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 29, 40297), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '霸王别姬', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了屠洪刚的霸王别姬,陪你一起听哦。', 'cost_time_ms': 453.699336}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 55, 770091), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '潘多拉', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '丹麦珠宝品牌pandora潘多拉珠宝是全球三大珠宝品牌之一。由于其明星产品moments手链与串饰的自由搭配为女性带来了铭记重要时刻的方式,从而使pandora潘多拉珠宝获得了世界各地女性消费者的喜爱。pandora潘多拉珠宝始于1982年,由丹麦金匠perenevoldsen和他的妻子winni ... (51 characters truncated) ... 之一,启发世界各地的女性展现她们的个性和故事。截止到2016年,pandora已经拥有了超过150万的线上粉丝,品牌受众覆盖2.31亿人。pandora潘多拉珠宝在中国不仅拥有超过百家专卖店,同时也在官方网站开通了销售渠道。2018年6月,《2018年全球奢侈品力量排行榜》发布,潘多拉排名第20。', 'cost_time_ms': 220.542387}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 56, 163571), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '能给我吗', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你需要什么呢?', 'cost_time_ms': 215.789432}, {'datetime': datetime.datetime(2019, 3, 19, 13, 36, 56, 496656), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '潘多拉', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '丹麦珠宝品牌pandora潘多拉珠宝是全球三大珠宝品牌之一。由于其明星产品moments手链与串饰的自由搭配为女性带来了铭记重要时刻的方式,从而使pandora潘多拉珠宝获得了世界各地女性消费者的喜爱。pandora潘多拉珠宝始于1982年,由丹麦金匠perenevoldsen和他的妻子winni ... (51 characters truncated) ... 之一,启发世界各地的女性展现她们的个性和故事。截止到2016年,pandora已经拥有了超过150万的线上粉丝,品牌受众覆盖2.31亿人。pandora潘多拉珠宝在中国不仅拥有超过百家专卖店,同时也在官方网站开通了销售渠道。2018年6月,《2018年全球奢侈品力量排行榜》发布,潘多拉排名第20。', 'cost_time_ms': 222.052419} ... displaying 10 of 286 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 13, 59, 40, 287656), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 237.282237}, {'datetime': datetime.datetime(2019, 3, 19, 13, 59, 40, 628723), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '启动制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 350.634772}) +2019-03-19 14:00:02,896 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 14:00:02,911 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,914 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,918 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 14:00:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,929 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,930 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:02,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,931 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,932 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,934 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,936 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 14:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,938 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 14:00:02,939 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 14:00:02,939 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 13, 37, 24, 290932), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '挑逗着', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 162.746492}, {'datetime': datetime.datetime(2019, 3, 19, 13, 38, 16, 166023), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '大铭播', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 220.411941}, {'datetime': datetime.datetime(2019, 3, 19, 13, 39, 3, 587561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '大企业集团', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 241.029054}, {'datetime': datetime.datetime(2019, 3, 19, 13, 47, 4, 94893), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '躲着我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 203.45021}, {'datetime': datetime.datetime(2019, 3, 19, 13, 51, 10, 977484), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 243.005318}, {'datetime': datetime.datetime(2019, 3, 19, 13, 51, 10, 979472), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 245.545098}, {'datetime': datetime.datetime(2019, 3, 19, 13, 51, 13, 5325), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 242.70096}, {'datetime': datetime.datetime(2019, 3, 19, 13, 52, 14, 826837), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 245.307177} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 13, 56, 51, 356524), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后再进行', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 242.855549}, {'datetime': datetime.datetime(2019, 3, 19, 13, 59, 7, 509408), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '什么都不说', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 258.671332}) +2019-03-19 14:00:02,945 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 13:00:00 +时间为:### 2019-03-19 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 13:00:00" and datetime< "2019-03-19 14:00:00" +2019-03-19 14:00:02,953 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:02,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,954 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:02,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,955 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,956 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,958 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:02,958 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 13:00:00" and datetime< "2019-03-19 14:00:00" +2019-03-19 14:00:02,959 INFO sqlalchemy.engine.base.Engine {} +****286 +all****286 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 13:00:00" and datetime< "2019-03-19 14:00:00" +2019-03-19 14:00:03,992 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:03,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,993 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:03,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,994 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:03,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,994 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:03,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,995 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:03,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:03,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:03,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:03,997 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 13:00:00" and datetime< "2019-03-19 14:00:00" +2019-03-19 14:00:03,997 INFO sqlalchemy.engine.base.Engine {} +****286 +all****286 + +all****185 + +all****101 + +****185 + +****84 + +Start domain data classification: +2019-03-19 14:00:05,029 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:05,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,030 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:05,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,031 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:05,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,032 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:05,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,034 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:05,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,035 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 14:00:05,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,037 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 14:00:05,038 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 14:00:05,038 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 14, 0), 'aircleaner': 0, 'airconditioner': 168, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 17, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 14:00:05,039 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 14:00:05,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:05,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:05,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,066 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:05,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,069 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:05,069 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,070 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 14:00:05,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,073 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 14:00:05,075 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 14:00:05,075 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 14, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 4, 'chat': 58, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 7, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 1} +2019-03-19 14:00:05,076 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 14:00:05,905 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 14:00:05,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 14:00:05,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 14:00:05,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,907 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 14:00:05,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 14:00:05,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 14:00:05,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,911 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 14:00:05,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 14:00:05,913 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 14:00:05,913 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 14:00:05,913 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 14, 0), '0~500ms': "[('airconditioner', 168), ('universalcontrol', 17), ('aircleaner', 0), ('chat', 75), ('music', 6), ('baike', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 14:00:05,914 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 15 +***** + +2019-03-19 15:00:03,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:03,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:03,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,428 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:03,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:03,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:03,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,433 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 15:00:03,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,436 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 15:00:03,445 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 15:00:03,445 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 14, 0, 22, 574782), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 196.758776}, {'datetime': datetime.datetime(2019, 3, 19, 14, 0, 22, 690827), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 230.363164}, {'datetime': datetime.datetime(2019, 3, 19, 14, 0, 22, 788075), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.166552}, {'datetime': datetime.datetime(2019, 3, 19, 14, 0, 22, 810267), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 259.460854}, {'datetime': datetime.datetime(2019, 3, 19, 14, 1, 4, 903240), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 245.610435}, {'datetime': datetime.datetime(2019, 3, 19, 14, 1, 5, 207506), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 241.93807}, {'datetime': datetime.datetime(2019, 3, 19, 14, 1, 5, 215549), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 237.337197}, {'datetime': datetime.datetime(2019, 3, 19, 14, 1, 5, 546408), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 243.681965} ... displaying 10 of 622 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 14, 59, 59, 798670), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 215.057152}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 0, 358983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '放一首唐诗', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《黄鹤楼送孟浩然之广陵》:', 'cost_time_ms': 208.372285}) +2019-03-19 15:00:03,535 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 15:00:03,549 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:03,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:03,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,551 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:03,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,552 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:03,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,553 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:03,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,555 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 15:00:03,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:03,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:03,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:03,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,566 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:03,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:03,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,569 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 15:00:03,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,572 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 15:00:03,573 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 15:00:03,573 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 14, 1, 46, 872896), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '直升飞机', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 247.665871}, {'datetime': datetime.datetime(2019, 3, 19, 14, 5, 0, 136461), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 240.914088}, {'datetime': datetime.datetime(2019, 3, 19, 14, 7, 28, 882919), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你不放', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 250.179442}, {'datetime': datetime.datetime(2019, 3, 19, 14, 9, 40, 963009), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '黑猫精灵在哪里', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 208.40759}, {'datetime': datetime.datetime(2019, 3, 19, 14, 9, 52, 727463), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '今天股票买哪一支股比较好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 214.304433}, {'datetime': datetime.datetime(2019, 3, 19, 14, 10, 42, 833733), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '比较好。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 210.433684}, {'datetime': datetime.datetime(2019, 3, 19, 14, 11, 2, 686246), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '洗脚的地方。', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 450.778727}, {'datetime': datetime.datetime(2019, 3, 19, 14, 22, 59, 990167), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好长啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 244.682311} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 14, 57, 37, 784924), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 204.785808}, {'datetime': datetime.datetime(2019, 3, 19, 14, 57, 37, 926486), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 328.660261}) +2019-03-19 15:00:03,574 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 14:00:00 +时间为:### 2019-03-19 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 14:00:00" and datetime< "2019-03-19 15:00:00" +2019-03-19 15:00:03,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:03,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,588 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,589 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:03,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:03,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:03,592 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 14:00:00" and datetime< "2019-03-19 15:00:00" +2019-03-19 15:00:03,592 INFO sqlalchemy.engine.base.Engine {} +****620 +all****620 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 14:00:00" and datetime< "2019-03-19 15:00:00" +2019-03-19 15:00:04,640 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:04,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,641 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:04,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,642 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:04,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,642 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:04,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:04,645 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 14:00:00" and datetime< "2019-03-19 15:00:00" +2019-03-19 15:00:04,645 INFO sqlalchemy.engine.base.Engine {} +****620 +all****620 + +all****395 + +all****225 + +****395 + +****210 + +Start domain data classification: +2019-03-19 15:00:05,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:05,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,741 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,741 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:05,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,744 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 15:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,747 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 15:00:05,748 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 15:00:05,748 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 15, 0), 'aircleaner': 0, 'airconditioner': 318, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 75, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 15:00:05,748 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 15:00:05,775 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:05,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,776 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:05,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,777 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:05,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,777 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:05,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:05,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:05,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:05,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,781 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 15:00:05,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:05,783 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 15:00:05,784 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 15:00:05,784 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 15, 0), 'almanac': 2, 'ancient_poem': 3, 'astro': 2, 'baike': 4, 'chat': 130, 'chengyu': 0, 'common_qa': 0, 'finance': 2, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 3, 'music': 21, 'news': 2, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 2, 'stock': 2, 'translate': 2, 'weather': 27} +2019-03-19 15:00:05,785 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 15:00:06,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 15:00:06,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,619 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 15:00:06,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,620 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 15:00:06,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,620 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 15:00:06,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,622 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:06,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,622 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 15:00:06,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 15:00:06,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,624 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 15:00:06,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 15:00:06,626 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 15:00:06,626 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 15:00:06,626 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 15, 0), '0~500ms': "[('airconditioner', 317), ('universalcontrol', 75), ('playcontrol', 2), ('chat', 146), ('weather', 26), ('music', 18)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 15:00:06,627 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 16 +***** + +2019-03-19 16:00:02,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,318 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,318 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,321 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,322 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 16:00:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,324 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 16:00:02,329 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 16:00:02,329 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 15, 0, 29, 110561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 240.514508}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 29, 194851), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 238.824846}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 29, 350883), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 369.735019}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 35, 49827), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 199.017104}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 40, 155220), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今天合肥天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '合肥今天有大雾预警,请注意防御。今日天气多云,气温10度到20度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 347.800385}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 58, 191647), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '来听小朋友们都喜欢的儿童故事,海底小纵队第一季吧。', 'cost_time_ms': 324.75045}, {'datetime': datetime.datetime(2019, 3, 19, 15, 0, 59, 686856), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 324.204921}, {'datetime': datetime.datetime(2019, 3, 19, 15, 1, 0, 925301), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 259.78348} ... displaying 10 of 304 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 15, 59, 58, 162849), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 200.383087}, {'datetime': datetime.datetime(2019, 3, 19, 16, 0, 0, 654752), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '小时候', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '苏打绿主唱吴青峰写给爸爸的歌。歌手:苏打绿词/曲:吴青峰发行日期:2013年3月22日语言:国语唱片公司:环球唱片', 'cost_time_ms': 352.660554}) +2019-03-19 16:00:02,342 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 16:00:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,357 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:02,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,359 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 16:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,367 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,368 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,369 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,369 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,370 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,370 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,371 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,372 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 16:00:02,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,374 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 16:00:02,375 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 16:00:02,375 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 15, 3, 53, 383900), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 237.688059}, {'datetime': datetime.datetime(2019, 3, 19, 15, 4, 10, 937746), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为一七度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 248.196704}, {'datetime': datetime.datetime(2019, 3, 19, 15, 7, 12, 609010), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '汉克这空调除湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 250.553846}, {'datetime': datetime.datetime(2019, 3, 19, 15, 15, 50, 74923), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 229.55713}, {'datetime': datetime.datetime(2019, 3, 19, 15, 15, 52, 678543), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '红楼梦第二十七条', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 244.742674}, {'datetime': datetime.datetime(2019, 3, 19, 15, 16, 27, 71007), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 245.736794}, {'datetime': datetime.datetime(2019, 3, 19, 15, 17, 27, 827256), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '剪下两根长指甲', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 249.282061}, {'datetime': datetime.datetime(2019, 3, 19, 15, 18, 22, 463706), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 266.118917} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 15, 57, 53, 501115), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制暖模式一个故事都觉得去聆听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 711.715172}, {'datetime': datetime.datetime(2019, 3, 19, 15, 58, 38, 825815), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '在背后打了个结', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 246.022676}) +2019-03-19 16:00:02,376 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 15:00:00 +时间为:### 2019-03-19 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 15:00:00" and datetime< "2019-03-19 16:00:00" +2019-03-19 16:00:02,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:02,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,385 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,386 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 15:00:00" and datetime< "2019-03-19 16:00:00" +2019-03-19 16:00:02,388 INFO sqlalchemy.engine.base.Engine {} +****305 +all****305 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 15:00:00" and datetime< "2019-03-19 16:00:00" +2019-03-19 16:00:03,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:03,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,496 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:03,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:03,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:03,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:03,499 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 15:00:00" and datetime< "2019-03-19 16:00:00" +2019-03-19 16:00:03,499 INFO sqlalchemy.engine.base.Engine {} +****305 +all****305 + +all****170 + +all****135 + +****170 + +****118 + +Start domain data classification: +2019-03-19 16:00:04,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,537 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,538 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,539 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,540 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 16:00:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,543 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 16:00:04,544 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 16:00:04,544 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 16, 0), 'aircleaner': 0, 'airconditioner': 139, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 31, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 16:00:04,544 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 16:00:04,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,560 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,561 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,564 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 16:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:04,566 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 16:00:04,567 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 16:00:04,567 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 16, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 4, 'chat': 66, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 6, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 2, 'music': 14, 'news': 2, 'recipe': 0, 'science': 10, 'sound': 0, 'sports': 2, 'stock': 1, 'translate': 3, 'weather': 2} +2019-03-19 16:00:04,568 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 16:00:05,375 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 16:00:05,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 16:00:05,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,377 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 16:00:05,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,378 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 16:00:05,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:05,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 16:00:05,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 16:00:05,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,381 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 16:00:05,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 16:00:05,383 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 16:00:05,383 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 16:00:05,383 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 16, 0), '0~500ms': "[('airconditioner', 136), ('universalcontrol', 30), ('aircleaner', 0), ('chat', 79), ('music', 11), ('science', 10)]", '1000~2000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 2), ('music', 1), ('news', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 16:00:05,384 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 17 +***** + +2019-03-19 17:00:02,190 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,191 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,193 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,197 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 17:00:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,200 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 17:00:02,205 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 17:00:02,205 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 16, 0, 2, 233020), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置为抽湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 258.912429}, {'datetime': datetime.datetime(2019, 3, 19, 16, 0, 3, 673001), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置为除湿', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '肿么除湿啊……空调除湿功能。', 'cost_time_ms': 198.342068}, {'datetime': datetime.datetime(2019, 3, 19, 16, 0, 21, 43242), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '很想知道', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道。', 'cost_time_ms': 224.704695}, {'datetime': datetime.datetime(2019, 3, 19, 16, 0, 31, 594568), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这年头', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这年头,说实话没人信啊。', 'cost_time_ms': 204.648557}, {'datetime': datetime.datetime(2019, 3, 19, 16, 1, 3, 872921), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 339.538556}, {'datetime': datetime.datetime(2019, 3, 19, 16, 1, 26, 589330), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '发现里面', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,原来是在里面啊。', 'cost_time_ms': 360.517885}, {'datetime': datetime.datetime(2019, 3, 19, 16, 1, 37, 114836), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 295.78911}, {'datetime': datetime.datetime(2019, 3, 19, 16, 2, 22, 803414), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '我帅不帅', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我觉得很帅。', 'cost_time_ms': 330.205734} ... displaying 10 of 303 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 16, 59, 45, 410576), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到除湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.378912}, {'datetime': datetime.datetime(2019, 3, 19, 16, 59, 53, 958541), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来一首初三', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听赵维瑞的楚商吧。', 'cost_time_ms': 356.57604}) +2019-03-19 17:00:02,218 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 17:00:02,278 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,279 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,280 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,281 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,282 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,282 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,283 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,284 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 17:00:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,294 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,295 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,298 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,298 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 17:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,300 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 17:00:02,301 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 17:00:02,301 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 16, 0, 2, 233020), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置为抽湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 258.912429}, {'datetime': datetime.datetime(2019, 3, 19, 16, 3, 3, 506357), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '都值得去聆听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 219.836936}, {'datetime': datetime.datetime(2019, 3, 19, 16, 6, 13, 127739), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '每一个故事都值得去聆听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 391.129579}, {'datetime': datetime.datetime(2019, 3, 19, 16, 6, 33, 307755), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你可以问一下', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 359.243635}, {'datetime': datetime.datetime(2019, 3, 19, 16, 10, 41, 316960), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播的探秘', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 349.832341}, {'datetime': datetime.datetime(2019, 3, 19, 16, 19, 20, 715830), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '黑洞之谜', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 241.945178}, {'datetime': datetime.datetime(2019, 3, 19, 16, 20, 3, 89384), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 2012.307527}, {'datetime': datetime.datetime(2019, 3, 19, 16, 20, 43, 683234), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '手动制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 256.447135} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 16, 53, 15, 548582), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '杨是谁', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 172.507677}, {'datetime': datetime.datetime(2019, 3, 19, 16, 58, 29, 535410), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要听初声', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 247.889084}) +2019-03-19 17:00:02,303 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 16:00:00 +时间为:### 2019-03-19 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 16:00:00" and datetime< "2019-03-19 17:00:00" +2019-03-19 17:00:02,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,314 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,314 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:02,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:02,317 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 16:00:00" and datetime< "2019-03-19 17:00:00" +2019-03-19 17:00:02,317 INFO sqlalchemy.engine.base.Engine {} +****304 +all****304 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 16:00:00" and datetime< "2019-03-19 17:00:00" +2019-03-19 17:00:03,450 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:03,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,450 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:03,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,451 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:03,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,452 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:03,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:03,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:03,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,455 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:03,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:03,455 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 16:00:00" and datetime< "2019-03-19 17:00:00" +2019-03-19 17:00:03,455 INFO sqlalchemy.engine.base.Engine {} +****304 +all****304 + +all****161 + +all****143 + +****161 + +****128 + +Start domain data classification: +2019-03-19 17:00:04,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,504 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,505 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:04,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,506 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:04,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,508 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:04,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,509 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 17:00:04,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,511 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 17:00:04,512 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 17:00:04,512 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 17, 0), 'aircleaner': 0, 'airconditioner': 139, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 19, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 17:00:04,513 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 17:00:04,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:04,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:04,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,532 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,533 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,535 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 17:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:04,538 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 17:00:04,539 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 17:00:04,539 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 17, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 5, 'chat': 68, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 34, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 3, 'translate': 1, 'weather': 4} +2019-03-19 17:00:04,539 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 17:00:05,363 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 17:00:05,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,364 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 17:00:05,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,365 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 17:00:05,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,366 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 17:00:05,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,367 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:05,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,368 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 17:00:05,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,368 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 17:00:05,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,369 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 17:00:05,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 17:00:05,371 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 17:00:05,371 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 17:00:05,372 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 17, 0), '0~500ms': "[('airconditioner', 139), ('universalcontrol', 19), ('playcontrol', 3), ('chat', 79), ('music', 33), ('baike', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('music', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 17:00:05,372 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 18 +***** + +2019-03-19 18:00:02,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,334 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 18:00:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,340 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 18:00:02,346 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 18:00:02,346 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 17, 0, 13, 284031), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放音乐王胜男了初三', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 326.938035}, {'datetime': datetime.datetime(2019, 3, 19, 17, 0, 28, 548885), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 292.530745}, {'datetime': datetime.datetime(2019, 3, 19, 17, 0, 41, 696625), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放初三', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '那得好好加油咯。', 'cost_time_ms': 240.054278}, {'datetime': datetime.datetime(2019, 3, 19, 17, 1, 0, 496033), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 309.328205}, {'datetime': datetime.datetime(2019, 3, 19, 17, 1, 2, 444504), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯集团是中国500强企业、中国大企业集团竞争力前25强、中国信息化标杆企业、国家重点火炬高新技术企业,并为国家工程技术中心和国家级博士后工作站的常设单位,在宁波、上海、深圳、南昌建立了四大研究院;拥有“三星”和“奥克斯”两项跨行业的中国驰名商标和2个中国名牌产品。', 'cost_time_ms': 203.835508}, {'datetime': datetime.datetime(2019, 3, 19, 17, 1, 14, 901649), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.501101}, {'datetime': datetime.datetime(2019, 3, 19, 17, 1, 24, 515253), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 279.808015}, {'datetime': datetime.datetime(2019, 3, 19, 17, 1, 36, 54399), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.263127} ... displaying 10 of 383 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 17, 58, 45, 866590), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 212.656495}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 1, 648993), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放博什', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 581.432119}) +2019-03-19 18:00:02,363 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 18:00:02,425 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,426 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,428 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:02,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,430 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:02,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,432 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 18:00:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,441 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,442 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:02,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,443 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,443 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:02,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,446 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,446 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 18:00:02,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,449 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 18:00:02,450 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 18:00:02,450 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 17, 2, 32, 533911), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 191.706887}, {'datetime': datetime.datetime(2019, 3, 19, 17, 4, 1, 923110), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 249.959982}, {'datetime': datetime.datetime(2019, 3, 19, 17, 5, 1, 78038), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '语音未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 248.656723}, {'datetime': datetime.datetime(2019, 3, 19, 17, 7, 3, 332631), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '托马斯难过', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 353.319946}, {'datetime': datetime.datetime(2019, 3, 19, 17, 9, 54, 933971), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '研究表明', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 320.797701}, {'datetime': datetime.datetime(2019, 3, 19, 17, 10, 14, 55409), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '那他那个车子是不是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 210.895393}, {'datetime': datetime.datetime(2019, 3, 19, 17, 13, 22, 852801), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调除湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 984.538103}, {'datetime': datetime.datetime(2019, 3, 19, 17, 17, 18, 884493), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'act', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 224.14238} ... displaying 10 of 23 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 17, 47, 28, 181173), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '清洁模式设为自', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 271.956856}, {'datetime': datetime.datetime(2019, 3, 19, 17, 49, 6, 344791), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 242.420239}) +2019-03-19 18:00:02,451 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 17:00:00 +时间为:### 2019-03-19 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 17:00:00" and datetime< "2019-03-19 18:00:00" +2019-03-19 18:00:02,461 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,463 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,463 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:02,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:02,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:02,466 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 17:00:00" and datetime< "2019-03-19 18:00:00" +2019-03-19 18:00:02,466 INFO sqlalchemy.engine.base.Engine {} +****382 +all****382 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 17:00:00" and datetime< "2019-03-19 18:00:00" +2019-03-19 18:00:03,620 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:03,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:03,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,622 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,622 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:03,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:03,625 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 17:00:00" and datetime< "2019-03-19 18:00:00" +2019-03-19 18:00:03,625 INFO sqlalchemy.engine.base.Engine {} +****382 +all****382 + +all****145 + +all****237 + +****145 + +****214 + +Start domain data classification: +2019-03-19 18:00:04,668 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:04,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:04,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,670 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,671 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,674 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 18:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,676 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 18:00:04,677 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 18:00:04,677 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 18, 0), 'aircleaner': 0, 'airconditioner': 134, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 9, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 18:00:04,678 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 18:00:04,694 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,696 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,696 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,697 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,698 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:04,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,699 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 18:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:04,701 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 18:00:04,703 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 18:00:04,703 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 18, 0), 'almanac': 1, 'ancient_poem': 3, 'astro': 1, 'baike': 4, 'chat': 79, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 12, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 2, 'music': 59, 'news': 2, 'recipe': 0, 'science': 3, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 41} +2019-03-19 18:00:04,703 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 18:00:05,526 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 18:00:05,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 18:00:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,528 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 18:00:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,528 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 18:00:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,529 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,530 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 18:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 18:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,531 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 18:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 18:00:05,533 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 18:00:05,534 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 18:00:05,534 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 18, 0), '0~500ms': "[('airconditioner', 134), ('universalcontrol', 9), ('playcontrol', 2), ('chat', 100), ('music', 57), ('weather', 35)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 5), ('music', 3), ('chat', 2)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 18:00:05,535 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 19 +***** + +2019-03-19 19:00:03,106 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:03,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:03,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,108 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,109 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,113 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 19:00:03,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,115 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 19:00:03,118 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 19:00:03,118 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 18, 0, 22, 663217), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 165.819518}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 22, 867234), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 335.042017}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 23, 32053), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 239.917888}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 36, 661502), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 157.581482}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 36, 745489), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 209.25063}, {'datetime': datetime.datetime(2019, 3, 19, 18, 0, 43, 127002), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '射雕英雄传评书', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '跟你一起听射雕英雄传。', 'cost_time_ms': 249.271921}, {'datetime': datetime.datetime(2019, 3, 19, 18, 1, 0, 73407), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 178.387174}, {'datetime': datetime.datetime(2019, 3, 19, 18, 1, 8, 118925), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.783092} ... displaying 10 of 70 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 18, 57, 33, 567210), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '暂停播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 212.183361}, {'datetime': datetime.datetime(2019, 3, 19, 18, 58, 1, 121474), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 474.53274}) +2019-03-19 19:00:03,122 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 19:00:03,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:03,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:03,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,195 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:03,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,196 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:03,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:03,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,199 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 19:00:03,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,209 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:03,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,210 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:03,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:03,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,213 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 19:00:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,215 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 19:00:03,216 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 19:00:03,216 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 18, 9, 32, 31981), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '地球的结构', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 221.298347}, {'datetime': datetime.datetime(2019, 3, 19, 18, 10, 22, 417157), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '确实换气关', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 212.717584}, {'datetime': datetime.datetime(2019, 3, 19, 18, 23, 50, 998605), 'mac_wifi': 'f4911e578a10', 'mac_voice': '58b3fc2f431a', 'query': '推荐个好吃的地方吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 188.600152}, {'datetime': datetime.datetime(2019, 3, 19, 18, 24, 46, 394872), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '置调小', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 368.112785}) +2019-03-19 19:00:03,217 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 18:00:00 +时间为:### 2019-03-19 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 18:00:00" and datetime< "2019-03-19 19:00:00" +2019-03-19 19:00:03,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:03,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:03,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,225 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:03,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,225 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:03,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:03,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:03,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:03,228 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 18:00:00" and datetime< "2019-03-19 19:00:00" +2019-03-19 19:00:03,228 INFO sqlalchemy.engine.base.Engine {} +****71 +all****71 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 18:00:00" and datetime< "2019-03-19 19:00:00" +2019-03-19 19:00:04,290 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:04,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:04,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,292 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:04,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,292 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:04,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:04,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:04,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:04,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:04,296 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 18:00:00" and datetime< "2019-03-19 19:00:00" +2019-03-19 19:00:04,296 INFO sqlalchemy.engine.base.Engine {} +****71 +all****71 + +all****11 + +all****60 + +****11 + +****56 + +Start domain data classification: +2019-03-19 19:00:05,402 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:05,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:05,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,404 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:05,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,405 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:05,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,406 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:05,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:05,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,408 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 19:00:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,410 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 19:00:05,412 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 19:00:05,412 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 19, 0), 'aircleaner': 0, 'airconditioner': 8, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 19:00:05,413 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 19:00:05,428 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:05,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,428 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:05,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,429 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:05,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,430 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:05,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:05,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:05,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:05,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,433 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 19:00:05,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:05,435 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 19:00:05,436 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 19:00:05,436 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 19, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 1, 'chat': 12, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 22, 'news': 1, 'recipe': 0, 'science': 4, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 4} +2019-03-19 19:00:05,437 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 19:00:06,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 19:00:06,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,248 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 19:00:06,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,249 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 19:00:06,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,249 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 19:00:06,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:06,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 19:00:06,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 19:00:06,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,253 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 19:00:06,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 19:00:06,255 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 19:00:06,255 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 19:00:06,255 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 19, 0), '0~500ms': "[('airconditioner', 8), ('playcontrol', 2), ('universalcontrol', 1), ('music', 19), ('chat', 16), ('science', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 2), ('music', 1), ('news', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 19:00:06,256 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 20 +***** + +2019-03-19 20:00:02,839 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,841 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,842 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,844 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,846 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 20:00:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,849 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 20:00:02,852 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 20:00:02,852 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 19, 0, 27, 882065), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 423.037349}, {'datetime': datetime.datetime(2019, 3, 19, 19, 4, 53, 767167), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当愿你永远不失孩子气。', 'cost_time_ms': 471.602865}, {'datetime': datetime.datetime(2019, 3, 19, 19, 6, 39, 828998), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放戴娆的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放戴娆的歌。', 'cost_time_ms': 474.559624}, {'datetime': datetime.datetime(2019, 3, 19, 19, 6, 53, 923883), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放范玉阳的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听范玉阳的歌。', 'cost_time_ms': 636.226463}, {'datetime': datetime.datetime(2019, 3, 19, 19, 6, 54, 140848), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '停止播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_stop', 'response_data': 'success', 'cost_time_ms': 350.662574}, {'datetime': datetime.datetime(2019, 3, 19, 19, 7, 5, 912723), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放苏', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是苏谭谭/佳鹏的渡我不渡她?听听看吧。', 'cost_time_ms': 283.63415}, {'datetime': datetime.datetime(2019, 3, 19, 19, 7, 18, 127882), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放苏谭谭的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,马上播放苏谭谭的歌。', 'cost_time_ms': 354.063784}, {'datetime': datetime.datetime(2019, 3, 19, 19, 11, 6, 977356), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放田馥甄的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听田馥甄的歌。', 'cost_time_ms': 511.197124} ... displaying 10 of 38 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 19, 55, 8, 142266), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '发个短信吧不要自己着急', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 359.40971}, {'datetime': datetime.datetime(2019, 3, 19, 19, 56, 43, 77010), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '请连接网络', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '链接网络打开出错。', 'cost_time_ms': 354.702506}) +2019-03-19 20:00:02,854 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 20:00:02,869 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:02,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,870 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:02,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,871 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:02,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,872 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:02,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,875 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 20:00:02,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,885 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,887 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,888 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,892 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 20:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,894 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 20:00:02,895 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 20:00:02,895 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 19, 54, 45, 932412), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '就是快一点那么他肩背也有带鱼留在语言呢', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 228.91863}, {'datetime': datetime.datetime(2019, 3, 19, 19, 55, 8, 142266), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '发个短信吧不要自己着急', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 359.40971}) +2019-03-19 20:00:02,896 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 19:00:00 +时间为:### 2019-03-19 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 19:00:00" and datetime< "2019-03-19 20:00:00" +2019-03-19 20:00:02,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:02,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,914 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,915 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:02,917 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 19:00:00" and datetime< "2019-03-19 20:00:00" +2019-03-19 20:00:02,917 INFO sqlalchemy.engine.base.Engine {} +****38 +all****38 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 19:00:00" and datetime< "2019-03-19 20:00:00" +2019-03-19 20:00:03,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:03,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:03,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,946 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:03,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,947 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:03,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:03,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,949 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:03,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:03,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:03,951 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 19:00:00" and datetime< "2019-03-19 20:00:00" +2019-03-19 20:00:03,951 INFO sqlalchemy.engine.base.Engine {} +****38 +all****38 + +all****3 + +all****35 + +****3 + +****33 + +Start domain data classification: +2019-03-19 20:00:04,979 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,980 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,981 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,982 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,985 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 20:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:04,988 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 20:00:04,989 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 20:00:04,989 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 20, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 20:00:04,989 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 20:00:05,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:05,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:05,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,019 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:05,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,019 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:05,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:05,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:05,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:05,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 20:00:05,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,027 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 20:00:05,028 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 20:00:05,028 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 20, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 18, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-19 20:00:05,029 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 20:00:05,852 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 20:00:05,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 20:00:05,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,854 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 20:00:05,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,854 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 20:00:05,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:05,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 20:00:05,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 20:00:05,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,857 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 20:00:05,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 20:00:05,860 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 20:00:05,861 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 20:00:05,861 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 20, 0), '0~500ms': "[('airconditioner', 2), ('playcontrol', 1), ('aircleaner', 0), ('music', 10), ('chat', 4), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 6), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 20:00:05,861 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 21 +***** + +2019-03-19 21:00:02,469 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,471 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,472 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,472 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:02,472 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,474 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,475 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:02,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,476 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 21:00:02,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,478 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 21:00:02,481 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 21:00:02,481 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 20, 29, 45, 940436), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当与你回味童年过往。', 'cost_time_ms': 513.545332}, {'datetime': datetime.datetime(2019, 3, 19, 20, 32, 3, 330825), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首流行音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听最热的歌。', 'cost_time_ms': 530.02082}, {'datetime': datetime.datetime(2019, 3, 19, 20, 33, 4, 606826), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '欢迎来到充满童趣的世界。', 'cost_time_ms': 522.400949}, {'datetime': datetime.datetime(2019, 3, 19, 20, 40, 19, 643608), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 461.763505}, {'datetime': datetime.datetime(2019, 3, 19, 20, 40, 23, 59468), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 412.650661}, {'datetime': datetime.datetime(2019, 3, 19, 20, 40, 26, 284855), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《黄鹤楼送孟浩然之广陵》:', 'cost_time_ms': 222.509475}, {'datetime': datetime.datetime(2019, 3, 19, 20, 40, 29, 545760), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本小鹿妈妈讲公主故事,我讲给你听吧。', 'cost_time_ms': 257.695645}, {'datetime': datetime.datetime(2019, 3, 19, 20, 40, 32, 765765), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 217.272994} ... displaying 10 of 32 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 20, 58, 20, 349485), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 416.197869}, {'datetime': datetime.datetime(2019, 3, 19, 20, 58, 48, 421140), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '打开空调', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 302.364298}) +2019-03-19 21:00:02,483 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 21:00:02,497 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,498 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,499 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:02,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,500 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:02,500 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,501 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,501 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,502 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:02,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,502 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 21:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,513 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,516 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 21:00:02,516 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-19 20:00:00 +时间为:### 2019-03-19 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 20:00:00" and datetime< "2019-03-19 21:00:00" +2019-03-19 21:00:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,524 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:02,528 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 20:00:00" and datetime< "2019-03-19 21:00:00" +2019-03-19 21:00:02,528 INFO sqlalchemy.engine.base.Engine {} +****32 +all****32 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 20:00:00" and datetime< "2019-03-19 21:00:00" +2019-03-19 21:00:03,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,569 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:03,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,570 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,571 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:03,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:03,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:03,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:03,574 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 20:00:00" and datetime< "2019-03-19 21:00:00" +2019-03-19 21:00:03,574 INFO sqlalchemy.engine.base.Engine {} +****32 +all****32 + +all****2 + +all****30 + +****2 + +****30 + +Start domain data classification: +2019-03-19 21:00:04,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,623 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,624 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,627 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 21:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,629 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 21:00:04,630 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 21:00:04,630 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 21, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 21:00:04,631 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 21:00:04,644 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,646 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,646 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,649 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 21:00:04,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:04,651 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 21:00:04,652 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 21:00:04,653 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 21, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 16, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-19 21:00:04,653 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 21:00:05,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 21:00:05,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 21:00:05,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 21:00:05,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,529 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 21:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 21:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 21:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,533 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 21:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 21:00:05,535 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 21:00:05,535 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 21:00:05,536 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 21, 0), '0~500ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 11), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 5), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 21:00:05,536 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 22 +***** + +2019-03-19 22:00:03,213 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,214 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:03,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,215 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,216 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:03,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,217 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:03,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,219 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 22:00:03,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,222 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 22:00:03,226 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 22:00:03,226 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 21, 0, 27, 487659), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 457.731302}, {'datetime': datetime.datetime(2019, 3, 19, 21, 0, 40, 943575), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '应该能够减少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 216.420561}, {'datetime': datetime.datetime(2019, 3, 19, 21, 1, 43, 632236), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '随便来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 413.366185}, {'datetime': datetime.datetime(2019, 3, 19, 21, 2, 8, 92143), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 289.731851}, {'datetime': datetime.datetime(2019, 3, 19, 21, 3, 20, 500402), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 444.065488}, {'datetime': datetime.datetime(2019, 3, 19, 21, 3, 20, 651426), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 499.930517}, {'datetime': datetime.datetime(2019, 3, 19, 21, 3, 31, 498302), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播后一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 332.200729}, {'datetime': datetime.datetime(2019, 3, 19, 21, 4, 56, 634929), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '没几个人吧个吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '就这点差不多了,人多了吵。', 'cost_time_ms': 380.496663} ... displaying 10 of 161 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 21, 59, 22, 775995), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温20度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 450.469171}, {'datetime': datetime.datetime(2019, 3, 19, 21, 59, 50, 210685), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '第一场雪', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '《第一场雪》是由马克·费格斯执导,盖·皮尔斯、派珀·佩拉博等主演的剧情影片,于2007年3月23日在美国上映。该片讲述了倒霉的推销员吉姆,害怕着第一场雪的到来,因为占卜师说他的生命在第一场雪落下时就到了尽头。', 'cost_time_ms': 228.566101}) +2019-03-19 22:00:03,234 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 22:00:03,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:03,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,252 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:03,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,253 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:03,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:03,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,256 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 22:00:03,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,267 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:03,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,268 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:03,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,269 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:03,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,270 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:03,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,271 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,272 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:03,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,273 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 22:00:03,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,275 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 22:00:03,276 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 22:00:03,276 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 21, 0, 40, 943575), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '应该能够减少', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 216.420561}, {'datetime': datetime.datetime(2019, 3, 19, 21, 5, 4, 160114), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '我估计是你把dvd', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 334.259764}, {'datetime': datetime.datetime(2019, 3, 19, 21, 26, 33, 628409), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '是业内知名品牌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 375.510952}, {'datetime': datetime.datetime(2019, 3, 19, 21, 27, 8, 522566), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '你好魔方', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 214.234318}, {'datetime': datetime.datetime(2019, 3, 19, 21, 27, 35, 848535), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'eco', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 214.195461}, {'datetime': datetime.datetime(2019, 3, 19, 21, 27, 36, 664548), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '三月十九日', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 217.732026}, {'datetime': datetime.datetime(2019, 3, 19, 21, 30, 35, 802362), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 216.091385}, {'datetime': datetime.datetime(2019, 3, 19, 21, 34, 55, 109470), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '这个是不是斐讯印象的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 167.146804} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 21, 57, 59, 725420), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 187.933909}, {'datetime': datetime.datetime(2019, 3, 19, 21, 58, 0, 469254), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 176.644445}) +2019-03-19 22:00:03,284 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-19 21:00:00 +时间为:### 2019-03-19 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 21:00:00" and datetime< "2019-03-19 22:00:00" +2019-03-19 22:00:03,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:03,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 21:00:00" and datetime< "2019-03-19 22:00:00" +2019-03-19 22:00:03,307 INFO sqlalchemy.engine.base.Engine {} +****161 +all****161 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 21:00:00" and datetime< "2019-03-19 22:00:00" +2019-03-19 22:00:04,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,327 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:04,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:04,331 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 21:00:00" and datetime< "2019-03-19 22:00:00" +2019-03-19 22:00:04,331 INFO sqlalchemy.engine.base.Engine {} +****161 +all****161 + +all****26 + +all****135 + +****26 + +****120 + +Start domain data classification: +2019-03-19 22:00:05,438 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:05,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,439 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:05,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,440 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:05,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,441 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:05,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,442 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:05,442 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,443 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:05,443 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,444 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:05,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,444 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 22:00:05,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,446 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 22:00:05,447 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 22:00:05,448 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 22, 0), 'aircleaner': 0, 'airconditioner': 4, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 21, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 22:00:05,448 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 22:00:05,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:05,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,463 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:05,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,464 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:05,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,464 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:05,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,466 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:05,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,466 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:05,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,467 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:05,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,467 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 22:00:05,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:05,469 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 22:00:05,471 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 22:00:05,471 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 22, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 3, 'chat': 30, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 12, 'joke': 4, 'music': 31, 'news': 3, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 2, 'weather': 23} +2019-03-19 22:00:05,471 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 22:00:06,284 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 22:00:06,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,285 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 22:00:06,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,286 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 22:00:06,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,287 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 22:00:06,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:06,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 22:00:06,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 22:00:06,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,290 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 22:00:06,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 22:00:06,292 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 22:00:06,293 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 22:00:06,293 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 22, 0), '0~500ms': "[('universalcontrol', 21), ('airconditioner', 4), ('playcontrol', 1), ('chat', 44), ('music', 28), ('weather', 21)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 2), ('chat', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 22:00:06,294 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-19 23 +***** + +2019-03-19 23:00:02,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:02,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,851 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,851 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,855 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-19 23:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,857 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 23:00:02,860 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-19 23:00:02,860 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 22, 0, 25, 54040), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '停止播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_stop', 'response_data': 'success', 'cost_time_ms': 581.453264}, {'datetime': datetime.datetime(2019, 3, 19, 22, 0, 45, 501797), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '饮料呢', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '少喝点哦,喝太多不好呢。', 'cost_time_ms': 326.083036}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 46, 774953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听周杰伦的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听周杰伦的歌。', 'cost_time_ms': 479.192526}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 47, 958665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听周杰伦的千里之外', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听周杰伦的千里之外吧。', 'cost_time_ms': 476.13245}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 49, 99094), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '我想听周杰伦的千里之外', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首周杰伦的千里之外。', 'cost_time_ms': 326.48663}, {'datetime': datetime.datetime(2019, 3, 19, 22, 6, 0, 296302), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好,我等你就是。', 'cost_time_ms': 320.989193}, {'datetime': datetime.datetime(2019, 3, 19, 22, 28, 46, 324499), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 2022.4438930000001}, {'datetime': datetime.datetime(2019, 3, 19, 22, 35, 49, 62360), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放王志的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听王志的歌。', 'cost_time_ms': 585.647583} ... displaying 10 of 25 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 22, 41, 5, 169330), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 180.191573}, {'datetime': datetime.datetime(2019, 3, 19, 22, 41, 8, 337019), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 164.393616}) +2019-03-19 23:00:02,862 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-19 23:00:02,877 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:02,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,878 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:02,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,878 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,879 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,880 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,881 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:02,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,882 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-19 23:00:02,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,890 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,891 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,892 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,892 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,894 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,894 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:02,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,895 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-19 23:00:02,895 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-19 22:00:00 +时间为:### 2019-03-19 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 22:00:00" and datetime< "2019-03-19 23:00:00" +2019-03-19 23:00:02,902 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,902 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,903 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:02,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,904 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,906 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:02,907 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 22:00:00" and datetime< "2019-03-19 23:00:00" +2019-03-19 23:00:02,907 INFO sqlalchemy.engine.base.Engine {} +****25 +all****25 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 22:00:00" and datetime< "2019-03-19 23:00:00" +2019-03-19 23:00:03,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:03,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,942 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:03,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,943 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:03,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,944 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:03,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:03,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:03,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,946 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:03,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:03,947 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 22:00:00" and datetime< "2019-03-19 23:00:00" +2019-03-19 23:00:03,947 INFO sqlalchemy.engine.base.Engine {} +****25 +all****25 + +all****2 + +all****23 + +****2 + +****23 + +Start domain data classification: +2019-03-19 23:00:04,979 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:04,979 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,980 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,981 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,982 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,985 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-19 23:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:04,987 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 23:00:04,988 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-19 23:00:04,988 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 23, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-19 23:00:04,989 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-19 23:00:05,005 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:05,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,006 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:05,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,007 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,008 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:05,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,009 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:05,009 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,010 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:05,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,011 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:05,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,011 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-19 23:00:05,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,014 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 23:00:05,015 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-19 23:00:05,015 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 23, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 3, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 7, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-19 23:00:05,015 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-19 23:00:05,832 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-19 23:00:05,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,833 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-19 23:00:05,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,834 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-19 23:00:05,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,835 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-19 23:00:05,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,836 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:05,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,836 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-19 23:00:05,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,837 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-19 23:00:05,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,837 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-19 23:00:05,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-19 23:00:05,839 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-19 23:00:05,840 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-19 23:00:05,840 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 19, 23, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 5), ('chat', 3), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('playcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-19 23:00:05,841 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190320: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190320" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190320: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190320" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-20 00 +***** + +2019-03-20 00:00:03,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:03,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,140 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:03,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,141 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:03,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,142 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:03,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:03,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,146 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 00:00:03,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,148 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 00:00:03,151 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 00:00:03,151 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 19, 22, 0, 25, 54040), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '停止播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_stop', 'response_data': 'success', 'cost_time_ms': 581.453264}, {'datetime': datetime.datetime(2019, 3, 19, 22, 0, 45, 501797), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '饮料呢', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '少喝点哦,喝太多不好呢。', 'cost_time_ms': 326.083036}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 46, 774953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听周杰伦的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听周杰伦的歌。', 'cost_time_ms': 479.192526}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 47, 958665), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听周杰伦的千里之外', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听周杰伦的千里之外吧。', 'cost_time_ms': 476.13245}, {'datetime': datetime.datetime(2019, 3, 19, 22, 1, 49, 99094), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '我想听周杰伦的千里之外', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首周杰伦的千里之外。', 'cost_time_ms': 326.48663}, {'datetime': datetime.datetime(2019, 3, 19, 22, 6, 0, 296302), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好,我等你就是。', 'cost_time_ms': 320.989193}, {'datetime': datetime.datetime(2019, 3, 19, 22, 28, 46, 324499), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 2022.4438930000001}, {'datetime': datetime.datetime(2019, 3, 19, 22, 35, 49, 62360), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '放王志的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听王志的歌。', 'cost_time_ms': 585.647583} ... displaying 10 of 25 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 19, 22, 41, 5, 169330), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 180.191573}, {'datetime': datetime.datetime(2019, 3, 19, 22, 41, 8, 337019), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 164.393616}) +2019-03-20 00:00:03,153 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 00:00:03,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:03,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:03,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,213 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,213 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:03,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,216 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 00:00:03,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:03,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:03,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:03,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,232 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:03,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,235 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:03,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,236 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 00:00:03,236 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-19 23:00:00 +时间为:### 2019-03-20 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 23:00:00" and datetime< "2019-03-20 00:00:00" +2019-03-20 00:00:03,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:03,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,245 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:03,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:03,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:03,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:03,248 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 23:00:00" and datetime< "2019-03-20 00:00:00" +2019-03-20 00:00:03,248 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 23:00:00" and datetime< "2019-03-20 00:00:00" +2019-03-20 00:00:04,269 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,271 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,272 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:04,275 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-19 23:00:00" and datetime< "2019-03-20 00:00:00" +2019-03-20 00:00:04,275 INFO sqlalchemy.engine.base.Engine {} +****0 +all****0 + +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-20 00:00:05,312 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,313 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:05,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,314 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:05,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,315 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:05,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:05,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:05,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,317 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:05,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,318 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 00:00:05,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,320 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 00:00:05,321 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 00:00:05,321 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 00:00:05,322 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 00:00:05,339 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:05,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:05,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,341 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:05,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,342 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:05,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,345 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 00:00:05,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:05,348 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 00:00:05,350 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 00:00:05,350 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-20 00:00:05,350 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 00:00:06,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 00:00:06,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 00:00:06,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,173 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 00:00:06,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,173 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 00:00:06,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,174 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:06,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 00:00:06,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 00:00:06,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,176 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 00:00:06,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 00:00:06,178 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 00:00:06,179 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 00:00:06,179 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 0, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 5), ('chat', 3), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('playcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 00:00:06,179 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 01 +***** + +2019-03-20 01:00:02,510 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,511 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,512 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:02,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,513 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:02,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,514 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 01:00:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 01:00:02,521 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 01:00:02,521 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 0, 40, 19, 728251), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 543.687827}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 23, 137090), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 405.532878}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 26, 365631), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《早发白帝城》:', 'cost_time_ms': 226.021205}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 29, 583583), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从小鹿妈妈讲公主故事开始吧。', 'cost_time_ms': 214.711369}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 32, 787075), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 200.918308}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 36, 32993), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 242.835022}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 39, 199893), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 164.472991}, {'datetime': datetime.datetime(2019, 3, 20, 0, 40, 42, 370022), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 166.929105} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 0, 41, 5, 106293), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 163.748433}, {'datetime': datetime.datetime(2019, 3, 20, 0, 41, 8, 286627), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.259115}) +2019-03-20 01:00:02,523 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 01:00:02,533 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,534 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,535 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,535 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:02,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,537 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,538 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 01:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,547 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:02,547 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,548 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,549 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,550 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,551 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,552 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 01:00:02,552 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 00:00:00 +时间为:### 2019-03-20 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 00:00:00" and datetime< "2019-03-20 01:00:00" +2019-03-20 01:00:02,558 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:02,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:02,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,560 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,560 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:02,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:02,563 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 00:00:00" and datetime< "2019-03-20 01:00:00" +2019-03-20 01:00:02,563 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 00:00:00" and datetime< "2019-03-20 01:00:00" +2019-03-20 01:00:03,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:03,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:03,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,596 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:03,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,597 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:03,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:03,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:03,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:03,600 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 00:00:00" and datetime< "2019-03-20 01:00:00" +2019-03-20 01:00:03,600 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 01:00:04,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,625 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,628 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 01:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,630 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 01:00:04,631 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 01:00:04,631 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 1, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 01:00:04,632 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 01:00:04,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,651 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 01:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:04,653 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 01:00:04,655 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 01:00:04,655 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 1, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 01:00:04,655 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 01:00:05,514 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 01:00:05,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,515 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 01:00:05,515 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,516 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 01:00:05,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,517 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 01:00:05,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:05,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,518 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 01:00:05,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,519 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 01:00:05,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,519 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 01:00:05,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 01:00:05,521 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 01:00:05,522 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 01:00:05,522 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 1, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 01:00:05,523 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 02 +***** + +2019-03-20 02:00:02,889 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,890 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,892 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,894 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,894 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:02,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,896 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 02:00:02,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,898 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 02:00:02,901 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 02:00:02,901 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 1, 40, 19, 615290), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 434.512207}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 23, 58068), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 439.318672}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 26, 283700), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《望天门山》:', 'cost_time_ms': 222.886542}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 29, 479039), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听淘气包马小跳吧。', 'cost_time_ms': 192.015434}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 32, 669069), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 187.157595}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 35, 910397), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 238.117932}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 39, 69208), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 156.171361}, {'datetime': datetime.datetime(2019, 3, 20, 1, 40, 42, 266928), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 194.489155} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 1, 41, 4, 999345), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 162.27218}, {'datetime': datetime.datetime(2019, 3, 20, 1, 41, 8, 175446), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 172.980717}) +2019-03-20 02:00:02,903 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 02:00:02,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,935 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,936 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,939 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 02:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,947 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:02,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,948 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:02,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,949 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,949 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,951 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,951 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,952 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,952 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 02:00:02,953 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 01:00:00 +时间为:### 2019-03-20 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 01:00:00" and datetime< "2019-03-20 02:00:00" +2019-03-20 02:00:02,959 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,960 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,961 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,961 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:02,961 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:02,964 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 01:00:00" and datetime< "2019-03-20 02:00:00" +2019-03-20 02:00:02,964 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 01:00:00" and datetime< "2019-03-20 02:00:00" +2019-03-20 02:00:04,010 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:04,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:04,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:04,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,012 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:04,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:04,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:04,015 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 01:00:00" and datetime< "2019-03-20 02:00:00" +2019-03-20 02:00:04,015 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 02:00:05,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:05,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:05,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:05,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,047 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:05,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,050 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,051 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:05,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,052 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 02:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,055 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 02:00:05,059 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 02:00:05,059 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 2, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 02:00:05,060 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 02:00:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,089 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 02:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,092 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 02:00:05,093 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 02:00:05,093 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 2, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 02:00:05,094 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 02:00:05,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 02:00:05,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 02:00:05,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,935 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 02:00:05,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,935 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 02:00:05,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 02:00:05,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 02:00:05,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,938 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 02:00:05,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 02:00:05,940 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 02:00:05,941 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 02:00:05,941 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 2, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 02:00:05,941 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 03 +***** + +2019-03-20 03:00:02,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,252 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,253 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,254 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,256 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,257 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,258 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 03:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,261 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 03:00:02,264 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 03:00:02,264 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 2, 18, 2, 150313), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '音乐搞起来', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首木里的搞起来。', 'cost_time_ms': 671.804987}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 19, 671174), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 489.15092}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 23, 67152), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 392.815027}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 26, 308333), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《闻王昌龄左迁龙标遥有此寄》:', 'cost_time_ms': 238.307502}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 29, 507813), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听海底小纵队第一季吧。', 'cost_time_ms': 196.286155}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 32, 697136), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 186.558119}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 35, 945490), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 245.355114}, {'datetime': datetime.datetime(2019, 3, 20, 2, 40, 39, 107446), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 159.240224} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 2, 41, 4, 979931), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 161.443878}, {'datetime': datetime.datetime(2019, 3, 20, 2, 41, 8, 161109), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 178.141599}) +2019-03-20 03:00:02,266 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 03:00:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:02,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,277 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,278 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,279 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,279 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,279 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,280 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 03:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,291 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,293 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 03:00:02,293 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 02:00:00 +时间为:### 2019-03-20 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 02:00:00" and datetime< "2019-03-20 03:00:00" +2019-03-20 03:00:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,301 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,302 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:02,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:02,304 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 02:00:00" and datetime< "2019-03-20 03:00:00" +2019-03-20 03:00:02,304 INFO sqlalchemy.engine.base.Engine {} +****17 +all****17 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 02:00:00" and datetime< "2019-03-20 03:00:00" +2019-03-20 03:00:03,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:03,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,373 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:03,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,374 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:03,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,375 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:03,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,376 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:03,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:03,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,377 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:03,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:03,378 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 02:00:00" and datetime< "2019-03-20 03:00:00" +2019-03-20 03:00:03,378 INFO sqlalchemy.engine.base.Engine {} +****17 +all****17 + +all****1 + +all****16 + +****1 + +****16 + +Start domain data classification: +2019-03-20 03:00:04,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,409 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,410 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:04,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,412 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 03:00:04,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,415 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 03:00:04,416 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 03:00:04,416 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 3, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 03:00:04,416 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 03:00:04,429 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,430 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:04,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,431 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,431 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,433 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,433 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,434 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 03:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:04,436 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 03:00:04,437 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 03:00:04,437 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 3, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 2, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 03:00:04,438 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 03:00:05,260 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 03:00:05,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 03:00:05,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,262 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 03:00:05,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,263 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 03:00:05,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:05,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 03:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 03:00:05,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,266 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 03:00:05,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 03:00:05,268 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 03:00:05,268 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 03:00:05,268 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 3, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 03:00:05,269 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 04 +***** + +2019-03-20 04:00:02,188 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,190 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,191 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,194 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,195 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 04:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,197 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 04:00:02,200 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 04:00:02,200 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 3, 40, 19, 705342), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 523.603275}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 23, 138116), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 429.795719}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 26, 366176), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《蜀道难》:', 'cost_time_ms': 224.814211}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 29, 574735), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本淘气包马小跳,我讲给你听吧。', 'cost_time_ms': 205.798812}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 32, 768568), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 190.585825}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 36, 24531), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 253.25228}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 39, 187799), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 160.12786}, {'datetime': datetime.datetime(2019, 3, 20, 3, 40, 42, 372021), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 181.521373} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 3, 41, 5, 70918), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 160.272507}, {'datetime': datetime.datetime(2019, 3, 20, 3, 41, 8, 257142), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 183.586414}) +2019-03-20 04:00:02,201 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 04:00:02,211 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:02,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,213 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,213 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,214 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,216 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 04:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,227 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,230 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 04:00:02,230 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 03:00:00 +时间为:### 2019-03-20 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 03:00:00" and datetime< "2019-03-20 04:00:00" +2019-03-20 04:00:02,236 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,238 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,238 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,240 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 03:00:00" and datetime< "2019-03-20 04:00:00" +2019-03-20 04:00:02,241 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 03:00:00" and datetime< "2019-03-20 04:00:00" +2019-03-20 04:00:03,262 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:03,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,263 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:03,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,264 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:03,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,265 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:03,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:03,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:03,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:03,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:03,268 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 03:00:00" and datetime< "2019-03-20 04:00:00" +2019-03-20 04:00:03,269 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 04:00:04,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:04,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,304 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,307 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 04:00:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,309 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 04:00:04,310 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 04:00:04,310 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 4, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 04:00:04,311 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 04:00:04,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:04,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,331 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 04:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:04,334 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 04:00:04,335 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 04:00:04,335 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 4, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 04:00:04,335 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 04:00:05,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 04:00:05,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 04:00:05,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,181 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 04:00:05,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,182 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 04:00:05,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 04:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 04:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,186 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 04:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 04:00:05,188 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 04:00:05,189 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 04:00:05,189 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 4, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 04:00:05,190 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 05 +***** + +2019-03-20 05:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,552 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,553 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,557 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 05:00:02,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,559 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 05:00:02,562 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 05:00:02,562 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 4, 40, 19, 665310), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 484.270422}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 23, 155442), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 486.859543}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 26, 377218), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《行路难其一》:', 'cost_time_ms': 219.112976}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 29, 645488), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听灰姑娘吧。', 'cost_time_ms': 265.18289}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 32, 839591), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 191.517586}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 36, 99495), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 256.914364}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 39, 298262), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 196.305387}, {'datetime': datetime.datetime(2019, 3, 20, 4, 40, 42, 474850), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 173.642043} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 4, 41, 5, 266366), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 163.344883}, {'datetime': datetime.datetime(2019, 3, 20, 4, 41, 8, 442108), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 172.808436}) +2019-03-20 05:00:02,563 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 05:00:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,577 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,580 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 05:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,589 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,590 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,590 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,593 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 05:00:02,593 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 04:00:00 +时间为:### 2019-03-20 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 04:00:00" and datetime< "2019-03-20 05:00:00" +2019-03-20 05:00:02,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,600 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,601 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,602 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,603 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 04:00:00" and datetime< "2019-03-20 05:00:00" +2019-03-20 05:00:02,605 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 04:00:00" and datetime< "2019-03-20 05:00:00" +2019-03-20 05:00:03,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:03,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,664 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,665 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:03,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,665 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:03,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:03,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:03,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:03,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:03,668 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 04:00:00" and datetime< "2019-03-20 05:00:00" +2019-03-20 05:00:03,668 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 05:00:04,700 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,702 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,703 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,705 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 05:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,708 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 05:00:04,709 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 05:00:04,709 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 5, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 05:00:04,709 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 05:00:04,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:04,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,724 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:04,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,725 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:04,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,725 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:04,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:04,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,728 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 05:00:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:04,730 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 05:00:04,731 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 05:00:04,731 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 5, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 05:00:04,732 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 05:00:05,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 05:00:05,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 05:00:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,563 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 05:00:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,563 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 05:00:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:05,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 05:00:05,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,566 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 05:00:05,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,566 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 05:00:05,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 05:00:05,568 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 05:00:05,569 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 05:00:05,569 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 5, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 05:00:05,569 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 06 +***** + +2019-03-20 06:00:01,891 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:01,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,892 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:01,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,893 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:01,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,894 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:01,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:01,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,897 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 06:00:01,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,900 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 06:00:01,902 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 06:00:01,902 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 5, 40, 19, 605457), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 424.183558}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 23, 24436), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 415.724405}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 26, 273512), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《闻王昌龄左迁龙标遥有此寄》:', 'cost_time_ms': 246.384684}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 29, 484064), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从葫芦娃开始吧。', 'cost_time_ms': 207.439899}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 32, 683229), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 196.399055}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 35, 930553), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 244.287782}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 39, 94444), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 161.401966}, {'datetime': datetime.datetime(2019, 3, 20, 5, 40, 42, 267609), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 170.214674} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 5, 41, 4, 907438), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 156.450452}, {'datetime': datetime.datetime(2019, 3, 20, 5, 41, 8, 92596), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 182.174328}) +2019-03-20 06:00:01,904 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 06:00:01,917 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:01,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,918 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:01,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,919 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:01,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,920 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:01,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,921 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:01,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,923 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 06:00:01,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:01,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:01,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,934 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:01,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,934 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:01,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:01,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,937 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 06:00:01,937 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 05:00:00 +时间为:### 2019-03-20 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 05:00:00" and datetime< "2019-03-20 06:00:00" +2019-03-20 06:00:01,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:01,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:01,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,946 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:01,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,946 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:01,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,947 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:01,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,948 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:01,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:01,949 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 05:00:00" and datetime< "2019-03-20 06:00:00" +2019-03-20 06:00:01,949 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 05:00:00" and datetime< "2019-03-20 06:00:00" +2019-03-20 06:00:02,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,984 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,985 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:02,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:02,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:02,989 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 05:00:00" and datetime< "2019-03-20 06:00:00" +2019-03-20 06:00:02,989 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 06:00:04,017 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:04,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,019 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:04,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 06:00:04,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,025 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 06:00:04,026 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 06:00:04,026 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 6, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 06:00:04,027 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 06:00:04,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:04,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:04,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:04,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,046 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:04,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,047 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,047 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:04,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,049 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 06:00:04,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,051 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 06:00:04,053 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 06:00:04,053 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 6, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 06:00:04,053 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 06:00:04,859 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 06:00:04,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,860 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 06:00:04,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,862 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 06:00:04,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,862 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 06:00:04,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,863 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,864 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 06:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,865 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 06:00:04,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,865 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 06:00:04,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 06:00:04,867 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 06:00:04,868 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 06:00:04,868 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 6, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 06:00:04,869 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 07 +***** + +2019-03-20 07:00:02,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,200 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:02,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,201 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,201 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:02,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,205 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 07:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,207 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 07:00:02,210 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 07:00:02,210 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 6, 40, 19, 721288), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 539.464719}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 23, 235202), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 510.426668}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 26, 470693), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《关山月》:', 'cost_time_ms': 232.643651}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 29, 750260), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听托马斯和他的朋友们吧。', 'cost_time_ms': 276.251136}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 32, 971101), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 217.839075}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 36, 208473), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 234.022311}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 39, 385740), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 174.403458}, {'datetime': datetime.datetime(2019, 3, 20, 6, 40, 42, 569172), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 180.152144} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 6, 41, 5, 319342), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 174.128751}, {'datetime': datetime.datetime(2019, 3, 20, 6, 41, 8, 499677), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.069282}) +2019-03-20 07:00:02,211 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 07:00:02,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,226 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,229 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 07:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,239 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,242 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 07:00:02,242 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 06:00:00 +时间为:### 2019-03-20 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 06:00:00" and datetime< "2019-03-20 07:00:00" +2019-03-20 07:00:02,248 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:02,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,250 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:02,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,250 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:02,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:02,253 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 06:00:00" and datetime< "2019-03-20 07:00:00" +2019-03-20 07:00:02,253 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 06:00:00" and datetime< "2019-03-20 07:00:00" +2019-03-20 07:00:03,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:03,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:03,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:03,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,300 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:03,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 06:00:00" and datetime< "2019-03-20 07:00:00" +2019-03-20 07:00:03,303 INFO sqlalchemy.engine.base.Engine {} +****16 +all****16 + +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-20 07:00:04,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:04,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:04,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,324 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:04,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,325 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:04,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,327 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 07:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,330 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 07:00:04,331 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 07:00:04,331 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 7, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 07:00:04,331 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 07:00:04,344 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:04,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,345 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:04,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,346 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:04,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,346 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:04,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,347 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:04,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,348 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,349 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 07:00:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:04,351 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 07:00:04,352 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 07:00:04,352 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 7, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 07:00:04,353 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 07:00:05,165 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 07:00:05,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,166 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 07:00:05,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,167 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 07:00:05,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,168 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 07:00:05,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,169 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:05,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 07:00:05,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 07:00:05,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,171 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 07:00:05,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 07:00:05,173 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 07:00:05,173 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 07:00:05,173 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 7, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 07:00:05,174 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 08 +***** + +2019-03-20 08:00:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,539 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,540 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,540 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,542 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,543 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,544 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 08:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,546 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 08:00:02,548 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 08:00:02,548 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 7, 40, 19, 593186), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 412.611757}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 22, 977454), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 381.60584}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 26, 197987), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《送友人》:', 'cost_time_ms': 217.480018}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 29, 440453), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从淘气包马小跳开始吧。', 'cost_time_ms': 239.697754}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 32, 645822), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 202.006084}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 35, 865689), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 217.288515}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 39, 53169), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 184.355658}, {'datetime': datetime.datetime(2019, 3, 20, 7, 40, 42, 242265), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 186.533671} ... displaying 10 of 24 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 7, 59, 59, 145318), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 158.514216}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 2, 366674), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 210.547689}) +2019-03-20 08:00:02,550 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 08:00:02,561 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:02,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,562 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,562 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:02,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,563 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:02,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,564 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,565 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,565 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 08:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,575 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,576 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,579 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 08:00:02,579 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 07:00:00 +时间为:### 2019-03-20 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 07:00:00" and datetime< "2019-03-20 08:00:00" +2019-03-20 08:00:02,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:02,590 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 07:00:00" and datetime< "2019-03-20 08:00:00" +2019-03-20 08:00:02,590 INFO sqlalchemy.engine.base.Engine {} +****23 +all****23 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 07:00:00" and datetime< "2019-03-20 08:00:00" +2019-03-20 08:00:03,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:03,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:03,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:03,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:03,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,606 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:03,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:03,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:03,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:03,608 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 07:00:00" and datetime< "2019-03-20 08:00:00" +2019-03-20 08:00:03,608 INFO sqlalchemy.engine.base.Engine {} +****23 +all****23 + +all****1 + +all****22 + +****1 + +****22 + +Start domain data classification: +2019-03-20 08:00:04,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:04,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,651 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:04,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,652 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:04,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:04,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:04,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,655 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:04,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,656 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 08:00:04,656 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,660 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 08:00:04,661 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 08:00:04,661 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 8, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 08:00:04,662 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 08:00:04,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,685 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:04,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,686 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,688 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:04,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,690 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:04,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:04,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,692 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:04,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,693 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 08:00:04,693 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:04,696 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 08:00:04,697 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 08:00:04,697 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 8, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 2, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 2, 'music': 2, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 2, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 08:00:04,698 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 08:00:05,529 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 08:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 08:00:05,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,531 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 08:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,532 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 08:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 08:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 08:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,534 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 08:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 08:00:05,536 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 08:00:05,537 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 08:00:05,537 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 8, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('ancient_poem', 2), ('astro', 2), ('fm', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 08:00:05,537 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 09 +***** + +2019-03-20 09:00:02,931 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:02,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,934 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,934 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,938 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 09:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,941 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 09:00:02,943 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 09:00:02,943 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 8, 0, 5, 662477), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'stock', 'intent': 'marketindex', 'response_data': '沪市今天还没开盘,上证指数前一交易日下跌了5.44点,跌幅0.18%,收于3090.98点。', 'cost_time_ms': 285.593045}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 8, 936460), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'translate', 'intent': 'translate', 'response_data': 'apple', 'cost_time_ms': 263.249718}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 13, 956588), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'almanac', 'intent': 'search_almanac', 'response_data': '黄历上说今天吉凶参半:适合订盟、订婚、祭祀、动土、破土、交易、立券;不适合结婚、安葬。', 'cost_time_ms': 2009.4809699999998}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 17, 550040), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'finance', 'intent': 'search_oil', 'response_data': '广东89号汽油价格为每升7.43元,92号汽油7元,95号汽油7.59元,0号柴油6.61元,98号柴油8.49元', 'cost_time_ms': 582.907555}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 20, 727586), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '百度百科是百度公司推出的一部内容开放、自由的网络百科全书平台。其测试版于2006年4月20日上线,正式版在2008年4月21日发布,截至2017年9月,百度百科已经收录了超过1500万的词条,参与词条编辑的网友超过630万人,几乎涵盖了所有已知的知识领域。百度百科旨在创造一个涵盖各领域知识的中文信 ... (25 characters truncated) ... 调动互联网用户的力量,汇聚上亿用户的头脑智慧,积极进行交流和分享。同时,百度百科实现与百度搜索、百度知道的结合,从不同的层次上满足用户对信息的需求。2019年3月1日,针对百度百科事件的幕后黑手,百度已收集违法者相关证据,向公安机关报案,并将积极配合公安机关严厉打击利用技术篡改网页信息的不法分子。', 'cost_time_ms': 167.939128}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 24, 58612), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'science', 'intent': 'calculator', 'response_data': '一加一等于2', 'cost_time_ms': 320.386673}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 27, 223769), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 154.746692}, {'datetime': datetime.datetime(2019, 3, 20, 8, 0, 30, 423203), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 189.172395} ... displaying 10 of 21 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 8, 28, 58, 219913), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温22度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 540.378348}, {'datetime': datetime.datetime(2019, 3, 20, 8, 29, 14, 929762), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放郭兰英的我的祖国', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了郭兰英的我的祖国,陪你一起听哦。', 'cost_time_ms': 485.196398}) +2019-03-20 09:00:02,945 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 09:00:02,955 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:02,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,956 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:02,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,957 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,957 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,959 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,960 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,960 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 09:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,969 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:02,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,970 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:02,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,971 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,971 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,972 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,973 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,974 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:02,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,974 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 09:00:02,974 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 08:00:00 +时间为:### 2019-03-20 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 08:00:00" and datetime< "2019-03-20 09:00:00" +2019-03-20 09:00:02,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,982 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,983 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 08:00:00" and datetime< "2019-03-20 09:00:00" +2019-03-20 09:00:02,986 INFO sqlalchemy.engine.base.Engine {} +****22 +all****22 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 08:00:00" and datetime< "2019-03-20 09:00:00" +2019-03-20 09:00:04,025 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:04,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,026 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:04,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,027 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:04,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,027 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:04,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:04,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:04,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,030 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:04,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:04,030 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 08:00:00" and datetime< "2019-03-20 09:00:00" +2019-03-20 09:00:04,030 INFO sqlalchemy.engine.base.Engine {} +****22 +all****22 + +all****1 + +all****21 + +****1 + +****21 + +Start domain data classification: +2019-03-20 09:00:05,057 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:05,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,058 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:05,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,059 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:05,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,060 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:05,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:05,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,063 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 09:00:05,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,065 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 09:00:05,066 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 09:00:05,066 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 9, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 09:00:05,067 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 09:00:05,083 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,089 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 09:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,092 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 09:00:05,093 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 09:00:05,093 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 9, 0), 'almanac': 2, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 1, 'music': 2, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 2, 'translate': 2, 'weather': 1} +2019-03-20 09:00:05,105 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 09:00:05,907 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 09:00:05,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,908 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 09:00:05,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,909 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 09:00:05,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,909 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 09:00:05,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 09:00:05,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 09:00:05,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,912 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 09:00:05,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 09:00:05,914 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 09:00:05,914 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 09:00:05,915 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 9, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('stock', 2), ('translate', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('finance', 1), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 09:00:05,915 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 10 +***** + +2019-03-20 10:00:02,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,284 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,285 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,286 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,289 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 10:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,292 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 10:00:02,296 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 10:00:02,296 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 9, 8, 0, 104448), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '来一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '好听的儿歌,送给亲爱的你。', 'cost_time_ms': 520.995282}, {'datetime': datetime.datetime(2019, 3, 20, 9, 8, 32, 231751), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 518.805269}, {'datetime': datetime.datetime(2019, 3, 20, 9, 10, 1, 638979), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温22度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 428.809274}, {'datetime': datetime.datetime(2019, 3, 20, 9, 11, 15, 177844), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '我要听张学友的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '有风吹过的地方就有张学友的音乐回荡。', 'cost_time_ms': 484.740315}, {'datetime': datetime.datetime(2019, 3, 20, 9, 14, 10, 553275), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '给我放一首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听最热的歌。', 'cost_time_ms': 573.901407}, {'datetime': datetime.datetime(2019, 3, 20, 9, 14, 43, 24249), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放飘向北方', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放尤长靖/那吾克热-nw的飘向北方。', 'cost_time_ms': 289.000493}, {'datetime': datetime.datetime(2019, 3, 20, 9, 15, 59, 576545), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放只因太爱你', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了钟汉良的只因太爱你,陪你一起听哦。', 'cost_time_ms': 414.351263}, {'datetime': datetime.datetime(2019, 3, 20, 9, 16, 17, 764358), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温22度到26度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 333.566609} ... displaying 10 of 190 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 9, 59, 50, 584333), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 375.510211}, {'datetime': datetime.datetime(2019, 3, 20, 9, 59, 56, 199456), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 228.544485}) +2019-03-20 10:00:02,305 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 10:00:02,316 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:02,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:02,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,318 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,318 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:02,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,320 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:02,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,321 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 10:00:02,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,329 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,331 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,334 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 10:00:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,337 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 10:00:02,337 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 10:00:02,337 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 9, 16, 35, 219952), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '珠海殷切', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 241.359228}, {'datetime': datetime.datetime(2019, 3, 20, 9, 47, 20, 974940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '吵到制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 256.507928}, {'datetime': datetime.datetime(2019, 3, 20, 9, 49, 5, 499518), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 248.088703}, {'datetime': datetime.datetime(2019, 3, 20, 9, 54, 23, 738297), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 245.512414}, {'datetime': datetime.datetime(2019, 3, 20, 9, 59, 11, 294708), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '央视加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 235.456982}) +2019-03-20 10:00:02,338 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 09:00:00 +时间为:### 2019-03-20 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 09:00:00" and datetime< "2019-03-20 10:00:00" +2019-03-20 10:00:02,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:02,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,348 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:02,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,349 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:02,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:02,352 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 09:00:00" and datetime< "2019-03-20 10:00:00" +2019-03-20 10:00:02,352 INFO sqlalchemy.engine.base.Engine {} +****190 +all****190 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 09:00:00" and datetime< "2019-03-20 10:00:00" +2019-03-20 10:00:03,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,493 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:03,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,494 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:03,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 09:00:00" and datetime< "2019-03-20 10:00:00" +2019-03-20 10:00:03,497 INFO sqlalchemy.engine.base.Engine {} +****190 +all****190 + +all****77 + +all****113 + +****77 + +****108 + +Start domain data classification: +2019-03-20 10:00:04,529 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:04,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,530 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:04,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,531 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:04,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,532 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:04,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:04,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:04,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:04,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,536 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 10:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,538 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 10:00:04,539 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 10:00:04,539 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 10, 0), 'aircleaner': 0, 'airconditioner': 70, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 7, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 10:00:04,539 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 10:00:04,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:04,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,554 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:04,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,555 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:04,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,556 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:04,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,558 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,559 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 10:00:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:04,561 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 10:00:04,563 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 10:00:04,563 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 10, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 3, 'chat': 44, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 20, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 29} +2019-03-20 10:00:04,563 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 10:00:05,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 10:00:05,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 10:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 10:00:05,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 10:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:05,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 10:00:05,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 10:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,390 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 10:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 10:00:05,392 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 10:00:05,393 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 10:00:05,393 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 10, 0), '0~500ms': "[('airconditioner', 70), ('universalcontrol', 6), ('aircleaner', 0), ('chat', 49), ('weather', 29), ('music', 13)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('music', 7), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 10:00:05,394 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 11 +***** + +2019-03-20 11:00:03,336 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:03,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:03,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,338 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:03,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,339 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:03,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,340 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,342 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 11:00:03,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,345 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 11:00:03,351 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 11:00:03,351 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 10, 0, 14, 196736), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 451.194676}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 23, 49841), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 212.882017}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 23, 234725), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 267.031424}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 23, 365513), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 329.88478}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 24, 893616), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.695323}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 41, 856793), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 207.253573}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 41, 977391), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 198.060002}, {'datetime': datetime.datetime(2019, 3, 20, 10, 0, 41, 988707), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 205.750477} ... displaying 10 of 388 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 10, 59, 55, 773960), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力金贝', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '珠海格力电器股份有限公司,成立于1991年。前身是珠海市海利冷气工程股份有限公司,1991年,改组成“珠海格力电器股份有限公司”。1996年,公司在深圳证券交易所上市,目前隶属于格力集团旗下。', 'cost_time_ms': 335.895184}, {'datetime': datetime.datetime(2019, 3, 20, 10, 59, 58, 580845), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开自动模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 217.111544}) +2019-03-20 11:00:03,369 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 11:00:03,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,386 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:03,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,389 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 11:00:03,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:03,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,399 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:03,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,400 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:03,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,401 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,403 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 11:00:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,405 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 11:00:03,406 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 11:00:03,406 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 10, 6, 20, 475381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设到制热模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 238.478118}, {'datetime': datetime.datetime(2019, 3, 20, 10, 7, 16, 620409), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 239.29625}, {'datetime': datetime.datetime(2019, 3, 20, 10, 11, 13, 182688), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体情况可找专业人员咨询', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 214.973719}, {'datetime': datetime.datetime(2019, 3, 20, 10, 25, 12, 723909), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放的是什么', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 225.355971}, {'datetime': datetime.datetime(2019, 3, 20, 10, 37, 9, 595890), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 256.576373}, {'datetime': datetime.datetime(2019, 3, 20, 10, 37, 12, 47163), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为睡眠关闭', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 240.301693}, {'datetime': datetime.datetime(2019, 3, 20, 10, 39, 47, 651657), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '艾克斯空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 241.791238}, {'datetime': datetime.datetime(2019, 3, 20, 10, 48, 40, 220710), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '一个精彩原声', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 257.12645}) +2019-03-20 11:00:03,407 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 10:00:00 +时间为:### 2019-03-20 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 10:00:00" and datetime< "2019-03-20 11:00:00" +2019-03-20 11:00:03,414 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:03,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,415 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:03,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,416 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:03,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,417 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:03,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,418 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:03,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,419 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:03,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:03,419 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 10:00:00" and datetime< "2019-03-20 11:00:00" +2019-03-20 11:00:03,419 INFO sqlalchemy.engine.base.Engine {} +****388 +all****388 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 10:00:00" and datetime< "2019-03-20 11:00:00" +2019-03-20 11:00:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,460 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:04,463 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 10:00:00" and datetime< "2019-03-20 11:00:00" +2019-03-20 11:00:04,463 INFO sqlalchemy.engine.base.Engine {} +****388 +all****388 + +all****254 + +all****134 + +****254 + +****126 + +Start domain data classification: +2019-03-20 11:00:05,531 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:05,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,532 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:05,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,532 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,533 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:05,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,534 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:05,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,535 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:05,535 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,536 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,536 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 11:00:05,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,538 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 11:00:05,539 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 11:00:05,540 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 11, 0), 'aircleaner': 0, 'airconditioner': 224, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 30, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 11:00:05,540 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 11:00:05,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:05,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,554 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:05,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,555 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:05,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,555 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:05,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:05,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:05,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,558 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:05,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,558 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 11:00:05,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:05,560 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 11:00:05,562 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 11:00:05,562 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 11, 0), 'almanac': 1, 'ancient_poem': 3, 'astro': 1, 'baike': 3, 'chat': 71, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 6, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 2, 'music': 29, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 3} +2019-03-20 11:00:05,562 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 11:00:06,375 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 11:00:06,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 11:00:06,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,377 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 11:00:06,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,377 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 11:00:06,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:06,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 11:00:06,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 11:00:06,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,380 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 11:00:06,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 11:00:06,382 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 11:00:06,383 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 11:00:06,383 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 11, 0), '0~500ms': "[('airconditioner', 219), ('universalcontrol', 30), ('aircleaner', 0), ('chat', 79), ('music', 26), ('fm', 6)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 5), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 11:00:06,384 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 12 +***** + +2019-03-20 12:00:02,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,854 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:02,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,856 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,856 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:02,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,859 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,860 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 12:00:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,863 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 12:00:02,870 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 12:00:02,870 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 11, 0, 5, 123880), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放皇军', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 219.365874}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 10, 615559), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '天气预报', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海市今天多云,气温22度到24度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 461.433608}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 16, 90604), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放闪灵乐团的黄金', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是thewanted的goldforever?听听看吧。', 'cost_time_ms': 913.988037}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 35, 58345), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放王舟', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听王舟的歌吧!', 'cost_time_ms': 503.615533}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 40, 947062), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开空调制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 259.234615}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 42, 131863), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开空调制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.321839}, {'datetime': datetime.datetime(2019, 3, 20, 11, 0, 43, 940861), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 245.486328}, {'datetime': datetime.datetime(2019, 3, 20, 11, 1, 44, 556988), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放关于死亡金属的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放死亡金属歌曲。', 'cost_time_ms': 1090.723901} ... displaying 10 of 531 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 11, 59, 27, 619033), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 343.729888}, {'datetime': datetime.datetime(2019, 3, 20, 11, 59, 48, 981894), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 244.012092}) +2019-03-20 12:00:02,892 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 12:00:02,905 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,907 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,910 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 12:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,918 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,919 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,920 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,921 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:02,921 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,922 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,922 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,923 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:02,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,924 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 12:00:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,926 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 12:00:02,927 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 12:00:02,927 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 11, 0, 5, 123880), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放皇军', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 219.365874}, {'datetime': datetime.datetime(2019, 3, 20, 11, 8, 33, 369216), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放皇军', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 211.451582}, {'datetime': datetime.datetime(2019, 3, 20, 11, 17, 36, 951922), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '黄安源琵琶', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 209.813996}, {'datetime': datetime.datetime(2019, 3, 20, 11, 23, 18, 228444), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '背面一直亮', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 246.992714}, {'datetime': datetime.datetime(2019, 3, 20, 11, 25, 53, 614763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '轻度污染', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 255.651041}, {'datetime': datetime.datetime(2019, 3, 20, 11, 26, 6, 889567), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请换点', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 242.054021}, {'datetime': datetime.datetime(2019, 3, 20, 11, 27, 11, 448505), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '十一点二十六分', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 315.02925}, {'datetime': datetime.datetime(2019, 3, 20, 11, 28, 5, 634309), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 284.369907} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 11, 59, 17, 297095), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请先开机后再进行空调控制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 241.357385}, {'datetime': datetime.datetime(2019, 3, 20, 11, 59, 48, 981894), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '再进行空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 244.012092}) +2019-03-20 12:00:02,928 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 11:00:00 +时间为:### 2019-03-20 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 11:00:00" and datetime< "2019-03-20 12:00:00" +2019-03-20 12:00:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:02,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:02,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,939 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:02,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:02,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:02,942 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 11:00:00" and datetime< "2019-03-20 12:00:00" +2019-03-20 12:00:02,942 INFO sqlalchemy.engine.base.Engine {} +****531 +all****531 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 11:00:00" and datetime< "2019-03-20 12:00:00" +2019-03-20 12:00:04,015 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:04,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,016 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:04,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,017 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,017 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:04,017 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,018 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,019 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:04,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,020 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:04,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:04,020 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 11:00:00" and datetime< "2019-03-20 12:00:00" +2019-03-20 12:00:04,020 INFO sqlalchemy.engine.base.Engine {} +****531 +all****531 + +all****326 + +all****205 + +****326 + +****186 + +Start domain data classification: +2019-03-20 12:00:05,083 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:05,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,085 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,089 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 12:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,091 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 12:00:05,092 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 12:00:05,092 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 12, 0), 'aircleaner': 0, 'airconditioner': 283, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 43, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 12:00:05,093 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 12:00:05,106 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:05,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:05,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,108 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,108 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,111 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 12:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,114 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 12:00:05,115 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 12:00:05,115 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 12, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 111, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 6, 'joke': 1, 'music': 30, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 25} +2019-03-20 12:00:05,116 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 12:00:05,951 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 12:00:05,951 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 12:00:05,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,953 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 12:00:05,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,953 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 12:00:05,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,954 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,955 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 12:00:05,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 12:00:05,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,956 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 12:00:05,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 12:00:05,958 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 12:00:05,959 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 12:00:05,959 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 12, 0), '0~500ms': "[('airconditioner', 282), ('universalcontrol', 43), ('aircleaner', 0), ('chat', 129), ('weather', 24), ('music', 22)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 7), ('chat', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 12:00:05,959 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 13 +***** + +2019-03-20 13:00:02,353 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:02,353 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,355 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,356 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:02,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,360 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 13:00:02,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,362 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 13:00:02,366 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 13:00:02,366 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 12, 0, 13, 847659), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 251.091318}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 13, 982580), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.420589}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 14, 31042), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要制冷模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.068122}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 23, 563561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 188.721291}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 23, 668154), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 216.037894}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 23, 771674), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 210.531553}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 23, 788371), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 340.566114}, {'datetime': datetime.datetime(2019, 3, 20, 12, 0, 23, 793763), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制冷', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 307.92939} ... displaying 10 of 156 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 12, 52, 32, 511837), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 181.403643}, {'datetime': datetime.datetime(2019, 3, 20, 12, 52, 35, 724541), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 209.607888}) +2019-03-20 13:00:02,373 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 13:00:02,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:02,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,390 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 13:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,398 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:02,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,399 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:02,399 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,400 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:02,400 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,400 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:02,401 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,402 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,403 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:02,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,404 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 13:00:02,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,406 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 13:00:02,406 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 13:00:02,406 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 12, 0, 34, 235415), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调控制方式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 305.878839}, {'datetime': datetime.datetime(2019, 3, 20, 12, 2, 19, 130508), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '将停止空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 252.624534}, {'datetime': datetime.datetime(2019, 3, 20, 12, 9, 0, 787016), 'mac_wifi': 'f4911e590659', 'mac_voice': '000000000053', 'query': '做不了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 205.59193}, {'datetime': datetime.datetime(2019, 3, 20, 12, 15, 27, 597656), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 2012.0023539999997}) +2019-03-20 13:00:02,407 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 12:00:00 +时间为:### 2019-03-20 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 12:00:00" and datetime< "2019-03-20 13:00:00" +2019-03-20 13:00:02,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,423 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 12:00:00" and datetime< "2019-03-20 13:00:00" +2019-03-20 13:00:02,426 INFO sqlalchemy.engine.base.Engine {} +****156 +all****156 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 12:00:00" and datetime< "2019-03-20 13:00:00" +2019-03-20 13:00:03,449 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:03,450 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,450 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:03,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,451 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:03,451 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,452 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:03,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,453 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:03,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,454 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:03,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,455 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:03,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:03,455 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 12:00:00" and datetime< "2019-03-20 13:00:00" +2019-03-20 13:00:03,455 INFO sqlalchemy.engine.base.Engine {} +****156 +all****156 + +all****104 + +all****52 + +****104 + +****48 + +Start domain data classification: +2019-03-20 13:00:04,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,480 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:04,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,481 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:04,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,482 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,485 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 13:00:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,488 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 13:00:04,489 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 13:00:04,489 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 13, 0), 'aircleaner': 0, 'airconditioner': 93, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 9, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 13:00:04,489 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 13:00:04,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:04,502 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:04,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,504 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:04,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,505 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:04,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,507 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 13:00:04,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:04,509 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 13:00:04,511 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 13:00:04,511 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 13, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 27, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 6, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 2} +2019-03-20 13:00:04,511 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 13:00:05,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 13:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 13:00:05,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,388 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 13:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 13:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 13:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 13:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 13:00:05,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 13:00:05,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 13:00:05,394 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 13:00:05,395 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 13, 0), '0~500ms': "[('airconditioner', 92), ('universalcontrol', 9), ('playcontrol', 2), ('chat', 30), ('music', 6), ('weather', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 13:00:05,395 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 14 +***** + +2019-03-20 14:00:02,815 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,816 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,817 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:02,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,818 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:02,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,819 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,820 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,821 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:02,821 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,822 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 14:00:02,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,825 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 14:00:02,827 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 14:00:02,827 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 13, 41, 51, 922271), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '打开蓝牙', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '用蓝牙挺方便的。', 'cost_time_ms': 358.470408}, {'datetime': datetime.datetime(2019, 3, 20, 13, 45, 15, 63385), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'i一首', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我给你放一首新儿歌吧,相信你能很快学会。', 'cost_time_ms': 371.509065}, {'datetime': datetime.datetime(2019, 3, 20, 13, 46, 49, 316821), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 408.233536}, {'datetime': datetime.datetime(2019, 3, 20, 13, 46, 53, 257614), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放刘至佳的说爱你', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听刘至佳的说爱你。', 'cost_time_ms': 507.2327}, {'datetime': datetime.datetime(2019, 3, 20, 13, 47, 37, 249890), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 266.900615}, {'datetime': datetime.datetime(2019, 3, 20, 13, 48, 30, 167086), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 418.039177}, {'datetime': datetime.datetime(2019, 3, 20, 13, 48, 33, 678540), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 301.447429}, {'datetime': datetime.datetime(2019, 3, 20, 13, 49, 20, 494522), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放刘德华的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏刘德华的歌。', 'cost_time_ms': 301.386802} ... displaying 10 of 34 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 13, 55, 6, 933112), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '换一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 214.881419}, {'datetime': datetime.datetime(2019, 3, 20, 13, 55, 14, 401490), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 268.439712}) +2019-03-20 14:00:02,830 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 14:00:02,843 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:02,843 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,844 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:02,844 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,845 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,845 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:02,845 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,846 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,847 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,848 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,848 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 14:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,859 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:02,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,860 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:02,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,860 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:02,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,861 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:02,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,863 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,863 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,863 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,864 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:02,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,864 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 14:00:02,864 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 13:00:00 +时间为:### 2019-03-20 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 13:00:00" and datetime< "2019-03-20 14:00:00" +2019-03-20 14:00:02,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:02,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,873 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:02,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,874 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,874 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,875 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:02,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:02,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:02,877 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 13:00:00" and datetime< "2019-03-20 14:00:00" +2019-03-20 14:00:02,877 INFO sqlalchemy.engine.base.Engine {} +****34 +all****34 + +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 13:00:00" and datetime< "2019-03-20 14:00:00" +2019-03-20 14:00:03,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:03,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:03,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:03,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,914 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:03,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:03,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,916 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:03,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:03,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:03,917 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 13:00:00" and datetime< "2019-03-20 14:00:00" +2019-03-20 14:00:03,918 INFO sqlalchemy.engine.base.Engine {} +****34 +all****34 + +all****1 + +all****33 + +****1 + +****33 + +Start domain data classification: +2019-03-20 14:00:04,940 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:04,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,942 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,942 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,946 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 14:00:04,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,948 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 14:00:04,949 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 14:00:04,949 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 14, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 14:00:04,950 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 14:00:04,988 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:04,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,989 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:04,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,990 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:04,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,990 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:04,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,992 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:04,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,992 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:04,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,993 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:04,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,993 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 14:00:04,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:04,996 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 14:00:04,997 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 14:00:04,997 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 14, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 3, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 17, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 14:00:04,998 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 14:00:05,846 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 14:00:05,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 14:00:05,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,848 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 14:00:05,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,849 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 14:00:05,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:05,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 14:00:05,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 14:00:05,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,852 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 14:00:05,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 14:00:05,854 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 14:00:05,855 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 14:00:05,855 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 14, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 16), ('chat', 3), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 14:00:05,856 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 15 +***** + +2019-03-20 15:00:02,830 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,832 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:02,832 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,833 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:02,833 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,834 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:02,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,836 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,836 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,837 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,838 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 15:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,842 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 15:00:02,846 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 15:00:02,846 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 14, 0, 41, 745364), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放一首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 458.573235}, {'datetime': datetime.datetime(2019, 3, 20, 14, 1, 46, 924021), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '放首陈奕迅', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '每种心情都能用一首陈奕迅表达。', 'cost_time_ms': 533.852868}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 9, 142424), 'mac_wifi': 'f4911e5f5b27', 'mac_voice': 'c46e7b6f5c20', 'query': '播放一首神话情歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我猜你要找的是这类歌曲,来听听看吧。', 'cost_time_ms': 565.110547}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 23, 857098), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '亮亮的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '晶晶亮,透心凉。', 'cost_time_ms': 189.068149}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 24, 317089), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '亮亮的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听欧豪的歌。', 'cost_time_ms': 395.188313}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 24, 846319), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '亮亮的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '晶晶亮,透心凉。', 'cost_time_ms': 178.988026}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 25, 133182), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '亮亮的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '晶晶亮,透心凉。', 'cost_time_ms': 167.979414}, {'datetime': datetime.datetime(2019, 3, 20, 14, 2, 25, 676671), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '亮亮的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '要不我假装不知道你在复读,我们从头再演一遍。', 'cost_time_ms': 219.062727} ... displaying 10 of 111 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 14, 59, 53, 449775), 'mac_wifi': 'f4911e5906ec', 'mac_voice': 'c46e7b6f5bf2', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 254.3862}, {'datetime': datetime.datetime(2019, 3, 20, 14, 59, 58, 834285), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '你真棒', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '/害羞。', 'cost_time_ms': 197.720829}) +2019-03-20 15:00:02,862 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 15:00:02,883 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:02,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,884 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:02,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,885 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:02,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,886 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:02,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,887 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,888 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,889 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 15:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,914 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:02,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,915 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:02,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,916 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:02,916 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,916 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:02,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,919 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,919 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,920 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,920 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 15:00:02,920 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,923 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 15:00:02,924 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 15:00:02,925 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 14, 6, 58, 871776), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放度他不逗我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 347.527137}, {'datetime': datetime.datetime(2019, 3, 20, 14, 7, 9, 916202), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放度他不逗我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 216.053916}, {'datetime': datetime.datetime(2019, 3, 20, 14, 17, 44, 794965), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放工具', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 211.204118}, {'datetime': datetime.datetime(2019, 3, 20, 14, 25, 54, 123191), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '二小时后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 206.528673}, {'datetime': datetime.datetime(2019, 3, 20, 14, 40, 10, 514802), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '打开上下左右扫风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 350.775333}, {'datetime': datetime.datetime(2019, 3, 20, 14, 40, 20, 279125), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '打开上下左右扫风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 351.7808}) +2019-03-20 15:00:02,928 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 14:00:00 +时间为:### 2019-03-20 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 14:00:00" and datetime< "2019-03-20 15:00:00" +2019-03-20 15:00:02,957 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:02,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,958 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:02,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,959 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:02,959 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,960 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:02,960 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,961 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,962 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:02,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:02,963 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 14:00:00" and datetime< "2019-03-20 15:00:00" +2019-03-20 15:00:02,964 INFO sqlalchemy.engine.base.Engine {} +****111 +4 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 14:00:00" and datetime< "2019-03-20 15:00:00" +2019-03-20 15:00:05,027 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:05,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,028 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:05,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,029 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:05,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,030 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:05,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,032 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:05,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,032 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:05,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,033 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:05,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:05,034 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 14:00:00" and datetime< "2019-03-20 15:00:00" +2019-03-20 15:00:05,034 INFO sqlalchemy.engine.base.Engine {} +****111 +107 +all****4 + +all****107 + +****4 + +****101 + +Start domain data classification: +2019-03-20 15:00:07,055 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:07,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,057 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:07,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,058 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:07,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,058 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:07,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:07,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,061 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:07,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,062 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:07,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,063 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 15:00:07,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,067 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 15:00:07,068 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 15:00:07,068 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 15, 0), 'aircleaner': 0, 'airconditioner': 3, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 15:00:07,069 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 15:00:07,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:07,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,101 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:07,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,102 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:07,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,103 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:07,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:07,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:07,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,106 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:07,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,107 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 15:00:07,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:07,111 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 15:00:07,113 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 15:00:07,113 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 15, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 13, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 69, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 5} +2019-03-20 15:00:07,118 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 15:00:08,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 15:00:08,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,569 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 15:00:08,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,570 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 15:00:08,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,571 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 15:00:08,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:08,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 15:00:08,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 15:00:08,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,575 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 15:00:08,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 15:00:08,578 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 15:00:08,579 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 15:00:08,579 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 15, 0), '0~500ms': "[('airconditioner', 3), ('universalcontrol', 1), ('aircleaner', 0), ('music', 55), ('chat', 18), ('weather', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 14), ('chat', 1), ('weather', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 15:00:08,582 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py:1167: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison + result = method(y) +*****datetime: +2019-03-20 16 +***** + +Traceback (most recent call last): + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 420, in + load_run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 417, in load_run + TP.run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 393, in run + self.data_storage() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 149, in data_storage + control_error_data = outdata[(outdata['classify'] == 'control') & (outdata['code'] != 0)] + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1283, in wrapper + res = na_op(values, other) + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1169, in na_op + raise TypeError("invalid type comparison") +TypeError: invalid type comparison +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 17 +***** + +2019-03-20 17:00:03,202 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:03,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,204 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:03,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,205 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:03,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,206 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:03,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:03,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,210 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 17:00:03,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,214 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 17:00:03,222 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 17:00:03,226 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 16, 1, 45, 255337), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '一对营养', 'classify': 'application', 'code': 0, 'domain': 'food', 'intent': 'qa_foodnutrition_judge', 'response_data': '我还不够聪明,没有找到你想要的内容', 'cost_time_ms': 493.298325}, {'datetime': datetime.datetime(2019, 3, 20, 16, 2, 46, 166819), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '深圳天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳今天多云,气温22度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 495.275186}, {'datetime': datetime.datetime(2019, 3, 20, 16, 3, 7, 74637), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '这个可以啊', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这个真的没有。', 'cost_time_ms': 335.460142}, {'datetime': datetime.datetime(2019, 3, 20, 16, 3, 11, 837105), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '洗车吗。', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'conditional_search_activity', 'response_data': '明天在深圳市洗车的话,可能会被雨水或灰尘弄脏车辆,不建议洗车。格力空调祝您生活愉快。', 'cost_time_ms': 315.271113}, {'datetime': datetime.datetime(2019, 3, 20, 16, 3, 57, 837499), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '播放林俊杰的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当和你一起听林俊杰的歌。', 'cost_time_ms': 487.286971}, {'datetime': datetime.datetime(2019, 3, 20, 16, 4, 53, 678027), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '这个问题', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '这还真是个问题。', 'cost_time_ms': 167.132199}, {'datetime': datetime.datetime(2019, 3, 20, 16, 8, 7, 243071), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到十九度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 346.247521}, {'datetime': datetime.datetime(2019, 3, 20, 16, 8, 7, 496954), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到十九度', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_settemp', 'response_data': 'success', 'cost_time_ms': 317.631734} ... displaying 10 of 289 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 16, 59, 24, 27255), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 227.287531}, {'datetime': datetime.datetime(2019, 3, 20, 16, 59, 35, 467671), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调到祛湿', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 257.576486}) +2019-03-20 17:00:03,260 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 17:00:03,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:03,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,288 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:03,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,289 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:03,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,289 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:03,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,292 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:03,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,292 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 17:00:03,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,304 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,304 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:03,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,308 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 17:00:03,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,310 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 17:00:03,311 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 17:00:03,311 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 16, 14, 42, 982911), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调三十摄氏度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 375.671717}, {'datetime': datetime.datetime(2019, 3, 20, 16, 20, 30, 873972), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '智能风', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 216.441679}, {'datetime': datetime.datetime(2019, 3, 20, 16, 39, 52, 499992), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '可悲这些音频资源', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 210.247371}, {'datetime': datetime.datetime(2019, 3, 20, 16, 52, 43, 233244), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '惠联惠', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 204.965606}, {'datetime': datetime.datetime(2019, 3, 20, 16, 52, 43, 726473), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 221.365952}, {'datetime': datetime.datetime(2019, 3, 20, 16, 52, 43, 788462), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '熟睡模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 242.130586}, {'datetime': datetime.datetime(2019, 3, 20, 16, 52, 44, 72095), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前室温', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 260.816402}, {'datetime': datetime.datetime(2019, 3, 20, 16, 52, 46, 347235), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '惠联萌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 245.281075}, {'datetime': datetime.datetime(2019, 3, 20, 16, 55, 42, 27755), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 236.413302}) +2019-03-20 17:00:03,312 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 16:00:00 +时间为:### 2019-03-20 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 16:00:00" and datetime< "2019-03-20 17:00:00" +2019-03-20 17:00:03,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:03,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:03,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,331 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:03,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:03,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,333 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:03,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:03,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:03,335 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 16:00:00" and datetime< "2019-03-20 17:00:00" +2019-03-20 17:00:03,335 INFO sqlalchemy.engine.base.Engine {} +****289 +164 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 16:00:00" and datetime< "2019-03-20 17:00:00" +2019-03-20 17:00:04,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,623 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,623 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:04,626 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 16:00:00" and datetime< "2019-03-20 17:00:00" +2019-03-20 17:00:04,626 INFO sqlalchemy.engine.base.Engine {} +****289 +125 +all****164 + +all****125 + +****164 + +****116 + +Start domain data classification: +2019-03-20 17:00:06,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:06,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,119 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:06,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,120 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:06,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,121 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:06,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,123 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:06,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,123 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:06,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,124 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:06,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,125 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 17:00:06,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,128 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 17:00:06,130 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 17:00:06,130 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 17, 0), 'aircleaner': 0, 'airconditioner': 133, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 29, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 17:00:06,131 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 17:00:06,155 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:06,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,156 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:06,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,158 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:06,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,159 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:06,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:06,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:06,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:06,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,163 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 17:00:06,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:06,165 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 17:00:06,167 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 17:00:06,167 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 17, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 1, 'chat': 60, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 1, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 1, 'music': 27, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 12} +2019-03-20 17:00:06,167 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 17:00:07,075 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 17:00:07,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 17:00:07,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,077 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 17:00:07,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,078 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 17:00:07,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:07,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 17:00:07,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 17:00:07,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,081 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 17:00:07,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 17:00:07,084 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 17:00:07,084 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 17:00:07,084 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 17, 0), '0~500ms': "[('airconditioner', 133), ('universalcontrol', 29), ('playcontrol', 2), ('chat', 69), ('music', 26), ('weather', 12)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('sports', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 17:00:07,085 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 18 +***** + +2019-03-20 18:00:03,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:03,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,570 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,571 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:03,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,572 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:03,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,577 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 18:00:03,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,581 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 18:00:03,591 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 18:00:03,591 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 17, 0, 39, 664072), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 388.122819}, {'datetime': datetime.datetime(2019, 3, 20, 17, 0, 39, 893919), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开除湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 286.128366}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 0, 598545), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 330.295894}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 0, 741719), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 265.913021}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 0, 819561), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 220.693449}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 1, 100458), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 197.319128}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 2, 175526), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 214.605148}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 24, 993532), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 278.19842} ... displaying 10 of 372 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 17, 59, 42, 188121), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '自己清楚', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不清楚你说明白点。', 'cost_time_ms': 172.151769}, {'datetime': datetime.datetime(2019, 3, 20, 17, 59, 51, 756733), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开祛湿模式', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_dehumidifyon', 'response_data': 'success', 'cost_time_ms': 216.362969}) +2019-03-20 18:00:03,618 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 18:00:03,637 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:03,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:03,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,639 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:03,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:03,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,644 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 18:00:03,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,657 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:03,657 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,658 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:03,658 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,659 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:03,659 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,659 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:03,660 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,661 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,662 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,663 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:03,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,663 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 18:00:03,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,666 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 18:00:03,668 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 18:00:03,668 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 17, 1, 25, 860042), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开换风模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 247.528004}, {'datetime': datetime.datetime(2019, 3, 20, 17, 1, 26, 690133), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开换风模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 245.691779}, {'datetime': datetime.datetime(2019, 3, 20, 17, 2, 56, 556415), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '通常模式设为自动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 333.848345}, {'datetime': datetime.datetime(2019, 3, 20, 17, 5, 3, 709701), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 242.19723}, {'datetime': datetime.datetime(2019, 3, 20, 17, 10, 8, 790275), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '一千多啊它的食物它集中表现了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 243.721446}, {'datetime': datetime.datetime(2019, 3, 20, 17, 17, 47, 604436), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调模式设为', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 383.338605}, {'datetime': datetime.datetime(2019, 3, 20, 17, 22, 23, 708213), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '模式祛湿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 246.558775}, {'datetime': datetime.datetime(2019, 3, 20, 17, 33, 53, 953363), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调为制', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 251.668722} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 17, 55, 36, 974125), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 238.36493}, {'datetime': datetime.datetime(2019, 3, 20, 17, 55, 45, 461573), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '当前为异性', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 263.229085}) +2019-03-20 18:00:03,670 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 17:00:00 +时间为:### 2019-03-20 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 17:00:00" and datetime< "2019-03-20 18:00:00" +2019-03-20 18:00:03,681 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:03,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:03,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,683 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:03,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,684 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:03,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:03,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:03,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:03,688 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 17:00:00" and datetime< "2019-03-20 18:00:00" +2019-03-20 18:00:03,688 INFO sqlalchemy.engine.base.Engine {} +****372 +208 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 17:00:00" and datetime< "2019-03-20 18:00:00" +2019-03-20 18:00:06,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:06,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,117 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:06,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,119 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:06,119 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,120 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:06,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:06,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,122 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:06,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,124 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:06,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:06,125 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 17:00:00" and datetime< "2019-03-20 18:00:00" +2019-03-20 18:00:06,126 INFO sqlalchemy.engine.base.Engine {} +****372 +164 +all****208 + +all****164 + +****208 + +****148 + +Start domain data classification: +2019-03-20 18:00:07,723 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:07,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,724 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:07,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,725 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:07,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,726 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:07,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:07,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:07,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,728 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:07,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,729 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 18:00:07,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,731 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 18:00:07,732 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 18:00:07,732 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 18, 0), 'aircleaner': 0, 'airconditioner': 179, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 6, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 23, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 18:00:07,733 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 18:00:07,759 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:07,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,766 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:07,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,767 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:07,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,768 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:07,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:07,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:07,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,771 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:07,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,772 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 18:00:07,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:07,790 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 18:00:07,792 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 18:00:07,792 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 18, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 3, 'chat': 103, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 2, 'music': 15, 'news': 3, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 3, 'translate': 1, 'weather': 7} +2019-03-20 18:00:07,798 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 18:00:09,022 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 18:00:09,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,023 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 18:00:09,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,024 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 18:00:09,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,025 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 18:00:09,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,027 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:09,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 18:00:09,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 18:00:09,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,029 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 18:00:09,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 18:00:09,041 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 18:00:09,042 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 18:00:09,042 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 18, 0), '0~500ms': "[('airconditioner', 179), ('universalcontrol', 23), ('playcontrol', 6), ('chat', 117), ('music', 14), ('weather', 7)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 18:00:09,043 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 19 +***** + +2019-03-20 19:00:02,892 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,894 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:02,894 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,896 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:02,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,896 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:02,897 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,899 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,899 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,900 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,902 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 19:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,905 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 19:00:02,928 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 19:00:02,928 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 18, 0, 24, 537761), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 158.728056}, {'datetime': datetime.datetime(2019, 3, 20, 18, 0, 24, 956381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 177.358834}, {'datetime': datetime.datetime(2019, 3, 20, 18, 0, 24, 956381), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 177.358834}, {'datetime': datetime.datetime(2019, 3, 20, 18, 0, 48, 152744), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 158.353438}, {'datetime': datetime.datetime(2019, 3, 20, 18, 1, 7, 158353), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,我们支好耳朵一起听儿童故事,西游记吧。', 'cost_time_ms': 306.529904}, {'datetime': datetime.datetime(2019, 3, 20, 18, 1, 8, 800834), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 248.520517}, {'datetime': datetime.datetime(2019, 3, 20, 18, 1, 15, 170077), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温22度到27度,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 321.302823}, {'datetime': datetime.datetime(2019, 3, 20, 18, 1, 32, 582355), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 239.205686} ... displaying 10 of 371 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 18, 59, 59, 482077), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.543234}, {'datetime': datetime.datetime(2019, 3, 20, 18, 59, 59, 482077), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.543234}) +2019-03-20 19:00:02,947 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 19:00:02,966 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:02,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,969 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:02,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,969 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:02,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,972 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,972 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:02,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,973 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 19:00:02,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,982 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,984 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,984 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,987 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 19:00:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,989 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 19:00:02,990 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 19:00:02,990 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 18, 2, 15, 208796), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '进一步放', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 219.868886}, {'datetime': datetime.datetime(2019, 3, 20, 18, 2, 57, 355173), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '进一步放', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 216.263946}, {'datetime': datetime.datetime(2019, 3, 20, 18, 4, 9, 493601), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调制暖功能', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 247.039005}, {'datetime': datetime.datetime(2019, 3, 20, 18, 4, 38, 580912), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '丑到制暖', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 296.868597}, {'datetime': datetime.datetime(2019, 3, 20, 18, 7, 39, 644090), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '貌似模式打开', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 243.531661}, {'datetime': datetime.datetime(2019, 3, 20, 18, 9, 57, 511199), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调设置为自动模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 239.286261}, {'datetime': datetime.datetime(2019, 3, 20, 18, 41, 23, 111588), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我自己我自己写的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 265.139033}, {'datetime': datetime.datetime(2019, 3, 20, 18, 49, 49, 245746), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你没带东西吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 262.445345} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 18, 53, 44, 528377), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '温度加高两度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 246.977251}, {'datetime': datetime.datetime(2019, 3, 20, 18, 54, 30, 764307), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '一九八五年四月十九日', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 247.456186}) +2019-03-20 19:00:02,991 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 18:00:00 +时间为:### 2019-03-20 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 18:00:00" and datetime< "2019-03-20 19:00:00" +2019-03-20 19:00:02,998 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,999 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:02,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:02,999 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:03,000 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:03,001 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:03,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:03,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:03,002 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:03,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:03,003 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 18:00:00" and datetime< "2019-03-20 19:00:00" +2019-03-20 19:00:03,003 INFO sqlalchemy.engine.base.Engine {} +****371 +283 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 18:00:00" and datetime< "2019-03-20 19:00:00" +2019-03-20 19:00:04,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:04,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,050 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:04,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,051 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:04,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,051 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:04,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:04,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:04,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:04,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:04,054 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 18:00:00" and datetime< "2019-03-20 19:00:00" +2019-03-20 19:00:04,054 INFO sqlalchemy.engine.base.Engine {} +****371 +88 +all****283 + +all****88 + +****283 + +****77 + +Start domain data classification: +2019-03-20 19:00:05,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,109 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:05,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,110 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,114 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 19:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,117 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 19:00:05,119 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 19:00:05,119 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 19, 0), 'aircleaner': 0, 'airconditioner': 266, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 7, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 10, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 19:00:05,119 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 19:00:05,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:05,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,133 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:05,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,134 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:05,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,135 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:05,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,137 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,137 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 19:00:05,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 19:00:05,141 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 19:00:05,141 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 19, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 2, 'chat': 49, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 5, 'joke': 1, 'music': 4, 'news': 0, 'recipe': 0, 'science': 2, 'sound': 1, 'sports': 1, 'stock': 1, 'translate': 0, 'weather': 3} +2019-03-20 19:00:05,141 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 19:00:05,966 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 19:00:05,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,967 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 19:00:05,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,968 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 19:00:05,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,969 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 19:00:05,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,970 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,970 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,970 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 19:00:05,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,971 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 19:00:05,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,972 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 19:00:05,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 19:00:05,973 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 19:00:05,974 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 19:00:05,974 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 19, 0), '0~500ms': "[('airconditioner', 265), ('universalcontrol', 10), ('playcontrol', 7), ('chat', 60), ('holiday', 5), ('fm', 4)]", '1000~2000ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('baike', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 19:00:05,975 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 20 +***** + +2019-03-20 20:00:02,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,429 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:02,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,430 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,430 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:02,430 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,433 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,434 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 20:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,437 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 20:00:02,442 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 20:00:02,442 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 19, 0, 14, 586719), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.168777}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 15, 125111), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 243.892891}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 21, 434241), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 242.299586}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 22, 935480), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 242.692214}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 23, 996889), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 249.617436}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 34, 330409), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.477858}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 36, 391105), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式奥克斯空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '奥克斯是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 279.368486}, {'datetime': datetime.datetime(2019, 3, 20, 19, 0, 57, 302442), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '打开加热', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 253.770448} ... displaying 10 of 268 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 19, 52, 33, 41149), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 165.222132}, {'datetime': datetime.datetime(2019, 3, 20, 19, 52, 36, 222714), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 178.606626}) +2019-03-20 20:00:02,453 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 20:00:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:02,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,466 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,467 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:02,467 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,468 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:02,468 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,469 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,469 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,470 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:02,470 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,471 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 20:00:02,471 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,480 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,481 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,484 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 20:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,486 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 20:00:02,487 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 20:00:02,487 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 19, 0, 22, 935480), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '设为送风模', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 242.692214}, {'datetime': datetime.datetime(2019, 3, 20, 19, 2, 53, 500506), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 315.50396}, {'datetime': datetime.datetime(2019, 3, 20, 19, 3, 7, 40074), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开机后', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 1966.3442890000001}, {'datetime': datetime.datetime(2019, 3, 20, 19, 10, 16, 129945), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式设为制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 232.257245}, {'datetime': datetime.datetime(2019, 3, 20, 19, 11, 26, 708507), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调大制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 234.513317}, {'datetime': datetime.datetime(2019, 3, 20, 19, 11, 27, 694563), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调大制冷', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 235.734568}, {'datetime': datetime.datetime(2019, 3, 20, 19, 13, 54, 131823), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '空调具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 246.635328}, {'datetime': datetime.datetime(2019, 3, 20, 19, 14, 6, 965953), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请将开制热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 235.757329} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 19, 43, 46, 502474), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '生活愉快', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 184.82043}, {'datetime': datetime.datetime(2019, 3, 20, 19, 45, 39, 925757), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 206.865395}) +2019-03-20 20:00:02,500 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 19:00:00 +时间为:### 2019-03-20 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 19:00:00" and datetime< "2019-03-20 20:00:00" +2019-03-20 20:00:02,507 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,507 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,508 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,509 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,511 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:02,512 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 19:00:00" and datetime< "2019-03-20 20:00:00" +2019-03-20 20:00:02,512 INFO sqlalchemy.engine.base.Engine {} +****268 +147 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 19:00:00" and datetime< "2019-03-20 20:00:00" +2019-03-20 20:00:03,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:03,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:03,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,626 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:03,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,627 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:03,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:03,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:03,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:03,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:03,630 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 19:00:00" and datetime< "2019-03-20 20:00:00" +2019-03-20 20:00:03,630 INFO sqlalchemy.engine.base.Engine {} +****268 +121 +all****147 + +all****121 + +****147 + +****105 + +Start domain data classification: +2019-03-20 20:00:04,670 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:04,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,671 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:04,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,672 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:04,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,673 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:04,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,674 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:04,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,675 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,675 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:04,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,676 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 20:00:04,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,678 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 20:00:04,679 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 20:00:04,679 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 20, 0), 'aircleaner': 0, 'airconditioner': 130, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 17, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 20:00:04,680 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 20:00:04,694 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:04,694 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,695 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:04,695 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,696 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:04,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,696 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:04,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,699 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:04,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,700 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 20:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:04,703 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 20:00:04,704 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 20:00:04,704 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 20, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 3, 'chat': 80, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 2, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 2, 'weather': 5} +2019-03-20 20:00:04,704 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 20:00:05,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 20:00:05,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 20:00:05,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,577 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 20:00:05,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,578 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 20:00:05,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 20:00:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,581 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 20:00:05,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,581 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 20:00:05,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 20:00:05,583 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 20:00:05,584 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 20:00:05,584 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 20, 0), '0~500ms': "[('airconditioner', 130), ('universalcontrol', 17), ('aircleaner', 0), ('chat', 95), ('weather', 5), ('baike', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 20:00:05,585 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 21 +***** + +2019-03-20 21:00:01,992 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:01,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,993 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:01,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,994 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:01,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,995 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,996 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:01,996 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:01,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:01,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:01,999 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 21:00:01,999 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,001 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 21:00:02,004 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 21:00:02,004 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 20, 13, 11, 273852), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 409.080075}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 14, 283444), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '细节决定成败。', 'cost_time_ms': 173.671107}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 14, 576499), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '细节决定成败。', 'cost_time_ms': 329.500233}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 15, 202642), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不清楚就说不能要?', 'cost_time_ms': 218.30003}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 15, 559888), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 235.07984}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 16, 664294), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 229.234162}, {'datetime': datetime.datetime(2019, 3, 20, 20, 17, 59, 498340), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '结束啊', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_off', 'response_data': 'success', 'cost_time_ms': 454.581478}, {'datetime': datetime.datetime(2019, 3, 20, 20, 18, 10, 135345), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '你不要说话了', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '是啊,有没有被我的声音给迷住。', 'cost_time_ms': 317.38516} ... displaying 10 of 43 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 20, 56, 22, 549754), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温22度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 486.440038}, {'datetime': datetime.datetime(2019, 3, 20, 20, 56, 40, 12452), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 387.754825}) +2019-03-20 21:00:02,007 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 21:00:02,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:02,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,019 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:02,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,020 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,021 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,023 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 21:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:02,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,032 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:02,032 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,033 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,034 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,035 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,037 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 21:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,040 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 21:00:02,041 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 21:00:02,041 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 20, 13, 15, 559888), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 235.07984}, {'datetime': datetime.datetime(2019, 3, 20, 20, 13, 16, 664294), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '具体细节我也不清楚', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 229.234162}, {'datetime': datetime.datetime(2019, 3, 20, 20, 19, 39, 980847), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '每一次都是我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 290.777363}, {'datetime': datetime.datetime(2019, 3, 20, 20, 44, 19, 256368), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 325.413925}, {'datetime': datetime.datetime(2019, 3, 20, 20, 45, 18, 562600), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '这个板子有问题吗?', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 359.334482}, {'datetime': datetime.datetime(2019, 3, 20, 20, 46, 45, 856949), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '客厅的环境', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 365.215419}, {'datetime': datetime.datetime(2019, 3, 20, 20, 47, 7, 707415), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '这个看规格和感觉还在', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 214.747291}) +2019-03-20 21:00:02,042 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 20:00:00 +时间为:### 2019-03-20 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 20:00:00" and datetime< "2019-03-20 21:00:00" +2019-03-20 21:00:02,051 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:02,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,051 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:02,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,052 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:02,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,053 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:02,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:02,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,056 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:02,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:02,056 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 20:00:00" and datetime< "2019-03-20 21:00:00" +2019-03-20 21:00:02,056 INFO sqlalchemy.engine.base.Engine {} +****43 +4 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 20:00:00" and datetime< "2019-03-20 21:00:00" +2019-03-20 21:00:03,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:03,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,208 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,209 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:03,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,210 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:03,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:03,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,212 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:03,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,213 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:03,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:03,213 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 20:00:00" and datetime< "2019-03-20 21:00:00" +2019-03-20 21:00:03,213 INFO sqlalchemy.engine.base.Engine {} +****43 +39 +all****4 + +all****39 + +****4 + +****32 + +Start domain data classification: +2019-03-20 21:00:04,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:04,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,248 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:04,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,249 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:04,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:04,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:04,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,252 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:04,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,252 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 21:00:04,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,254 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 21:00:04,256 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 21:00:04,256 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 21, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 21:00:04,256 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 21:00:04,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:04,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,271 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:04,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,272 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:04,272 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,273 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:04,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:04,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,275 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:04,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,275 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 21:00:04,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:04,278 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 21:00:04,279 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 21:00:04,279 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 21, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 11, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 4, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 4} +2019-03-20 21:00:04,280 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 21:00:05,083 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 21:00:05,083 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 21:00:05,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,085 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 21:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 21:00:05,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 21:00:05,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,089 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 21:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,090 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 21:00:05,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 21:00:05,092 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 21:00:05,093 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 21:00:05,093 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 21, 0), '0~500ms': "[('playcontrol', 2), ('airconditioner', 1), ('universalcontrol', 1), ('chat', 18), ('music', 3), ('weather', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 21:00:05,094 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 22 +***** + +2019-03-20 22:00:02,504 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,505 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,507 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,511 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 22:00:02,511 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,513 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 22:00:02,516 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 22:00:02,516 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 21, 3, 51, 519009), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '最后的一个文件', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '用手机也可以下?', 'cost_time_ms': 351.206976}, {'datetime': datetime.datetime(2019, 3, 20, 21, 9, 53, 718625), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '谢谢您我还会继续努力的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '一直喜欢你。', 'cost_time_ms': 405.524481}, {'datetime': datetime.datetime(2019, 3, 20, 21, 9, 55, 67219), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '谢谢你我还会继续努力的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '别客气,祝你成功!', 'cost_time_ms': 197.784933}, {'datetime': datetime.datetime(2019, 3, 20, 21, 10, 3, 751804), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我想听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 482.930608}, {'datetime': datetime.datetime(2019, 3, 20, 21, 10, 13, 258798), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 173.427248}, {'datetime': datetime.datetime(2019, 3, 20, 21, 10, 30, 84775), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 186.49986}, {'datetime': datetime.datetime(2019, 3, 20, 21, 11, 14, 438873), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 196.678093}, {'datetime': datetime.datetime(2019, 3, 20, 21, 14, 43, 198540), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '没声音', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 366.439875} ... displaying 10 of 33 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 21, 52, 33, 131716), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 226.851547}, {'datetime': datetime.datetime(2019, 3, 20, 21, 52, 36, 327164), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 192.892062}) +2019-03-20 22:00:02,518 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 22:00:02,583 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,585 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,586 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,588 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 22:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,597 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,599 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,601 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:02,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,602 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 22:00:02,602 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,604 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 22:00:02,605 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 22:00:02,605 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 21, 14, 43, 198540), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '没声音', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 366.439875} +2019-03-20 22:00:02,605 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-20 21:00:00 +时间为:### 2019-03-20 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 21:00:00" and datetime< "2019-03-20 22:00:00" +2019-03-20 22:00:02,613 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,614 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,614 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,615 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,616 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 21:00:00" and datetime< "2019-03-20 22:00:00" +2019-03-20 22:00:02,618 INFO sqlalchemy.engine.base.Engine {} +****33 +6 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 21:00:00" and datetime< "2019-03-20 22:00:00" +2019-03-20 22:00:03,721 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:03,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,722 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:03,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,723 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:03,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,724 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:03,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,725 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:03,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,726 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:03,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,727 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:03,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:03,727 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 21:00:00" and datetime< "2019-03-20 22:00:00" +2019-03-20 22:00:03,728 INFO sqlalchemy.engine.base.Engine {} +****33 +27 +all****6 + +all****27 + +****6 + +****26 + +Start domain data classification: +2019-03-20 22:00:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,773 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,774 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:04,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,777 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,777 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 22:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,779 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 22:00:04,781 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 22:00:04,781 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 22, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 5, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 22:00:04,781 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 22:00:04,795 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,798 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:04,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,801 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 22:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:04,803 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 22:00:04,804 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 22:00:04,804 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 22, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 6, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 3, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 4} +2019-03-20 22:00:04,805 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 22:00:05,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 22:00:05,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 22:00:05,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,631 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 22:00:05,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,631 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 22:00:05,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 22:00:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 22:00:05,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,634 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 22:00:05,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 22:00:05,636 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 22:00:05,637 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 22:00:05,637 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 22, 0), '0~500ms': "[('playcontrol', 5), ('airconditioner', 1), ('aircleaner', 0), ('chat', 7), ('music', 3), ('weather', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 1), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 22:00:05,637 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-20 23 +***** + +2019-03-20 23:00:02,035 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,036 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,037 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,037 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:02,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:02,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,041 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-20 23:00:02,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,043 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 23:00:02,046 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-20 23:00:02,046 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 22, 18, 54, 11765), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '声音增大最大', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risevolmax', 'response_data': 'success', 'cost_time_ms': 355.264354}, {'datetime': datetime.datetime(2019, 3, 20, 22, 37, 54, 210760), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '喇叭不行呢', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '可以放大音量。', 'cost_time_ms': 369.995348}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 47, 172089), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 442.372125}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 50, 604008), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 427.194212}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 53, 833660), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《宣州谢脁楼饯别校书叔云》:', 'cost_time_ms': 226.963165}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 57, 32930), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从巴巴爸爸的故事开始吧。', 'cost_time_ms': 195.940497}, {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 0, 220609), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 184.63816}, {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 3, 472523), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 249.099257} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 35, 554906), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 164.942551}, {'datetime': datetime.datetime(2019, 3, 20, 22, 53, 49, 647435), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放汪峰的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起感受内心的力量。', 'cost_time_ms': 490.194544}) +2019-03-20 23:00:02,048 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-20 23:00:02,060 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:02,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:02,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,061 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:02,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,062 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:02,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,064 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:02,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,065 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-20 23:00:02,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,073 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:02,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,073 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:02,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,074 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:02,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,075 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:02,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,077 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,078 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:02,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,078 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-20 23:00:02,078 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 22:00:00 +时间为:### 2019-03-20 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 22:00:00" and datetime< "2019-03-20 23:00:00" +2019-03-20 23:00:02,084 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:02,084 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,085 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:02,085 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,086 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:02,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,086 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:02,086 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,087 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,088 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:02,089 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 22:00:00" and datetime< "2019-03-20 23:00:00" +2019-03-20 23:00:02,089 INFO sqlalchemy.engine.base.Engine {} +****19 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 22:00:00" and datetime< "2019-03-20 23:00:00" +2019-03-20 23:00:03,167 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:03,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,168 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:03,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,168 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:03,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,169 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:03,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:03,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:03,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:03,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:03,172 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 22:00:00" and datetime< "2019-03-20 23:00:00" +2019-03-20 23:00:03,172 INFO sqlalchemy.engine.base.Engine {} +****19 +17 +all****2 + +all****17 + +****2 + +****17 + +Start domain data classification: +2019-03-20 23:00:04,206 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:04,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,207 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:04,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,208 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:04,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,209 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:04,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,210 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:04,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:04,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:04,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,212 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-20 23:00:04,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,214 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 23:00:04,215 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-20 23:00:04,215 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 23, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-20 23:00:04,216 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-20 23:00:04,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:04,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:04,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:04,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,231 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:04,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,232 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:04,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:04,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:04,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,234 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-20 23:00:04,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:04,236 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 23:00:04,237 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-20 23:00:04,237 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 23, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 2, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-20 23:00:04,238 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-20 23:00:05,052 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-20 23:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,053 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-20 23:00:05,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,054 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-20 23:00:05,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,054 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-20 23:00:05,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,056 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:05,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,056 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-20 23:00:05,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,057 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-20 23:00:05,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,057 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-20 23:00:05,057 INFO sqlalchemy.engine.base.Engine {} +2019-03-20 23:00:05,059 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-20 23:00:05,060 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-20 23:00:05,060 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 20, 23, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 2), ('music', 2), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-20 23:00:05,061 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190321: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190321" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190321: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190321" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-21 00 +***** + +2019-03-21 00:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,591 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,593 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,597 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 00:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,599 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 00:00:02,602 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 00:00:02,602 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 20, 22, 18, 54, 11765), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '声音增大最大', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_risevolmax', 'response_data': 'success', 'cost_time_ms': 355.264354}, {'datetime': datetime.datetime(2019, 3, 20, 22, 37, 54, 210760), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '喇叭不行呢', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '可以放大音量。', 'cost_time_ms': 369.995348}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 47, 172089), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 442.372125}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 50, 604008), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 427.194212}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 53, 833660), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《宣州谢脁楼饯别校书叔云》:', 'cost_time_ms': 226.963165}, {'datetime': datetime.datetime(2019, 3, 20, 22, 51, 57, 32930), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从巴巴爸爸的故事开始吧。', 'cost_time_ms': 195.940497}, {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 0, 220609), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 184.63816}, {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 3, 472523), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 249.099257} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 20, 22, 52, 35, 554906), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 164.942551}, {'datetime': datetime.datetime(2019, 3, 20, 22, 53, 49, 647435), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放汪峰的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起感受内心的力量。', 'cost_time_ms': 490.194544}) +2019-03-21 00:00:02,604 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 00:00:02,614 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,616 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,616 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,619 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 00:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,630 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,633 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 00:00:02,633 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-20 23:00:00 +时间为:### 2019-03-21 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 23:00:00" and datetime< "2019-03-21 00:00:00" +2019-03-21 00:00:02,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:02,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,640 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:02,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,641 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:02,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,641 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:02,644 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 23:00:00" and datetime< "2019-03-21 00:00:00" +2019-03-21 00:00:02,644 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 23:00:00" and datetime< "2019-03-21 00:00:00" +2019-03-21 00:00:03,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:03,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:03,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,712 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:03,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,713 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:03,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:03,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:03,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,716 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:03,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:03,716 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-20 23:00:00" and datetime< "2019-03-21 00:00:00" +2019-03-21 00:00:03,717 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-21 00:00:04,743 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:04,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,744 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:04,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,745 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:04,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,746 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:04,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,747 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:04,747 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:04,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,748 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:04,748 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,749 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 00:00:04,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,751 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 00:00:04,752 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 00:00:04,752 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 00:00:04,753 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 00:00:04,766 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,767 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:04,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,768 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,768 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:04,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,769 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:04,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:04,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,770 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,771 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 00:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:04,773 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 00:00:04,774 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 00:00:04,774 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-21 00:00:04,775 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 00:00:05,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 00:00:05,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 00:00:05,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,640 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 00:00:05,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 00:00:05,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:05,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 00:00:05,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 00:00:05,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,644 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 00:00:05,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 00:00:05,646 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 00:00:05,646 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 00:00:05,646 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 0, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 2), ('music', 2), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 00:00:05,647 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 01 +***** + +2019-03-21 01:00:01,988 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:01,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,990 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,991 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:01,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,992 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:01,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,993 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:01,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:01,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,994 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:01,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,995 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 01:00:01,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:01,998 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 01:00:02,000 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 01:00:02,000 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 0, 51, 47, 213151), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 482.212907}, {'datetime': datetime.datetime(2019, 3, 21, 0, 51, 50, 631276), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 414.665793}, {'datetime': datetime.datetime(2019, 3, 21, 0, 51, 53, 902649), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《早发白帝城》:', 'cost_time_ms': 268.748893}, {'datetime': datetime.datetime(2019, 3, 21, 0, 51, 57, 107362), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从一千零一夜开始吧。', 'cost_time_ms': 201.315454}, {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 0, 314625), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 204.608972}, {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 3, 571418), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 253.729007}, {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 6, 734144), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 159.922911}, {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 9, 913642), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 176.379035} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 32, 614821), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 162.14949}, {'datetime': datetime.datetime(2019, 3, 21, 0, 52, 35, 795728), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.750938}) +2019-03-21 01:00:02,002 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 01:00:02,019 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:02,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,020 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:02,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,021 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,021 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:02,021 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,023 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,024 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:02,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,024 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 01:00:02,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,033 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:02,033 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,034 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:02,034 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,035 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:02,035 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,036 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,037 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,038 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 01:00:02,038 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 00:00:00 +时间为:### 2019-03-21 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 00:00:00" and datetime< "2019-03-21 01:00:00" +2019-03-21 01:00:02,044 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:02,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,045 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:02,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,046 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,046 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:02,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,048 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:02,048 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,049 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:02,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:02,049 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 00:00:00" and datetime< "2019-03-21 01:00:00" +2019-03-21 01:00:02,049 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 00:00:00" and datetime< "2019-03-21 01:00:00" +2019-03-21 01:00:03,106 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:03,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:03,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,108 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:03,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,109 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,110 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:03,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 00:00:00" and datetime< "2019-03-21 01:00:00" +2019-03-21 01:00:03,112 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 01:00:04,134 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:04,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:04,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,136 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:04,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:04,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 01:00:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 01:00:04,143 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 01:00:04,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 1, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 01:00:04,144 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 01:00:04,164 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:04,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,165 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:04,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,166 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:04,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,166 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:04,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,168 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:04,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,169 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 01:00:04,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,171 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 01:00:04,172 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 01:00:04,172 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 1, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 01:00:04,173 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 01:00:04,984 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 01:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 01:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,986 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 01:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,987 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 01:00:04,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 01:00:04,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 01:00:04,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:04,990 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 01:00:04,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 01:00:05,010 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 01:00:05,011 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 01:00:05,011 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 1, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 01:00:05,012 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 02 +***** + +2019-03-21 02:00:02,998 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:02,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,000 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:03,000 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,001 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,001 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:03,001 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,003 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,004 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:03,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,005 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 02:00:03,005 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,007 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 02:00:03,010 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 02:00:03,010 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 1, 51, 47, 208745), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 477.288442}, {'datetime': datetime.datetime(2019, 3, 21, 1, 51, 50, 665337), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 453.141623}, {'datetime': datetime.datetime(2019, 3, 21, 1, 51, 53, 902783), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《将进酒》:', 'cost_time_ms': 235.068026}, {'datetime': datetime.datetime(2019, 3, 21, 1, 51, 57, 104496), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲格林童话(全套)了哦。', 'cost_time_ms': 198.4792}, {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 0, 296447), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 189.113079}, {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 3, 531717), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 231.657265}, {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 6, 725442), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 191.423765}, {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 9, 903045), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 174.398878} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 32, 572639), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 151.949585}, {'datetime': datetime.datetime(2019, 3, 21, 1, 52, 35, 744711), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 168.816076}) +2019-03-21 02:00:03,011 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 02:00:03,036 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:03,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,037 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,037 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:03,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,038 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,040 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 02:00:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,049 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:03,049 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,050 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:03,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,051 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:03,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,051 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:03,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,052 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,053 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,053 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:03,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,054 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 02:00:03,054 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 01:00:00 +时间为:### 2019-03-21 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 01:00:00" and datetime< "2019-03-21 02:00:00" +2019-03-21 02:00:03,060 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:03,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,061 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:03,061 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,062 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,062 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,063 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,064 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,064 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:03,065 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 01:00:00" and datetime< "2019-03-21 02:00:00" +2019-03-21 02:00:03,065 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 01:00:00" and datetime< "2019-03-21 02:00:00" +2019-03-21 02:00:04,223 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:04,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:04,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,224 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:04,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,225 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:04,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,226 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:04,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,227 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:04,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:04,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:04,228 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 01:00:00" and datetime< "2019-03-21 02:00:00" +2019-03-21 02:00:04,228 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 02:00:05,292 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:05,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,293 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:05,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,295 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:05,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,295 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:05,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,296 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:05,296 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:05,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,297 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:05,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,298 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 02:00:05,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,300 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 02:00:05,301 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 02:00:05,301 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 2, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 02:00:05,302 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 02:00:05,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:05,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:05,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:05,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,317 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:05,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:05,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:05,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:05,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,319 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 02:00:05,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:05,322 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 02:00:05,323 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 02:00:05,325 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 2, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 02:00:05,325 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 02:00:06,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 02:00:06,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 02:00:06,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,127 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 02:00:06,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,128 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 02:00:06,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:06,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 02:00:06,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 02:00:06,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,131 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 02:00:06,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 02:00:06,133 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 02:00:06,133 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 02:00:06,134 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 2, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 02:00:06,134 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 03 +***** + +2019-03-21 03:00:02,455 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,458 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,459 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,462 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 03:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,465 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 03:00:02,467 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 03:00:02,467 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 2, 45, 53, 748341), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '唱一首海阔天空', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首beyond的海阔天空。', 'cost_time_ms': 398.587253}, {'datetime': datetime.datetime(2019, 3, 21, 2, 51, 47, 173632), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 442.651069}, {'datetime': datetime.datetime(2019, 3, 21, 2, 51, 50, 582838), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 405.903506}, {'datetime': datetime.datetime(2019, 3, 21, 2, 51, 53, 804636), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《月下独酌其一》:', 'cost_time_ms': 219.129354}, {'datetime': datetime.datetime(2019, 3, 21, 2, 51, 57, 36538), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲黑猫警长了哦。', 'cost_time_ms': 228.772944}, {'datetime': datetime.datetime(2019, 3, 21, 2, 52, 0, 232139), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 192.877194}, {'datetime': datetime.datetime(2019, 3, 21, 2, 52, 3, 474162), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 238.938045}, {'datetime': datetime.datetime(2019, 3, 21, 2, 52, 6, 639033), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 162.290208} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 2, 52, 32, 468354), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 156.285104}, {'datetime': datetime.datetime(2019, 3, 21, 2, 52, 35, 648982), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.554093}) +2019-03-21 03:00:02,469 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 03:00:02,480 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,482 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,482 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,485 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 03:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:02,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,495 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:02,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,496 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:02,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:02,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,499 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 03:00:02,499 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 02:00:00 +时间为:### 2019-03-21 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 02:00:00" and datetime< "2019-03-21 03:00:00" +2019-03-21 03:00:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,506 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,507 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,508 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,509 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:02,509 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:02,510 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:02,510 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 02:00:00" and datetime< "2019-03-21 03:00:00" +2019-03-21 03:00:02,511 INFO sqlalchemy.engine.base.Engine {} +****17 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 02:00:00" and datetime< "2019-03-21 03:00:00" +2019-03-21 03:00:03,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:03,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:03,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,586 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:03,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 02:00:00" and datetime< "2019-03-21 03:00:00" +2019-03-21 03:00:03,590 INFO sqlalchemy.engine.base.Engine {} +****17 +16 +all****1 + +all****16 + +****1 + +****16 + +Start domain data classification: +2019-03-21 03:00:04,620 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:04,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,621 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,622 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,623 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,624 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:04,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,625 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:04,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,626 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 03:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,628 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 03:00:04,629 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 03:00:04,629 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 3, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 03:00:04,630 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 03:00:04,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,644 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,645 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,645 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,648 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,648 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 03:00:04,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:04,650 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 03:00:04,651 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 03:00:04,652 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 3, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 2, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 03:00:04,652 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 03:00:05,477 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 03:00:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 03:00:05,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 03:00:05,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,480 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 03:00:05,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:05,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 03:00:05,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 03:00:05,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,484 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 03:00:05,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 03:00:05,486 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 03:00:05,487 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 03:00:05,488 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 3, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 03:00:05,488 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 04 +***** + +2019-03-21 04:00:02,806 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:02,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,809 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,809 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,813 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 04:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,817 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 04:00:02,820 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 04:00:02,820 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 3, 33, 23, 731314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今年内不生孩子', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 353.668957}, {'datetime': datetime.datetime(2019, 3, 21, 3, 51, 47, 211500), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 481.404498}, {'datetime': datetime.datetime(2019, 3, 21, 3, 51, 50, 646480), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 432.112715}, {'datetime': datetime.datetime(2019, 3, 21, 3, 51, 53, 868828), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《早发白帝城》:', 'cost_time_ms': 219.190102}, {'datetime': datetime.datetime(2019, 3, 21, 3, 51, 57, 69762), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本爱探险的朵拉,我讲给你听吧。', 'cost_time_ms': 198.207081}, {'datetime': datetime.datetime(2019, 3, 21, 3, 52, 0, 264642), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 191.83426}, {'datetime': datetime.datetime(2019, 3, 21, 3, 52, 3, 501929), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 234.719734}, {'datetime': datetime.datetime(2019, 3, 21, 3, 52, 6, 668279), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 162.964031} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 3, 52, 32, 556844), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 164.043698}, {'datetime': datetime.datetime(2019, 3, 21, 3, 52, 35, 727028), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 167.542801}) +2019-03-21 04:00:02,823 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 04:00:02,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:02,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,887 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:02,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,889 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:02,889 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,889 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:02,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,892 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,893 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,893 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 04:00:02,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,905 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,906 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,907 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:02,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,908 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:02,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,910 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:02,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,912 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 04:00:02,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,915 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 04:00:02,916 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 04:00:02,916 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 3, 33, 23, 731314), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '今年内不生孩子', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 353.668957} +2019-03-21 04:00:02,917 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 03:00:00 +时间为:### 2019-03-21 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 03:00:00" and datetime< "2019-03-21 04:00:00" +2019-03-21 04:00:02,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:02,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,925 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:02,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,926 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:02,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,927 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:02,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,929 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:02,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,930 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:02,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:02,930 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 03:00:00" and datetime< "2019-03-21 04:00:00" +2019-03-21 04:00:02,930 INFO sqlalchemy.engine.base.Engine {} +****17 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 03:00:00" and datetime< "2019-03-21 04:00:00" +2019-03-21 04:00:03,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:03,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,963 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:03,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,964 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:03,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,965 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:03,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:03,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:03,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:03,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:03,968 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 03:00:00" and datetime< "2019-03-21 04:00:00" +2019-03-21 04:00:03,968 INFO sqlalchemy.engine.base.Engine {} +****17 +16 +all****1 + +all****16 + +****1 + +****15 + +Start domain data classification: +2019-03-21 04:00:04,980 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:04,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:04,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,982 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,982 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:04,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,983 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,985 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 04:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:04,987 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 04:00:04,988 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 04:00:04,989 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 4, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 04:00:04,989 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 04:00:05,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,002 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:05,002 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,003 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:05,003 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,004 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:05,004 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:05,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,006 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:05,006 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,007 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:05,007 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,008 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 04:00:05,008 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,010 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 04:00:05,011 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 04:00:05,012 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 4, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 04:00:05,012 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 04:00:05,818 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 04:00:05,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,819 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 04:00:05,819 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,820 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 04:00:05,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,820 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 04:00:05,820 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,822 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 04:00:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,823 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 04:00:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,823 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 04:00:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 04:00:05,825 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 04:00:05,826 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 04:00:05,826 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 4, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 04:00:05,826 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 05 +***** + +2019-03-21 05:00:02,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,131 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:02,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,132 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,133 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,134 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,134 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,136 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 05:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 05:00:02,141 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 05:00:02,141 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 4, 51, 47, 158550), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 424.490861}, {'datetime': datetime.datetime(2019, 3, 21, 4, 51, 50, 593021), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 431.451021}, {'datetime': datetime.datetime(2019, 3, 21, 4, 51, 53, 833903), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《关山月》:', 'cost_time_ms': 237.781373}, {'datetime': datetime.datetime(2019, 3, 21, 4, 51, 57, 58062), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从托马斯和他的朋友们开始吧。', 'cost_time_ms': 221.294859}, {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 0, 243819), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 182.247891}, {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 3, 504691), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 257.92334}, {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 6, 661395), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 153.814535}, {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 9, 831736), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 167.605453} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 32, 571487), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 151.915175}, {'datetime': datetime.datetime(2019, 3, 21, 4, 52, 35, 741964), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 167.70908}) +2019-03-21 05:00:02,143 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 05:00:02,163 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,164 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,165 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,165 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,167 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,168 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 05:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,176 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:02,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,177 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,178 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,180 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,180 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,181 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 05:00:02,181 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 04:00:00 +时间为:### 2019-03-21 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 04:00:00" and datetime< "2019-03-21 05:00:00" +2019-03-21 05:00:02,187 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,188 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,189 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,189 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,190 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:02,192 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 04:00:00" and datetime< "2019-03-21 05:00:00" +2019-03-21 05:00:02,192 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 04:00:00" and datetime< "2019-03-21 05:00:00" +2019-03-21 05:00:03,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:03,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:03,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,327 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:03,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,328 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:03,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,329 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:03,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:03,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:03,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:03,331 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 04:00:00" and datetime< "2019-03-21 05:00:00" +2019-03-21 05:00:03,331 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 05:00:04,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,359 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,360 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:04,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,361 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,363 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:04,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,363 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 05:00:04,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,366 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 05:00:04,367 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 05:00:04,367 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 5, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 05:00:04,367 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 05:00:04,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:04,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,382 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,385 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 05:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:04,387 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 05:00:04,388 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 05:00:04,388 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 5, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 05:00:04,389 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 05:00:05,198 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 05:00:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 05:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,200 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 05:00:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,200 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 05:00:05,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 05:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 05:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,203 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 05:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 05:00:05,205 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 05:00:05,206 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 05:00:05,206 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 5, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 05:00:05,207 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 06 +***** + +2019-03-21 06:00:02,527 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:02,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,530 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,533 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:02,533 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,534 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 06:00:02,534 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,536 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 06:00:02,538 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 06:00:02,539 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 5, 51, 47, 231450), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 500.583249}, {'datetime': datetime.datetime(2019, 3, 21, 5, 51, 50, 649986), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 415.571647}, {'datetime': datetime.datetime(2019, 3, 21, 5, 51, 53, 873387), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《闻王昌龄左迁龙标遥有此寄》:', 'cost_time_ms': 220.584399}, {'datetime': datetime.datetime(2019, 3, 21, 5, 51, 57, 76337), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从熊出没-丛林总动员开始吧。', 'cost_time_ms': 200.054648}, {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 0, 318169), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 238.655651}, {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 3, 569951), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 248.941879}, {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 6, 785377), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 212.783097}, {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 10, 5445), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 217.270135} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 32, 679897), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 161.448562}, {'datetime': datetime.datetime(2019, 3, 21, 5, 52, 35, 860497), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.71881}) +2019-03-21 06:00:02,540 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 06:00:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,569 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,570 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,572 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 06:00:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,582 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,582 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,583 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,586 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 06:00:02,586 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 05:00:00 +时间为:### 2019-03-21 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 05:00:00" and datetime< "2019-03-21 06:00:00" +2019-03-21 06:00:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 05:00:00" and datetime< "2019-03-21 06:00:00" +2019-03-21 06:00:02,597 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 05:00:00" and datetime< "2019-03-21 06:00:00" +2019-03-21 06:00:03,739 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:03,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:03,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,741 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:03,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,742 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:03,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:03,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:03,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:03,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:03,745 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 05:00:00" and datetime< "2019-03-21 06:00:00" +2019-03-21 06:00:03,745 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 06:00:04,775 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,776 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,777 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,777 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:04,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:04,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:04,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,780 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 06:00:04,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,783 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 06:00:04,784 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 06:00:04,784 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 6, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 06:00:04,784 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 06:00:04,797 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,798 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:04,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,799 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,801 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,802 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:04,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,802 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 06:00:04,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:04,804 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 06:00:04,805 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 06:00:04,805 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 6, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 06:00:04,806 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 06:00:05,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 06:00:05,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,675 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 06:00:05,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,676 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 06:00:05,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,676 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 06:00:05,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:05,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 06:00:05,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,679 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 06:00:05,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,680 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 06:00:05,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 06:00:05,682 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 06:00:05,682 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 06:00:05,682 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 6, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 06:00:05,683 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 07 +***** + +2019-03-21 07:00:01,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:01,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,986 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,987 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,988 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:01,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,991 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:01,991 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,992 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 07:00:01,992 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:01,994 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 07:00:01,997 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 07:00:01,997 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 6, 51, 47, 248022), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 518.28949}, {'datetime': datetime.datetime(2019, 3, 21, 6, 51, 50, 988904), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 737.752293}, {'datetime': datetime.datetime(2019, 3, 21, 6, 51, 54, 219245), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《峨眉山月歌》:', 'cost_time_ms': 227.611354}, {'datetime': datetime.datetime(2019, 3, 21, 6, 51, 57, 450764), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从西游记开始吧。', 'cost_time_ms': 228.556503}, {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 0, 654493), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 201.10829}, {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 3, 901448), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 244.153518}, {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 7, 70516), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 166.498529}, {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 10, 250906), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 177.495412} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 33, 129956), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 182.488518}, {'datetime': datetime.datetime(2019, 3, 21, 6, 52, 36, 309072), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 176.190451}) +2019-03-21 07:00:01,998 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 07:00:02,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:02,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,013 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:02,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:02,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,016 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 07:00:02,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,024 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:02,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,025 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:02,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,026 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:02,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,026 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:02,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:02,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,030 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 07:00:02,030 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 06:00:00 +时间为:### 2019-03-21 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 06:00:00" and datetime< "2019-03-21 07:00:00" +2019-03-21 07:00:02,036 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:02,036 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,037 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:02,037 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,038 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:02,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,038 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:02,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,039 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,040 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:02,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,041 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:02,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:02,041 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 06:00:00" and datetime< "2019-03-21 07:00:00" +2019-03-21 07:00:02,041 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 06:00:00" and datetime< "2019-03-21 07:00:00" +2019-03-21 07:00:03,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:03,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:03,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,140 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:03,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,141 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:03,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:03,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:03,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:03,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:03,144 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 06:00:00" and datetime< "2019-03-21 07:00:00" +2019-03-21 07:00:03,144 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 07:00:04,178 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:04,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:04,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,180 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:04,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,181 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:04,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,182 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:04,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:04,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:04,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,184 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 07:00:04,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,186 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 07:00:04,187 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 07:00:04,187 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 7, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 07:00:04,252 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 07:00:04,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:04,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,264 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,265 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:04,265 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,266 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:04,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:04,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,268 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:04,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,269 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 07:00:04,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:04,271 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 07:00:04,272 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 07:00:04,272 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 7, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 07:00:04,273 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 07:00:05,089 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 07:00:05,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 07:00:05,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,093 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 07:00:05,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,093 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 07:00:05,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:05,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 07:00:05,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 07:00:05,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,096 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 07:00:05,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 07:00:05,099 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 07:00:05,099 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 07:00:05,099 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 7, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 07:00:05,100 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 08 +***** + +2019-03-21 08:00:02,542 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,544 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:02,544 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,545 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:02,545 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,546 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:02,546 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,548 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,548 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,549 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:02,549 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,550 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 08:00:02,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,553 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 08:00:02,555 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 08:00:02,555 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 7, 51, 47, 206472), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 474.727351}, {'datetime': datetime.datetime(2019, 3, 21, 7, 51, 50, 593204), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 383.968353}, {'datetime': datetime.datetime(2019, 3, 21, 7, 51, 53, 818108), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《赠汪伦》:', 'cost_time_ms': 221.730136}, {'datetime': datetime.datetime(2019, 3, 21, 7, 51, 57, 198062), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听糊糊妈妈讲倒霉熊的故事吧。', 'cost_time_ms': 377.29963}, {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 0, 433169), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 230.648381}, {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 3, 684992), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 249.31454}, {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 6, 854672), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 166.621988}, {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 10, 29446), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 172.231422} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 32, 739218), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 197.65667}, {'datetime': datetime.datetime(2019, 3, 21, 7, 52, 36, 157207), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 415.398197}) +2019-03-21 08:00:02,557 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 08:00:02,572 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,574 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,575 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,576 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,578 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,580 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 08:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,591 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,592 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,595 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 08:00:02,595 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 07:00:00 +时间为:### 2019-03-21 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 07:00:00" and datetime< "2019-03-21 08:00:00" +2019-03-21 08:00:02,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,604 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 07:00:00" and datetime< "2019-03-21 08:00:00" +2019-03-21 08:00:02,609 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 07:00:00" and datetime< "2019-03-21 08:00:00" +2019-03-21 08:00:03,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:03,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:03,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:03,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,703 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:03,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:03,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:03,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:03,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:03,706 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 07:00:00" and datetime< "2019-03-21 08:00:00" +2019-03-21 08:00:03,706 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-21 08:00:04,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,736 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,737 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,737 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,740 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 08:00:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,742 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 08:00:04,743 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 08:00:04,743 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 8, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 08:00:04,744 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 08:00:04,757 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:04,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,758 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:04,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,759 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:04,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,759 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:04,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,760 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:04,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,761 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,761 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,762 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 08:00:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:04,764 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 08:00:04,765 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 08:00:04,765 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 8, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 08:00:04,765 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 08:00:05,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 08:00:05,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,588 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 08:00:05,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,589 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 08:00:05,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,590 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 08:00:05,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:05,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 08:00:05,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,592 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 08:00:05,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,593 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 08:00:05,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 08:00:05,595 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 08:00:05,596 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 08:00:05,596 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 8, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 08:00:05,596 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 09 +***** + +2019-03-21 09:00:02,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,097 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:02,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,098 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:02,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,099 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,100 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,101 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,101 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,102 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 09:00:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,105 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 09:00:02,108 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 09:00:02,108 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 8, 24, 12, 454159), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来首怀念青春', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首刘刚的怀念青春送给你。', 'cost_time_ms': 347.981911}, {'datetime': datetime.datetime(2019, 3, 21, 8, 26, 35, 366998), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 354.694374}, {'datetime': datetime.datetime(2019, 3, 21, 8, 26, 43, 348347), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海市今天多云,气温22度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 382.431553}, {'datetime': datetime.datetime(2019, 3, 21, 8, 26, 57, 146519), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '蒙古天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '暂时没有你所说城市的天气信息,来问问我中国国内城市的天气吧。格力空调祝您生活愉快。', 'cost_time_ms': 197.785608}, {'datetime': datetime.datetime(2019, 3, 21, 8, 27, 12, 93857), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '内蒙古的天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '呼和浩特市今天有寒潮预警,请注意防御。今日天气晴,气温-8度到4度,比珠海市冷很多,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 546.250684}, {'datetime': datetime.datetime(2019, 3, 21, 8, 27, 32, 925501), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放彭丽媛的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏彭丽媛的歌。', 'cost_time_ms': 361.034101}, {'datetime': datetime.datetime(2019, 3, 21, 8, 35, 27, 351574), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放明年今日', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听陈奕迅的明年今日。', 'cost_time_ms': 400.418634}, {'datetime': datetime.datetime(2019, 3, 21, 8, 35, 43, 126691), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '你在我也在', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你一直都在,只是我不想发觉。', 'cost_time_ms': 322.782247} ... displaying 10 of 32 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 8, 55, 41, 990937), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放一剪梅', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首一剪梅送给你。', 'cost_time_ms': 410.190677}, {'datetime': datetime.datetime(2019, 3, 21, 8, 59, 45, 871940), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '等一下等一下', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的。', 'cost_time_ms': 315.608838}) +2019-03-21 09:00:02,110 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 09:00:02,121 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,122 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,123 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,123 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,126 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 09:00:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,138 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,140 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 09:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,142 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 09:00:02,143 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 09:00:02,143 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 8, 49, 59, 799015), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我要听', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 343.396131} +2019-03-21 09:00:02,143 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 08:00:00 +时间为:### 2019-03-21 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 08:00:00" and datetime< "2019-03-21 09:00:00" +2019-03-21 09:00:02,150 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:02,150 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,151 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,152 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,153 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,154 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 08:00:00" and datetime< "2019-03-21 09:00:00" +2019-03-21 09:00:02,155 INFO sqlalchemy.engine.base.Engine {} +****32 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 08:00:00" and datetime< "2019-03-21 09:00:00" +2019-03-21 09:00:03,272 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:03,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,273 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:03,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,274 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:03,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,275 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:03,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,276 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:03,276 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,277 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:03,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,278 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:03,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:03,279 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 08:00:00" and datetime< "2019-03-21 09:00:00" +2019-03-21 09:00:03,279 INFO sqlalchemy.engine.base.Engine {} +****32 +30 +all****2 + +all****30 + +****2 + +****29 + +Start domain data classification: +2019-03-21 09:00:04,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,309 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:04,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,310 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:04,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:04,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:04,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:04,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,313 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 09:00:04,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,315 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 09:00:04,316 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 09:00:04,316 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 9, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 09:00:04,317 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 09:00:04,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:04,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:04,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:04,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:04,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:04,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:04,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:04,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,342 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 09:00:04,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:04,345 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 09:00:04,346 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 09:00:04,346 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 9, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 5, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 8, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 3} +2019-03-21 09:00:04,346 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 09:00:05,152 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 09:00:05,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 09:00:05,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,154 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 09:00:05,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,154 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 09:00:05,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,156 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:05,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,156 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 09:00:05,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 09:00:05,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,158 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 09:00:05,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 09:00:05,160 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 09:00:05,161 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 09:00:05,161 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 9, 0), '0~500ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 7), ('chat', 5), ('weather', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('holiday', 1), ('translate', 1)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 09:00:05,161 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 10 +***** + +2019-03-21 10:00:03,037 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:03,038 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,039 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:03,039 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,040 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:03,040 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,041 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:03,041 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,042 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,043 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,045 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 10:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,047 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 10:00:03,050 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 10:00:03,050 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 9, 6, 16, 968304), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '琅琊榜', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '《琅琊榜》是一部古装架空历史电视剧,由孔笙、李雪执导,胡歌、王凯、刘涛、黄维德、陈龙、靳东、高鑫主演。该剧主要讲述了“麒麟才子”梅长苏才冠绝伦,以病弱之躯拨开重重迷雾、智博奸佞,为昭雪多年冤案、扶持新君所进行的复仇故事。该剧于2015年9月19日在北京卫视、东方卫视播放。2017年,该剧荣获第十一届全国电视制片业十佳表彰大会优秀电视剧奖。', 'cost_time_ms': 374.125773}, {'datetime': datetime.datetime(2019, 3, 21, 9, 13, 26, 958719), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '哪个更好玩', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我觉得不好玩啊。', 'cost_time_ms': 306.470579}, {'datetime': datetime.datetime(2019, 3, 21, 9, 21, 28, 705417), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '外边冷得很', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '又跑外面啦。', 'cost_time_ms': 531.20239}, {'datetime': datetime.datetime(2019, 3, 21, 9, 21, 46, 805824), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '生而为人', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏尚士达的生而为人哦。', 'cost_time_ms': 236.594615}, {'datetime': datetime.datetime(2019, 3, 21, 9, 23, 24, 365895), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听生而为人', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放尚士达的生而为人。', 'cost_time_ms': 361.739408}, {'datetime': datetime.datetime(2019, 3, 21, 9, 31, 36, 1227), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '暂停播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 390.011807}, {'datetime': datetime.datetime(2019, 3, 21, 9, 37, 25, 584426), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些最受欢迎的歌,叮当陪你一起听。', 'cost_time_ms': 561.581562}, {'datetime': datetime.datetime(2019, 3, 21, 9, 37, 45, 590040), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '给我来首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当发现这些歌最近很火,我们也来听听吧。', 'cost_time_ms': 323.789617} ... displaying 10 of 33 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 9, 57, 51, 408939), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 445.111083}, {'datetime': datetime.datetime(2019, 3, 21, 9, 58, 35, 577184), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我想听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 409.638553}) +2019-03-21 10:00:03,052 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 10:00:03,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,064 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,064 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,067 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 10:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:03,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,077 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,078 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:03,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:03,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,081 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 10:00:03,081 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 09:00:00 +时间为:### 2019-03-21 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 09:00:00" and datetime< "2019-03-21 10:00:00" +2019-03-21 10:00:03,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:03,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,088 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:03,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,089 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:03,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,090 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:03,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:03,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,092 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:03,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:03,092 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 09:00:00" and datetime< "2019-03-21 10:00:00" +2019-03-21 10:00:03,092 INFO sqlalchemy.engine.base.Engine {} +****33 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 09:00:00" and datetime< "2019-03-21 10:00:00" +2019-03-21 10:00:04,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:04,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,158 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:04,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,159 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:04,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,159 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:04,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:04,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:04,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:04,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:04,162 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 09:00:00" and datetime< "2019-03-21 10:00:00" +2019-03-21 10:00:04,162 INFO sqlalchemy.engine.base.Engine {} +****33 +31 +all****2 + +all****31 + +****2 + +****31 + +Start domain data classification: +2019-03-21 10:00:05,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,202 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:05,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,203 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,204 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:05,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,207 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:05,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,207 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 10:00:05,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,209 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 10:00:05,211 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 10:00:05,211 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 10, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 10:00:05,211 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 10:00:05,232 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:05,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,234 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,235 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,238 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 10:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:05,241 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 10:00:05,243 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 10:00:05,243 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 10, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 2, 'chat': 3, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 12, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 2} +2019-03-21 10:00:05,244 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 10:00:06,066 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 10:00:06,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,067 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 10:00:06,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,068 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 10:00:06,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,068 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 10:00:06,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:06,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,070 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 10:00:06,070 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,071 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 10:00:06,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,071 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 10:00:06,071 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 10:00:06,073 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 10:00:06,074 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 10:00:06,074 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 10, 0), '0~500ms': "[('airconditioner', 1), ('playcontrol', 1), ('aircleaner', 0), ('music', 10), ('baike', 2), ('chat', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 10:00:06,075 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 11 +***** + +2019-03-21 11:00:02,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,620 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,622 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,623 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,625 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 11:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,627 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 11:00:02,631 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 11:00:02,631 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 10, 4, 47, 11102), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 421.6273}, {'datetime': datetime.datetime(2019, 3, 21, 10, 5, 9, 984900), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放只因太爱你', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放钟汉良的只因太爱你。', 'cost_time_ms': 468.701418}, {'datetime': datetime.datetime(2019, 3, 21, 10, 5, 24, 737830), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放张信哲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这首张信哲的歌,叮当陪你慢慢享受。', 'cost_time_ms': 430.95872}, {'datetime': datetime.datetime(2019, 3, 21, 10, 5, 59, 487004), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放太爱你', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是张敬轩的只是太爱你?听听看吧。', 'cost_time_ms': 250.114348}, {'datetime': datetime.datetime(2019, 3, 21, 10, 6, 21, 266015), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '没反应', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '再试试。', 'cost_time_ms': 188.266778}, {'datetime': datetime.datetime(2019, 3, 21, 10, 6, 51, 530827), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '放首西游记的插曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏西游记的插曲,白龙马。', 'cost_time_ms': 319.920601}, {'datetime': datetime.datetime(2019, 3, 21, 10, 6, 51, 712316), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '父亲的插曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我还没有父亲原声带的版权,听点别的吧。', 'cost_time_ms': 555.66529}, {'datetime': datetime.datetime(2019, 3, 21, 10, 7, 3, 235710), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我想听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 369.269306} ... displaying 10 of 137 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 10, 58, 45, 224855), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '唱首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 309.873853}, {'datetime': datetime.datetime(2019, 3, 21, 10, 58, 50, 917124), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '讲个笑话', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 251.631796}) +2019-03-21 11:00:02,637 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 11:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,651 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,654 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 11:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,664 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,667 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 11:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,671 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 11:00:02,672 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 11:00:02,672 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 10, 10, 28, 563248), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 211.840669}, {'datetime': datetime.datetime(2019, 3, 21, 10, 12, 58, 364607), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '我们是红色的威力', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 336.949831}, {'datetime': datetime.datetime(2019, 3, 21, 10, 13, 39, 326190), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '给我查找一些相关论文', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 219.165943}, {'datetime': datetime.datetime(2019, 3, 21, 10, 29, 42, 40087), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '又做上哪要做胃镜啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 349.709287}, {'datetime': datetime.datetime(2019, 3, 21, 10, 32, 41, 208203), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '他就会说', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 211.03743}, {'datetime': datetime.datetime(2019, 3, 21, 10, 40, 56, 81398), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '发现一个比较特别的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 392.980763}, {'datetime': datetime.datetime(2019, 3, 21, 10, 43, 55, 948095), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '取消具体细节', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 206.457907}, {'datetime': datetime.datetime(2019, 3, 21, 10, 45, 41, 303434), 'mac_wifi': 'f4911e46644b', 'mac_voice': '58b3fc2a16ce', 'query': '社会认同', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 153.57378}) +2019-03-21 11:00:02,673 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 10:00:00 +时间为:### 2019-03-21 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 10:00:00" and datetime< "2019-03-21 11:00:00" +2019-03-21 11:00:02,682 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,683 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,684 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,685 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,686 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:02,687 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 10:00:00" and datetime< "2019-03-21 11:00:00" +2019-03-21 11:00:02,687 INFO sqlalchemy.engine.base.Engine {} +****137 +37 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 10:00:00" and datetime< "2019-03-21 11:00:00" +2019-03-21 11:00:03,836 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:03,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:03,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,838 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:03,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,839 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:03,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,840 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:03,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:03,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:03,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:03,842 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 10:00:00" and datetime< "2019-03-21 11:00:00" +2019-03-21 11:00:03,842 INFO sqlalchemy.engine.base.Engine {} +****137 +100 +all****37 + +all****100 + +****37 + +****92 + +Start domain data classification: +2019-03-21 11:00:04,885 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,886 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,887 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:04,887 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,888 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:04,888 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,889 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:04,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,890 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:04,890 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,891 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:04,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,891 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 11:00:04,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,894 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 11:00:04,895 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 11:00:04,895 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 11, 0), 'aircleaner': 0, 'airconditioner': 15, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 13, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 9, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 11:00:04,895 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 11:00:04,908 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,909 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,909 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,910 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:04,910 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,911 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:04,911 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,912 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:04,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,912 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:04,912 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,913 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 11:00:04,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:04,915 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 11:00:04,916 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 11:00:04,916 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 11, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 3, 'chat': 22, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 2, 'music': 43, 'news': 1, 'recipe': 0, 'science': 3, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 7} +2019-03-21 11:00:04,917 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 11:00:05,784 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 11:00:05,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 11:00:05,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,786 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 11:00:05,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,787 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 11:00:05,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,788 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:05,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 11:00:05,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 11:00:05,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,790 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 11:00:05,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 11:00:05,792 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 11:00:05,793 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 11:00:05,793 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 11, 0), '0~500ms': "[('airconditioner', 13), ('playcontrol', 13), ('universalcontrol', 9), ('music', 34), ('chat', 30), ('weather', 7)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('airconditioner', 2), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 9), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 11:00:05,793 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 12 +***** + +2019-03-21 12:00:02,210 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:02,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,212 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,213 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,214 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,215 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,216 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 12:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,219 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 12:00:02,222 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 12:00:02,222 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 11, 0, 15, 63108), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首儿歌,和你一起走进童年。', 'cost_time_ms': 509.261252}, {'datetime': datetime.datetime(2019, 3, 21, 11, 0, 29, 752557), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '播放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 439.80326}, {'datetime': datetime.datetime(2019, 3, 21, 11, 0, 30, 185823), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温19度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 313.182404}, {'datetime': datetime.datetime(2019, 3, 21, 11, 0, 36, 300509), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我想听故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听小马宝莉了。', 'cost_time_ms': 299.918285}, {'datetime': datetime.datetime(2019, 3, 21, 11, 1, 26, 743686), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好冷啊', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 313.497023}, {'datetime': datetime.datetime(2019, 3, 21, 11, 1, 57, 598949), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 380.787157}, {'datetime': datetime.datetime(2019, 3, 21, 11, 2, 22, 752826), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '跟那个', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我也不知道啊。', 'cost_time_ms': 795.183879}, {'datetime': datetime.datetime(2019, 3, 21, 11, 2, 39, 763291), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 413.970042} ... displaying 10 of 58 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 11, 59, 22, 593199), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '一个可以控制两个设备', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 366.009482}, {'datetime': datetime.datetime(2019, 3, 21, 11, 59, 50, 394057), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '可以的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我也可以的。', 'cost_time_ms': 211.919483}) +2019-03-21 12:00:02,225 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 12:00:02,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,259 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,261 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,261 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 12:00:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,269 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,270 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,271 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:02,271 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,273 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,273 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,274 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,274 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 12:00:02,274 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,276 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 12:00:02,277 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 12:00:02,277 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 11, 18, 11, 175096), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 175.151447}, {'datetime': datetime.datetime(2019, 3, 21, 11, 18, 45, 197022), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '冷模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 315.563957}, {'datetime': datetime.datetime(2019, 3, 21, 11, 20, 15, 770457), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '播放暂停和停止', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 186.636721}, {'datetime': datetime.datetime(2019, 3, 21, 11, 23, 35, 133371), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '开始播放喂什么', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 237.418883}, {'datetime': datetime.datetime(2019, 3, 21, 11, 23, 39, 386167), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '电池已充满', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 211.160657}, {'datetime': datetime.datetime(2019, 3, 21, 11, 24, 41, 767282), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '学校一部', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 353.779095}, {'datetime': datetime.datetime(2019, 3, 21, 11, 40, 5, 346017), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '那就是那个蓝牙的话就是上你那的对不对', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 349.831601}, {'datetime': datetime.datetime(2019, 3, 21, 11, 59, 22, 593199), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '一个可以控制两个设备', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 366.009482}) +2019-03-21 12:00:02,279 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 11:00:00 +时间为:### 2019-03-21 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 11:00:00" and datetime< "2019-03-21 12:00:00" +2019-03-21 12:00:02,285 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,287 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,288 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 11:00:00" and datetime< "2019-03-21 12:00:00" +2019-03-21 12:00:02,290 INFO sqlalchemy.engine.base.Engine {} +****58 +12 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 11:00:00" and datetime< "2019-03-21 12:00:00" +2019-03-21 12:00:03,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,404 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:03,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,405 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:03,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,405 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:03,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,408 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:03,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:03,408 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 11:00:00" and datetime< "2019-03-21 12:00:00" +2019-03-21 12:00:03,408 INFO sqlalchemy.engine.base.Engine {} +****58 +46 +all****12 + +all****46 + +****12 + +****38 + +Start domain data classification: +2019-03-21 12:00:04,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,438 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 12:00:04,438 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,440 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 12:00:04,441 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 12:00:04,441 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 12, 0), 'aircleaner': 0, 'airconditioner': 7, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 3, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 12:00:04,442 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 12:00:04,461 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,462 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,463 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,463 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,464 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,465 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:04,465 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,466 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 12:00:04,466 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:04,468 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 12:00:04,469 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 12:00:04,469 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 12, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 9, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 12, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 3} +2019-03-21 12:00:04,469 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 12:00:05,285 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 12:00:05,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 12:00:05,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,287 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 12:00:05,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,287 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 12:00:05,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:05,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,289 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 12:00:05,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 12:00:05,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,290 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 12:00:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 12:00:05,293 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 12:00:05,293 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 12:00:05,293 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 12, 0), '0~500ms': "[('airconditioner', 7), ('universalcontrol', 3), ('playcontrol', 2), ('chat', 16), ('music', 8), ('weather', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('chat', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 12:00:05,294 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 13 +***** + +2019-03-21 13:00:02,624 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,627 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,628 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,630 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 13:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,633 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 13:00:02,635 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 13:00:02,635 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 12, 0, 6, 689029), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '两个都是', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '同为一类。', 'cost_time_ms': 172.583161}, {'datetime': datetime.datetime(2019, 3, 21, 12, 0, 7, 495463), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '两个都是想的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '同为一类。', 'cost_time_ms': 345.297613}, {'datetime': datetime.datetime(2019, 3, 21, 12, 31, 5, 95822), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听爱探险的朵拉了。', 'cost_time_ms': 430.958597}, {'datetime': datetime.datetime(2019, 3, 21, 12, 31, 5, 201831), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '讲个故事', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '儿童故事的话,当然要听汪汪队立大功了。', 'cost_time_ms': 444.062225}, {'datetime': datetime.datetime(2019, 3, 21, 12, 51, 47, 152072), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 419.455227}, {'datetime': datetime.datetime(2019, 3, 21, 12, 51, 50, 607853), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 452.77418}, {'datetime': datetime.datetime(2019, 3, 21, 12, 51, 53, 840972), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《渡荆门送别》:', 'cost_time_ms': 229.915842}, {'datetime': datetime.datetime(2019, 3, 21, 12, 51, 57, 48563), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听植物大战僵尸吧。', 'cost_time_ms': 204.743904} ... displaying 10 of 20 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 12, 52, 32, 746227), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 183.723869}, {'datetime': datetime.datetime(2019, 3, 21, 12, 52, 35, 928300), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 179.356164}) +2019-03-21 13:00:02,637 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 13:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,649 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,650 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,653 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,653 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 13:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,663 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,664 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,667 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 13:00:02,667 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 12:00:00 +时间为:### 2019-03-21 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 12:00:00" and datetime< "2019-03-21 13:00:00" +2019-03-21 13:00:02,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:02,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,674 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:02,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,675 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:02,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,676 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:02,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,677 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:02,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,678 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:02,678 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:02,679 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 12:00:00" and datetime< "2019-03-21 13:00:00" +2019-03-21 13:00:02,679 INFO sqlalchemy.engine.base.Engine {} +****20 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 12:00:00" and datetime< "2019-03-21 13:00:00" +2019-03-21 13:00:03,774 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:03,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,775 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:03,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,776 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:03,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,776 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:03,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,778 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:03,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,778 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:03,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,779 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:03,779 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:03,780 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 12:00:00" and datetime< "2019-03-21 13:00:00" +2019-03-21 13:00:03,780 INFO sqlalchemy.engine.base.Engine {} +****20 +19 +all****1 + +all****19 + +****1 + +****19 + +Start domain data classification: +2019-03-21 13:00:04,834 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:04,834 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:04,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,836 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:04,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,836 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:04,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:04,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:04,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,839 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 13:00:04,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,842 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 13:00:04,843 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 13:00:04,843 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 13, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 13:00:04,844 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 13:00:04,864 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:04,864 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,865 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:04,865 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,866 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:04,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,866 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:04,866 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,867 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:04,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,868 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:04,868 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,869 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:04,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,869 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 13:00:04,869 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:04,871 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 13:00:04,873 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 13:00:04,873 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 13, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 3, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 13:00:04,873 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 13:00:05,728 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 13:00:05,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 13:00:05,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,730 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 13:00:05,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,731 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 13:00:05,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:05,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 13:00:05,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 13:00:05,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,734 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 13:00:05,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 13:00:05,736 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 13:00:05,736 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 13:00:05,737 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 13, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 3), ('fm', 3), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 13:00:05,737 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 14 +***** + +2019-03-21 14:00:02,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:02,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,100 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:02,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,101 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:02,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,102 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:02,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,103 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,104 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,105 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:02,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,106 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 14:00:02,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,108 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 14:00:02,111 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 14:00:02,111 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 13, 20, 24, 105973), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来一首音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 445.930229}, {'datetime': datetime.datetime(2019, 3, 21, 13, 42, 59, 223445), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 452.726381}, {'datetime': datetime.datetime(2019, 3, 21, 13, 44, 9, 672863), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '讲个笑话', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 365.63101}, {'datetime': datetime.datetime(2019, 3, 21, 13, 46, 11, 884801), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '播放流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '淘到了这些最近很火的歌,来听听吧。', 'cost_time_ms': 398.026165}, {'datetime': datetime.datetime(2019, 3, 21, 13, 50, 53, 886122), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天晴,气温22度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 1581.750833}, {'datetime': datetime.datetime(2019, 3, 21, 13, 51, 8, 768883), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放刀郎的我的祖国', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放刀郎的我的祖国。', 'cost_time_ms': 653.448343}, {'datetime': datetime.datetime(2019, 3, 21, 13, 51, 46, 758959), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '置制热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 207.543116}, {'datetime': datetime.datetime(2019, 3, 21, 13, 51, 47, 19301), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 285.389944} ... displaying 10 of 28 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 13, 58, 18, 414063), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '最小音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevolmin', 'response_data': 'success', 'cost_time_ms': 361.0695}, {'datetime': datetime.datetime(2019, 3, 21, 13, 59, 12, 64894), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 337.301364}) +2019-03-21 14:00:02,113 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 14:00:02,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,127 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,127 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,130 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 14:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,140 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,141 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,144 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 14:00:02,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,146 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 14:00:02,147 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 14:00:02,147 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 13, 51, 46, 758959), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '置制热', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 207.543116} +2019-03-21 14:00:02,147 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 13:00:00 +时间为:### 2019-03-21 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 13:00:00" and datetime< "2019-03-21 14:00:00" +2019-03-21 14:00:02,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,157 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,158 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,159 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,160 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,161 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:02,162 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 13:00:00" and datetime< "2019-03-21 14:00:00" +2019-03-21 14:00:02,162 INFO sqlalchemy.engine.base.Engine {} +****28 +3 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 13:00:00" and datetime< "2019-03-21 14:00:00" +2019-03-21 14:00:03,246 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,247 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,248 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:03,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,248 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:03,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:03,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,250 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,251 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:03,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:03,252 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 13:00:00" and datetime< "2019-03-21 14:00:00" +2019-03-21 14:00:03,252 INFO sqlalchemy.engine.base.Engine {} +****28 +25 +all****3 + +all****25 + +****3 + +****24 + +Start domain data classification: +2019-03-21 14:00:04,326 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:04,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,329 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:04,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,332 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 14:00:04,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,334 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 14:00:04,335 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 14:00:04,335 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 14, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 14:00:04,336 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 14:00:04,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:04,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:04,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,359 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,359 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,362 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 14:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:04,364 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 14:00:04,366 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 14:00:04,366 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 14, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 2, 'music': 7, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 1} +2019-03-21 14:00:04,366 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 14:00:05,219 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 14:00:05,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,220 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 14:00:05,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,221 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 14:00:05,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,222 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 14:00:05,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:05,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,224 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 14:00:05,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,224 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 14:00:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,225 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 14:00:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 14:00:05,227 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 14:00:05,228 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 14:00:05,228 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 14, 0), '0~500ms': "[('airconditioner', 1), ('playcontrol', 1), ('universalcontrol', 1), ('music', 6), ('chat', 3), ('joke', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 14:00:05,229 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 15 +***** + +2019-03-21 15:00:02,667 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,669 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:02,669 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,670 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:02,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,670 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:02,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,672 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,672 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,673 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:02,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,674 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 15:00:02,674 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,677 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 15:00:02,680 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 15:00:02,680 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 14, 1, 58, 168589), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b6f5bf3', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温23度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 479.258676}, {'datetime': datetime.datetime(2019, 3, 21, 14, 3, 44, 799728), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放忐忑', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放龚琳娜的忐忑。', 'cost_time_ms': 355.390502}, {'datetime': datetime.datetime(2019, 3, 21, 14, 5, 56, 938177), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '放杨宗纬的流浪记', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首杨宗纬的流浪记送给你。', 'cost_time_ms': 488.870366}, {'datetime': datetime.datetime(2019, 3, 21, 14, 11, 14, 844761), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '要么你就把它冲掉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 360.403781}, {'datetime': datetime.datetime(2019, 3, 21, 14, 12, 8, 418843), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温23度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 466.564032}, {'datetime': datetime.datetime(2019, 3, 21, 14, 15, 24, 736034), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放以父之名', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '找到了周杰伦的以父之名,来听一下吧。', 'cost_time_ms': 408.851101}, {'datetime': datetime.datetime(2019, 3, 21, 14, 16, 38, 413150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '进入爷爷的爱好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 380.89024}, {'datetime': datetime.datetime(2019, 3, 21, 14, 17, 31, 221281), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 329.893538} ... displaying 10 of 83 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 14, 59, 37, 351174), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '查一首', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '查了。', 'cost_time_ms': 301.540152}, {'datetime': datetime.datetime(2019, 3, 21, 14, 59, 47, 203636), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听va音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏va的歌。', 'cost_time_ms': 504.18377}) +2019-03-21 15:00:02,684 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 15:00:02,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:02,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,698 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:02,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,699 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:02,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,700 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:02,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,702 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 15:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:02,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,711 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,712 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:02,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,713 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,715 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,716 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 15:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,718 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 15:00:02,719 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 15:00:02,719 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 14, 11, 14, 844761), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '要么你就把它冲掉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 360.403781}, {'datetime': datetime.datetime(2019, 3, 21, 14, 16, 38, 413150), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '进入爷爷的爱好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 380.89024}, {'datetime': datetime.datetime(2019, 3, 21, 14, 31, 44, 85130), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '眼睛未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 223.788265}, {'datetime': datetime.datetime(2019, 3, 21, 14, 36, 25, 53766), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '我们什么都刷了一遍', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 207.741233}, {'datetime': datetime.datetime(2019, 3, 21, 14, 37, 49, 374663), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 361.869051}, {'datetime': datetime.datetime(2019, 3, 21, 14, 38, 48, 425260), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 221.041612}, {'datetime': datetime.datetime(2019, 3, 21, 14, 40, 59, 401987), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 217.358658}, {'datetime': datetime.datetime(2019, 3, 21, 14, 52, 1, 360920), 'mac_wifi': 'f4911e5d6a24', 'mac_voice': 'c46e7b7026b9', 'query': '来一首', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 249.616825}) +2019-03-21 15:00:02,720 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 14:00:00 +时间为:### 2019-03-21 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 14:00:00" and datetime< "2019-03-21 15:00:00" +2019-03-21 15:00:02,728 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,729 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,730 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,731 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:02,733 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 14:00:00" and datetime< "2019-03-21 15:00:00" +2019-03-21 15:00:02,733 INFO sqlalchemy.engine.base.Engine {} +****83 +7 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 14:00:00" and datetime< "2019-03-21 15:00:00" +2019-03-21 15:00:03,852 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:03,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,853 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:03,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,854 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:03,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,855 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:03,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:03,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,857 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:03,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:03,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:03,858 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 14:00:00" and datetime< "2019-03-21 15:00:00" +2019-03-21 15:00:03,858 INFO sqlalchemy.engine.base.Engine {} +****83 +76 +all****7 + +all****76 + +****7 + +****68 + +Start domain data classification: +2019-03-21 15:00:04,903 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:04,903 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:04,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,905 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:04,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,906 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:04,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,907 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:04,907 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:04,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,909 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 15:00:04,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,911 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 15:00:04,912 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 15:00:04,912 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 15, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 3, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 2, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 15:00:04,913 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 15:00:04,927 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,927 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,928 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,929 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,930 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:04,930 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,931 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:04,931 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,932 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 15:00:04,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:04,934 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 15:00:04,935 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 15:00:04,935 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 15, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 6, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 28, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 20} +2019-03-21 15:00:04,936 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 15:00:05,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 15:00:05,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,782 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 15:00:05,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,783 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 15:00:05,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,783 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 15:00:05,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,784 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:05,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 15:00:05,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,786 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 15:00:05,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,786 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 15:00:05,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 15:00:05,788 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 15:00:05,789 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 15:00:05,789 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 15, 0), '0~500ms': "[('playcontrol', 3), ('airconditioner', 2), ('universalcontrol', 2), ('music', 22), ('weather', 17), ('chat', 14)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 6), ('weather', 2), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 15:00:05,790 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 16 +***** + +2019-03-21 16:00:02,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,332 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,333 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:02,333 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,334 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:02,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,336 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:02,336 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,337 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 16:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,340 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 16:00:02,343 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 16:00:02,343 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 15, 0, 57, 460920), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '设备已经休眠', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '暂不支持该功能,我还在努力学习中', 'cost_time_ms': 401.405022}, {'datetime': datetime.datetime(2019, 3, 21, 15, 1, 35, 247716), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 313.384592}, {'datetime': datetime.datetime(2019, 3, 21, 15, 2, 49, 396802), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '深圳天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 481.033177}, {'datetime': datetime.datetime(2019, 3, 21, 15, 3, 17, 98413), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '深圳天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 498.106658}, {'datetime': datetime.datetime(2019, 3, 21, 15, 3, 54, 966104), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '深圳天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 517.300777}, {'datetime': datetime.datetime(2019, 3, 21, 15, 6, 0, 668309), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 499.304352}, {'datetime': datetime.datetime(2019, 3, 21, 15, 6, 14, 169772), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f58f5', 'query': '今天天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 424.059855}, {'datetime': datetime.datetime(2019, 3, 21, 15, 6, 52, 216871), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首儿歌,和你一起走进童年。', 'cost_time_ms': 445.642759} ... displaying 10 of 104 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 15, 59, 44, 332510), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '这个手机没停啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 390.580449}, {'datetime': datetime.datetime(2019, 3, 21, 15, 59, 50, 782913), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听最热的歌。', 'cost_time_ms': 253.864099}) +2019-03-21 16:00:02,348 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 16:00:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,363 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,363 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,364 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,366 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,367 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 16:00:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,375 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,376 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,377 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,378 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,381 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 16:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,383 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 16:00:02,384 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 16:00:02,384 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 15, 14, 20, 615147), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '三月二十一日星期四', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 334.892163}, {'datetime': datetime.datetime(2019, 3, 21, 15, 14, 21, 742625), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '二十一点更新', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 213.139228}, {'datetime': datetime.datetime(2019, 3, 21, 15, 16, 45, 502115), 'mac_wifi': 'f4911e539df6', 'mac_voice': 'c46e7b701fdd', 'query': '找一个烧结', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 249.926179}, {'datetime': datetime.datetime(2019, 3, 21, 15, 34, 8, 230116), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你不是让你唱李白吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 337.876346}, {'datetime': datetime.datetime(2019, 3, 21, 15, 53, 8, 71098), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '调到标准女生', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 211.617654}, {'datetime': datetime.datetime(2019, 3, 21, 15, 53, 30, 278717), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '转为标准', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 213.999828}, {'datetime': datetime.datetime(2019, 3, 21, 15, 53, 30, 825755), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '转为标准女生', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 214.872739}, {'datetime': datetime.datetime(2019, 3, 21, 15, 53, 39, 873032), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '转为标准女生', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 213.482458} ... displaying 10 of 12 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 15, 57, 55, 156219), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '不是我要问一下可以吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 243.96393}, {'datetime': datetime.datetime(2019, 3, 21, 15, 59, 44, 332510), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '这个手机没停啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 390.580449}) +2019-03-21 16:00:02,385 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 15:00:00 +时间为:### 2019-03-21 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 15:00:00" and datetime< "2019-03-21 16:00:00" +2019-03-21 16:00:02,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:02,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,395 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,395 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:02,398 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 15:00:00" and datetime< "2019-03-21 16:00:00" +2019-03-21 16:00:02,398 INFO sqlalchemy.engine.base.Engine {} +****104 +7 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 15:00:00" and datetime< "2019-03-21 16:00:00" +2019-03-21 16:00:03,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:03,550 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:03,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,552 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:03,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:03,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:03,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:03,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:03,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:03,556 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 15:00:00" and datetime< "2019-03-21 16:00:00" +2019-03-21 16:00:03,556 INFO sqlalchemy.engine.base.Engine {} +****104 +97 +all****7 + +all****97 + +****7 + +****85 + +Start domain data classification: +2019-03-21 16:00:04,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:04,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:04,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,597 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:04,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,598 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:04,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:04,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,600 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:04,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,601 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 16:00:04,601 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,603 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 16:00:04,604 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 16:00:04,604 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 16, 0), 'aircleaner': 0, 'airconditioner': 3, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 3, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 16:00:04,605 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 16:00:04,626 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:04,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,627 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:04,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,628 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,628 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,631 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 16:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:04,634 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 16:00:04,635 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 16:00:04,635 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 16, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 2, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 1, 'music': 33, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 18} +2019-03-21 16:00:04,635 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 16:00:05,473 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 16:00:05,473 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,474 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 16:00:05,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,474 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 16:00:05,474 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,475 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 16:00:05,475 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,476 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:05,476 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 16:00:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,477 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 16:00:05,477 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,478 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 16:00:05,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 16:00:05,480 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 16:00:05,481 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 16:00:05,481 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 16, 0), '0~500ms': "[('airconditioner', 3), ('universalcontrol', 3), ('playcontrol', 1), ('chat', 30), ('music', 28), ('weather', 15)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 5), ('weather', 3), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 16:00:05,481 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 17 +***** + +2019-03-21 17:00:02,979 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:02,980 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,981 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:02,981 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,982 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:02,982 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,983 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:02,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,984 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:02,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:02,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,985 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:02,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,987 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 17:00:02,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:02,989 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 17:00:02,993 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 17:00:02,993 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 16, 2, 10, 196093), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放我曾', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听曹阳的我曾。', 'cost_time_ms': 884.553928}, {'datetime': datetime.datetime(2019, 3, 21, 16, 2, 11, 751571), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放我曾', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听曹阳的我曾。', 'cost_time_ms': 514.931866}, {'datetime': datetime.datetime(2019, 3, 21, 16, 5, 26, 926195), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我想听音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 434.217682}, {'datetime': datetime.datetime(2019, 3, 21, 16, 8, 1, 256055), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '再播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 330.582109}, {'datetime': datetime.datetime(2019, 3, 21, 16, 8, 11, 122458), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放再见二丁目', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首杨千嬅的再见二丁目。', 'cost_time_ms': 429.319925}, {'datetime': datetime.datetime(2019, 3, 21, 16, 11, 0, 106851), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '语音控制的运转空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 336.931328}, {'datetime': datetime.datetime(2019, 3, 21, 16, 11, 8, 43719), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '请开机', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 312.585668}, {'datetime': datetime.datetime(2019, 3, 21, 16, 12, 14, 755469), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '请播放陈奕迅的浮夸', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首陈奕迅的浮夸送给你。', 'cost_time_ms': 492.783896} ... displaying 10 of 136 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 16, 58, 51, 76586), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听生而为人', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏尚士达的生而为人哦。', 'cost_time_ms': 224.663148}, {'datetime': datetime.datetime(2019, 3, 21, 16, 59, 55, 168236), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放流浪', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听半阳的流浪。', 'cost_time_ms': 363.99363}) +2019-03-21 17:00:02,999 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 17:00:03,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:03,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:03,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:03,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,013 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:03,013 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:03,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,016 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 17:00:03,016 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,024 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:03,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,025 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:03,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,026 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,026 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:03,026 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,028 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,028 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,029 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 17:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,032 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 17:00:03,032 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 17:00:03,032 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 16, 11, 0, 106851), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '语音控制的运转空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 336.931328}, {'datetime': datetime.datetime(2019, 3, 21, 16, 19, 45, 671615), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '立风调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 212.539457}, {'datetime': datetime.datetime(2019, 3, 21, 16, 20, 44, 73494), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '奇幻乐园', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 274.525822}, {'datetime': datetime.datetime(2019, 3, 21, 16, 22, 31, 429907), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '开启热水', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 229.006568}, {'datetime': datetime.datetime(2019, 3, 21, 16, 27, 23, 674420), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '对治疗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 256.346599}, {'datetime': datetime.datetime(2019, 3, 21, 16, 34, 15, 94269), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '哥强哥', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 399.43359}, {'datetime': datetime.datetime(2019, 3, 21, 16, 39, 21, 217141), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 349.193331}, {'datetime': datetime.datetime(2019, 3, 21, 16, 41, 2, 418042), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '宝贝儿媳妇儿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 364.551103} ... displaying 10 of 14 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 16, 49, 13, 556679), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '哇共振尊严', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 218.699511}, {'datetime': datetime.datetime(2019, 3, 21, 16, 50, 47, 239808), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '那就是吧这三个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 306.528134}) +2019-03-21 17:00:03,034 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 16:00:00 +时间为:### 2019-03-21 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 16:00:00" and datetime< "2019-03-21 17:00:00" +2019-03-21 17:00:03,041 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,042 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:03,042 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,043 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:03,043 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,044 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:03,044 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,045 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:03,045 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,046 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:03,046 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:03,046 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 16:00:00" and datetime< "2019-03-21 17:00:00" +2019-03-21 17:00:03,047 INFO sqlalchemy.engine.base.Engine {} +****136 +16 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 16:00:00" and datetime< "2019-03-21 17:00:00" +2019-03-21 17:00:04,127 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:04,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,128 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:04,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,129 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:04,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,129 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:04,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,131 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:04,131 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,132 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:04,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:04,133 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 16:00:00" and datetime< "2019-03-21 17:00:00" +2019-03-21 17:00:04,133 INFO sqlalchemy.engine.base.Engine {} +****136 +120 +all****16 + +all****120 + +****16 + +****106 + +Start domain data classification: +2019-03-21 17:00:05,203 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:05,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,204 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:05,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,205 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,205 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,207 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:05,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,209 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 17:00:05,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,211 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 17:00:05,212 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 17:00:05,212 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 17, 0), 'aircleaner': 0, 'airconditioner': 8, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 6, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 17:00:05,213 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 17:00:05,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,231 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,234 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 17:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:05,237 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 17:00:05,238 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 17:00:05,238 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 17, 0), 'almanac': 1, 'ancient_poem': 3, 'astro': 1, 'baike': 2, 'chat': 27, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 6, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 3, 'music': 37, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 16} +2019-03-21 17:00:05,239 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 17:00:06,063 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 17:00:06,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,064 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 17:00:06,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,065 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 17:00:06,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,065 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 17:00:06,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:06,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,067 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 17:00:06,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,068 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 17:00:06,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,068 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 17:00:06,068 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 17:00:06,070 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 17:00:06,071 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 17:00:06,071 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 17, 0), '0~500ms': "[('airconditioner', 8), ('universalcontrol', 6), ('playcontrol', 2), ('chat', 40), ('music', 31), ('weather', 16)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('holiday', 1), ('almanac', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 1), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 17:00:06,071 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 18 +***** + +2019-03-21 18:00:02,577 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,579 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:02,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,580 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,580 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,582 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,584 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 18:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,587 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 18:00:02,591 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 18:00:02,591 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 17, 3, 4, 150250), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 470.389444}, {'datetime': datetime.datetime(2019, 3, 21, 17, 3, 51, 273176), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '你就版本', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'query_song_editions', 'response_data': '我也不知道耶,等我再学习一下吧。', 'cost_time_ms': 195.399682}, {'datetime': datetime.datetime(2019, 3, 21, 17, 4, 30, 11290), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '你猜到了', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '人的心思总是捉摸不透,对我来说好难猜。', 'cost_time_ms': 183.524058}, {'datetime': datetime.datetime(2019, 3, 21, 17, 7, 29, 960114), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 355.991852}, {'datetime': datetime.datetime(2019, 3, 21, 17, 7, 31, 197035), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先这样吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 216.648348}, {'datetime': datetime.datetime(2019, 3, 21, 17, 7, 32, 325330), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先这样吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拜拜,别忘了下次找我聊天哦。', 'cost_time_ms': 254.077989}, {'datetime': datetime.datetime(2019, 3, 21, 17, 7, 32, 509423), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先这样吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拜拜,期待下次聊天,一定要找我哦!', 'cost_time_ms': 254.037077}, {'datetime': datetime.datetime(2019, 3, 21, 17, 7, 34, 34696), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先这样吧', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '拜拜,期待下次聊天,一定要找我哦!', 'cost_time_ms': 189.398245} ... displaying 10 of 177 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 17, 59, 57, 758771), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 349.922354}, {'datetime': datetime.datetime(2019, 3, 21, 17, 59, 57, 758771), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 349.922354}) +2019-03-21 18:00:02,636 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 18:00:02,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:02,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:02,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,649 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:02,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,649 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:02,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,652 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 18:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,661 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:02,661 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,662 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,663 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,666 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 18:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,668 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 18:00:02,669 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 18:00:02,669 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 17, 7, 31, 197035), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '先这样吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 216.648348}, {'datetime': datetime.datetime(2019, 3, 21, 17, 12, 10, 731172), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '查一部', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 240.715977}, {'datetime': datetime.datetime(2019, 3, 21, 17, 21, 29, 149468), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 348.519423}, {'datetime': datetime.datetime(2019, 3, 21, 17, 21, 29, 149468), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 348.519423}, {'datetime': datetime.datetime(2019, 3, 21, 17, 21, 29, 149468), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 348.519423}, {'datetime': datetime.datetime(2019, 3, 21, 17, 21, 29, 149468), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 348.519423}, {'datetime': datetime.datetime(2019, 3, 21, 17, 30, 59, 858679), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '美的空调', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 217.991559}, {'datetime': datetime.datetime(2019, 3, 21, 17, 39, 14, 637769), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '你好魔方', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 207.615737} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 17, 56, 45, 576971), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '女播报声', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 335.49994}, {'datetime': datetime.datetime(2019, 3, 21, 17, 58, 33, 500936), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '太早了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 166.368124}) +2019-03-21 18:00:02,676 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 17:00:00 +时间为:### 2019-03-21 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 17:00:00" and datetime< "2019-03-21 18:00:00" +2019-03-21 18:00:02,683 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,684 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:02,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,685 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:02,685 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,685 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:02,686 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,687 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:02,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,688 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:02,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:02,688 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 17:00:00" and datetime< "2019-03-21 18:00:00" +2019-03-21 18:00:02,688 INFO sqlalchemy.engine.base.Engine {} +****177 +112 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 17:00:00" and datetime< "2019-03-21 18:00:00" +2019-03-21 18:00:10,249 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:10,249 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,250 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:10,250 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,251 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:10,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,252 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:10,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,253 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:10,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:10,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:10,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:10,255 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 17:00:00" and datetime< "2019-03-21 18:00:00" +2019-03-21 18:00:10,255 INFO sqlalchemy.engine.base.Engine {} +****177 +65 +all****112 + +all****65 + +****112 + +****54 + +Start domain data classification: +2019-03-21 18:00:11,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:11,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:11,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,288 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:11,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,289 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:11,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:11,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:11,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:11,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,292 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 18:00:11,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,294 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 18:00:11,295 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 18:00:11,295 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 18, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 110, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 18:00:11,297 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 18:00:11,311 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:11,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,311 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:11,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,312 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:11,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,313 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:11,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,314 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:11,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:11,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:11,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,316 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 18:00:11,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:11,318 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 18:00:11,319 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 18:00:11,320 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 18, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 24, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 0, 'music': 14, 'news': 1, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 0, 'weather': 7} +2019-03-21 18:00:11,350 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 18:00:12,171 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 18:00:12,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,172 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 18:00:12,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,173 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 18:00:12,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,174 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 18:00:12,174 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,175 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:12,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,176 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 18:00:12,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,177 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 18:00:12,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,177 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 18:00:12,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 18:00:12,179 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 18:00:12,180 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 18:00:12,180 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 18, 0), '0~500ms': "[('playcontrol', 108), ('airconditioner', 1), ('universalcontrol', 1), ('chat', 35), ('music', 11), ('weather', 7)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('playcontrol', 2), ('aircleaner', 0), ('airconditioner', 0), ('music', 2), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]"} +2019-03-21 18:00:12,195 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 19 +***** + +2019-03-21 19:00:02,591 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,592 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,594 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,596 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,597 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 19:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,600 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 19:00:02,603 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 19:00:02,603 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 18, 0, 23, 228253), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '珠海格力电器股份有限公司,成立于1991年。前身是珠海市海利冷气工程股份有限公司,1991年,改组成“珠海格力电器股份有限公司”。1996年,公司在深圳证券交易所上市,目前隶属于格力集团旗下。', 'cost_time_ms': 355.983455}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 23, 782825), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '格力空调', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '珠海格力电器股份有限公司,成立于1991年。前身是珠海市海利冷气工程股份有限公司,1991年,改组成“珠海格力电器股份有限公司”。1996年,公司在深圳证券交易所上市,目前隶属于格力集团旗下。', 'cost_time_ms': 240.920276}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 24, 946101), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 204.774858}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 25, 278151), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 240.035897}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 38, 223124), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 206.110477}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 42, 55369), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么大', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 216.70834}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 43, 938202), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '性格好啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 155.566491}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 44, 454335), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么远那么近', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '这首歌由黄耀明演唱,张国荣作曲并配旁白,黄伟文填词。收录在2002年张国荣与黄耀明合作的ep碟《crossover》中。', 'cost_time_ms': 165.853488} ... displaying 10 of 69 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 18, 56, 22, 95103), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 417.368439}, {'datetime': datetime.datetime(2019, 3, 21, 18, 56, 39, 948759), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放一首彭丽媛的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏彭丽媛的歌。', 'cost_time_ms': 493.500725}) +2019-03-21 19:00:02,606 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 19:00:02,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,619 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,622 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 19:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,632 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,635 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 19:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,638 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 19:00:02,638 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 19:00:02,639 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 18, 0, 42, 55369), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么大', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 216.70834}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 43, 938202), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '性格好啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 155.566491}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 44, 983349), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么远都能听到', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 145.855229}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 45, 159746), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '醒了好啊这么远都能听到', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 260.410419}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 46, 374950), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么好啊这么远都能听到', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 188.394411}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 46, 458182), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这么远都能听到', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 242.414402}, {'datetime': datetime.datetime(2019, 3, 21, 18, 0, 47, 698983), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '写得好啊这么远都能听到', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 239.462415}, {'datetime': datetime.datetime(2019, 3, 21, 18, 7, 26, 269289), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '不一会儿', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 353.779727} ... displaying 10 of 15 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 18, 46, 37, 741766), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 334.556383}, {'datetime': datetime.datetime(2019, 3, 21, 18, 48, 57, 546274), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '这些连着蓝牙的时候不过应用重启了它', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 301.353311}) +2019-03-21 19:00:02,654 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 18:00:00 +时间为:### 2019-03-21 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 18:00:00" and datetime< "2019-03-21 19:00:00" +2019-03-21 19:00:02,662 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:02,662 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,664 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,665 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 18:00:00" and datetime< "2019-03-21 19:00:00" +2019-03-21 19:00:02,667 INFO sqlalchemy.engine.base.Engine {} +****69 +15 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 18:00:00" and datetime< "2019-03-21 19:00:00" +2019-03-21 19:00:03,804 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,805 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:03,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,806 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:03,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,807 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,809 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:03,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:03,810 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 18:00:00" and datetime< "2019-03-21 19:00:00" +2019-03-21 19:00:03,810 INFO sqlalchemy.engine.base.Engine {} +****69 +54 +all****15 + +all****54 + +****15 + +****39 + +Start domain data classification: +2019-03-21 19:00:04,850 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,851 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,852 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,853 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:04,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,854 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:04,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,855 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:04,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,856 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:04,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,856 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 19:00:04,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,858 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 19:00:04,860 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 19:00:04,860 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 19, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 13, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 19:00:04,860 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 19:00:04,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:04,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,882 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,883 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,886 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 19:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:04,888 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 19:00:04,890 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 19:00:04,890 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 19, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 3, 'chat': 8, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 7, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 6} +2019-03-21 19:00:04,890 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 19:00:05,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 19:00:05,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,741 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 19:00:05,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,742 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 19:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,742 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 19:00:05,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 19:00:05,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 19:00:05,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,745 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 19:00:05,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 19:00:05,747 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 19:00:05,748 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 19:00:05,748 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 19, 0), '0~500ms': "[('playcontrol', 13), ('airconditioner', 2), ('aircleaner', 0), ('chat', 22), ('music', 7), ('weather', 6)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 19:00:05,748 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 20 +***** + +2019-03-21 20:00:02,416 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:02,417 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,418 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:02,418 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,419 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:02,419 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,420 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:02,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,421 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,422 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,423 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 20:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,426 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 20:00:02,429 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 20:00:02,429 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 19, 5, 32, 376836), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 429.481537}, {'datetime': datetime.datetime(2019, 3, 21, 19, 6, 51, 828065), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这个那个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 324.639959}, {'datetime': datetime.datetime(2019, 3, 21, 19, 7, 32, 770698), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '就是揪着那个资本的话组长不亮', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 337.830594}, {'datetime': datetime.datetime(2019, 3, 21, 19, 11, 42, 326507), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '格力金贝', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 309.721153}, {'datetime': datetime.datetime(2019, 3, 21, 19, 11, 51, 357975), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '换一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 213.933891}, {'datetime': datetime.datetime(2019, 3, 21, 19, 13, 39, 569326), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '你叫什么名字', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '我就是我呀', 'cost_time_ms': 359.597352}, {'datetime': datetime.datetime(2019, 3, 21, 19, 13, 59, 410085), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '雷军是谁', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '雷军(1969年12月16日-),绰号“雷布斯”,中国互联网代表人物,中国大陆著名天使投资人。出生于湖北仙桃,毕业于武汉大学,小米公司创始人。现任第十三届全国人大代表,小米科技有限责任公司董事长兼首席执行官,北京金山软件有限公司董事长。1992年参与创办金山软件,1998年出任金山软件ceo。20 ... (12 characters truncated) ... 任金山软件ceo转任副董事长。2011年7月重返金山软件,任董事长。2000年创办卓越网,2004年出售给亚马逊。2010年4月6日重新创业,建立小米公司。2018年7月9日带领小米集团在香港主板上市。2018年10月25日,雷军以821.1亿元财富排名《2018福布斯中国400富豪榜》第11位。', 'cost_time_ms': 397.177361}, {'datetime': datetime.datetime(2019, 3, 21, 19, 15, 55, 18175), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '中国广播', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '好的,先来听听中华上下五千年历史故事吧。', 'cost_time_ms': 328.410176} ... displaying 10 of 60 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 19, 56, 42, 83016), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '以切换', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 348.380131}, {'datetime': datetime.datetime(2019, 3, 21, 19, 59, 12, 49765), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 372.435496}) +2019-03-21 20:00:02,432 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 20:00:02,444 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,444 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:02,444 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,445 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:02,445 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,446 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:02,446 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,447 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,447 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,448 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,448 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:02,448 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,449 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 20:00:02,449 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:02,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,459 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:02,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,462 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 20:00:02,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,464 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 20:00:02,465 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 20:00:02,465 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 19, 6, 51, 828065), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这个那个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 324.639959}, {'datetime': datetime.datetime(2019, 3, 21, 19, 7, 32, 770698), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '就是揪着那个资本的话组长不亮', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 337.830594}, {'datetime': datetime.datetime(2019, 3, 21, 19, 18, 18, 776638), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '如果是', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 351.492753}, {'datetime': datetime.datetime(2019, 3, 21, 19, 56, 42, 83016), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '以切换', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我试着去理解你说的话,但还是没弄明白。', 'cost_time_ms': 348.380131}) +2019-03-21 20:00:02,466 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 19:00:00 +时间为:### 2019-03-21 20:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 19:00:00" and datetime< "2019-03-21 20:00:00" +2019-03-21 20:00:02,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:02,479 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,480 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,481 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,482 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:02,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 19:00:00" and datetime< "2019-03-21 20:00:00" +2019-03-21 20:00:02,483 INFO sqlalchemy.engine.base.Engine {} +****60 +14 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 19:00:00" and datetime< "2019-03-21 20:00:00" +2019-03-21 20:00:03,647 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:03,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,648 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:03,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,649 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:03,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,650 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:03,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,651 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:03,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:03,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,652 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:03,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:03,653 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 19:00:00" and datetime< "2019-03-21 20:00:00" +2019-03-21 20:00:03,653 INFO sqlalchemy.engine.base.Engine {} +****60 +46 +all****14 + +all****46 + +****14 + +****42 + +Start domain data classification: +2019-03-21 20:00:04,700 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:04,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,702 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,702 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,706 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 20:00:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,708 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 20:00:04,709 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 20:00:04,709 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 20, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 9, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 4, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 20:00:04,710 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 20:00:04,726 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:04,726 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,727 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:04,727 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,728 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,728 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:04,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,729 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:04,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,730 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:04,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,730 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,731 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 20:00:04,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:04,733 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 20:00:04,735 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather, alarm) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s, %(alarm)s) +2019-03-21 20:00:04,735 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 20, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 2, 'chat': 5, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 1, 'music': 13, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 3, 'alarm': 2} +2019-03-21 20:00:04,735 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 20:00:05,575 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 20:00:05,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,576 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 20:00:05,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,577 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 20:00:05,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,578 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 20:00:05,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,579 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:05,579 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 20:00:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,580 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 20:00:05,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,581 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 20:00:05,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 20:00:05,583 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 20:00:05,583 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 20:00:05,583 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 20, 0), '0~500ms': "[('playcontrol', 9), ('universalcontrol', 4), ('airconditioner', 1), ('music', 11), ('chat', 9), ('fm', 4)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 20:00:05,584 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 21 +***** + +2019-03-21 21:00:02,152 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,154 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,158 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,159 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 21:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,161 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 21:00:02,164 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 21:00:02,164 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 20, 0, 48, 311613), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 383.404426}, {'datetime': datetime.datetime(2019, 3, 21, 20, 1, 46, 213977), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '现在几点了', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_time', 'response_data': '现在是北京时间晚上8点1分。', 'cost_time_ms': 178.957343}, {'datetime': datetime.datetime(2019, 3, 21, 20, 2, 1, 733425), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '几点了', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_time', 'response_data': '现在是北京时间晚上8点2分。', 'cost_time_ms': 356.255348}, {'datetime': datetime.datetime(2019, 3, 21, 20, 5, 23, 403044), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '给我放', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '放什么?请把舌头捋直了说。', 'cost_time_ms': 399.196178}, {'datetime': datetime.datetime(2019, 3, 21, 20, 5, 45, 329987), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '今天天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天晴,气温23度到28度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 302.015678}, {'datetime': datetime.datetime(2019, 3, 21, 20, 6, 7, 320191), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 369.357386}, {'datetime': datetime.datetime(2019, 3, 21, 20, 13, 2, 763877), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 462.900623}, {'datetime': datetime.datetime(2019, 3, 21, 20, 13, 30, 265037), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 167.874022} ... displaying 10 of 90 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 20, 57, 45, 990849), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 482.843314}, {'datetime': datetime.datetime(2019, 3, 21, 20, 58, 6, 669349), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 416.512291}) +2019-03-21 21:00:02,169 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 21:00:02,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,182 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,183 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,186 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 21:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,194 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,195 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,196 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,199 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,199 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 21:00:02,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,201 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 21:00:02,202 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 21:00:02,202 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 20, 22, 53, 536093), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '来呀打不打开啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 354.748656}, {'datetime': datetime.datetime(2019, 3, 21, 20, 28, 28, 46757), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我不知道我那开始吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 339.134928}, {'datetime': datetime.datetime(2019, 3, 21, 20, 32, 27, 439219), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '蓝牙开得很慢', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 217.334759}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 17, 658670), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '雪和血', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 210.697282}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 19, 600149), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 183.832491}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 48, 23284), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 198.706974}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 48, 194663), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 190.704893}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 52, 987958), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 175.054272} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 53, 32024), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 189.126107}, {'datetime': datetime.datetime(2019, 3, 21, 20, 52, 53, 62643), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 286.874591}) +2019-03-21 21:00:02,203 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 20:00:00 +时间为:### 2019-03-21 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 20:00:00" and datetime< "2019-03-21 21:00:00" +2019-03-21 21:00:02,212 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:02,212 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,213 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:02,213 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,214 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,215 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,217 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:02,217 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 20:00:00" and datetime< "2019-03-21 21:00:00" +2019-03-21 21:00:02,217 INFO sqlalchemy.engine.base.Engine {} +****90 +8 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 20:00:00" and datetime< "2019-03-21 21:00:00" +2019-03-21 21:00:03,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:03,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:03,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,300 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:03,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,301 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:03,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:03,304 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 20:00:00" and datetime< "2019-03-21 21:00:00" +2019-03-21 21:00:03,304 INFO sqlalchemy.engine.base.Engine {} +****90 +82 +all****8 + +all****82 + +****8 + +****71 + +Start domain data classification: +2019-03-21 21:00:04,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:04,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,372 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,373 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,376 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 21:00:04,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,378 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 21:00:04,379 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 21:00:04,379 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 21, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 4, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 3, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 21:00:04,380 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 21:00:04,393 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:04,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,394 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:04,394 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,395 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,395 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:04,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:04,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,397 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:04,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,398 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 21:00:04,398 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:04,400 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 21:00:04,401 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 21:00:04,402 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 21, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 18, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 1, 'music': 37, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 1} +2019-03-21 21:00:04,402 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 21:00:05,220 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 21:00:05,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,221 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 21:00:05,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,222 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 21:00:05,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,223 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 21:00:05,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,224 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:05,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,225 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 21:00:05,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,226 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 21:00:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,226 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 21:00:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 21:00:05,228 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 21:00:05,229 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 21:00:05,229 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 21, 0), '0~500ms': "[('playcontrol', 4), ('universalcontrol', 3), ('airconditioner', 1), ('chat', 29), ('music', 25), ('holiday', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 12), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 21:00:05,229 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 22 +***** + +2019-03-21 22:00:02,625 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:02,625 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,626 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,627 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,629 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,630 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,631 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 22:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,633 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 22:00:02,636 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 22:00:02,636 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 21, 0, 21, 394017), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放一首number', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏alexanderoscar的number哦。', 'cost_time_ms': 753.5628}, {'datetime': datetime.datetime(2019, 3, 21, 21, 0, 50, 425605), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放抖音', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '来听听抖音那些一听就停不下来的歌。', 'cost_time_ms': 552.010223}, {'datetime': datetime.datetime(2019, 3, 21, 21, 0, 51, 130038), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放斗妍的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放斗妍的歌。', 'cost_time_ms': 357.438984}, {'datetime': datetime.datetime(2019, 3, 21, 21, 2, 16, 154625), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 448.389371}, {'datetime': datetime.datetime(2019, 3, 21, 21, 2, 36, 293391), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '唱首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 292.523491}, {'datetime': datetime.datetime(2019, 3, 21, 21, 5, 49, 203946), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 312.201913}, {'datetime': datetime.datetime(2019, 3, 21, 21, 7, 22, 253576), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '淘宝的信誉怎么样', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '挺不错的呀。', 'cost_time_ms': 313.395393}, {'datetime': datetime.datetime(2019, 3, 21, 21, 7, 51, 883212), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 231.294734} ... displaying 10 of 57 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 21, 59, 20, 582627), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放赛罗奥特曼主题曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 269.685345}, {'datetime': datetime.datetime(2019, 3, 21, 21, 59, 38, 704833), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放赛罗奥特曼', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当也喜欢赛罗奥特曼超决战-贝利亚银河帝国哦,我们一起听吧。', 'cost_time_ms': 248.658054}) +2019-03-21 22:00:02,639 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 22:00:02,651 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:02,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,651 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,652 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:02,652 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,653 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:02,653 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,654 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,654 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,655 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,655 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 22:00:02,655 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,663 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:02,663 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,664 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:02,664 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,665 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,665 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:02,665 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,666 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,666 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,667 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:02,667 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,668 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 22:00:02,668 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,670 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 22:00:02,671 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 22:00:02,671 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 21, 53, 52, 285957), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这个时候呢', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 344.509844}, {'datetime': datetime.datetime(2019, 3, 21, 21, 53, 53, 55040), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '这个时候呢', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 211.173603}, {'datetime': datetime.datetime(2019, 3, 21, 21, 53, 55, 415066), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '认识个女的吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 181.772429}, {'datetime': datetime.datetime(2019, 3, 21, 21, 53, 56, 260610), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '顿时发觉', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 208.407106}) +2019-03-21 22:00:02,671 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-21 21:00:00 +时间为:### 2019-03-21 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 21:00:00" and datetime< "2019-03-21 22:00:00" +2019-03-21 22:00:02,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:02,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,680 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:02,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,680 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,681 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:02,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:02,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:02,683 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 21:00:00" and datetime< "2019-03-21 22:00:00" +2019-03-21 22:00:02,684 INFO sqlalchemy.engine.base.Engine {} +****57 +6 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 21:00:00" and datetime< "2019-03-21 22:00:00" +2019-03-21 22:00:03,807 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:03,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:03,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,809 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,809 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:03,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,810 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:03,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,811 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:03,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,812 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:03,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:03,812 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 21:00:00" and datetime< "2019-03-21 22:00:00" +2019-03-21 22:00:03,813 INFO sqlalchemy.engine.base.Engine {} +****57 +51 +all****6 + +all****51 + +****6 + +****47 + +Start domain data classification: +2019-03-21 22:00:04,846 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:04,846 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,847 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:04,847 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,848 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:04,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,849 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:04,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,850 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:04,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,851 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:04,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,852 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 22:00:04,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,854 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 22:00:04,855 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 22:00:04,855 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 22, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 4, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 22:00:04,856 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 22:00:04,870 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:04,870 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,871 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,871 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:04,871 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,872 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:04,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,873 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:04,873 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,874 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,874 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 22:00:04,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:04,877 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 22:00:04,878 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 22:00:04,878 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 22, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 2, 'chat': 7, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 25, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 22:00:04,878 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 22:00:05,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 22:00:05,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 22:00:05,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 22:00:05,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,703 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 22:00:05,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:05,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 22:00:05,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 22:00:05,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,706 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 22:00:05,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 22:00:05,708 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 22:00:05,709 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 22:00:05,709 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 22, 0), '0~500ms': "[('playcontrol', 4), ('airconditioner', 1), ('universalcontrol', 1), ('music', 19), ('chat', 11), ('baike', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 6), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 22:00:05,710 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-21 23 +***** + +2019-03-21 23:00:02,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,235 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:02,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:02,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,240 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-21 23:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,243 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 23:00:02,245 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-21 23:00:02,245 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 22, 45, 24, 455497), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 533.476656}, {'datetime': datetime.datetime(2019, 3, 21, 22, 49, 25, 575557), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 466.954156}, {'datetime': datetime.datetime(2019, 3, 21, 22, 50, 4, 46322), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 280.469106}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 47, 143005), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 408.628898}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 50, 535357), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 386.743763}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 53, 760351), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《渡荆门送别》:', 'cost_time_ms': 219.527354}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 56, 961679), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听小马宝莉吧。', 'cost_time_ms': 195.13433}, {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 0, 157310), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 190.541633} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 32, 458782), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 154.613554}, {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 35, 622450), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 158.367708}) +2019-03-21 23:00:02,247 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-21 23:00:02,258 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,259 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,260 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:02,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,264 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-21 23:00:02,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,275 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:02,275 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,276 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:02,277 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,277 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,278 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:02,278 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,280 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,280 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,281 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:02,281 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,282 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-21 23:00:02,283 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 22:00:00 +时间为:### 2019-03-21 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 22:00:00" and datetime< "2019-03-21 23:00:00" +2019-03-21 23:00:02,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,292 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:02,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,293 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:02,293 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:02,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:02,296 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 22:00:00" and datetime< "2019-03-21 23:00:00" +2019-03-21 23:00:02,296 INFO sqlalchemy.engine.base.Engine {} +****19 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 22:00:00" and datetime< "2019-03-21 23:00:00" +2019-03-21 23:00:03,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:03,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,411 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:03,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,412 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:03,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,413 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:03,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:03,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,415 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:03,415 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,416 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:03,416 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:03,416 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 22:00:00" and datetime< "2019-03-21 23:00:00" +2019-03-21 23:00:03,416 INFO sqlalchemy.engine.base.Engine {} +****19 +18 +all****1 + +all****18 + +****1 + +****18 + +Start domain data classification: +2019-03-21 23:00:04,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,459 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,460 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,461 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:04,463 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,463 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,464 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-21 23:00:04,464 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,467 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 23:00:04,468 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-21 23:00:04,468 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 23, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-21 23:00:04,468 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-21 23:00:04,482 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,483 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,484 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,484 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,487 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,487 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-21 23:00:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:04,490 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 23:00:04,491 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-21 23:00:04,491 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 23, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 4, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-21 23:00:04,492 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-21 23:00:05,345 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-21 23:00:05,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-21 23:00:05,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-21 23:00:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,348 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-21 23:00:05,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:05,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-21 23:00:05,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-21 23:00:05,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,352 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-21 23:00:05,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-21 23:00:05,354 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-21 23:00:05,354 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-21 23:00:05,355 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 21, 23, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 3), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-21 23:00:05,355 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190322: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190322" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190322: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190322" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-22 00 +***** + +2019-03-22 00:00:02,261 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,262 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,263 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,264 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:02,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,265 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,266 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,267 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,268 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 00:00:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,270 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 00:00:02,273 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 00:00:02,273 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 21, 22, 45, 24, 455497), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 533.476656}, {'datetime': datetime.datetime(2019, 3, 21, 22, 49, 25, 575557), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 466.954156}, {'datetime': datetime.datetime(2019, 3, 21, 22, 50, 4, 46322), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '给我来首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 280.469106}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 47, 143005), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 408.628898}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 50, 535357), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 386.743763}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 53, 760351), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《渡荆门送别》:', 'cost_time_ms': 219.527354}, {'datetime': datetime.datetime(2019, 3, 21, 22, 51, 56, 961679), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听小马宝莉吧。', 'cost_time_ms': 195.13433}, {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 0, 157310), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 190.541633} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 32, 458782), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 154.613554}, {'datetime': datetime.datetime(2019, 3, 21, 22, 52, 35, 622450), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 158.367708}) +2019-03-22 00:00:02,274 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 00:00:02,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:02,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,284 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:02,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,285 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,285 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:02,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,288 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 00:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,297 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:02,297 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,298 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:02,298 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,298 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,299 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:02,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,300 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,301 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,302 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,302 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 00:00:02,302 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-21 23:00:00 +时间为:### 2019-03-22 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 23:00:00" and datetime< "2019-03-22 00:00:00" +2019-03-22 00:00:02,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:02,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,310 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:02,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,311 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:02,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:02,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,313 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:02,313 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:02,314 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 23:00:00" and datetime< "2019-03-22 00:00:00" +2019-03-22 00:00:02,314 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 23:00:00" and datetime< "2019-03-22 00:00:00" +2019-03-22 00:00:03,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:03,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,424 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:03,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,425 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:03,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:03,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,427 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:03,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:03,428 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-21 23:00:00" and datetime< "2019-03-22 00:00:00" +2019-03-22 00:00:03,428 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-22 00:00:04,452 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:04,452 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:04,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,454 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:04,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,455 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:04,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,458 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 00:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,460 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 00:00:04,461 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 00:00:04,461 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 00:00:04,462 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 00:00:04,481 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,482 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:04,482 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,483 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:04,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,484 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:04,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:04,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,485 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,486 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:04,486 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,487 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 00:00:04,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:04,489 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 00:00:04,490 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 00:00:04,490 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-22 00:00:04,491 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 00:00:05,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 00:00:05,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 00:00:05,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 00:00:05,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 00:00:05,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:05,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 00:00:05,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 00:00:05,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,344 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 00:00:05,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 00:00:05,346 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 00:00:05,347 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 00:00:05,347 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 0, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 3), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 00:00:05,348 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 01 +***** + +2019-03-22 01:00:02,213 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:02,214 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,215 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,217 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,220 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 01:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,223 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 01:00:02,225 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 01:00:02,225 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 0, 2, 8, 721687), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '我要听歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 483.426585}, {'datetime': datetime.datetime(2019, 3, 22, 0, 2, 26, 459547), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '来一首high一点的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '让身体跟着节奏动起来!来听糖糖的非谁莫属。', 'cost_time_ms': 396.107841}, {'datetime': datetime.datetime(2019, 3, 22, 0, 2, 45, 131052), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 316.708135}, {'datetime': datetime.datetime(2019, 3, 22, 0, 5, 53, 736561), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '声音调到最大', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risevolmax', 'response_data': 'success', 'cost_time_ms': 399.934158}, {'datetime': datetime.datetime(2019, 3, 22, 0, 6, 6, 768312), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听一首dj', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听dj歌曲。', 'cost_time_ms': 569.766845}, {'datetime': datetime.datetime(2019, 3, 22, 0, 9, 8, 418248), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '叫她一声', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,好的。', 'cost_time_ms': 313.674136}, {'datetime': datetime.datetime(2019, 3, 22, 0, 9, 21, 5404), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '暂停播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 335.466248}, {'datetime': datetime.datetime(2019, 3, 22, 0, 26, 35, 636740), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '来几首谭咏麟的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听谭咏麟的歌。', 'cost_time_ms': 462.407152} ... displaying 10 of 24 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 0, 52, 32, 486267), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 148.755082}, {'datetime': datetime.datetime(2019, 3, 22, 0, 52, 35, 654049), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 162.769408}) +2019-03-22 01:00:02,227 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 01:00:02,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:02,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,239 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,242 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 01:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,251 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:02,251 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,252 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:02,252 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,253 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:02,253 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,254 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,254 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,255 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,256 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 01:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,258 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 01:00:02,259 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 01:00:02,259 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 0, 2, 45, 131052), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7baac63f', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 316.708135} +2019-03-22 01:00:02,259 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 00:00:00 +时间为:### 2019-03-22 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 00:00:00" and datetime< "2019-03-22 01:00:00" +2019-03-22 01:00:02,266 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:02,266 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,267 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,267 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:02,267 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,268 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:02,268 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,269 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,269 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,270 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:02,270 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:02,271 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 00:00:00" and datetime< "2019-03-22 01:00:00" +2019-03-22 01:00:02,271 INFO sqlalchemy.engine.base.Engine {} +****24 +3 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 00:00:00" and datetime< "2019-03-22 01:00:00" +2019-03-22 01:00:03,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:03,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,385 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:03,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,386 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:03,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,387 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:03,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,388 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:03,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:03,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:03,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:03,390 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 00:00:00" and datetime< "2019-03-22 01:00:00" +2019-03-22 01:00:03,390 INFO sqlalchemy.engine.base.Engine {} +****24 +21 +all****3 + +all****21 + +****3 + +****20 + +Start domain data classification: +2019-03-22 01:00:04,427 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:04,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,428 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:04,428 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,429 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,429 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:04,429 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,431 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,432 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,432 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 01:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,434 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 01:00:04,435 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 01:00:04,436 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 1, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 01:00:04,436 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 01:00:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,458 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,459 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,459 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,462 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,462 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 01:00:04,462 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:04,464 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 01:00:04,465 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 01:00:04,465 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 1, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 5, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 01:00:04,466 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 01:00:05,290 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 01:00:05,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 01:00:05,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,292 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 01:00:05,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,292 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 01:00:05,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:05,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 01:00:05,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 01:00:05,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,295 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 01:00:05,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 01:00:05,297 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 01:00:05,298 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 01:00:05,298 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 1, 0), '0~500ms': "[('airconditioner', 2), ('playcontrol', 1), ('aircleaner', 0), ('music', 4), ('chat', 3), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 01:00:05,299 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 02 +***** + +2019-03-22 02:00:02,670 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:02,670 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,671 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:02,671 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,672 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:02,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,673 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:02,673 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,675 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,675 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,675 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,676 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:02,676 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,677 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 02:00:02,677 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,679 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 02:00:02,682 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 02:00:02,682 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 1, 51, 47, 152585), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 418.595}, {'datetime': datetime.datetime(2019, 3, 22, 1, 51, 50, 562667), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 404.446765}, {'datetime': datetime.datetime(2019, 3, 22, 1, 51, 53, 800722), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《行路难其一》:', 'cost_time_ms': 232.311405}, {'datetime': datetime.datetime(2019, 3, 22, 1, 51, 57, 11430), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听植物大战僵尸吧。', 'cost_time_ms': 205.377727}, {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 0, 205212), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 187.401521}, {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 3, 432529), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 221.522229}, {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 6, 594595), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 157.052031}, {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 9, 773608), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 172.965471} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 32, 460303), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 156.835406}, {'datetime': datetime.datetime(2019, 3, 22, 1, 52, 35, 633990), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 168.0603}) +2019-03-22 02:00:02,684 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 02:00:02,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:02,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,704 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,704 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,706 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,707 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 02:00:02,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,716 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,717 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,718 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,719 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,720 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,721 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:02,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,722 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 02:00:02,722 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 01:00:00 +时间为:### 2019-03-22 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 01:00:00" and datetime< "2019-03-22 02:00:00" +2019-03-22 02:00:02,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,730 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,731 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:02,731 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:02,734 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 01:00:00" and datetime< "2019-03-22 02:00:00" +2019-03-22 02:00:02,734 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 01:00:00" and datetime< "2019-03-22 02:00:00" +2019-03-22 02:00:03,857 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:03,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,858 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:03,858 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,859 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:03,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,860 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:03,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,861 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:03,861 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,862 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:03,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,862 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:03,862 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:03,863 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 01:00:00" and datetime< "2019-03-22 02:00:00" +2019-03-22 02:00:03,863 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 02:00:05,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:05,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,078 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,078 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:05,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,081 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 02:00:05,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,083 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 02:00:05,085 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 02:00:05,085 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 2, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 02:00:05,085 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 02:00:05,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:05,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,112 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,113 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:05,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,114 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:05,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,115 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,116 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:05,116 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,117 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 02:00:05,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,119 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 02:00:05,120 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 02:00:05,120 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 2, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 02:00:05,121 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 02:00:05,963 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 02:00:05,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 02:00:05,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,965 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 02:00:05,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,965 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 02:00:05,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 02:00:05,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 02:00:05,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,968 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 02:00:05,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 02:00:05,970 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 02:00:05,971 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 02:00:05,971 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 2, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 02:00:05,972 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 03 +***** + +2019-03-22 03:00:02,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:02,337 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:02,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:02,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:02,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,343 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:02,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,344 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 03:00:02,344 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,346 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 03:00:02,349 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 03:00:02,349 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 2, 51, 47, 181310), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 442.262655}, {'datetime': datetime.datetime(2019, 3, 22, 2, 51, 50, 564608), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 377.093572}, {'datetime': datetime.datetime(2019, 3, 22, 2, 51, 53, 790809), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《侠客行》:', 'cost_time_ms': 220.415466}, {'datetime': datetime.datetime(2019, 3, 22, 2, 51, 56, 985775), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从海底小纵队第一季开始吧。', 'cost_time_ms': 188.139398}, {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 0, 185618), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 194.678549}, {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 3, 422428), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 230.127971}, {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 6, 583814), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 155.95155}, {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 9, 755438), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 166.270762} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 32, 468581), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 154.482821}, {'datetime': datetime.datetime(2019, 3, 22, 2, 52, 35, 646533), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 172.737743}) +2019-03-22 03:00:02,350 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 03:00:02,361 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:02,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,362 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:02,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,362 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,363 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:02,363 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,364 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,365 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,366 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 03:00:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,374 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:02,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,375 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:02,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,376 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:02,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,376 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:02,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,378 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,379 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,380 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 03:00:02,380 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 02:00:00 +时间为:### 2019-03-22 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 02:00:00" and datetime< "2019-03-22 03:00:00" +2019-03-22 03:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,389 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,389 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:02,391 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 02:00:00" and datetime< "2019-03-22 03:00:00" +2019-03-22 03:00:02,391 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 02:00:00" and datetime< "2019-03-22 03:00:00" +2019-03-22 03:00:03,491 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:03,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,492 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,493 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:03,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,494 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:03,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,495 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:03,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,496 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:03,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:03,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:03,497 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 02:00:00" and datetime< "2019-03-22 03:00:00" +2019-03-22 03:00:03,497 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 03:00:04,536 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:04,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:04,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:04,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,539 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:04,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:04,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:04,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,542 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 03:00:04,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,544 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 03:00:04,545 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 03:00:04,545 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 3, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 03:00:04,546 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 03:00:04,559 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:04,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,560 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,560 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:04,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,561 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:04,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:04,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,563 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:04,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,564 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 03:00:04,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:04,566 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 03:00:04,567 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 03:00:04,567 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 3, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 03:00:04,568 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 03:00:05,407 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 03:00:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,408 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 03:00:05,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,409 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 03:00:05,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,410 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 03:00:05,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,411 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:05,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 03:00:05,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,412 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 03:00:05,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,413 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 03:00:05,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 03:00:05,414 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 03:00:05,415 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 03:00:05,415 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 3, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 03:00:05,416 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 04 +***** + +2019-03-22 04:00:02,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:02,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,737 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:02,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,738 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:02,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,739 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:02,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,741 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,742 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 04:00:02,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,745 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 04:00:02,748 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 04:00:02,748 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 3, 51, 47, 146236), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 412.034447}, {'datetime': datetime.datetime(2019, 3, 22, 3, 51, 50, 564319), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 412.292736}, {'datetime': datetime.datetime(2019, 3, 22, 3, 51, 53, 787845), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《春夜洛城闻笛》:', 'cost_time_ms': 216.877107}, {'datetime': datetime.datetime(2019, 3, 22, 3, 51, 56, 980209), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听小马宝莉吧。', 'cost_time_ms': 187.439503}, {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 0, 164311), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 178.518977}, {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 3, 395802), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 226.815294}, {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 6, 554897), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 153.350859}, {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 9, 727871), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 168.332447} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 32, 435856), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 153.60115}, {'datetime': datetime.datetime(2019, 3, 22, 3, 52, 35, 613114), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 171.812894}) +2019-03-22 04:00:02,749 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 04:00:02,767 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:02,767 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,768 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:02,768 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,769 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:02,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,770 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:02,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,772 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:02,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,774 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 04:00:02,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,784 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:02,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,785 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:02,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,786 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:02,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,787 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:02,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,789 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,790 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,791 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 04:00:02,791 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 03:00:00 +时间为:### 2019-03-22 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 03:00:00" and datetime< "2019-03-22 04:00:00" +2019-03-22 04:00:02,800 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:02,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,801 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:02,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,803 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:02,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,804 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:02,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:02,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:02,807 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 03:00:00" and datetime< "2019-03-22 04:00:00" +2019-03-22 04:00:02,807 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 03:00:00" and datetime< "2019-03-22 04:00:00" +2019-03-22 04:00:03,904 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:03,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,905 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:03,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,906 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:03,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,906 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:03,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:03,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,908 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:03,908 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,909 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:03,909 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:03,909 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 03:00:00" and datetime< "2019-03-22 04:00:00" +2019-03-22 04:00:03,909 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 04:00:04,940 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:04,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,941 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:04,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,942 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:04,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,943 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:04,943 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,944 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:04,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,945 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,945 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 04:00:04,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,947 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 04:00:04,949 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 04:00:04,949 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 4, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 04:00:04,949 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 04:00:04,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,962 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:04,962 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,963 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:04,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,964 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:04,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,965 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,965 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,966 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 04:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:04,968 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 04:00:04,969 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 04:00:04,969 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 4, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 04:00:04,970 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 04:00:05,781 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 04:00:05,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,782 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 04:00:05,782 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,783 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 04:00:05,783 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,784 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 04:00:05,784 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,785 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:05,785 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,786 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 04:00:05,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,786 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 04:00:05,786 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,787 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 04:00:05,787 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 04:00:05,789 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 04:00:05,789 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 04:00:05,789 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 4, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 04:00:05,790 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 05 +***** + +2019-03-22 05:00:02,115 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,116 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:02,117 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,117 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,118 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:02,118 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,120 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,120 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,121 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:02,121 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,122 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 05:00:02,122 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,124 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 05:00:02,127 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 05:00:02,127 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 4, 41, 30, 778379), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '姓甄的皇帝名讳', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 345.645279}, {'datetime': datetime.datetime(2019, 3, 22, 4, 51, 47, 159504), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 425.803471}, {'datetime': datetime.datetime(2019, 3, 22, 4, 51, 50, 563202), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 397.635641}, {'datetime': datetime.datetime(2019, 3, 22, 4, 51, 53, 790022), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《闻王昌龄左迁龙标遥有此寄》:', 'cost_time_ms': 221.333313}, {'datetime': datetime.datetime(2019, 3, 22, 4, 51, 56, 977942), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听格林童话(全套)吧。', 'cost_time_ms': 182.457987}, {'datetime': datetime.datetime(2019, 3, 22, 4, 52, 0, 173202), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 190.287351}, {'datetime': datetime.datetime(2019, 3, 22, 4, 52, 3, 491608), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 312.045068}, {'datetime': datetime.datetime(2019, 3, 22, 4, 52, 6, 659887), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 162.907951} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 4, 52, 32, 530363), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 156.272092}, {'datetime': datetime.datetime(2019, 3, 22, 4, 52, 35, 702905), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 167.061837}) +2019-03-22 05:00:02,128 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 05:00:02,137 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,138 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,139 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,142 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 05:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,151 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,151 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:02,151 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,152 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:02,152 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,153 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,154 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,156 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 05:00:02,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,158 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 05:00:02,159 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 05:00:02,159 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 4, 41, 30, 778379), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '姓甄的皇帝名讳', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 345.645279} +2019-03-22 05:00:02,159 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 04:00:00 +时间为:### 2019-03-22 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 04:00:00" and datetime< "2019-03-22 05:00:00" +2019-03-22 05:00:02,166 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,167 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,168 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,168 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,169 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:02,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:02,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:02,171 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 04:00:00" and datetime< "2019-03-22 05:00:00" +2019-03-22 05:00:02,171 INFO sqlalchemy.engine.base.Engine {} +****17 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 04:00:00" and datetime< "2019-03-22 05:00:00" +2019-03-22 05:00:03,340 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:03,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,341 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:03,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,342 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:03,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,343 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:03,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,344 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:03,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,345 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:03,345 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,346 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:03,346 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:03,346 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 04:00:00" and datetime< "2019-03-22 05:00:00" +2019-03-22 05:00:03,346 INFO sqlalchemy.engine.base.Engine {} +****17 +16 +all****1 + +all****16 + +****1 + +****15 + +Start domain data classification: +2019-03-22 05:00:04,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,380 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:04,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,381 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,382 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,385 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 05:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,387 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 05:00:04,388 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 05:00:04,388 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 5, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 05:00:04,389 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 05:00:04,402 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:04,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:04,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,404 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:04,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,405 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:04,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,406 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,406 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,407 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 05:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:04,410 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 05:00:04,411 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 05:00:04,411 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 5, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 05:00:04,412 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 05:00:05,232 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 05:00:05,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 05:00:05,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,234 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 05:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,235 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 05:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,236 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 05:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 05:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,238 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 05:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 05:00:05,240 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 05:00:05,241 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 05:00:05,241 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 5, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 05:00:05,241 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 06 +***** + +2019-03-22 06:00:02,567 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:02,567 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,569 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,570 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:02,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,571 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,572 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,573 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 06:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,576 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 06:00:02,578 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 06:00:02,578 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 5, 51, 47, 139877), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 401.748225}, {'datetime': datetime.datetime(2019, 3, 22, 5, 51, 50, 540868), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 395.723037}, {'datetime': datetime.datetime(2019, 3, 22, 5, 51, 53, 761948), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《古朗月行》:', 'cost_time_ms': 215.321123}, {'datetime': datetime.datetime(2019, 3, 22, 5, 51, 56, 964045), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲小马宝莉了哦。', 'cost_time_ms': 196.152657}, {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 0, 152335), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 182.895022}, {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 3, 406141), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 248.772856}, {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 6, 571842), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 160.204837}, {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 9, 737261), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 160.886087} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 32, 377623), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 151.995505}, {'datetime': datetime.datetime(2019, 3, 22, 5, 52, 35, 556441), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 174.343141}) +2019-03-22 06:00:02,580 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 06:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,590 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,591 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,592 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:02,592 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,593 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,594 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:02,594 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,595 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 06:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,603 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:02,603 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,605 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,605 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,609 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 06:00:02,609 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 05:00:00 +时间为:### 2019-03-22 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 05:00:00" and datetime< "2019-03-22 06:00:00" +2019-03-22 06:00:02,615 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:02,615 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,616 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:02,616 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,617 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,617 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,619 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 05:00:00" and datetime< "2019-03-22 06:00:00" +2019-03-22 06:00:02,620 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 05:00:00" and datetime< "2019-03-22 06:00:00" +2019-03-22 06:00:03,769 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:03,769 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,770 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:03,770 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,771 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:03,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,772 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:03,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,773 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:03,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:03,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:03,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:03,775 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 05:00:00" and datetime< "2019-03-22 06:00:00" +2019-03-22 06:00:03,775 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 06:00:04,802 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:04,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,803 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:04,803 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,804 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:04,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,805 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:04,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,806 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:04,806 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,807 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:04,807 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,808 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:04,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,808 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 06:00:04,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,810 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 06:00:04,811 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 06:00:04,812 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 6, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 06:00:04,812 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 06:00:04,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:04,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,826 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:04,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,827 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:04,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,828 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:04,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:04,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:04,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,830 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 06:00:04,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:04,832 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 06:00:04,833 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 06:00:04,833 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 6, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 06:00:04,834 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 06:00:05,707 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 06:00:05,707 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,708 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 06:00:05,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,709 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 06:00:05,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,709 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 06:00:05,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:05,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,711 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 06:00:05,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,712 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 06:00:05,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,712 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 06:00:05,712 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 06:00:05,714 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 06:00:05,715 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 06:00:05,715 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 6, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 06:00:05,716 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 07 +***** + +2019-03-22 07:00:02,087 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:02,087 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,088 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:02,088 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,089 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:02,089 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,090 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:02,090 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,091 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,092 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,093 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:02,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,094 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 07:00:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,096 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 07:00:02,099 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 07:00:02,099 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 6, 44, 8, 692269), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '运动鞋', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '运动鞋是根据人们参加运动或旅游的特点设计制造的鞋子。运动鞋的鞋底和普通的皮鞋、胶鞋不同,一般都是柔软而富有弹性的,能起一定的缓冲作用。运动时能增强弹性,有的还能防止脚踝受伤。所以,在进行体育运动时,大都要穿运动鞋,尤其是高烈度体能运动,如:篮球、跑步等。', 'cost_time_ms': 302.65781}, {'datetime': datetime.datetime(2019, 3, 22, 6, 51, 47, 214268), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 480.734018}, {'datetime': datetime.datetime(2019, 3, 22, 6, 51, 50, 617996), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 398.291184}, {'datetime': datetime.datetime(2019, 3, 22, 6, 51, 53, 844340), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《静夜思》:', 'cost_time_ms': 220.695963}, {'datetime': datetime.datetime(2019, 3, 22, 6, 51, 57, 46956), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲海底小纵队第一季了哦。', 'cost_time_ms': 197.477897}, {'datetime': datetime.datetime(2019, 3, 22, 6, 52, 0, 243349), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 191.232575}, {'datetime': datetime.datetime(2019, 3, 22, 6, 52, 3, 460305), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 210.94586}, {'datetime': datetime.datetime(2019, 3, 22, 6, 52, 6, 619192), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 153.875599} ... displaying 10 of 17 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 6, 52, 32, 440139), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 160.74763}, {'datetime': datetime.datetime(2019, 3, 22, 6, 52, 35, 833077), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 387.797805}) +2019-03-22 07:00:02,100 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 07:00:02,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:02,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,110 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,111 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,112 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,114 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:02,114 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,115 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 07:00:02,115 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,126 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:02,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,129 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 07:00:02,129 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 06:00:00 +时间为:### 2019-03-22 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 06:00:00" and datetime< "2019-03-22 07:00:00" +2019-03-22 07:00:02,135 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,136 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,137 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,137 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,139 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 06:00:00" and datetime< "2019-03-22 07:00:00" +2019-03-22 07:00:02,140 INFO sqlalchemy.engine.base.Engine {} +****17 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 06:00:00" and datetime< "2019-03-22 07:00:00" +2019-03-22 07:00:03,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:03,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:03,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,236 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:03,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:03,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:03,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:03,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:03,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:03,239 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 06:00:00" and datetime< "2019-03-22 07:00:00" +2019-03-22 07:00:03,239 INFO sqlalchemy.engine.base.Engine {} +****17 +16 +all****1 + +all****16 + +****1 + +****16 + +Start domain data classification: +2019-03-22 07:00:04,314 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:04,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,315 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:04,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,316 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:04,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,317 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:04,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:04,318 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,318 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:04,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,319 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:04,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,320 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 07:00:04,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,322 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 07:00:04,323 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 07:00:04,323 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 7, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 07:00:04,324 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 07:00:04,337 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:04,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,338 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:04,338 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,339 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:04,339 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,340 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:04,340 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:04,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,341 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:04,341 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,342 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:04,342 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,342 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 07:00:04,343 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:04,345 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 07:00:04,346 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 07:00:04,346 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 7, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 2, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 07:00:04,346 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 07:00:05,191 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 07:00:05,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 07:00:05,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,194 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 07:00:05,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,195 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 07:00:05,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 07:00:05,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,198 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 07:00:05,198 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,199 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 07:00:05,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 07:00:05,201 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 07:00:05,202 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 07:00:05,202 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 7, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('baike', 2), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 07:00:05,203 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 08 +***** + +2019-03-22 08:00:02,582 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:02,583 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,584 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,586 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,587 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:02,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,589 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 08:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,592 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 08:00:02,594 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 08:00:02,594 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 7, 51, 47, 153433), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 418.205358}, {'datetime': datetime.datetime(2019, 3, 22, 7, 51, 50, 627275), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 468.093584}, {'datetime': datetime.datetime(2019, 3, 22, 7, 51, 53, 856139), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《古朗月行》:', 'cost_time_ms': 223.531137}, {'datetime': datetime.datetime(2019, 3, 22, 7, 51, 57, 58605), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本淘气包马小跳,我讲给你听吧。', 'cost_time_ms': 196.481424}, {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 0, 248074), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 183.63365}, {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 3, 467664), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 213.964799}, {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 6, 670169), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 197.213643}, {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 9, 844007), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 168.706497} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 32, 476352), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 159.666554}, {'datetime': datetime.datetime(2019, 3, 22, 7, 52, 35, 648417), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 165.723126}) +2019-03-22 08:00:02,596 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 08:00:02,607 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:02,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,611 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,613 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:02,613 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,613 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 08:00:02,614 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,622 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,623 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:02,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,624 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,624 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:02,624 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,626 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,626 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,627 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:02,627 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,627 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 08:00:02,627 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 07:00:00 +时间为:### 2019-03-22 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 07:00:00" and datetime< "2019-03-22 08:00:00" +2019-03-22 08:00:02,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,634 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,636 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:02,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,637 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,637 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,638 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:02,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:02,639 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 07:00:00" and datetime< "2019-03-22 08:00:00" +2019-03-22 08:00:02,639 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 07:00:00" and datetime< "2019-03-22 08:00:00" +2019-03-22 08:00:03,741 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:03,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:03,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,743 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:03,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,743 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:03,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:03,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:03,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:03,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:03,747 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 07:00:00" and datetime< "2019-03-22 08:00:00" +2019-03-22 08:00:03,747 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 08:00:04,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:04,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,790 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,791 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:04,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,792 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:04,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:04,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,794 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:04,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,795 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,795 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 08:00:04,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,797 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 08:00:04,799 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 08:00:04,799 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 8, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 08:00:04,799 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 08:00:04,813 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:04,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,814 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:04,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,815 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:04,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,815 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:04,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,817 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:04,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,817 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:04,817 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,818 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:04,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,818 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 08:00:04,818 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:04,820 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 08:00:04,822 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 08:00:04,822 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 8, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 08:00:04,822 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 08:00:05,696 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 08:00:05,696 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,697 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 08:00:05,697 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,698 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 08:00:05,698 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,699 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 08:00:05,699 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,700 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:05,700 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 08:00:05,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,701 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 08:00:05,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,702 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 08:00:05,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 08:00:05,704 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 08:00:05,704 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 08:00:05,705 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 8, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 08:00:05,705 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 09 +***** + +2019-03-22 09:00:02,053 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:02,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,055 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:02,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,056 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:02,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,056 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:02,056 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,058 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,058 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,058 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,059 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:02,059 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,060 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 09:00:02,060 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,062 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 09:00:02,065 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 09:00:02,065 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 8, 16, 38, 143674), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '标准女声', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是何超仪的标准太太?听听看吧。', 'cost_time_ms': 638.741069}, {'datetime': datetime.datetime(2019, 3, 22, 8, 29, 12, 765982), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '播放新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 432.184926}, {'datetime': datetime.datetime(2019, 3, 22, 8, 32, 39, 203870), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'allofthemaregoodenough', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 350.433487}, {'datetime': datetime.datetime(2019, 3, 22, 8, 34, 1, 397910), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭网络', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '主板bios如果支持的话可以禁用网卡的。', 'cost_time_ms': 323.893848}, {'datetime': datetime.datetime(2019, 3, 22, 8, 34, 12, 703260), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭新闻', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'stop', 'response_data': '你的问题太难了,我没法回答', 'cost_time_ms': 331.203392}, {'datetime': datetime.datetime(2019, 3, 22, 8, 41, 54, 856486), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '最高风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 294.435742}, {'datetime': datetime.datetime(2019, 3, 22, 8, 42, 4, 67599), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 458.873679}, {'datetime': datetime.datetime(2019, 3, 22, 8, 42, 42, 735230), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放军中绿花', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了小曾的军中绿花,陪你一起听哦。', 'cost_time_ms': 261.060293} ... displaying 10 of 28 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 8, 53, 38, 382922), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放刀剑如梦', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '送上一首吴亦凡的刀剑如梦。', 'cost_time_ms': 466.798698}, {'datetime': datetime.datetime(2019, 3, 22, 8, 57, 50, 193793), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放春天里', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏汪峰的春天里哦。', 'cost_time_ms': 463.464139}) +2019-03-22 09:00:02,067 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 09:00:02,077 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:02,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,078 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:02,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,079 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:02,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,079 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:02,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,081 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,081 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,082 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:02,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,082 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 09:00:02,082 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,091 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,091 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,092 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,093 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:02,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,094 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:02,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,096 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 09:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,098 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 09:00:02,099 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 09:00:02,099 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 8, 32, 39, 203870), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'allofthemaregoodenough', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 350.433487} +2019-03-22 09:00:02,099 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 08:00:00 +时间为:### 2019-03-22 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 08:00:00" and datetime< "2019-03-22 09:00:00" +2019-03-22 09:00:02,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:02,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:02,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,109 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:02,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:02,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:02,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:02,113 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 08:00:00" and datetime< "2019-03-22 09:00:00" +2019-03-22 09:00:02,113 INFO sqlalchemy.engine.base.Engine {} +****28 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 08:00:00" and datetime< "2019-03-22 09:00:00" +2019-03-22 09:00:03,217 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:03,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,218 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:03,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,219 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:03,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,220 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:03,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:03,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,222 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:03,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:03,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:03,223 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 08:00:00" and datetime< "2019-03-22 09:00:00" +2019-03-22 09:00:03,224 INFO sqlalchemy.engine.base.Engine {} +****28 +26 +all****2 + +all****26 + +****2 + +****25 + +Start domain data classification: +2019-03-22 09:00:04,299 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:04,299 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:04,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,301 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:04,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,301 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:04,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,303 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:04,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,304 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 09:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,307 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 09:00:04,308 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 09:00:04,308 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 9, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 09:00:04,309 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 09:00:04,330 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:04,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,331 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:04,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,332 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:04,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,332 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:04,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:04,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,334 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:04,334 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,335 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:04,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,335 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 09:00:04,335 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:04,338 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 09:00:04,339 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 09:00:04,339 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 9, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 8, 'news': 3, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 09:00:04,339 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 09:00:05,167 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 09:00:05,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,168 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 09:00:05,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,169 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 09:00:05,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,169 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 09:00:05,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:05,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 09:00:05,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 09:00:05,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,172 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 09:00:05,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 09:00:05,174 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 09:00:05,175 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 09:00:05,175 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 9, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('music', 6), ('chat', 3), ('news', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 2), ('science', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 09:00:05,175 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 10 +***** + +2019-03-22 10:00:02,572 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,573 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,574 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,574 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:02,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,578 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 10:00:02,578 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,580 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 10:00:02,583 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 10:00:02,583 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 9, 0, 10, 266793), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放芊泽', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 510.870961}, {'datetime': datetime.datetime(2019, 3, 22, 9, 0, 11, 309884), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放选择失忆', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听季彦霖的选择失忆吧。', 'cost_time_ms': 351.606813}, {'datetime': datetime.datetime(2019, 3, 22, 9, 0, 21, 702710), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放选择失忆', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首季彦霖的选择失忆送给你。', 'cost_time_ms': 399.798094}, {'datetime': datetime.datetime(2019, 3, 22, 9, 14, 29, 251065), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '他的怎样做', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '去网上搜一下吧。', 'cost_time_ms': 335.476327}, {'datetime': datetime.datetime(2019, 3, 22, 9, 15, 45, 497706), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 404.235502}, {'datetime': datetime.datetime(2019, 3, 22, 9, 16, 40, 657410), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '换一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 375.374105}, {'datetime': datetime.datetime(2019, 3, 22, 9, 25, 11, 198014), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放邓紫棋的歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你一起听邓紫棋.的歌。', 'cost_time_ms': 476.184415}, {'datetime': datetime.datetime(2019, 3, 22, 9, 29, 24, 769688), 'mac_wifi': 'f4911e73772b', 'mac_voice': 'c46e7b701c6b', 'query': '换一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 361.636262} ... displaying 10 of 47 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 9, 59, 26, 437765), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '蓝牙配对', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 173.800209}, {'datetime': datetime.datetime(2019, 3, 22, 9, 59, 36, 705628), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '连接蓝牙', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的,打开就可以边接了。', 'cost_time_ms': 191.495958}) +2019-03-22 10:00:02,586 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 10:00:02,595 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,596 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,597 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,597 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:02,597 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,600 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 10:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,608 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,610 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:02,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,611 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,611 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,612 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,612 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 10:00:02,612 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,614 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 10:00:02,615 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 10:00:02,615 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 9, 59, 16, 87825), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '蓝牙配对', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 207.744511}, {'datetime': datetime.datetime(2019, 3, 22, 9, 59, 26, 437765), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '蓝牙配对', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 173.800209}) +2019-03-22 10:00:02,616 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 09:00:00 +时间为:### 2019-03-22 10:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 09:00:00" and datetime< "2019-03-22 10:00:00" +2019-03-22 10:00:02,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,632 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,633 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 09:00:00" and datetime< "2019-03-22 10:00:00" +2019-03-22 10:00:02,635 INFO sqlalchemy.engine.base.Engine {} +****47 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 09:00:00" and datetime< "2019-03-22 10:00:00" +2019-03-22 10:00:03,687 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:03,687 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,688 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:03,688 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,689 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:03,689 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,689 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:03,690 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:03,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,691 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:03,691 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,692 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:03,692 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:03,693 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 09:00:00" and datetime< "2019-03-22 10:00:00" +2019-03-22 10:00:03,693 INFO sqlalchemy.engine.base.Engine {} +****47 +45 +all****2 + +all****45 + +****2 + +****43 + +Start domain data classification: +2019-03-22 10:00:04,749 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:04,749 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,750 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:04,750 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,751 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:04,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,751 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:04,751 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,752 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:04,752 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:04,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,753 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:04,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,754 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 10:00:04,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,756 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 10:00:04,757 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 10:00:04,757 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 10, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 10:00:04,758 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 10:00:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,772 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,773 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:04,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,774 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:04,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,775 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 10:00:04,775 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:04,777 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 10:00:04,778 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 10:00:04,779 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 10, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 1, 'chat': 6, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 19, 'news': 2, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 2} +2019-03-22 10:00:04,779 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 10:00:05,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 10:00:05,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,632 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 10:00:05,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,633 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 10:00:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,633 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 10:00:05,633 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:05,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 10:00:05,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 10:00:05,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,636 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 10:00:05,636 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 10:00:05,638 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 10:00:05,639 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 10:00:05,639 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 10, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('music', 15), ('chat', 8), ('ancient_poem', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 10:00:05,639 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 11 +***** + +2019-03-22 11:00:02,713 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:02,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,714 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:02,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,715 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:02,715 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,716 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:02,716 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,717 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,717 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,718 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,718 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,719 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:02,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,720 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 11:00:02,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,722 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 11:00:02,725 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 11:00:02,725 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 10, 0, 12, 138929), 'mac_wifi': 'f4911e7376f3', 'mac_voice': 'c46e7b702173', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 374.100403}, {'datetime': datetime.datetime(2019, 3, 22, 10, 0, 16, 739435), 'mac_wifi': 'f4911e7376f3', 'mac_voice': 'c46e7b702173', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 253.22238}, {'datetime': datetime.datetime(2019, 3, 22, 10, 0, 49, 202632), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '三星蓝牙设备', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '具体细节我也不清楚,你可以仔细对比后购买。', 'cost_time_ms': 305.659557}, {'datetime': datetime.datetime(2019, 3, 22, 10, 0, 49, 633992), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '转过去吗', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '转过去,向前走,不要回头,我就在你身后。', 'cost_time_ms': 411.119822}, {'datetime': datetime.datetime(2019, 3, 22, 10, 1, 16, 381975), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '赵鹏的船歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听赵鹏的船歌吧。', 'cost_time_ms': 324.288965}, {'datetime': datetime.datetime(2019, 3, 22, 10, 1, 17, 86119), 'mac_wifi': 'f4911e7376f3', 'mac_voice': 'c46e7b702173', 'query': '昭锋的船歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是郭沁的船歌?听听看吧。', 'cost_time_ms': 871.778735}, {'datetime': datetime.datetime(2019, 3, 22, 10, 2, 10, 201876), 'mac_wifi': 'f4911e7376f3', 'mac_voice': 'c46e7b702173', 'query': '雷婷的夜上海', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听雷婷的夜上海。', 'cost_time_ms': 876.315605}, {'datetime': datetime.datetime(2019, 3, 22, 10, 3, 8, 681417), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '只因你爱过', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '只因爱过,才知爱的甜蜜。只因守过,才知守护的艰辛。只因恨过,才知恨的不甘。', 'cost_time_ms': 217.174597} ... displaying 10 of 87 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 10, 55, 53, 349227), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 283.95512}, {'datetime': datetime.datetime(2019, 3, 22, 10, 56, 48, 135568), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '音量调到最低', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_reducevolmin', 'response_data': 'success', 'cost_time_ms': 251.180041}) +2019-03-22 11:00:02,730 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 11:00:02,740 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:02,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,741 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:02,741 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,742 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,742 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,743 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,744 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,745 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 11:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:02,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,755 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,756 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,756 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,760 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:02,760 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,761 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 11:00:02,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,764 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 11:00:02,765 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 11:00:02,765 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 10, 7, 14, 225323), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '珠海到北京的航班有哪些', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 365.562561}, {'datetime': datetime.datetime(2019, 3, 22, 10, 9, 36, 663063), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '大概里面有那个', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 338.702276}, {'datetime': datetime.datetime(2019, 3, 22, 10, 11, 8, 526996), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '地址参加了一个的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 346.266218}, {'datetime': datetime.datetime(2019, 3, 22, 10, 12, 14, 165656), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '请换点', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 351.30726}, {'datetime': datetime.datetime(2019, 3, 22, 10, 16, 58, 717215), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '是业内知名品牌', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 211.487079}, {'datetime': datetime.datetime(2019, 3, 22, 10, 54, 30, 204975), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '昙宗法师', 'classify': 'application', 'code': -3, 'domain': 'weather', 'intent': 'general_search', 'response_data': '我还不知道你要查询的地方,请指定一个城市吧。格力空调祝您生活愉快。', 'cost_time_ms': 228.691685}, {'datetime': datetime.datetime(2019, 3, 22, 10, 55, 25, 873201), 'mac_wifi': 'f4911e68c817', 'mac_voice': 'c46e7b7026e3', 'query': '这次连没连上网而已啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 346.228311}) +2019-03-22 11:00:02,767 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 10:00:00 +时间为:### 2019-03-22 11:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 10:00:00" and datetime< "2019-03-22 11:00:00" +2019-03-22 11:00:02,776 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:02,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,777 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:02,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,777 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,778 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:02,778 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,780 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,780 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,781 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:02,781 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:02,782 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 10:00:00" and datetime< "2019-03-22 11:00:00" +2019-03-22 11:00:02,782 INFO sqlalchemy.engine.base.Engine {} +****87 +8 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 10:00:00" and datetime< "2019-03-22 11:00:00" +2019-03-22 11:00:03,891 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:03,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,892 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:03,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,893 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:03,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,893 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:03,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:03,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:03,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:03,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:03,897 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 10:00:00" and datetime< "2019-03-22 11:00:00" +2019-03-22 11:00:03,897 INFO sqlalchemy.engine.base.Engine {} +****87 +79 +all****8 + +all****79 + +****8 + +****72 + +Start domain data classification: +2019-03-22 11:00:04,933 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:04,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,934 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:04,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,935 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:04,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,936 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:04,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,937 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:04,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,938 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:04,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,939 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 11:00:04,939 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,941 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 11:00:04,942 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 11:00:04,943 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 11, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 5, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 11:00:04,943 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 11:00:04,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,965 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:04,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,966 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:04,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,966 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:04,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,968 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:04,968 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,969 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,969 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 11:00:04,969 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:04,971 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 11:00:04,973 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 11:00:04,973 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 11, 0), 'almanac': 1, 'ancient_poem': 3, 'astro': 1, 'baike': 3, 'chat': 13, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 33, 'news': 3, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 6} +2019-03-22 11:00:04,973 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 11:00:05,822 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 11:00:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,823 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 11:00:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,824 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 11:00:05,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,825 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 11:00:05,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:05,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 11:00:05,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,827 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 11:00:05,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,828 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 11:00:05,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 11:00:05,830 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 11:00:05,830 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 11:00:05,831 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 11, 0), '0~500ms': "[('playcontrol', 5), ('airconditioner', 2), ('universalcontrol', 1), ('music', 29), ('chat', 18), ('weather', 6)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 4), ('baike', 1), ('chat', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 11:00:05,831 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 12 +***** + +2019-03-22 12:00:01,935 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:01,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,937 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:01,937 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,938 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:01,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,938 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:01,938 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,940 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,940 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,941 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:01,941 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,942 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 12:00:01,942 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,945 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 12:00:01,947 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 12:00:01,948 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 11, 2, 45, 156660), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '调小音量', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 370.633994}, {'datetime': datetime.datetime(2019, 3, 22, 11, 2, 48, 813535), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '给哥来一首春天的故事', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '帮你找到了董文华的春天的故事,来听听吧。', 'cost_time_ms': 380.462088}, {'datetime': datetime.datetime(2019, 3, 22, 11, 3, 2, 311285), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '给我来一首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当发现这些歌最近很火,我们也来听听吧。', 'cost_time_ms': 417.616699}, {'datetime': datetime.datetime(2019, 3, 22, 11, 8, 35, 68440), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '中国中国政府不作为把根本就', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不明白你的意思,我们还是聊聊今天的新闻吧。', 'cost_time_ms': 301.38706}, {'datetime': datetime.datetime(2019, 3, 22, 11, 28, 54, 168867), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '请稍候', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好,我等你就是。', 'cost_time_ms': 318.828493}, {'datetime': datetime.datetime(2019, 3, 22, 11, 29, 22, 131721), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '那么大呢', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '不大,我的心很小,只能装下你。', 'cost_time_ms': 289.376165}, {'datetime': datetime.datetime(2019, 3, 22, 11, 29, 46, 941095), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天有雷阵雨,气温21度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 369.043817}, {'datetime': datetime.datetime(2019, 3, 22, 11, 30, 2, 873249), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放音乐', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 344.058136} ... displaying 10 of 42 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 11, 55, 22, 532381), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '泥娃娃', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当跟你一起欣赏儿歌的泥娃娃哦。', 'cost_time_ms': 405.041714}, {'datetime': datetime.datetime(2019, 3, 22, 11, 58, 50, 881615), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '播放渡口', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放蔡琴的渡口。', 'cost_time_ms': 429.129674}) +2019-03-22 12:00:01,950 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 12:00:01,971 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:01,971 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,972 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:01,972 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,973 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:01,973 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,974 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:01,974 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,975 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,975 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,976 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:01,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,976 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 12:00:01,976 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,985 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:01,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,986 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:01,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,987 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,987 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:01,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,988 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,989 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:01,989 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,990 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,990 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 12:00:01,990 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:01,992 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 12:00:01,993 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 12:00:01,993 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 11, 30, 36, 833037), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '听女播报声', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 208.706183}, {'datetime': datetime.datetime(2019, 3, 22, 11, 45, 41, 538555), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '那我我用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '听不懂的感觉有点糟糕!我会加紧学习的。', 'cost_time_ms': 363.100315}, {'datetime': datetime.datetime(2019, 3, 22, 11, 52, 29, 79764), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': 'via', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 204.420111}) +2019-03-22 12:00:01,994 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 11:00:00 +时间为:### 2019-03-22 12:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 11:00:00" and datetime< "2019-03-22 12:00:00" +2019-03-22 12:00:02,010 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:02,010 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,011 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:02,011 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,012 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:02,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,012 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:02,012 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:02,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,014 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:02,014 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,015 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:02,015 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:02,015 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 11:00:00" and datetime< "2019-03-22 12:00:00" +2019-03-22 12:00:02,015 INFO sqlalchemy.engine.base.Engine {} +****42 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 11:00:00" and datetime< "2019-03-22 12:00:00" +2019-03-22 12:00:03,107 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:03,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,108 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:03,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,109 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:03,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,110 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:03,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,111 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:03,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,112 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:03,112 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,113 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:03,113 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:03,113 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 11:00:00" and datetime< "2019-03-22 12:00:00" +2019-03-22 12:00:03,113 INFO sqlalchemy.engine.base.Engine {} +****42 +40 +all****2 + +all****40 + +****2 + +****37 + +Start domain data classification: +2019-03-22 12:00:04,167 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:04,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,168 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:04,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,169 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:04,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,170 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:04,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:04,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,172 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:04,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,172 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:04,172 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,173 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 12:00:04,173 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,175 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 12:00:04,176 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 12:00:04,176 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 12, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 1, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 12:00:04,177 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 12:00:04,199 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:04,199 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,200 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:04,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,201 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:04,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,201 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:04,201 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,202 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,203 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:04,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,204 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:04,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,204 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 12:00:04,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:04,206 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 12:00:04,208 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 12:00:04,208 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 12, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 9, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 1, 'music': 11, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 3} +2019-03-22 12:00:04,208 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 12:00:05,018 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 12:00:05,018 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,019 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 12:00:05,019 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,020 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 12:00:05,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,020 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 12:00:05,020 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:05,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,022 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 12:00:05,022 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,023 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 12:00:05,023 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,023 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 12:00:05,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 12:00:05,026 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 12:00:05,027 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 12:00:05,027 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 12, 0), '0~500ms': "[('airconditioner', 1), ('universalcontrol', 1), ('aircleaner', 0), ('chat', 11), ('music', 10), ('weather', 3)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 12:00:05,027 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 13 +***** + +2019-03-22 13:00:02,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:02,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:02,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,388 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:02,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:02,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 13:00:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 13:00:02,397 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 13:00:02,397 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 12, 3, 54, 922115), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '声音调到二十', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '你的问题太难了,我没法回答', 'cost_time_ms': 459.751353}, {'datetime': datetime.datetime(2019, 3, 22, 12, 4, 3, 473323), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '八号集', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '嗯,知道了。', 'cost_time_ms': 747.863701}, {'datetime': datetime.datetime(2019, 3, 22, 12, 4, 12, 568320), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '这延迟的', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '延迟会耽误时间。', 'cost_time_ms': 195.741015}, {'datetime': datetime.datetime(2019, 3, 22, 12, 4, 21, 753189), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '声音小一点', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 242.91146}, {'datetime': datetime.datetime(2019, 3, 22, 12, 4, 54, 198605), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '声音减小点', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_reducevol', 'response_data': 'success', 'cost_time_ms': 245.839424}, {'datetime': datetime.datetime(2019, 3, 22, 12, 5, 39, 496476), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '播放哭的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 522.393269}, {'datetime': datetime.datetime(2019, 3, 22, 12, 5, 41, 182120), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '播放哭的happen', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '你要找的是不是陈冠希的有几坏?听听看吧。', 'cost_time_ms': 1259.023051}, {'datetime': datetime.datetime(2019, 3, 22, 12, 5, 59, 661415), 'mac_wifi': 'f4911e73770a', 'mac_voice': 'c46e7b70219d', 'query': '三加五乘以二等于几', 'classify': 'application', 'code': 0, 'domain': 'science', 'intent': 'calculator', 'response_data': '三加五乘以二等于13', 'cost_time_ms': 225.585756} ... displaying 10 of 29 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 12, 52, 33, 73037), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 159.959495}, {'datetime': datetime.datetime(2019, 3, 22, 12, 52, 36, 345886), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 268.140046}) +2019-03-22 13:00:02,399 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 13:00:02,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:02,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,410 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,411 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:02,411 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,412 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:02,412 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,413 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,413 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,414 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,414 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 13:00:02,414 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,423 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,424 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 13:00:02,427 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 12:00:00 +时间为:### 2019-03-22 13:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 12:00:00" and datetime< "2019-03-22 13:00:00" +2019-03-22 13:00:02,433 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:02,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,434 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,434 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:02,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,435 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 12:00:00" and datetime< "2019-03-22 13:00:00" +2019-03-22 13:00:02,437 INFO sqlalchemy.engine.base.Engine {} +****29 +4 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 12:00:00" and datetime< "2019-03-22 13:00:00" +2019-03-22 13:00:03,570 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:03,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:03,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,572 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,572 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:03,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:03,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:03,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:03,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:03,575 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 12:00:00" and datetime< "2019-03-22 13:00:00" +2019-03-22 13:00:03,575 INFO sqlalchemy.engine.base.Engine {} +****29 +25 +all****4 + +all****25 + +****4 + +****25 + +Start domain data classification: +2019-03-22 13:00:04,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:04,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,606 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:04,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,607 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,607 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:04,607 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:04,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,610 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,610 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 13:00:04,610 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,612 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 13:00:04,613 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 13:00:04,613 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 13, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 3, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 13:00:04,614 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 13:00:04,628 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:04,628 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,629 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,629 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:04,629 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,630 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:04,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,631 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:04,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,632 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,632 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 13:00:04,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:04,634 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 13:00:04,636 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 13:00:04,636 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 13, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 4, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 7, 'news': 1, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 13:00:04,636 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 13:00:05,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 13:00:05,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 13:00:05,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,454 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 13:00:05,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,455 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 13:00:05,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:05,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 13:00:05,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 13:00:05,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,457 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 13:00:05,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 13:00:05,459 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 13:00:05,460 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 13:00:05,460 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 13, 0), '0~500ms': "[('universalcontrol', 3), ('airconditioner', 1), ('aircleaner', 0), ('chat', 3), ('music', 3), ('science', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('holiday', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('chat', 1), ('news', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 13:00:05,461 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 14 +***** + +2019-03-22 14:00:03,024 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:03,024 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,025 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:03,025 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,026 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,027 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:03,027 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,029 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,029 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,030 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:03,030 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,031 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 14:00:03,031 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,034 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 14:00:03,038 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 14:00:03,039 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 13, 17, 51, 557278), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '来一首儿歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当与你回味童年过往。', 'cost_time_ms': 456.93413}, {'datetime': datetime.datetime(2019, 3, 22, 13, 36, 17, 547902), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 433.432103}, {'datetime': datetime.datetime(2019, 3, 22, 13, 38, 7, 644819), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 431.297841}, {'datetime': datetime.datetime(2019, 3, 22, 13, 39, 54, 996991), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 422.522152}, {'datetime': datetime.datetime(2019, 3, 22, 13, 40, 37, 525117), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 465.001316}, {'datetime': datetime.datetime(2019, 3, 22, 13, 41, 23, 696446), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '换首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 217.29985}, {'datetime': datetime.datetime(2019, 3, 22, 13, 42, 19, 682135), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 441.155956}, {'datetime': datetime.datetime(2019, 3, 22, 13, 43, 11, 338650), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 467.328561} ... displaying 10 of 250 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 13, 59, 48, 807792), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '暂停播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 173.859631}, {'datetime': datetime.datetime(2019, 3, 22, 13, 59, 49, 208859), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '暂停播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 175.079531}) +2019-03-22 14:00:03,049 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 14:00:03,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,062 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:03,062 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,063 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:03,063 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,064 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:03,064 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,065 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,065 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,066 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:03,066 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,067 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 14:00:03,067 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,075 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:03,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,076 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:03,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,077 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,077 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:03,077 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,078 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,078 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,079 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,079 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,080 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:03,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,080 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 14:00:03,080 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,082 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 14:00:03,083 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 14:00:03,083 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 13, 55, 30, 87563), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我言秋日胜春', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 211.578751} +2019-03-22 14:00:03,084 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 13:00:00 +时间为:### 2019-03-22 14:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 13:00:00" and datetime< "2019-03-22 14:00:00" +2019-03-22 14:00:03,098 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:03,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,099 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:03,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,100 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:03,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,100 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:03,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,101 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,101 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,102 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:03,102 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,102 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:03,103 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:03,103 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 13:00:00" and datetime< "2019-03-22 14:00:00" +2019-03-22 14:00:03,103 INFO sqlalchemy.engine.base.Engine {} +****250 +11 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 13:00:00" and datetime< "2019-03-22 14:00:00" +2019-03-22 14:00:04,139 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:04,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,140 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:04,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,140 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:04,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,141 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:04,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,142 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:04,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,143 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:04,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,144 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:04,144 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:04,144 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 13:00:00" and datetime< "2019-03-22 14:00:00" +2019-03-22 14:00:04,144 INFO sqlalchemy.engine.base.Engine {} +****250 +239 +all****11 + +all****239 + +****11 + +****238 + +Start domain data classification: +2019-03-22 14:00:05,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:05,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,182 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:05,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,183 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:05,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,184 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:05,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:05,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,186 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:05,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,187 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 14:00:05,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,189 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 14:00:05,191 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 14:00:05,191 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 14, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 5, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 5, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 14:00:05,191 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 14:00:05,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:05,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,206 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:05,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,207 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:05,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:05,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:05,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,210 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:05,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,210 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 14:00:05,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:05,213 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 14:00:05,215 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 14:00:05,215 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 14, 0), 'almanac': 1, 'ancient_poem': 75, 'astro': 1, 'baike': 2, 'chat': 4, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 84, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 55, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 8} +2019-03-22 14:00:05,215 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 14:00:06,094 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 14:00:06,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,095 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 14:00:06,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,096 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 14:00:06,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,097 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 14:00:06,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,098 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:06,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 14:00:06,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,099 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 14:00:06,099 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,100 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 14:00:06,100 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 14:00:06,102 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 14:00:06,103 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 14:00:06,103 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 14, 0), '0~500ms': "[('playcontrol', 5), ('universalcontrol', 5), ('airconditioner', 1), ('fm', 83), ('ancient_poem', 74), ('music', 55)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('ancient_poem', 1), ('almanac', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('fm', 1), ('news', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 14:00:06,103 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 15 +***** + +2019-03-22 15:00:02,535 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:02,536 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,537 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:02,537 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,538 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:02,538 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,539 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:02,539 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,540 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,540 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,541 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,541 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:02,542 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,542 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 15:00:02,543 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,545 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 15:00:02,549 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 15:00:02,549 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 14, 0, 5, 638536), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '换一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 227.040664}, {'datetime': datetime.datetime(2019, 3, 22, 14, 0, 8, 174180), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 180.745661}, {'datetime': datetime.datetime(2019, 3, 22, 14, 0, 23, 3655), 'mac_wifi': 'f4911e5f5b24', 'mac_voice': 'c46e7b6f5c69', 'query': '给我来一首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当发现这些歌最近很火,我们也来听听吧。', 'cost_time_ms': 412.535285}, {'datetime': datetime.datetime(2019, 3, 22, 14, 0, 38, 21329), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 161.210497}, {'datetime': datetime.datetime(2019, 3, 22, 14, 0, 38, 255947), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '继续播放', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_resume', 'response_data': 'success', 'cost_time_ms': 169.613206}, {'datetime': datetime.datetime(2019, 3, 22, 14, 3, 8, 944372), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '讲个笑话', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 363.007257}, {'datetime': datetime.datetime(2019, 3, 22, 14, 3, 9, 203184), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '讲个笑话', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 317.457408}, {'datetime': datetime.datetime(2019, 3, 22, 14, 3, 9, 230525), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '讲个笑话', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 367.070053} ... displaying 10 of 203 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 14, 59, 12, 388417), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 319.712522}, {'datetime': datetime.datetime(2019, 3, 22, 14, 59, 51, 257459), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到26度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 432.409286}) +2019-03-22 15:00:02,558 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 15:00:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,571 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:02,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,572 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:02,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,573 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:02,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,576 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,576 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,577 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,577 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 15:00:02,577 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:02,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,587 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:02,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,588 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,588 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:02,588 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,591 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,591 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 15:00:02,591 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,594 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 15:00:02,595 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 15:00:02,595 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 14, 7, 34, 892601), 'mac_wifi': 'f4911e45f219', 'mac_voice': 'c46e7b6f5c7a', 'query': '中考一台了没有', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 352.163834}, {'datetime': datetime.datetime(2019, 3, 22, 14, 7, 46, 748850), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '关闭蓝牙', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 323.259499}, {'datetime': datetime.datetime(2019, 3, 22, 14, 17, 25, 419800), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '若然冬天没有花', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 229.286591}, {'datetime': datetime.datetime(2019, 3, 22, 14, 17, 35, 882067), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '洛阳冬天', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 234.052656}, {'datetime': datetime.datetime(2019, 3, 22, 14, 26, 57, 894301), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '语音未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 360.10325}, {'datetime': datetime.datetime(2019, 3, 22, 14, 26, 58, 98440), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '语音未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我有点慌,因为我没听懂。', 'cost_time_ms': 366.010306}, {'datetime': datetime.datetime(2019, 3, 22, 14, 26, 58, 857616), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '语音未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 362.894915}, {'datetime': datetime.datetime(2019, 3, 22, 14, 27, 5, 860514), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '也因未联网', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 213.9266} ... displaying 10 of 27 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 14, 37, 56, 502438), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '请关机江苏冬天的时候后面的结局那个状态', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 365.971759}, {'datetime': datetime.datetime(2019, 3, 22, 14, 39, 34, 477043), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '如果这是新的吧', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 346.592453}) +2019-03-22 15:00:02,596 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 14:00:00 +时间为:### 2019-03-22 15:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 14:00:00" and datetime< "2019-03-22 15:00:00" +2019-03-22 15:00:02,604 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:02,604 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,605 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:02,605 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,606 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,606 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:02,606 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,607 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,608 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:02,608 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:02,609 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:02,609 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 14:00:00" and datetime< "2019-03-22 15:00:00" +2019-03-22 15:00:02,609 INFO sqlalchemy.engine.base.Engine {} +****203 +62 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 14:00:00" and datetime< "2019-03-22 15:00:00" +2019-03-22 15:00:03,719 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:03,719 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,720 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:03,720 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,721 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:03,721 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,722 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:03,722 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,723 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:03,723 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,724 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:03,724 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,724 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:03,725 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:03,725 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 14:00:00" and datetime< "2019-03-22 15:00:00" +2019-03-22 15:00:03,725 INFO sqlalchemy.engine.base.Engine {} +****203 +141 +all****62 + +all****141 + +****62 + +****114 + +Start domain data classification: +2019-03-22 15:00:04,771 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:04,771 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,772 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:04,772 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,773 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:04,773 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,774 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:04,774 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,775 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,776 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:04,776 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,777 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,777 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 15:00:04,777 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,780 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 15:00:04,781 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater, voiceswitching) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s, %(voiceswitching)s) +2019-03-22 15:00:04,781 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 15, 0), 'aircleaner': 0, 'airconditioner': 4, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 49, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 4, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0, 'voiceswitching': 5} +2019-03-22 15:00:04,781 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 15:00:04,796 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:04,796 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,797 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,797 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:04,797 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,798 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:04,798 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,799 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:04,799 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,800 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:04,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,801 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,801 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 15:00:04,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:04,803 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 15:00:04,805 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 15:00:04,805 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 15, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 2, 'chat': 36, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 3, 'joke': 18, 'music': 22, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 21} +2019-03-22 15:00:04,805 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 15:00:05,645 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 15:00:05,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,646 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 15:00:05,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,647 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 15:00:05,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,648 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 15:00:05,648 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:05,649 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,649 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 15:00:05,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,650 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 15:00:05,650 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,651 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 15:00:05,651 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 15:00:05,653 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 15:00:05,654 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 15:00:05,654 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 15, 0), '0~500ms': "[('playcontrol', 49), ('voiceswitching', 5), ('airconditioner', 4), ('chat', 62), ('music', 21), ('joke', 18)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 3), ('music', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 15:00:05,654 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 16 +***** + +2019-03-22 16:00:02,091 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:02,091 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,092 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:02,092 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,093 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:02,093 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,094 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:02,094 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,095 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,095 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,096 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,096 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,097 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:02,097 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,098 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 16:00:02,098 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,100 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 16:00:02,104 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 16:00:02,104 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 15, 1, 32, 869134), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '格力金贝', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '格力是业内知名品牌,具体情况可找专业人员咨询。', 'cost_time_ms': 320.852428}, {'datetime': datetime.datetime(2019, 3, 22, 15, 2, 26, 758445), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '关闭了', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_off', 'response_data': 'success', 'cost_time_ms': 344.733072}, {'datetime': datetime.datetime(2019, 3, 22, 15, 4, 10, 56365), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '珠海天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温20度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 544.660211}, {'datetime': datetime.datetime(2019, 3, 22, 15, 4, 23, 696679), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放彭丽媛的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听彭丽媛的歌吧!', 'cost_time_ms': 428.799107}, {'datetime': datetime.datetime(2019, 3, 22, 15, 4, 36, 308876), 'mac_wifi': 'f4911e59ebe5', 'mac_voice': '58b3fc2f4339', 'query': '播放郭兰英的我的祖国', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听郭兰英的我的祖国吧。', 'cost_time_ms': 258.636352}, {'datetime': datetime.datetime(2019, 3, 22, 15, 4, 51, 161284), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮我查个', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好的,先告诉我你要查什么。', 'cost_time_ms': 192.991762}, {'datetime': datetime.datetime(2019, 3, 22, 15, 5, 12, 321596), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 307.537388}, {'datetime': datetime.datetime(2019, 3, 22, 15, 8, 21, 873644), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '打开左右扫风', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_startswing', 'response_data': 'success', 'cost_time_ms': 357.17463} ... displaying 10 of 143 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 15, 59, 37, 982082), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放神话情话', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起来听泪鑫的神话情话吧。', 'cost_time_ms': 223.431597}, {'datetime': datetime.datetime(2019, 3, 22, 15, 59, 54, 208869), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放庞龙', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏庞龙的歌。', 'cost_time_ms': 339.489163}) +2019-03-22 16:00:02,111 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 16:00:02,123 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:02,123 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,124 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:02,124 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,125 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,125 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:02,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,126 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,127 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,128 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,128 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 16:00:02,128 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,137 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,137 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,138 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:02,138 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,139 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:02,139 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,140 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,141 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:02,141 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,142 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 16:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,144 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 16:00:02,145 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 16:00:02,145 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 15, 14, 53, 200771), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '这里是最文明', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 213.958002}, {'datetime': datetime.datetime(2019, 3, 22, 15, 17, 52, 631377), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '让我们科普', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 2008.0737540000002}, {'datetime': datetime.datetime(2019, 3, 22, 15, 18, 47, 61302), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '四个播放天呐女人', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 214.744453}, {'datetime': datetime.datetime(2019, 3, 22, 15, 25, 17, 913016), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '智慧眼', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 212.169901}, {'datetime': datetime.datetime(2019, 3, 22, 15, 26, 15, 233035), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '肩背分体柜机', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 212.53305}, {'datetime': datetime.datetime(2019, 3, 22, 15, 26, 47, 729345), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '置为摆动', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '哎呀,没听懂你说的话耶。', 'cost_time_ms': 240.3584}, {'datetime': datetime.datetime(2019, 3, 22, 15, 35, 11, 586290), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '我发现你必须第一', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 310.909863}, {'datetime': datetime.datetime(2019, 3, 22, 15, 35, 33, 138628), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '将来好不好', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我好像没听懂,能请你换个说法试试吗?', 'cost_time_ms': 218.595355}, {'datetime': datetime.datetime(2019, 3, 22, 15, 41, 58, 427906), 'mac_wifi': 'f4911e36d007', 'mac_voice': 'f085c10f9c68', 'query': '金贝金贝', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 342.113291}) +2019-03-22 16:00:02,146 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 15:00:00 +时间为:### 2019-03-22 16:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 15:00:00" and datetime< "2019-03-22 16:00:00" +2019-03-22 16:00:02,153 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:02,153 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,154 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:02,154 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,155 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,155 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:02,155 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,156 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,156 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,157 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:02,157 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:02,158 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 15:00:00" and datetime< "2019-03-22 16:00:00" +2019-03-22 16:00:02,158 INFO sqlalchemy.engine.base.Engine {} +****143 +10 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 15:00:00" and datetime< "2019-03-22 16:00:00" +2019-03-22 16:00:03,302 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,303 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,304 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,305 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:03,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:03,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:03,308 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 15:00:00" and datetime< "2019-03-22 16:00:00" +2019-03-22 16:00:03,308 INFO sqlalchemy.engine.base.Engine {} +****143 +133 +all****10 + +all****133 + +****10 + +****124 + +Start domain data classification: +2019-03-22 16:00:04,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:04,347 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,347 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,348 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:04,348 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,349 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:04,349 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,350 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:04,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,351 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:04,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,352 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:04,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,352 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 16:00:04,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,354 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 16:00:04,355 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 16:00:04,355 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 16, 0), 'aircleaner': 0, 'airconditioner': 2, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 6, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 16:00:04,356 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 16:00:04,371 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:04,371 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,372 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:04,372 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,373 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,373 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:04,373 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,374 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:04,374 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,375 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:04,375 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,376 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 16:00:04,376 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:04,378 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 16:00:04,379 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather, alarm) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s, %(alarm)s) +2019-03-22 16:00:04,380 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 16, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 2, 'chat': 37, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 3, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 29, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 40, 'alarm': 1} +2019-03-22 16:00:04,380 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 16:00:05,187 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 16:00:05,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,188 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 16:00:05,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,189 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 16:00:05,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,190 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 16:00:05,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:05,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,192 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 16:00:05,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,193 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 16:00:05,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,193 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 16:00:05,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 16:00:05,195 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 16:00:05,196 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 16:00:05,196 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 16, 0), '0~500ms': "[('universalcontrol', 6), ('airconditioner', 2), ('playcontrol', 2), ('chat', 44), ('weather', 37), ('music', 26)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 3), ('fm', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 16:00:05,196 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 17 +***** + +2019-03-22 17:00:02,257 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,258 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,260 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:02,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,261 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,262 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,263 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:02,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,264 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 17:00:02,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,266 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 17:00:02,270 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 17:00:02,270 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 16, 0, 15, 14885), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放dj的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '没问题,来听听崔云飞的dj的歌吧。', 'cost_time_ms': 271.807979}, {'datetime': datetime.datetime(2019, 3, 22, 16, 0, 38, 170033), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '努力努力', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了侯皓中的努力努力,陪你一起听哦。', 'cost_time_ms': 573.596096}, {'datetime': datetime.datetime(2019, 3, 22, 16, 0, 53, 414789), 'mac_wifi': 'f4911e4b49b1', 'mac_voice': 'c46e7b7026a7', 'query': '我的同学', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '是同学呀。', 'cost_time_ms': 178.90012}, {'datetime': datetime.datetime(2019, 3, 22, 16, 1, 6, 467233), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '不是连话都弄脸上了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 247.007517}, {'datetime': datetime.datetime(2019, 3, 22, 16, 1, 7, 227895), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '不是连话不能连上床', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 248.043538}, {'datetime': datetime.datetime(2019, 3, 22, 16, 1, 28, 386786), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '播放攀登', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '翻到了潘玮柏/g.e.m.邓紫棋/艾热的攀登,陪你一起听哦。', 'cost_time_ms': 244.419862}, {'datetime': datetime.datetime(2019, 3, 22, 16, 8, 12, 400132), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b6f5c26', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温21度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 465.482359}, {'datetime': datetime.datetime(2019, 3, 22, 16, 8, 29, 318968), 'mac_wifi': 'f4911e5f5b25', 'mac_voice': 'c46e7b6f5c28', 'query': '好像还有个', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '三个啥。', 'cost_time_ms': 313.684205} ... displaying 10 of 121 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 16, 58, 15, 247174), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 338.602523}, {'datetime': datetime.datetime(2019, 3, 22, 16, 59, 9, 759183), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '智能钥匙', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '智能钥匙能发射出红外线信号,既可打开一个或两个车门、行李箱和燃油加注孔盖,也可以操纵汽车的车窗和天窗,更先进的智能钥匙则像一张信用卡,当司机触到门把手时,中央锁控制系统便开始工作,并发射一种无线查询信号,智能钥匙卡作出正确反应后,车锁会自动打开。只有当中央处理器感知钥匙卡在汽车内时,发动机才会启动。', 'cost_time_ms': 187.442287}) +2019-03-22 17:00:02,276 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 17:00:02,286 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:02,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,287 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:02,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,288 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:02,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,289 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:02,289 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,290 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,291 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,291 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 17:00:02,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:02,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:02,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,302 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,302 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:02,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,305 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 17:00:02,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,307 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 17:00:02,308 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 17:00:02,308 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 16, 1, 6, 467233), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '不是连话都弄脸上了', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 247.007517}, {'datetime': datetime.datetime(2019, 3, 22, 16, 1, 7, 227895), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '不是连话不能连上床', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 248.043538}, {'datetime': datetime.datetime(2019, 3, 22, 16, 18, 52, 264459), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '欢迎使用', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没听明白你刚刚说了啥。', 'cost_time_ms': 178.002085}, {'datetime': datetime.datetime(2019, 3, 22, 16, 20, 22, 803420), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 342.455294}, {'datetime': datetime.datetime(2019, 3, 22, 16, 25, 35, 845079), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '当前为离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 338.883411}, {'datetime': datetime.datetime(2019, 3, 22, 16, 30, 38, 218605), 'mac_wifi': 'f4911e594434', 'mac_voice': 'c46e7b7026d2', 'query': '你的妹妹叫什么名字', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 207.782898}, {'datetime': datetime.datetime(2019, 3, 22, 16, 30, 53, 741339), 'mac_wifi': 'f4911e594434', 'mac_voice': 'c46e7b7026d2', 'query': '你的妹妹叫什么名字', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 213.37104}, {'datetime': datetime.datetime(2019, 3, 22, 16, 33, 40, 18876), 'mac_wifi': 'f4911e594434', 'mac_voice': 'c46e7b7026d2', 'query': '给我搜一下梁间燕', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 207.671747} ... displaying 10 of 11 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 16, 48, 48, 550289), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '这不是你的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 369.077674}, {'datetime': datetime.datetime(2019, 3, 22, 16, 58, 15, 247174), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '离线模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我该好好学习了,居然没听懂你在说什么。', 'cost_time_ms': 338.602523}) +2019-03-22 17:00:02,309 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 16:00:00 +时间为:### 2019-03-22 17:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 16:00:00" and datetime< "2019-03-22 17:00:00" +2019-03-22 17:00:02,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:02,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,323 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:02,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,324 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,324 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:02,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:02,327 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 16:00:00" and datetime< "2019-03-22 17:00:00" +2019-03-22 17:00:02,327 INFO sqlalchemy.engine.base.Engine {} +****121 +6 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 16:00:00" and datetime< "2019-03-22 17:00:00" +2019-03-22 17:00:03,420 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:03,420 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,421 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:03,421 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,422 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:03,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,423 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:03,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,424 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:03,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:03,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:03,426 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 16:00:00" and datetime< "2019-03-22 17:00:00" +2019-03-22 17:00:03,426 INFO sqlalchemy.engine.base.Engine {} +****121 +115 +all****6 + +all****115 + +****6 + +****104 + +Start domain data classification: +2019-03-22 17:00:04,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:04,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:04,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,489 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,490 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:04,490 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:04,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,493 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:04,493 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,493 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 17:00:04,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,496 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 17:00:04,497 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 17:00:04,497 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 17, 0), 'aircleaner': 0, 'airconditioner': 3, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 2, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 17:00:04,498 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 17:00:04,512 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:04,512 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,513 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:04,513 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,514 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,514 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:04,514 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,515 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,516 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:04,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,517 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,517 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 17:00:04,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:04,519 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 17:00:04,521 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 17:00:04,521 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 17, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 7, 'chat': 32, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 2, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 26, 'news': 2, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 25} +2019-03-22 17:00:04,521 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 17:00:05,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 17:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,387 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 17:00:05,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,388 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 17:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 17:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 17:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 17:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 17:00:05,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 17:00:05,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 17:00:05,394 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 17:00:05,395 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 17, 0), '0~500ms': "[('airconditioner', 3), ('universalcontrol', 2), ('playcontrol', 1), ('chat', 42), ('music', 23), ('weather', 22)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('weather', 3), ('chat', 1)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 17:00:05,395 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 18 +***** + +2019-03-22 18:00:02,808 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:02,808 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,809 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:02,809 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,810 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:02,810 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,811 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,813 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,815 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 18:00:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,817 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 18:00:02,820 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 18:00:02,821 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 17, 0, 7, 894093), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '好冷啊', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_risetemp', 'response_data': 'success', 'cost_time_ms': 326.894818}, {'datetime': datetime.datetime(2019, 3, 22, 17, 5, 2, 579646), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '来一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 496.70731}, {'datetime': datetime.datetime(2019, 3, 22, 17, 12, 13, 105518), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '这背后的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 318.325807}, {'datetime': datetime.datetime(2019, 3, 22, 17, 12, 25, 533269), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '今天珠海', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温20度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 501.416084}, {'datetime': datetime.datetime(2019, 3, 22, 17, 12, 26, 96051), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '天气怎么样', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温20度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 305.228693}, {'datetime': datetime.datetime(2019, 3, 22, 17, 12, 26, 788505), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '天气怎么样。', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天多云,气温20度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 293.607658}, {'datetime': datetime.datetime(2019, 3, 22, 17, 12, 43, 622565), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 313.669508}, {'datetime': datetime.datetime(2019, 3, 22, 17, 13, 2, 192716), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '我心情不好', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '说出来会舒服一点,我愿意做你的听众。', 'cost_time_ms': 192.535918} ... displaying 10 of 74 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 17, 58, 7, 446548), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天几号', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_date', 'response_data': '今天是3月22日,星期五。', 'cost_time_ms': 274.391694}, {'datetime': datetime.datetime(2019, 3, 22, 17, 58, 13, 875255), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天几号', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_date', 'response_data': '今天是3月22日,星期五。', 'cost_time_ms': 211.258752}) +2019-03-22 18:00:02,824 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 18:00:02,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,835 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:02,835 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,836 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:02,836 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,837 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,838 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,840 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 18:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,848 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:02,848 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,849 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:02,849 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,850 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:02,850 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,851 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:02,851 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,852 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,852 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,853 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:02,853 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,854 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 18:00:02,854 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,856 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 18:00:02,857 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 18:00:02,857 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 17, 12, 13, 105518), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '这背后的', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 318.325807}, {'datetime': datetime.datetime(2019, 3, 22, 17, 18, 23, 790876), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '下一次启动的时候你知道他是因为什么我是没钱啊', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 364.0756}, {'datetime': datetime.datetime(2019, 3, 22, 17, 48, 55, 423321), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '隔篱呼取', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 361.480774}) +2019-03-22 18:00:02,858 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 17:00:00 +时间为:### 2019-03-22 18:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 17:00:00" and datetime< "2019-03-22 18:00:00" +2019-03-22 18:00:02,874 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:02,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,875 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:02,875 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,876 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:02,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,877 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:02,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,878 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,878 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,879 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:02,879 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,879 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:02,880 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:02,880 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 17:00:00" and datetime< "2019-03-22 18:00:00" +2019-03-22 18:00:02,880 INFO sqlalchemy.engine.base.Engine {} +****74 +5 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 17:00:00" and datetime< "2019-03-22 18:00:00" +2019-03-22 18:00:03,912 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:03,913 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,913 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:03,914 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,914 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:03,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,915 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:03,915 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:03,917 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,917 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:03,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,918 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:03,918 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:03,919 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 17:00:00" and datetime< "2019-03-22 18:00:00" +2019-03-22 18:00:03,919 INFO sqlalchemy.engine.base.Engine {} +****74 +69 +all****5 + +all****69 + +****5 + +****66 + +Start domain data classification: +2019-03-22 18:00:04,952 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,953 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,954 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:04,954 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,955 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:04,955 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,956 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:04,956 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,957 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:04,957 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,958 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 18:00:04,958 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,960 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 18:00:04,962 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 18:00:04,962 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 18, 0), 'aircleaner': 0, 'airconditioner': 3, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 2, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 18:00:04,962 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 18:00:04,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,983 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:04,983 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,984 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:04,984 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,985 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:04,985 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,986 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:04,986 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:04,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,987 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:04,987 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,988 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 18:00:04,988 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:04,990 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 18:00:04,991 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 18:00:04,992 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 18, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 2, 'chat': 12, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 4, 'joke': 3, 'music': 13, 'news': 1, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 3, 'weather': 15} +2019-03-22 18:00:04,992 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 18:00:05,821 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 18:00:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,822 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 18:00:05,822 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,823 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 18:00:05,823 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,824 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 18:00:05,824 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,825 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:05,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 18:00:05,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,826 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 18:00:05,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,827 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 18:00:05,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 18:00:05,829 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 18:00:05,830 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 18:00:05,830 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 18, 0), '0~500ms': "[('airconditioner', 3), ('playcontrol', 2), ('aircleaner', 0), ('chat', 15), ('weather', 14), ('music', 13)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('translate', 1), ('almanac', 0), ('ancient_poem', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 18:00:05,830 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 19 +***** + +2019-03-22 19:00:02,518 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:02,519 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,520 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,521 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,522 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:02,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,523 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,524 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,525 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 19:00:02,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,528 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 19:00:02,531 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 19:00:02,532 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 18, 2, 37, 222330), 'mac_wifi': 'f4911e36d171', 'mac_voice': 'f085c1d222dd', 'query': '没有房子', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '房子会有的,车子也会有的。', 'cost_time_ms': 332.458587}, {'datetime': datetime.datetime(2019, 3, 22, 18, 3, 25, 664839), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温22度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 514.455162}, {'datetime': datetime.datetime(2019, 3, 22, 18, 4, 13, 289299), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温22度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 346.715169}, {'datetime': datetime.datetime(2019, 3, 22, 18, 4, 52, 201841), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温22度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 507.60049}, {'datetime': datetime.datetime(2019, 3, 22, 18, 5, 22, 462352), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市今天多云,气温22度到27度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 486.510344}, {'datetime': datetime.datetime(2019, 3, 22, 18, 6, 27, 736030), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '中风档', 'classify': 'control', 'code': 0, 'domain': 'universalcontrol', 'intent': 'control_setfanspeed', 'response_data': 'success', 'cost_time_ms': 318.325568}, {'datetime': datetime.datetime(2019, 3, 22, 18, 6, 33, 447927), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '薄熙来是谁', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '薄熙来,男,汉族,1949年7月生,山西定襄人,1980年10月入党,1968年1月参加工作,中国社会科学院研究生院国际新闻专业毕业,研究生学历,文学硕士。曾任中央政治局委员,重庆市委书记。2012年3月15日,中共中央决定薄熙来不再兼任重庆市委书记、常委、委员职务。2012年4月10日,因涉嫌严 ... (105 characters truncated) ... 5日,薄熙来涉嫌受贿、贪污、滥用职权犯罪一案,已由山东省济南市人民检察院向济南市中级人民法院提起公诉。2013年8月22日,薄熙来案在济南市中级人民法院一审公开开庭审理。2013年9月22日,法庭对被告人薄熙来以受贿罪、贪污罪、滥用职权罪依法判处刑罚,数罪并罚,决定执行无期徒刑,剥夺政治权利终身。', 'cost_time_ms': 362.032528}, {'datetime': datetime.datetime(2019, 3, 22, 18, 6, 40, 406538), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '明天的天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '深圳市明天多云,气温17度到21度,比今天冷很多,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 389.631093} ... displaying 10 of 115 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 18, 56, 56, 962055), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '请查些', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 361.169903}, {'datetime': datetime.datetime(2019, 3, 22, 18, 58, 20, 671736), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '周杰伦的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就开始播放周杰伦的歌。', 'cost_time_ms': 437.202606}) +2019-03-22 19:00:02,537 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 19:00:02,550 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,551 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:02,551 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,552 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:02,552 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,553 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:02,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,554 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,555 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:02,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,555 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 19:00:02,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,564 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:02,564 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,565 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:02,565 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,566 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,566 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:02,566 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,567 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,568 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,569 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,569 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 19:00:02,569 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,571 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 19:00:02,572 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 19:00:02,572 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 18, 20, 48, 805289), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '专栏频道', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有理解到你的意思,可以换个方式问我吗?', 'cost_time_ms': 326.235097}, {'datetime': datetime.datetime(2019, 3, 22, 18, 35, 21, 198754), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c6', 'query': '今年到期时', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我要再看看书才能理解你刚刚说的。', 'cost_time_ms': 227.157142}, {'datetime': datetime.datetime(2019, 3, 22, 18, 37, 33, 380331), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '董明珠认识吗', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 211.377034}, {'datetime': datetime.datetime(2019, 3, 22, 18, 56, 56, 962055), 'mac_wifi': 'f4911e46644b', 'mac_voice': 'c46e7b6f5c5c', 'query': '请查些', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我不知道该怎么回你诶,因为我没听明白。', 'cost_time_ms': 361.169903}) +2019-03-22 19:00:02,573 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 18:00:00 +时间为:### 2019-03-22 19:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 18:00:00" and datetime< "2019-03-22 19:00:00" +2019-03-22 19:00:02,580 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:02,580 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,581 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:02,581 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,582 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,582 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:02,582 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,583 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,584 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:02,584 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:02,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:02,585 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 18:00:00" and datetime< "2019-03-22 19:00:00" +2019-03-22 19:00:02,585 INFO sqlalchemy.engine.base.Engine {} +****115 +23 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 18:00:00" and datetime< "2019-03-22 19:00:00" +2019-03-22 19:00:03,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:03,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:03,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,640 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:03,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,641 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:03,641 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:03,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:03,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,644 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:03,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:03,644 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 18:00:00" and datetime< "2019-03-22 19:00:00" +2019-03-22 19:00:03,644 INFO sqlalchemy.engine.base.Engine {} +****115 +92 +all****23 + +all****92 + +****23 + +****88 + +Start domain data classification: +2019-03-22 19:00:04,678 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,679 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:04,679 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,680 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:04,680 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,681 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:04,681 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,682 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:04,682 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,683 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:04,683 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,684 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 19:00:04,684 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,686 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 19:00:04,687 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 19:00:04,687 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 19, 0), 'aircleaner': 0, 'airconditioner': 3, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 13, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 7, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 19:00:04,687 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 19:00:04,701 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:04,701 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,702 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:04,702 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,703 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,703 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:04,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,704 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:04,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,705 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:04,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,706 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 19:00:04,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:04,708 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 19:00:04,709 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 19:00:04,709 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 19, 0), 'almanac': 1, 'ancient_poem': 2, 'astro': 1, 'baike': 6, 'chat': 13, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 4, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 2, 'joke': 3, 'music': 22, 'news': 3, 'recipe': 0, 'science': 2, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 2, 'weather': 24} +2019-03-22 19:00:04,710 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 19:00:05,558 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 19:00:05,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,558 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 19:00:05,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,559 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 19:00:05,559 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,560 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 19:00:05,560 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,561 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:05,561 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 19:00:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,562 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 19:00:05,562 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,563 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 19:00:05,563 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 19:00:05,565 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 19:00:05,565 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 19:00:05,565 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 19, 0), '0~500ms': "[('playcontrol', 13), ('universalcontrol', 6), ('airconditioner', 3), ('music', 22), ('weather', 18), ('chat', 15)]", '1000~2000ms': "[('universalcontrol', 1), ('aircleaner', 0), ('airconditioner', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 6), ('chat', 2), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 19:00:05,566 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py:1167: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison + result = method(y) +*****datetime: +2019-03-22 20 +***** + +Traceback (most recent call last): + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 420, in + load_run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 417, in load_run + TP.run() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 393, in run + self.data_storage() + File "/home/work/semantic_platform_DAS/processing_unisound_logfile.py", line 149, in data_storage + control_error_data = outdata[(outdata['classify'] == 'control') & (outdata['code'] != 0)] + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1283, in wrapper + res = na_op(values, other) + File "/usr/local/python3/lib/python3.6/site-packages/pandas/core/ops.py", line 1169, in na_op + raise TypeError("invalid type comparison") +TypeError: invalid type comparison +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 21 +***** + +2019-03-22 21:00:02,390 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:02,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,392 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:02,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,393 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,393 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:02,393 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,395 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,395 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,396 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:02,396 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,397 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 21:00:02,397 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,400 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 21:00:02,403 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 21:00:02,403 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 20, 1, 40, 674825), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '帮助来', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'founction_help', 'response_data': 'success', 'cost_time_ms': 362.785276}, {'datetime': datetime.datetime(2019, 3, 22, 20, 1, 56, 103431), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '制热模式', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_mode', 'response_data': 'success', 'cost_time_ms': 356.421374}, {'datetime': datetime.datetime(2019, 3, 22, 20, 3, 32, 481303), 'mac_wifi': 'f4911e6758cf', 'mac_voice': '58b3fc2f4307', 'query': '来一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 421.868854}, {'datetime': datetime.datetime(2019, 3, 22, 20, 3, 35, 283984), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '陪着你一起走', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 374.436276}, {'datetime': datetime.datetime(2019, 3, 22, 20, 3, 43, 752676), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '陪着你走', 'classify': 'application', 'code': 0, 'domain': 'baike', 'intent': 'search_baike', 'response_data': '《陪着你走》(英语:everystepyoutake),是香港电视广播有限公司拍摄制作的时装励志电视剧,由陈豪及胡杏儿等领衔主演,监制:陈耀全,编审:石凯婷。此剧为2014无线节目巡礼剧集之一,亦为第18届香港国际影视展中无线电视所推介的19部剧集之一,亦为2014上海电视节中无线电视所推介的14部剧集之一、2014中国国际影视展中无线电视所推介的25部剧集之一及无线海外业务及简介2015\u202c所推介的17部剧集之一。', 'cost_time_ms': 217.561386}, {'datetime': datetime.datetime(2019, 3, 22, 20, 3, 44, 549565), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '我想听生而为人', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听尚士达的生而为人。', 'cost_time_ms': 228.809157}, {'datetime': datetime.datetime(2019, 3, 22, 20, 4, 0, 201767), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '播放一首', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 324.763868}, {'datetime': datetime.datetime(2019, 3, 22, 20, 4, 0, 882319), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '播放一首陪着你走', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这就为你播放ice/gibb-z的陪着你走。', 'cost_time_ms': 263.284782} ... displaying 10 of 65 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 20, 56, 52, 840817), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '放一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '从曲库里挖到这些歌,希望你喜欢哦。', 'cost_time_ms': 425.510154}, {'datetime': datetime.datetime(2019, 3, 22, 20, 57, 14, 636744), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '换一首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'next', 'response_data': '', 'cost_time_ms': 256.432989}) +2019-03-22 21:00:02,406 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 21:00:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:02,422 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,422 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,423 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:02,423 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,424 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:02,424 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,425 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,425 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,426 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:02,426 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,427 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 21:00:02,427 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,435 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:02,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,436 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:02,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,437 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,437 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:02,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,439 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,439 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,440 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:02,440 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,440 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 21:00:02,441 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,443 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 21:00:02,443 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 21:00:02,443 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 20, 3, 35, 283984), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '陪着你一起走', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '你说的话,我想了好几遍都没有明白。', 'cost_time_ms': 374.436276}, {'datetime': datetime.datetime(2019, 3, 22, 20, 7, 54, 694266), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '伊朗模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 235.462503}, {'datetime': datetime.datetime(2019, 3, 22, 20, 27, 54, 760314), 'mac_wifi': 'f4911e594434', 'mac_voice': 'c46e7b7026d2', 'query': '十一度十二度', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '其实我没有听懂,可以请你换个说法吗?', 'cost_time_ms': 318.767915}, {'datetime': datetime.datetime(2019, 3, 22, 20, 44, 20, 321937), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'thetotal', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '怎么办?我没听懂,好想假装自己听懂了啊。', 'cost_time_ms': 218.24826}, {'datetime': datetime.datetime(2019, 3, 22, 20, 44, 21, 354172), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': 'thetotal作为一个小女孩', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '假装自己听懂了,但其实我真没听懂。', 'cost_time_ms': 210.212788}, {'datetime': datetime.datetime(2019, 3, 22, 20, 52, 58, 787141), 'mac_wifi': '000000000000', 'mac_voice': '000000000000', 'query': '爱禁不起', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我没有听懂,你可不可以换个方式问我呀?', 'cost_time_ms': 239.572063}) +2019-03-22 21:00:02,447 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 20:00:00 +时间为:### 2019-03-22 21:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 20:00:00" and datetime< "2019-03-22 21:00:00" +2019-03-22 21:00:02,453 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:02,453 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,454 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:02,454 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,454 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,455 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:02,455 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,456 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,457 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:02,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:02,458 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 20:00:00" and datetime< "2019-03-22 21:00:00" +2019-03-22 21:00:02,458 INFO sqlalchemy.engine.base.Engine {} +****65 +16 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 20:00:00" and datetime< "2019-03-22 21:00:00" +2019-03-22 21:00:03,487 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:03,487 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,488 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:03,488 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,489 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:03,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,489 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:03,489 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,491 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:03,491 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,492 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:03,492 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:03,493 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 20:00:00" and datetime< "2019-03-22 21:00:00" +2019-03-22 21:00:03,493 INFO sqlalchemy.engine.base.Engine {} +****65 +49 +all****16 + +all****49 + +****16 + +****43 + +Start domain data classification: +2019-03-22 21:00:04,522 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:04,522 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,523 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:04,523 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,524 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:04,524 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,525 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:04,525 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,526 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:04,526 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:04,527 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,527 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,528 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 21:00:04,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,530 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 21:00:04,532 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 21:00:04,532 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 21, 0), 'aircleaner': 0, 'airconditioner': 13, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 3, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 21:00:04,532 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 21:00:04,553 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:04,553 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,554 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:04,554 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,554 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:04,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,555 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:04,555 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,556 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:04,556 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,557 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:04,557 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,558 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 21:00:04,558 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:04,560 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 21:00:04,562 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 21:00:04,562 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 21, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 2, 'chat': 3, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 26, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 21:00:04,562 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 21:00:05,384 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 21:00:05,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,386 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 21:00:05,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,387 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 21:00:05,387 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,388 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 21:00:05,388 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,390 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 21:00:05,390 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,391 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 21:00:05,391 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,392 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 21:00:05,392 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 21:00:05,394 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 21:00:05,395 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 21:00:05,395 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 21, 0), '0~500ms': "[('airconditioner', 13), ('universalcontrol', 3), ('aircleaner', 0), ('music', 23), ('chat', 9), ('baike', 2)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 3), ('ancient_poem', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 21:00:05,396 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 22 +***** + +2019-03-22 22:00:02,200 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:02,200 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,201 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:02,202 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,202 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,203 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,205 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,207 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 22:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,209 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 22:00:02,212 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 22:00:02,212 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 21, 6, 31, 656673), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '换首流行歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '这些歌最近听的人很多,听听看吧。', 'cost_time_ms': 409.165214}, {'datetime': datetime.datetime(2019, 3, 22, 21, 30, 26, 734918), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '切换到假期模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 390.845197}, {'datetime': datetime.datetime(2019, 3, 22, 21, 34, 36, 322273), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '放首歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 476.166715}, {'datetime': datetime.datetime(2019, 3, 22, 21, 34, 49, 221306), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '暂停放歌', 'classify': 'control', 'code': 0, 'domain': 'playcontrol', 'intent': 'control_pause', 'response_data': 'success', 'cost_time_ms': 204.000676}, {'datetime': datetime.datetime(2019, 3, 22, 21, 34, 57, 699846), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '天气天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海市今天多云,气温21度到25度,空气质量优。格力空调祝您生活愉快。', 'cost_time_ms': 547.036362}, {'datetime': datetime.datetime(2019, 3, 22, 21, 35, 21, 208191), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '冷空气。', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'aqi_search', 'response_data': '暂时没有你所说城市的天气信息,来问问我中国国内城市的天气吧。格力空调祝您生活愉快。', 'cost_time_ms': 318.874451}, {'datetime': datetime.datetime(2019, 3, 22, 21, 51, 47, 155126), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 420.604298}, {'datetime': datetime.datetime(2019, 3, 22, 21, 51, 50, 619371), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 458.672159} ... displaying 10 of 22 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 21, 52, 32, 572686), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 172.336107}, {'datetime': datetime.datetime(2019, 3, 22, 21, 52, 35, 756553), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 177.453961}) +2019-03-22 22:00:02,214 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 22:00:02,224 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:02,224 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,225 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:02,225 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,226 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:02,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,227 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:02,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,228 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,229 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,229 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 22:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,238 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:02,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,239 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:02,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,240 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:02,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,241 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:02,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,243 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 22:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,245 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 22:00:02,246 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 22:00:02,246 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 21, 30, 26, 734918), 'mac_wifi': 'f4911e4846fb', 'mac_voice': 'c46e7b6f58d8', 'query': '切换到假期模式', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '我还需要更多的时间来弄懂你说的。', 'cost_time_ms': 390.845197} +2019-03-22 22:00:02,246 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-22 21:00:00 +时间为:### 2019-03-22 22:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 21:00:00" and datetime< "2019-03-22 22:00:00" +2019-03-22 22:00:02,255 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:02,255 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,256 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,256 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:02,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,257 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:02,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,258 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:02,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:02,260 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 21:00:00" and datetime< "2019-03-22 22:00:00" +2019-03-22 22:00:02,260 INFO sqlalchemy.engine.base.Engine {} +****22 +2 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 21:00:00" and datetime< "2019-03-22 22:00:00" +2019-03-22 22:00:03,300 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:03,300 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,301 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:03,301 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,302 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:03,302 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,303 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:03,303 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,304 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:03,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,305 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:03,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:03,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:03,306 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 21:00:00" and datetime< "2019-03-22 22:00:00" +2019-03-22 22:00:03,306 INFO sqlalchemy.engine.base.Engine {} +****22 +20 +all****2 + +all****20 + +****2 + +****19 + +Start domain data classification: +2019-03-22 22:00:04,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:04,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:04,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:04,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,356 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:04,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:04,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:04,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,359 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 22:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,361 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 22:00:04,362 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 22:00:04,363 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 22, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 1, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 22:00:04,363 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 22:00:04,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:04,377 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:04,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,378 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:04,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,379 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,380 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:04,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,382 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 22:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:04,384 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 22:00:04,385 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 22:00:04,385 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 22, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 3, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 2} +2019-03-22 22:00:04,386 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 22:00:05,237 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 22:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,239 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 22:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,240 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 22:00:05,240 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,241 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 22:00:05,241 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,242 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:05,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,243 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 22:00:05,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,244 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 22:00:05,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,244 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 22:00:05,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 22:00:05,247 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 22:00:05,248 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 22:00:05,248 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 22, 0), '0~500ms': "[('airconditioner', 1), ('playcontrol', 1), ('aircleaner', 0), ('music', 3), ('chat', 2), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('weather', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 22:00:05,249 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-22 23 +***** + +2019-03-22 23:00:02,179 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,182 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,185 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,186 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-22 23:00:02,186 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,188 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 23:00:02,191 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-22 23:00:02,191 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 22, 51, 47, 164981), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 430.238011}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 50, 591113), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 418.769255}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 53, 823328), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《古朗月行》:', 'cost_time_ms': 225.849878}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 57, 14527), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本爱探险的朵拉,我讲给你听吧。', 'cost_time_ms': 185.541388}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 0, 214205), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 194.286192}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 3, 433873), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 214.214476}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 6, 605749), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 164.292576}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 9, 788938), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 178.369228} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 32, 499926), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 152.665409}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 35, 676797), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 170.836627}) +2019-03-22 23:00:02,192 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-22 23:00:02,204 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,206 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,206 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,209 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-22 23:00:02,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,218 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,219 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,220 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,221 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,221 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,222 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,222 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,223 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:02,223 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,223 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-22 23:00:02,223 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 22:00:00 +时间为:### 2019-03-22 23:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 22:00:00" and datetime< "2019-03-22 23:00:00" +2019-03-22 23:00:02,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:02,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:02,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,232 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 22:00:00" and datetime< "2019-03-22 23:00:00" +2019-03-22 23:00:02,235 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 22:00:00" and datetime< "2019-03-22 23:00:00" +2019-03-22 23:00:03,289 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:03,290 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,291 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:03,291 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,291 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:03,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,292 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:03,292 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,293 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:03,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,294 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:03,294 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,295 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:03,295 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:03,295 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 22:00:00" and datetime< "2019-03-22 23:00:00" +2019-03-22 23:00:03,295 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-22 23:00:04,354 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:04,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,355 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:04,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,356 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:04,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,357 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:04,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:04,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,358 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,359 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,360 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-22 23:00:04,360 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,362 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 23:00:04,363 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-22 23:00:04,363 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 23, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-22 23:00:04,364 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-22 23:00:04,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,379 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:04,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,380 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:04,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,381 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,384 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-22 23:00:04,384 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:04,386 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 23:00:04,387 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-22 23:00:04,387 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 23, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-22 23:00:04,388 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-22 23:00:05,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-22 23:00:05,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,235 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-22 23:00:05,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,236 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-22 23:00:05,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-22 23:00:05,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-22 23:00:05,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,239 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-22 23:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,239 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-22 23:00:05,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-22 23:00:05,241 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-22 23:00:05,242 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-22 23:00:05,242 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 22, 23, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-22 23:00:05,242 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +diff: /home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190323: 没有那个文件或目录 +rsync: link_stat "/home/work/semantic_platform_DAS/bottom_function/data/semantic/m1/unisoundCtoC_logfile_20190323" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +diff: /home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190323: 没有那个文件或目录 +rsync: link_stat "/home/work/logfile/ctoc/unisound/unisoundCtoC_logfile_20190323" failed: No such file or directory (2) +rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] +0 +*****datetime: +2019-03-23 00 +***** + +2019-03-23 00:00:02,787 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:02,788 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,789 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:02,789 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,790 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:02,790 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,791 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:02,791 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,792 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,792 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,793 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,793 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:02,794 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,794 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 00:00:02,795 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,797 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 00:00:02,800 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 00:00:02,800 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 22, 22, 51, 47, 164981), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最动听的音乐送给我最喜欢的你。', 'cost_time_ms': 430.238011}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 50, 591113), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 418.769255}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 53, 823328), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《古朗月行》:', 'cost_time_ms': 225.849878}, {'datetime': datetime.datetime(2019, 3, 22, 22, 51, 57, 14527), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本爱探险的朵拉,我讲给你听吧。', 'cost_time_ms': 185.541388}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 0, 214205), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 194.286192}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 3, 433873), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 214.214476}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 6, 605749), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 164.292576}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 9, 788938), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 178.369228} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 32, 499926), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 152.665409}, {'datetime': datetime.datetime(2019, 3, 22, 22, 52, 35, 676797), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 170.836627}) +2019-03-23 00:00:02,801 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 00:00:02,811 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,811 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:02,811 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,812 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:02,812 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,813 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:02,813 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,814 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,814 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,815 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,815 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:02,815 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,816 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 00:00:02,816 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:02,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,826 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:02,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,827 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,827 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:02,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:02,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,830 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 00:00:02,830 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-22 23:00:00 +时间为:### 2019-03-23 00:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 23:00:00" and datetime< "2019-03-23 00:00:00" +2019-03-23 00:00:02,837 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:02,837 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,838 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:02,838 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,839 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:02,839 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,840 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:02,840 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,841 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:02,841 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:02,842 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:02,842 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 23:00:00" and datetime< "2019-03-23 00:00:00" +2019-03-23 00:00:02,842 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 23:00:00" and datetime< "2019-03-23 00:00:00" +2019-03-23 00:00:03,871 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,872 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:03,872 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,873 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:03,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,874 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:03,874 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:03,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,876 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:03,876 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,877 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:03,877 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:03,878 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-22 23:00:00" and datetime< "2019-03-23 00:00:00" +2019-03-23 00:00:03,878 INFO sqlalchemy.engine.base.Engine {} +****0 +0 +all****0 + +all****0 + +****0 + +****0 + +Start domain data classification: +2019-03-23 00:00:04,923 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:04,923 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,924 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:04,924 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,925 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:04,925 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,925 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:04,926 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,927 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:04,927 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,928 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:04,928 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,929 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 00:00:04,929 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,931 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 00:00:04,932 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 00:00:04,932 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 0, 0), 'aircleaner': 0, 'airconditioner': 0, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 00:00:04,933 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 00:00:04,948 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:04,948 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,949 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:04,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,950 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,950 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:04,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,952 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,952 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:04,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,953 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,953 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 00:00:04,953 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:04,956 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 00:00:04,957 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 00:00:04,957 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 0, 0), 'almanac': 0, 'ancient_poem': 0, 'astro': 0, 'baike': 0, 'chat': 0, 'chengyu': 0, 'common_qa': 0, 'finance': 0, 'fm': 0, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 0, 'joke': 0, 'music': 0, 'news': 0, 'recipe': 0, 'science': 0, 'sound': 0, 'sports': 0, 'stock': 0, 'translate': 0, 'weather': 0} +2019-03-23 00:00:04,957 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 00:00:05,800 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 00:00:05,800 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,801 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 00:00:05,801 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,802 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 00:00:05,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,802 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 00:00:05,802 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,803 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:05,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,804 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 00:00:05,804 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,805 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 00:00:05,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,805 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 00:00:05,805 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 00:00:05,807 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 00:00:05,808 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 00:00:05,808 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 0, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 00:00:05,809 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 01 +***** + +2019-03-23 01:00:02,158 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:02,158 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,159 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:02,159 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,160 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:02,160 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,161 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,162 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,163 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,164 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 01:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,167 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 01:00:02,169 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 01:00:02,169 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 0, 51, 47, 212135), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 478.506779}, {'datetime': datetime.datetime(2019, 3, 23, 0, 51, 50, 622344), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 403.845126}, {'datetime': datetime.datetime(2019, 3, 23, 0, 51, 53, 848946), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《峨眉山月歌》:', 'cost_time_ms': 221.347519}, {'datetime': datetime.datetime(2019, 3, 23, 0, 51, 57, 56806), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '这个故事你肯定喜欢,来一起听听可爱蓝精灵的故事-麦甜吧。', 'cost_time_ms': 199.72844}, {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 0, 242042), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 180.379486}, {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 3, 484207), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 236.326873}, {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 6, 648532), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 157.919558}, {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 9, 822324), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 168.01726} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 32, 548857), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 153.154398}, {'datetime': datetime.datetime(2019, 3, 23, 0, 52, 35, 721221), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 166.47349}) +2019-03-23 01:00:02,170 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 01:00:02,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,181 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,182 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,182 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,185 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 01:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,193 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,194 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,195 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,197 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:02,197 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,197 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 01:00:02,197 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 00:00:00 +时间为:### 2019-03-23 01:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 00:00:00" and datetime< "2019-03-23 01:00:00" +2019-03-23 01:00:02,203 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:02,203 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,204 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:02,204 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,205 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,205 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:02,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,206 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,207 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,207 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:02,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:02,208 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 00:00:00" and datetime< "2019-03-23 01:00:00" +2019-03-23 01:00:02,208 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 00:00:00" and datetime< "2019-03-23 01:00:00" +2019-03-23 01:00:03,242 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:03,242 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:03,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,244 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:03,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,244 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:03,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,246 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:03,246 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:03,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:03,247 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 00:00:00" and datetime< "2019-03-23 01:00:00" +2019-03-23 01:00:03,247 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 01:00:04,283 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:04,283 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,284 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:04,284 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,285 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:04,285 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,285 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:04,286 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,287 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:04,287 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,288 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:04,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,288 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 01:00:04,288 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,290 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 01:00:04,291 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 01:00:04,291 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 1, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 01:00:04,292 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 01:00:04,304 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:04,304 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,305 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:04,305 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,305 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,306 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:04,306 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,307 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:04,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,308 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:04,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,308 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 01:00:04,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:04,311 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 01:00:04,312 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 01:00:04,312 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 1, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 01:00:04,312 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 01:00:05,125 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 01:00:05,125 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,126 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 01:00:05,126 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,127 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 01:00:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,127 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 01:00:05,127 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,129 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 01:00:05,129 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,130 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 01:00:05,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,130 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 01:00:05,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 01:00:05,132 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 01:00:05,133 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 01:00:05,133 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 1, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 01:00:05,133 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 02 +***** + +2019-03-23 02:00:02,130 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:02,130 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,132 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:02,132 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,133 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,133 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:02,133 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,135 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,135 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,136 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:02,136 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,137 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 02:00:02,137 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,139 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 02:00:02,142 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 02:00:02,142 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 1, 14, 57, 238730), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听郑源的歌', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏郑源的歌。', 'cost_time_ms': 477.393546}, {'datetime': datetime.datetime(2019, 3, 23, 1, 15, 8, 817184), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听爱情买卖', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首爱情买卖送给你。', 'cost_time_ms': 390.080641}, {'datetime': datetime.datetime(2019, 3, 23, 1, 30, 48, 359680), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我要听郑源的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你欣赏郑源的歌。', 'cost_time_ms': 433.727415}, {'datetime': datetime.datetime(2019, 3, 23, 1, 51, 47, 149622), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最开心的事,就是和你一起听音乐。', 'cost_time_ms': 416.593856}, {'datetime': datetime.datetime(2019, 3, 23, 1, 51, 50, 566966), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 410.036861}, {'datetime': datetime.datetime(2019, 3, 23, 1, 51, 53, 790978), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《峨眉山月歌》:', 'cost_time_ms': 218.963113}, {'datetime': datetime.datetime(2019, 3, 23, 1, 51, 56, 999235), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲小鹿妈妈讲公主故事了哦。', 'cost_time_ms': 200.732135}, {'datetime': datetime.datetime(2019, 3, 23, 1, 52, 0, 193388), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 188.66985} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 1, 52, 32, 457908), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 156.618686}, {'datetime': datetime.datetime(2019, 3, 23, 1, 52, 35, 645072), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 180.439073}) +2019-03-23 02:00:02,144 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 02:00:02,161 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:02,161 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,162 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:02,162 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,163 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,163 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:02,163 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,164 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,164 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,165 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,165 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,166 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,166 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 02:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,175 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:02,175 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,176 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:02,176 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,177 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:02,177 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,178 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,178 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,179 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:02,179 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,180 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 02:00:02,180 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 01:00:00 +时间为:### 2019-03-23 02:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 01:00:00" and datetime< "2019-03-23 02:00:00" +2019-03-23 02:00:02,186 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,187 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:02,187 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,188 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:02,188 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,189 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,190 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,190 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 01:00:00" and datetime< "2019-03-23 02:00:00" +2019-03-23 02:00:02,192 INFO sqlalchemy.engine.base.Engine {} +****19 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 01:00:00" and datetime< "2019-03-23 02:00:00" +2019-03-23 02:00:03,259 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:03,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,260 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:03,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,261 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:03,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,262 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:03,262 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,263 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:03,263 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:03,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,264 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:03,264 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:03,265 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 01:00:00" and datetime< "2019-03-23 02:00:00" +2019-03-23 02:00:03,265 INFO sqlalchemy.engine.base.Engine {} +****19 +18 +all****1 + +all****18 + +****1 + +****18 + +Start domain data classification: +2019-03-23 02:00:04,321 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:04,321 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,322 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:04,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,323 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:04,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,324 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:04,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,325 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:04,325 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,326 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:04,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,327 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,327 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 02:00:04,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,330 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 02:00:04,331 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 02:00:04,331 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 2, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 02:00:04,331 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 02:00:04,357 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:04,357 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,358 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:04,358 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,359 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,359 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:04,359 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,360 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,361 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:04,361 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,362 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,362 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 02:00:04,362 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:04,364 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 02:00:04,366 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 02:00:04,366 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 2, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 4, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 02:00:04,366 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 02:00:05,309 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 02:00:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,310 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 02:00:05,310 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,311 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 02:00:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,312 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 02:00:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,314 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:05,314 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,315 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 02:00:05,315 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,316 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 02:00:05,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,316 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 02:00:05,316 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 02:00:05,319 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 02:00:05,320 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 02:00:05,320 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 2, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('music', 4), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 02:00:05,321 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 03 +***** + +2019-03-23 03:00:02,703 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:02,703 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,704 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:02,704 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,705 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:02,705 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,706 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:02,706 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,707 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,708 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,708 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,709 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:02,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,710 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 03:00:02,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,712 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 03:00:02,714 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 03:00:02,714 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 2, 51, 47, 157454), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 423.904176}, {'datetime': datetime.datetime(2019, 3, 23, 2, 51, 50, 552911), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 389.010618}, {'datetime': datetime.datetime(2019, 3, 23, 2, 51, 53, 772892), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《春夜洛城闻笛》:', 'cost_time_ms': 214.485174}, {'datetime': datetime.datetime(2019, 3, 23, 2, 51, 56, 969550), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本小鹿妈妈讲公主故事,我讲给你听吧。', 'cost_time_ms': 191.215766}, {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 0, 162840), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 187.71482}, {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 3, 429961), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 244.965184}, {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 6, 602491), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 166.706979}, {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 9, 777440), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 169.887483} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 32, 460439), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 146.464891}, {'datetime': datetime.datetime(2019, 3, 23, 2, 52, 35, 642214), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 176.281829}) +2019-03-23 03:00:02,716 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 03:00:02,728 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:02,728 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,729 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:02,729 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,730 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,730 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:02,730 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,732 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,732 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,733 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,733 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 03:00:02,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,742 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:02,742 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,743 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:02,743 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,744 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:02,744 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,745 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,745 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,746 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:02,746 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,747 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 03:00:02,747 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 02:00:00 +时间为:### 2019-03-23 03:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 02:00:00" and datetime< "2019-03-23 03:00:00" +2019-03-23 03:00:02,753 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:02,753 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,754 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:02,754 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,755 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:02,755 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,756 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:02,756 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,757 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,757 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,758 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:02,758 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:02,759 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:02,759 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 02:00:00" and datetime< "2019-03-23 03:00:00" +2019-03-23 03:00:02,759 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 02:00:00" and datetime< "2019-03-23 03:00:00" +2019-03-23 03:00:03,825 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:03,825 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,826 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:03,826 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,827 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:03,827 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,828 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:03,828 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,829 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:03,829 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:03,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,830 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:03,830 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:03,831 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 02:00:00" and datetime< "2019-03-23 03:00:00" +2019-03-23 03:00:03,831 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 03:00:04,855 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:04,855 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,856 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:04,856 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,857 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:04,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,857 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:04,857 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,858 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:04,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,859 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:04,859 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,860 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:04,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,860 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 03:00:04,860 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,863 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 03:00:04,864 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 03:00:04,864 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 3, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 03:00:04,864 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 03:00:04,881 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:04,881 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,882 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:04,882 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,883 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,883 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:04,883 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,884 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:04,884 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:04,885 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,885 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,886 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 03:00:04,886 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:04,888 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 03:00:04,889 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 03:00:04,890 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 3, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 03:00:04,890 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 03:00:05,733 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 03:00:05,733 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,734 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 03:00:05,734 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,734 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 03:00:05,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,735 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 03:00:05,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,736 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:05,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 03:00:05,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,737 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 03:00:05,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,738 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 03:00:05,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 03:00:05,740 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 03:00:05,740 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 03:00:05,741 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 3, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 03:00:05,741 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 04 +***** + +2019-03-23 04:00:02,189 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:02,189 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,190 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:02,190 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,191 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:02,191 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,192 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,194 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,196 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 04:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,198 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 04:00:02,201 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 04:00:02,201 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 3, 51, 47, 157509), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 421.111668}, {'datetime': datetime.datetime(2019, 3, 23, 3, 51, 50, 588911), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 426.06832}, {'datetime': datetime.datetime(2019, 3, 23, 3, 51, 53, 814029), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《早发白帝城》:', 'cost_time_ms': 218.908537}, {'datetime': datetime.datetime(2019, 3, 23, 3, 51, 57, 6812), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '叮当从口袋翻出了这本淘气包马小跳,我讲给你听吧。', 'cost_time_ms': 188.328917}, {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 0, 193400), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 179.52224}, {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 3, 430605), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 232.480186}, {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 6, 594019), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 157.552385}, {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 9, 768605), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 169.788872} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 32, 434016), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 155.355807}, {'datetime': datetime.datetime(2019, 3, 23, 3, 52, 35, 600830), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 162.26374}) +2019-03-23 04:00:02,202 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 04:00:02,215 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:02,215 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,216 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:02,216 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,216 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,217 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:02,217 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,218 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,218 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,219 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,219 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,220 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,220 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 04:00:02,220 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,229 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:02,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,230 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:02,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,231 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:02,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,232 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:02,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,233 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,234 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:02,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,235 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 04:00:02,236 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 03:00:00 +时间为:### 2019-03-23 04:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 03:00:00" and datetime< "2019-03-23 04:00:00" +2019-03-23 04:00:02,243 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:02,243 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,244 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:02,244 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,245 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,245 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:02,245 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,247 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:02,247 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:02,248 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:02,248 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 03:00:00" and datetime< "2019-03-23 04:00:00" +2019-03-23 04:00:02,248 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 03:00:00" and datetime< "2019-03-23 04:00:00" +2019-03-23 04:00:03,317 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:03,317 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,318 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:03,319 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,320 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:03,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,320 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:03,320 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,322 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:03,322 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,323 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:03,323 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,324 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:03,324 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:03,324 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 03:00:00" and datetime< "2019-03-23 04:00:00" +2019-03-23 04:00:03,324 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 04:00:04,381 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:04,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,382 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:04,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,383 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,383 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:04,383 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,384 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,385 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:04,385 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,386 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,386 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 04:00:04,386 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,388 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 04:00:04,390 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 04:00:04,390 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 4, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 04:00:04,390 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 04:00:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,406 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:04,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,407 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:04,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,408 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:04,408 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,409 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:04,409 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,410 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,410 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 04:00:04,410 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:04,413 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 04:00:04,414 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 04:00:04,414 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 4, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 04:00:04,414 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 04:00:05,226 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 04:00:05,226 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,227 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 04:00:05,227 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,228 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 04:00:05,228 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,228 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 04:00:05,229 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,230 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:05,230 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,230 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 04:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,231 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 04:00:05,231 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,232 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 04:00:05,232 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 04:00:05,234 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 04:00:05,235 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 04:00:05,235 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 4, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 04:00:05,235 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 05 +***** + +2019-03-23 05:00:02,593 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:02,593 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,594 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:02,595 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,595 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,596 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:02,596 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,598 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,598 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,599 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:02,599 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,600 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 05:00:02,600 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,602 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 05:00:02,605 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 05:00:02,605 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 4, 51, 47, 157608), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 421.186634}, {'datetime': datetime.datetime(2019, 3, 23, 4, 51, 50, 586960), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 422.632747}, {'datetime': datetime.datetime(2019, 3, 23, 4, 51, 53, 813741), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《将进酒》:', 'cost_time_ms': 221.401282}, {'datetime': datetime.datetime(2019, 3, 23, 4, 51, 57, 14434), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '耳朵支起来,叮当要讲葫芦娃了哦。', 'cost_time_ms': 194.337207}, {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 0, 200500), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 179.520228}, {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 3, 432023), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 225.515648}, {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 6, 603294), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 166.0005}, {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 9, 789868), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 179.520264} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 32, 472276), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 173.964389}, {'datetime': datetime.datetime(2019, 3, 23, 4, 52, 35, 654091), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 175.736406}) +2019-03-23 05:00:02,606 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 05:00:02,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:02,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:02,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,618 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,619 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:02,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,620 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:02,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,622 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 05:00:02,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,630 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:02,630 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,631 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:02,631 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,632 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,632 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:02,632 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,634 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,634 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,635 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:02,635 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,635 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 05:00:02,636 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 04:00:00 +时间为:### 2019-03-23 05:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 04:00:00" and datetime< "2019-03-23 05:00:00" +2019-03-23 05:00:02,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:02,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,643 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:02,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,644 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:02,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,645 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:02,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:02,647 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 04:00:00" and datetime< "2019-03-23 05:00:00" +2019-03-23 05:00:02,647 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 04:00:00" and datetime< "2019-03-23 05:00:00" +2019-03-23 05:00:03,709 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:03,709 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,710 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:03,710 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,711 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:03,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,711 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:03,711 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:03,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,713 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:03,713 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,714 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:03,714 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:03,714 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 04:00:00" and datetime< "2019-03-23 05:00:00" +2019-03-23 05:00:03,714 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 05:00:04,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:04,735 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,735 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,736 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:04,736 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,737 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:04,737 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,738 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:04,738 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,739 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:04,739 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,740 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,740 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 05:00:04,740 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,742 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 05:00:04,743 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 05:00:04,744 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 5, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 05:00:04,744 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 05:00:04,761 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:04,761 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,762 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:04,762 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,762 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,763 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:04,763 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,764 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:04,764 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,765 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:04,765 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,766 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 05:00:04,766 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:04,768 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 05:00:04,769 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 05:00:04,769 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 5, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 05:00:04,770 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 05:00:05,638 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 05:00:05,638 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,639 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 05:00:05,639 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,640 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 05:00:05,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,640 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 05:00:05,640 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:05,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,642 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 05:00:05,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,643 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 05:00:05,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,643 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 05:00:05,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 05:00:05,645 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 05:00:05,646 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 05:00:05,646 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 5, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 05:00:05,647 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 06 +***** + +2019-03-23 06:00:02,140 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:02,140 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,142 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:02,142 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,143 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,143 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:02,143 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,145 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,145 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,146 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:02,146 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,147 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 06:00:02,147 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,150 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 06:00:02,152 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 06:00:02,152 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 5, 51, 47, 167628), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 431.776555}, {'datetime': datetime.datetime(2019, 3, 23, 5, 51, 50, 587103), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 414.022781}, {'datetime': datetime.datetime(2019, 3, 23, 5, 51, 53, 820920), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《春夜洛城闻笛》:', 'cost_time_ms': 227.242525}, {'datetime': datetime.datetime(2019, 3, 23, 5, 51, 57, 24306), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '听故事找叮当就对啦,先来听黑猫警长吧。', 'cost_time_ms': 197.666947}, {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 0, 215492), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 185.309259}, {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 3, 461503), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 240.606094}, {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 6, 630573), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 163.209287}, {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 9, 810784), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 174.925042} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 32, 461040), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 162.944316}, {'datetime': datetime.datetime(2019, 3, 23, 5, 52, 35, 639455), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 173.51511}) +2019-03-23 06:00:02,154 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 06:00:02,166 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:02,166 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,167 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:02,167 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,168 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,168 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:02,168 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,169 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,169 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,170 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,170 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,171 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:02,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,171 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 06:00:02,171 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:02,180 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,180 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,181 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:02,181 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,182 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:02,182 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,183 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,183 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,184 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,184 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:02,185 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,185 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 06:00:02,185 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 05:00:00 +时间为:### 2019-03-23 06:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 05:00:00" and datetime< "2019-03-23 06:00:00" +2019-03-23 06:00:02,191 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,192 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:02,192 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,193 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:02,193 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,194 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:02,194 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,195 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:02,195 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:02,196 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:02,196 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 05:00:00" and datetime< "2019-03-23 06:00:00" +2019-03-23 06:00:02,196 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 05:00:00" and datetime< "2019-03-23 06:00:00" +2019-03-23 06:00:03,205 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:03,205 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,206 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:03,206 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,207 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:03,207 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,208 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:03,208 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,209 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:03,209 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,210 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:03,210 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,211 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:03,211 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:03,211 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 05:00:00" and datetime< "2019-03-23 06:00:00" +2019-03-23 06:00:03,211 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 06:00:04,233 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:04,233 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,234 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:04,234 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,235 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:04,235 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,236 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:04,236 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,237 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:04,237 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:04,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,238 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:04,238 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,239 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 06:00:04,239 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,241 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 06:00:04,242 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 06:00:04,242 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 6, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 06:00:04,243 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 06:00:04,256 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:04,256 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,256 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:04,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,257 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:04,257 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,258 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:04,258 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,259 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:04,259 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:04,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,260 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:04,260 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,261 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 06:00:04,261 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:04,263 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 06:00:04,264 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 06:00:04,264 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 6, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 06:00:04,265 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 06:00:05,104 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 06:00:05,104 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,105 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 06:00:05,105 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,106 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 06:00:05,106 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,107 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 06:00:05,107 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,108 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:05,108 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,109 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 06:00:05,109 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,109 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 06:00:05,110 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,111 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 06:00:05,111 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 06:00:05,113 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 06:00:05,114 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 06:00:05,114 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 6, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 06:00:05,114 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 07 +***** + +2019-03-23 07:00:02,478 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:02,478 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,479 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:02,480 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,480 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,481 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:02,481 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,483 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,483 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,484 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:02,484 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,485 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 07:00:02,485 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,487 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 07:00:02,490 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 07:00:02,490 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 6, 51, 47, 229078), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '我挑了一些你可能会喜欢的歌,听听吧。', 'cost_time_ms': 493.009851}, {'datetime': datetime.datetime(2019, 3, 23, 6, 51, 50, 630030), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 395.264855}, {'datetime': datetime.datetime(2019, 3, 23, 6, 51, 53, 859537), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《早发白帝城》:', 'cost_time_ms': 222.550696}, {'datetime': datetime.datetime(2019, 3, 23, 6, 51, 57, 351234), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从黑猫警长开始吧。', 'cost_time_ms': 486.290626}, {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 0, 540809), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 183.786171}, {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 3, 747855), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'joke', 'intent': 'tell', 'response_data': '', 'cost_time_ms': 200.845648}, {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 6, 916840), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'astro', 'intent': 'search_info', 'response_data': '我需要知道具体的星座,比如对我说:“查一下狮子座的信息。”', 'cost_time_ms': 159.292023}, {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 10, 99923), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'holiday', 'intent': 'search_holiday', 'response_data': '距离最近的一个法定节假日是清明节,从4月5日到4月7日一共放假3天。', 'cost_time_ms': 176.742678} ... displaying 10 of 16 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 32, 741672), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 157.264548}, {'datetime': datetime.datetime(2019, 3, 23, 6, 52, 35, 926915), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 179.959918}) +2019-03-23 07:00:02,491 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 07:00:02,502 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,503 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:02,503 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,504 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:02,504 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,505 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:02,505 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,506 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,506 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,507 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:02,507 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,508 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 07:00:02,508 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,516 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:02,516 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,517 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:02,517 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,518 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,518 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:02,518 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,520 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,520 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,521 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:02,521 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,521 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 07:00:02,521 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 06:00:00 +时间为:### 2019-03-23 07:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 06:00:00" and datetime< "2019-03-23 07:00:00" +2019-03-23 07:00:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,528 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:02,528 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,529 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:02,529 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,530 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:02,530 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,531 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,531 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,532 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:02,532 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:02,533 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 06:00:00" and datetime< "2019-03-23 07:00:00" +2019-03-23 07:00:02,533 INFO sqlalchemy.engine.base.Engine {} +****16 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 06:00:00" and datetime< "2019-03-23 07:00:00" +2019-03-23 07:00:03,585 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:03,585 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,586 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:03,586 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,587 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,587 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:03,587 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,589 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:03,589 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:03,590 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:03,590 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 06:00:00" and datetime< "2019-03-23 07:00:00" +2019-03-23 07:00:03,591 INFO sqlalchemy.engine.base.Engine {} +****16 +15 +all****1 + +all****15 + +****1 + +****15 + +Start domain data classification: +2019-03-23 07:00:04,617 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:04,617 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,618 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:04,618 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,619 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:04,619 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,619 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:04,620 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:04,621 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,621 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,622 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:04,622 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,623 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 07:00:04,623 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,625 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 07:00:04,626 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 07:00:04,626 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 7, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 07:00:04,627 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 07:00:04,642 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:04,642 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,643 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:04,643 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,644 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:04,644 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,645 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:04,645 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,646 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:04,646 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,647 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,647 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 07:00:04,647 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:04,650 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 07:00:04,651 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 07:00:04,651 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 7, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 1, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 07:00:04,651 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 07:00:05,494 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 07:00:05,494 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,495 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 07:00:05,495 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,496 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 07:00:05,496 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,496 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 07:00:05,497 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:05,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,498 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 07:00:05,498 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,499 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 07:00:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,499 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 07:00:05,499 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 07:00:05,501 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 07:00:05,502 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 07:00:05,502 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 7, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('almanac', 1), ('ancient_poem', 1), ('astro', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 07:00:05,502 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 08 +***** + +2019-03-23 08:00:02,900 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:02,900 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,901 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:02,901 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,902 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,902 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:02,902 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,904 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,904 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,905 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:02,905 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,906 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 08:00:02,906 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,908 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 08:00:02,910 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 08:00:02,911 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 7, 0, 11, 580090), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '唱一首我的回忆不是我的', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '叮当陪你听海鸣威的我的回忆不是我的。', 'cost_time_ms': 1118.921298}, {'datetime': datetime.datetime(2019, 3, 23, 7, 13, 37, 537472), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '友情卡片', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一首沙宝亮的友情卡片送给你。', 'cost_time_ms': 575.815815}, {'datetime': datetime.datetime(2019, 3, 23, 7, 48, 49, 886591), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我的回忆不是我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 358.723385}, {'datetime': datetime.datetime(2019, 3, 23, 7, 51, 47, 145884), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '一起听听今日份最佳音乐吧。', 'cost_time_ms': 413.603761}, {'datetime': datetime.datetime(2019, 3, 23, 7, 51, 50, 572348), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 418.232192}, {'datetime': datetime.datetime(2019, 3, 23, 7, 51, 53, 795862), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《宣州谢脁楼饯别校书叔云》:', 'cost_time_ms': 218.218995}, {'datetime': datetime.datetime(2019, 3, 23, 7, 51, 56, 993690), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从葫芦娃开始吧。', 'cost_time_ms': 192.125909}, {'datetime': datetime.datetime(2019, 3, 23, 7, 52, 0, 193064), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'sports', 'intent': 'search_time', 'response_data': '还在休赛期,没有比赛。', 'cost_time_ms': 194.315114} ... displaying 10 of 19 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 7, 52, 32, 458029), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 158.398698}, {'datetime': datetime.datetime(2019, 3, 23, 7, 52, 35, 629825), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 166.546255}) +2019-03-23 08:00:02,912 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 08:00:02,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,932 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:02,932 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,933 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:02,933 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,934 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:02,934 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,935 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,935 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,936 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,936 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 08:00:02,936 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,944 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:02,944 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,945 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:02,945 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,946 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,946 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:02,946 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,947 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,949 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,950 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:02,950 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,950 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 08:00:02,952 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,954 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 08:00:02,955 INFO sqlalchemy.engine.base.Engine INSERT INTO application_error_data (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 08:00:02,955 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 7, 48, 49, 886591), 'mac_wifi': 'f4911e69b6a7', 'mac_voice': 'c46e7b6f5beb', 'query': '我的回忆不是我', 'classify': 'application', 'code': -3, 'domain': 'chat', 'intent': 'chat', 'response_data': '悄悄告诉你,其实我没听懂你说了什么。', 'cost_time_ms': 358.723385} +2019-03-23 08:00:02,955 INFO sqlalchemy.engine.base.Engine COMMIT +storage the data to SQL is complete +时间为:### 2019-03-23 07:00:00 +时间为:### 2019-03-23 08:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 07:00:00" and datetime< "2019-03-23 08:00:00" +2019-03-23 08:00:02,963 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:02,963 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,964 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:02,964 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,965 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,965 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:02,965 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,966 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,966 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:02,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,967 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:02,967 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:02,968 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 07:00:00" and datetime< "2019-03-23 08:00:00" +2019-03-23 08:00:02,968 INFO sqlalchemy.engine.base.Engine {} +****19 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 07:00:00" and datetime< "2019-03-23 08:00:00" +2019-03-23 08:00:03,993 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:03,993 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,994 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:03,994 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,995 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:03,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,995 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:03,995 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:03,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,997 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:03,997 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,998 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:03,998 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:03,998 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 07:00:00" and datetime< "2019-03-23 08:00:00" +2019-03-23 08:00:03,998 INFO sqlalchemy.engine.base.Engine {} +****19 +18 +all****1 + +all****18 + +****1 + +****17 + +Start domain data classification: +2019-03-23 08:00:05,050 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:05,050 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,051 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:05,051 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,052 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,052 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:05,052 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,054 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,054 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,055 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:05,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,055 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 08:00:05,055 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,057 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 08:00:05,059 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 08:00:05,059 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 8, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 08:00:05,059 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 08:00:05,072 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:05,072 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,072 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:05,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,073 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:05,073 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,074 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:05,074 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,075 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,075 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,076 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,076 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 08:00:05,076 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,078 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 08:00:05,080 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 08:00:05,080 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 8, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 1, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 3, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 0} +2019-03-23 08:00:05,080 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 08:00:05,891 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:00:05,891 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,892 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:00:05,892 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,893 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:00:05,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,893 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:00:05,893 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,895 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:00:05,895 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,896 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:00:05,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,896 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 08:00:05,896 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:00:05,898 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 08:00:05,899 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 08:00:05,899 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 8, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('almanac', 1), ('ancient_poem', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('almanac', 0), ('ancient_poem', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 08:00:05,899 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt +*****datetime: +2019-03-23 09 +***** + +2019-03-23 09:00:02,325 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:02,326 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,327 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:02,327 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,328 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:02,328 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,329 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:02,329 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,330 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,330 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,331 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:02,331 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,332 INFO sqlalchemy.engine.base.Engine DESCRIBE `semantic_data_table` +2019-03-23 09:00:02,332 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,335 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 09:00:02,337 INFO sqlalchemy.engine.base.Engine INSERT INTO semantic_data_table (datetime, mac_wifi, mac_voice, query, classify, code, domain, intent, response_data, cost_time_ms) VALUES (%(datetime)s, %(mac_wifi)s, %(mac_voice)s, %(query)s, %(classify)s, %(code)s, %(domain)s, %(intent)s, %(response_data)s, %(cost_time_ms)s) +2019-03-23 09:00:02,337 INFO sqlalchemy.engine.base.Engine ({'datetime': datetime.datetime(2019, 3, 23, 8, 33, 17, 310437), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '今天珠海天气', 'classify': 'application', 'code': 0, 'domain': 'weather', 'intent': 'general_search', 'response_data': '珠海今天阴,气温18度到21度,比昨天冷一些,空气质量良。格力空调祝您生活愉快。', 'cost_time_ms': 565.582139}, {'datetime': datetime.datetime(2019, 3, 23, 8, 33, 47, 65219), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '播放歌曲', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '最喜欢和你一起听音乐的时光啦。', 'cost_time_ms': 482.031759}, {'datetime': datetime.datetime(2019, 3, 23, 8, 40, 17, 833228), 'mac_wifi': 'f4911e7376f1', 'mac_voice': 'c46e7b7020b1', 'query': '播放一首绿色阁', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '陪你一起听kevinkern的绿色阁。', 'cost_time_ms': 711.926892}, {'datetime': datetime.datetime(2019, 3, 23, 8, 51, 5, 223628), 'mac_wifi': 'f4911e31d78f', 'mac_voice': 'c46e7b7026c5', 'query': '还有其他好几次', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '好几次都想跟你说话。', 'cost_time_ms': 339.972315}, {'datetime': datetime.datetime(2019, 3, 23, 8, 51, 47, 32809), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'music', 'intent': 'play', 'response_data': '为你推荐今天最适合你的音乐。', 'cost_time_ms': 299.613547}, {'datetime': datetime.datetime(2019, 3, 23, 8, 51, 50, 488220), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'news', 'intent': 'search', 'response_data': '以下是最新的热点新闻:', 'cost_time_ms': 448.215778}, {'datetime': datetime.datetime(2019, 3, 23, 8, 51, 53, 717465), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'ancient_poem', 'intent': 'search_tangshi', 'response_data': '推荐你欣赏唐代李白的作品,《古朗月行》:', 'cost_time_ms': 223.186853}, {'datetime': datetime.datetime(2019, 3, 23, 8, 51, 56, 966517), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'fm', 'intent': 'play', 'response_data': '宝贝,好听的故事那么多,我们就从可爱蓝精灵的故事-麦甜开始吧。', 'cost_time_ms': 243.402232} ... displaying 10 of 20 total bound parameter sets ... {'datetime': datetime.datetime(2019, 3, 23, 8, 52, 32, 705245), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'application', 'code': 0, 'domain': 'chat', 'intent': 'chat', 'response_data': '都行,看你。', 'cost_time_ms': 176.673536}, {'datetime': datetime.datetime(2019, 3, 23, 8, 52, 35, 959357), 'mac_wifi': '560192', 'mac_voice': '560192', 'query': '周杰伦的双截棍', 'classify': 'control', 'code': 0, 'domain': 'airconditioner', 'intent': 'control_on', 'response_data': 'success', 'cost_time_ms': 248.346485}) +2019-03-23 09:00:02,339 INFO sqlalchemy.engine.base.Engine COMMIT +2019-03-23 09:00:02,350 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:02,350 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,351 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:02,351 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,352 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,352 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:02,352 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,354 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,354 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,354 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,355 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:02,355 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,356 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_error_data` +2019-03-23 09:00:02,356 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,364 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:02,364 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,365 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:02,365 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,366 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:02,366 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,367 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:02,367 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,368 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,368 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,369 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:02,369 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,370 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_error_data` +2019-03-23 09:00:02,370 INFO sqlalchemy.engine.base.Engine {} +storage the data to SQL is complete +时间为:### 2019-03-23 08:00:00 +时间为:### 2019-03-23 09:00:00 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 08:00:00" and datetime< "2019-03-23 09:00:00" +2019-03-23 09:00:02,377 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,378 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:02,378 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,379 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:02,379 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,380 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:02,380 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,381 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:02,381 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,382 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:02,382 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:02,382 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 08:00:00" and datetime< "2019-03-23 09:00:00" +2019-03-23 09:00:02,383 INFO sqlalchemy.engine.base.Engine {} +****20 +1 +SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 08:00:00" and datetime< "2019-03-23 09:00:00" +2019-03-23 09:00:03,402 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:03,402 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,403 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:03,403 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,404 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:03,404 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,405 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:03,405 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,406 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:03,406 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,406 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,407 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:03,407 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:03,408 INFO sqlalchemy.engine.base.Engine SELECT * FROM semantic_data_table WHERE datetime >= "2019-03-23 08:00:00" and datetime< "2019-03-23 09:00:00" +2019-03-23 09:00:03,408 INFO sqlalchemy.engine.base.Engine {} +****20 +19 +all****1 + +all****19 + +****1 + +****19 + +Start domain data classification: +2019-03-23 09:00:04,431 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:04,431 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,432 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:04,432 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,433 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:04,433 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,433 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:04,434 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,435 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:04,435 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,436 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:04,436 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,437 INFO sqlalchemy.engine.base.Engine DESCRIBE `control_domain_data` +2019-03-23 09:00:04,437 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,439 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 09:00:04,440 INFO sqlalchemy.engine.base.Engine INSERT INTO control_domain_data (datetime, aircleaner, airconditioner, airconditionerfan, airsteward, curtain, dehumidifier, disinfection, fanner, furnace, humidifier, playcontrol, refrigerator, ricecooker, smokelampblackmachine, universalcontrol, ventilation, washingmachine, waterheater) VALUES (%(datetime)s, %(aircleaner)s, %(airconditioner)s, %(airconditionerfan)s, %(airsteward)s, %(curtain)s, %(dehumidifier)s, %(disinfection)s, %(fanner)s, %(furnace)s, %(humidifier)s, %(playcontrol)s, %(refrigerator)s, %(ricecooker)s, %(smokelampblackmachine)s, %(universalcontrol)s, %(ventilation)s, %(washingmachine)s, %(waterheater)s) +2019-03-23 09:00:04,440 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 9, 0), 'aircleaner': 0, 'airconditioner': 1, 'airconditionerfan': 0, 'airsteward': 0, 'curtain': 0, 'dehumidifier': 0, 'disinfection': 0, 'fanner': 0, 'furnace': 0, 'humidifier': 0, 'playcontrol': 0, 'refrigerator': 0, 'ricecooker': 0, 'smokelampblackmachine': 0, 'universalcontrol': 0, 'ventilation': 0, 'washingmachine': 0, 'waterheater': 0} +2019-03-23 09:00:04,441 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start domain data classification: +2019-03-23 09:00:04,456 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:04,456 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,457 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:04,457 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,458 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:04,458 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,458 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:04,459 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,460 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:04,460 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,461 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,461 INFO sqlalchemy.engine.base.Engine DESCRIBE `application_domain_data` +2019-03-23 09:00:04,461 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:04,464 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 09:00:04,465 INFO sqlalchemy.engine.base.Engine INSERT INTO application_domain_data (datetime, almanac, ancient_poem, astro, baike, chat, chengyu, common_qa, finance, fm, food, general_question_answering, history, holiday, joke, music, news, recipe, science, sound, sports, stock, translate, weather) VALUES (%(datetime)s, %(almanac)s, %(ancient_poem)s, %(astro)s, %(baike)s, %(chat)s, %(chengyu)s, %(common_qa)s, %(finance)s, %(fm)s, %(food)s, %(general_question_answering)s, %(history)s, %(holiday)s, %(joke)s, %(music)s, %(news)s, %(recipe)s, %(science)s, %(sound)s, %(sports)s, %(stock)s, %(translate)s, %(weather)s) +2019-03-23 09:00:04,465 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 9, 0), 'almanac': 1, 'ancient_poem': 1, 'astro': 1, 'baike': 1, 'chat': 2, 'chengyu': 0, 'common_qa': 0, 'finance': 1, 'fm': 1, 'food': 0, 'general_question_answering': 0, 'history': 0, 'holiday': 1, 'joke': 1, 'music': 3, 'news': 1, 'recipe': 0, 'science': 1, 'sound': 0, 'sports': 1, 'stock': 1, 'translate': 1, 'weather': 1} +2019-03-23 09:00:04,465 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write +Start cost time data statistics: +2019-03-23 09:00:05,307 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 09:00:05,307 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,308 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 09:00:05,308 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,309 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 09:00:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,309 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 09:00:05,309 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,311 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 09:00:05,311 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,312 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 09:00:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,312 INFO sqlalchemy.engine.base.Engine DESCRIBE `cost_time_data` +2019-03-23 09:00:05,312 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 09:00:05,314 INFO sqlalchemy.engine.base.Engine BEGIN (implicit) +2019-03-23 09:00:05,315 INFO sqlalchemy.engine.base.Engine INSERT INTO cost_time_data (datetime, `0~500ms`, `1000~2000ms`, `2000~3000ms`, `3000~5000ms`, `500~1000ms`, morethan5000ms) VALUES (%(datetime)s, %(0~500ms)s, %(1000~2000ms)s, %(2000~3000ms)s, %(3000~5000ms)s, %(500~1000ms)s, %(morethan5000ms)s) +2019-03-23 09:00:05,315 INFO sqlalchemy.engine.base.Engine {'datetime': datetime.datetime(2019, 3, 23, 9, 0), '0~500ms': "[('airconditioner', 1), ('aircleaner', 0), ('airconditionerfan', 0), ('chat', 2), ('music', 2), ('almanac', 1)]", '1000~2000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '2000~3000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '3000~5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]", '500~1000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('music', 1), ('weather', 1), ('almanac', 0)]", 'morethan5000ms': "[('aircleaner', 0), ('airconditioner', 0), ('airconditionerfan', 0), ('almanac', 0), ('ancient_poem', 0), ('astro', 0)]"} +2019-03-23 09:00:05,316 INFO sqlalchemy.engine.base.Engine COMMIT +Complete write diff --git a/bottom_function/processing_unisound_logfile.py b/processing_unisound_logfile.py similarity index 86% rename from bottom_function/processing_unisound_logfile.py rename to processing_unisound_logfile.py index e58569a42c88187c25a8ae02a76d83019434b98c..088c830826ae54572c58111005df479cf88eb0ed 100644 --- a/bottom_function/processing_unisound_logfile.py +++ b/processing_unisound_logfile.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # author:Li Mingjie time:2019/1/24 # Brief:process unisound logfile @@ -9,13 +9,16 @@ import threading import bottom_function.m_SQL as qb import datetime as dt import paramiko +import os +import time +import bottom_function.data_read as dr class timing_processing: def __init__(self): self.data = pd.DataFrame() self.datetime = pd.Timestamp("2019-01-01 00:00:00") - self.db = qb.Schema(host="localhost", user="root", password="560193", mysqlName="semantic_data_schema", + self.db = qb.Schema(host="localhost", user="560193", password="jay560193", mysqlName="semantic_data_schema", port="3306") self.gree_list = ["aircleaner", "airconditioner", "airconditionerfan", "airsteward", "curtain", "dehumidifier", "disinfection", "fanner", "furnace", "humidifier", "playcontrol", @@ -27,7 +30,10 @@ class timing_processing: "recipe", "science", "sound", "sports", "stock", "translate", "weather"] def data_storage(self): - data = open('./data/unisound_logfile', 'r', encoding='utf-8').readlines() + os.system("sh /home/work/semantic_platform_DAS/bottom_function/data/sortLog.sh") + data = open('/home/work/semantic_platform_DAS/bottom_function/data/semantic/order/semantic.txt', 'r', encoding='utf-8').readlines() + if len(data) == 0: + print("data is null") datetime_data = [] macwifi_data = [] @@ -41,6 +47,8 @@ class timing_processing: costtime_data = [] error_data = [] + error_num = [] + n = 1 for line_data in data: if line_data == '': continue @@ -56,7 +64,10 @@ class timing_processing: # data1 = data1.replace('\\', '') data1 = data1.replace('response:', '"response":').replace('costtime:', ',"costtime":"') data1 = data1.replace('\t', '') - js_data = json.loads(data1) + try: + js_data = json.loads(data1) + except: + error_data.append(line_data) try: dom = 'null' @@ -118,40 +129,46 @@ class timing_processing: costtime_data.append(m_cost) except: error_data.append(line_data) + error_num.append(n) + n += 1 outdata = pd.DataFrame( {'datetime': datetime_data, 'mac_wifi': macwifi_data, 'mac_voice': macvoice_data, 'query': query_data, 'classify': classify_data, 'code': code_data, 'domain': domain_data, 'intent': intent_data, 'response_data': response_data, 'cost_time_ms': costtime_data}) - errordata = pd.DataFrame({'data': error_data}) + #errordata = pd.DataFrame({'num': error_num, 'data': error_data}) outdata['datetime'] = pd.to_datetime(outdata['datetime']) outdata = outdata.sort_values(by=['datetime']) - self.datetime = dt.datetime.strftime(outdata['datetime'][0], "%Y-%m-%d %H ") + # print(outdata['datetime']) + self.datetime = time.strftime("%Y-%m-%d %H ", time.localtime(time.time())) outdata = outdata.set_index('datetime') self.data = outdata + control_error_data = outdata[(outdata['classify'] == 'control') & (outdata['code'] != 0)] application_error_data = outdata[(outdata['classify'] == 'application') & (outdata['code'] != 0)] - control_error_data.drop_duplicates(subset='query', keep='first', inplace=True) - application_error_data.drop_duplicates(subset='query', keep='first', inplace=True) + + # control_error_data.drop_duplicates(subset='query', keep='first', inplace=True) + # application_error_data.drop_duplicates(subset='query', keep='first', inplace=True) self.db.dataframeToMysql(data=outdata, tableName="semantic_data_table") - self.db.dataframeToMysql(data=errordata, tableName="error_format_data") self.db.dataframeToMysql(data=control_error_data, tableName="control_error_data") self.db.dataframeToMysql(data=application_error_data, tableName="application_error_data") + #errordata.to_csv('./bottom_function/data/fromat_error_data.csv') - print('storage the data to SQL is complete') + # self.domain_data_to_statistics(control_data, data_type="control") + # self.domain_data_to_statistics(application_data, data_type="application") + # self.costtime_data_to_statistics(outdata) - # timer=threading.Timer(3600,data_storage) - # timer.start() + print('storage the data to SQL is complete') def domain_data_to_statistics(self, data, data_type): print('Start domain data classification:') data_dict_domain = {} if data_type == 'control': - data_dict_domain = {"datetime": pd.Timestamp(2019, 1, 1), "aircleaner": 0, "airconditioner": 0, + data_dict_domain = {"datetime": self.datetime, "aircleaner": 0, "airconditioner": 0, "airconditionerfan": 0, "airsteward": 0, "curtain": 0, "dehumidifier": 0, "disinfection": 0, "fanner": 0, "furnace": 0, "humidifier": 0, "playcontrol": 0, "refrigerator": 0, "ricecooker": 0, @@ -163,7 +180,7 @@ class timing_processing: domain_list = self.gree_list elif data_type == 'application': - data_dict_domain = {"datetime": pd.Timestamp(2019, 1, 1), "almanac": 0, "ancient_poem": 0, "astro": 0, + data_dict_domain = {"datetime": self.datetime, "almanac": 0, "ancient_poem": 0, "astro": 0, "baike": 0, "chat": 0, "chengyu": 0, "common_qa": 0, "finance": 0, "fm": 0, "food": 0, "general_question_answering": 0, "history": 0, "holiday": 0, "joke": 0, "music": 0, "news": 0, "recipe": 0, "science": 0, "sound": 0, "sports": 0, "stock": 0, @@ -186,7 +203,7 @@ class timing_processing: if domain_data not in domain_list: if data_type == 'control': self.gree_list.append(domain_data) - if data_type == 'control': + if data_type == 'application': self.tencent_list.append(domain_data) self.db.setAddField(tableName=table_name, field=domain_data) @@ -205,7 +222,7 @@ class timing_processing: gree_list = self.gree_list tencent_list = self.tencent_list - all_data_dict = {"datetime": pd.Timestamp(2019, 1, 1), "0~500ms": "0", "500~1000ms": "0", "1000~2000ms": "0", + all_data_dict = {"datetime": self.datetime, "0~500ms": "0", "500~1000ms": "0", "1000~2000ms": "0", "2000~3000ms": "0", "3000~5000ms": "0", "morethan5000ms": "0", } all_tencent_dict = {} @@ -213,8 +230,8 @@ class timing_processing: gree_data_dict = {} tencent_data_dict = {} - tencent_data = data[data['classify'] == 'tencent'] - gree_data = data[data['classify'] == 'gree'] + tencent_data = data[data['classify'] == 'application'] + gree_data = data[data['classify'] == 'control'] for dom1 in tencent_list: num1 = tencent_data.loc[(tencent_data['cost_time_ms'] >= 0) & (tencent_data['cost_time_ms'] < 500) & ( tencent_data['domain'] == dom1), ['domain', 'cost_time_ms']].domain.count() @@ -374,17 +391,33 @@ class timing_processing: def run(self): self.data_storage() - controldata = self.data[(self.data['classify'] == 'gree') & (self.data['code'] == 0)] - applicationdata = self.data[(self.data['classify'] == 'tencent') & (self.data['code'] == 0)] + pr_datetime = time.strftime("%Y-%m-%d %H ", time.localtime(time.time() - 3600)) + pr_datetime = str(pd.to_datetime(pr_datetime)) + nw_datetime = str(pd.to_datetime(self.datetime)) + print("时间为:### %s" % pr_datetime) + print("时间为:### %s" % nw_datetime) + cdata = dr.read_data(datatype='control', starttime=pr_datetime, endtime=nw_datetime) + adata = dr.read_data(datatype='application', starttime=pr_datetime, endtime=nw_datetime) + print("all****%d\n" % (len(cdata))) + print("all****%d\n" % (len(adata))) + controldata = cdata[cdata['code'] == 0] + applicationdata = adata[adata['code'] == 0] + print("****%d\n" % (len(controldata))) + print("****%d\n" % (len(applicationdata))) self.domain_data_to_statistics(data=controldata, data_type="control") self.domain_data_to_statistics(data=applicationdata, data_type="application") self.costtime_data_to_statistics(data=self.data) -# TP = timing_processing() -# TP.run() -# timer = threading.Timer(20, TP.run) -# timer.start() +def load_run(): + print ("*****datetime:") + print(time.strftime("%Y-%m-%d %H ", time.localtime(time.time()))) + print ("*****\n") + TP = timing_processing() + TP.run() + + +load_run() # st = pd.Timestamp("2018-12-01 00:00:00") # et = pd.Timestamp("2019-01-01 00:00:00") @@ -404,5 +437,5 @@ class timing_processing: # TP.domain_data_to_statistics(data=applicationdata, data_type="application") # TP.costtime_data_to_statistics(data=data) -TP = timing_processing() -TP.data_storage() +# TP = timing_processing() +# TP.data_storage() diff --git a/response_analysis.py b/response_analysis.py index 72a85d00e8b8668be9ac7b2a0b8560f6cea457df..4e6660de23e19ca9307149a7a09de88728614c6b 100644 --- a/response_analysis.py +++ b/response_analysis.py @@ -2,49 +2,49 @@ # author:Li Mingjie time:2019/3/7 # Brief: -import json -from flask import Flask -from flask import request -from flask_cors import CORS -import response_time_analysis -import response_error_analysis - -app = Flask(__name__) -CORS(app, supports_credentials=True) - - -@app.route('/SPDAS/response_analysis1', methods=['POST']) -def domain(): - param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], - "effect_type": [{"value": "cost_time"}, {"value": "response_error"}], - "time": "2018-12-01 00:00:00/2018-12-02 00:00:00"}) - return json.JSONEncoder().encode(param) - - -@app.route('/SPDAS/response_analysis2', methods=['POST']) -def domain_form(): - # 需要从request对象读取表单内容: - data = request.get_data() - json_re = json.loads(data) - datatype = json_re['data_type'] - - effecttype = json_re['effect_type'] - m_time = json_re['time'] - str_time = str(m_time) - m_time = str_time.split('/') - starttime = m_time[0] - endtime = m_time[1] - if effecttype == 'cost_time': - image_path = response_time_analysis.cost_time_plot(datatype=datatype, starttime=starttime, endtime=endtime) - path = ({"response_image": image_path}) - return json.JSONEncoder().encode(path) - else: - image_path = response_error_analysis.error_data_statistics_plot(datatype=datatype, starttime=starttime, - endtime=endtime, - graphtype='bar') - path = ({"response_image": image_path}) - return json.JSONEncoder().encode(path) - - -if __name__ == '__main__': - app.run(debug=True, host='10.7.19.129', port=5000) +# import json +# from flask import Flask +# from flask import request +# from flask_cors import CORS +# import response_time_analysis +# import response_error_analysis +# +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# +# @app.route('/SPDAS/response_analysis1', methods=['POST']) +# def domain(): +# param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], +# "effect_type": [{"value": "cost_time"}, {"value": "response_error"}], +# "time": "2018-12-01 00:00:00/2018-12-02 00:00:00"}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/response_analysis2', methods=['POST']) +# def domain_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# datatype = json_re['data_type'] +# +# effecttype = json_re['effect_type'] +# m_time = json_re['time'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# if effecttype == 'cost_time': +# image_path = response_time_analysis.cost_time_plot(datatype=datatype, starttime=starttime, endtime=endtime) +# path = ({"response_image": image_path}) +# return json.JSONEncoder().encode(path) +# else: +# image_path = response_error_analysis.error_data_statistics_plot(datatype=datatype, starttime=starttime, +# endtime=endtime, +# graphtype='bar') +# path = ({"response_image": image_path}) +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000) diff --git a/response_error_analysis.py b/response_error_analysis.py index 5e63d74e1e95ddef82a4b7ee106e280262601601..9c620c8a631e4544db52491026bf06a44cfbaf20 100644 --- a/response_error_analysis.py +++ b/response_error_analysis.py @@ -4,15 +4,19 @@ import pandas as pd import matplotlib.pyplot as plt -import sys import bottom_function.data_read as dr -import cgi def error_data_statistics_plot(datatype, starttime, endtime, graphtype): + if datatype == 'control': + datatype = 'error_control' + else: + datatype = 'error_application' csv_data = pd.DataFrame() csv_data = dr.read_data(datatype=datatype, starttime=starttime, endtime=endtime) + print(len(csv_data)) csv_data.drop_duplicates(subset='query', keep='first', inplace=True) + csv_data = csv_data.reset_index(drop=True) error_dict = {} for i in range(len(csv_data)): error_code = "error " + str(csv_data.ix[i]['code']) @@ -21,7 +25,7 @@ def error_data_statistics_plot(datatype, starttime, endtime, graphtype): else: error_dict.update({error_code: 1}) - fig = plt.figure(figsize=(10, 6)) + plt.figure(figsize=(10, 8)) if graphtype == 'pie': e = [] code_other = 0 @@ -54,10 +58,9 @@ def error_data_statistics_plot(datatype, starttime, endtime, graphtype): for x, y in zip(range(len(num_list)), num_list): plt.text(x, y, '%d' % y, ha='center', va='bottom', fontsize=9) - plt.title(str(starttime) + ' to ' + str(endtime) + ' semantic domain analysis of ' + graphtype + ' graph', - fontsize=12) + plt.title(str(starttime) + ' to ' + str(endtime) + ' ' + datatype + ' response analysis of ' + graphtype + ' graph', + fontsize=15) plt.tight_layout(5) path = '/roobo/soft/phpmyadmin/response_error.jpg' plt.savefig(path) - return path - + return 'http://120.79.171.145:8000/response_error.jpg' diff --git a/response_time_analysis.py b/response_time_analysis.py index a6a3bea0082ff9664c561b4fd1a6f354971c19e8..6d112577353f460512d46b47f8094f1bfd223607 100644 --- a/response_time_analysis.py +++ b/response_time_analysis.py @@ -4,13 +4,14 @@ import matplotlib.pyplot as plt import bottom_function.data_read as dr +import numpy as np def cost_time_plot(datatype, starttime, endtime): cost_time_dict = dr.read_cost_time_data(datatype=datatype, starttime=starttime, endtime=endtime) y_max = 0 xl_list = list(cost_time_dict.keys()) - fig = plt.figure(figsize=(10, 6)) + plt.figure(figsize=(10, 8)) for x in range(6): lab_list = [] @@ -26,6 +27,8 @@ def cost_time_plot(datatype, starttime, endtime): plt.bar(x_list, y_list, width=0.2, color=['r', 'g', 'b']) for i, j, lab in zip(x_list, y_list, lab_list): + if j == 0: + continue plt.text(i, j, lab, ha='center', va='bottom', fontsize=9, rotation=70) # plt.rcParams['font.family'] = ['sans-serif'] # plt.rcParams['font.sans-serif'] = ['SimHei'] @@ -33,13 +36,13 @@ def cost_time_plot(datatype, starttime, endtime): plt.ylim(0, y_max * 1.2) plt.xticks(np.arange(0.5, 6, 1), xl_list) if datatype == 'application': - plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of application resources', fontsize=12) + plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of application resources', fontsize=15) elif datatype == 'control': - plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of control resources', fontsize=12) + plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of control resources', fontsize=15) else: - plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of all resources', fontsize=12) + plt.title(str(starttime) + ' to ' + str(endtime) + ' cost time analysis of all resources', fontsize=15) plt.tight_layout(5) path = '/roobo/soft/phpmyadmin/response_time.jpg' plt.savefig(path) - return path + return 'http://120.79.171.145:8000/response_time.jpg' diff --git a/run.log b/run.log new file mode 100644 index 0000000000000000000000000000000000000000..0324818a0e3b3d18b515d51ed78ba71a0e0ac5ba --- /dev/null +++ b/run.log @@ -0,0 +1,646 @@ +nohup: 忽略输入 +*****datetime: +2019-03-22 18 +***** + + * Serving Flask app "run" (lazy loading) + * Environment: production + WARNING: Do not use the development server in a production environment. + Use a production WSGI server instead. + * Debug mode: on + * Running on http://10.7.19.129:5000/ (Press CTRL+C to quit) + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 18:56:38] "GET /SPDAS/user_portrait_analysis1 HTTP/1.1" 405 - +120.237.155.119 - - [22/Mar/2019 18:56:38] "GET /favicon.ico HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:42] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:56:42] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:42] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:42] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:42] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:45] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:46] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:47] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:56:48] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:17] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:18] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:58] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:57:58] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:58] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:58] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:57:58] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:58:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +10.7.19.129 - - [22/Mar/2019 18:59:01] "GET / HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 18 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:17] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:18] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:19] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:21] "GET /SPDAS/user_portrait_analysis1 HTTP/1.1" 405 - +120.237.155.119 - - [22/Mar/2019 18:59:31] "GET /SPDAS/ HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:34] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 18:59:34] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:34] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:34] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 18:59:34] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 18 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:53] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:01:55] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:50] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:51] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:52] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:53] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:54] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:55] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:08:55] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:55] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:55] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:08:55] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:58] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:09:59] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:01] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:02] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:03] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:04] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:05] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /SPDAS HTTP/1.1" 304 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:10:06] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:16:34] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:36] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:36] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:37] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:38] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:39] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:39] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:40] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:40] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:16:41] "GET /SPDAS HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:18:03] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:04] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:06] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:07] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:08] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:08] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:10] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:11] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:11] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:12] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:18:30] "GET /SPDAS/user_portrait_analysis1 HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:23:13] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:14] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:15] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:15] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:17] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:18] "GET /SPDAS HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:23:19] "GET /SPDAS HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:58] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:25:59] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:00] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:26:02] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - + * Detected change in '/home/work/semantic_platform_DAS/run.py', reloading +*****datetime: +2019-03-22 19 +***** + + * Restarting with stat + * Debugger is active! + * Debugger PIN: 150-974-631 +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:31] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:32] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:33] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:34] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:35] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:36] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:37] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:38] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:39] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:28:40] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 404 - +120.237.155.119 - - [22/Mar/2019 19:31:12] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:12] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:12] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:12] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:12] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:13] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:13] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:13] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:13] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:13] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:21] "GET /static/js/2.ce57a057140d60b9f7ef.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:22] "GET /static/fonts/ionicons.d535a25.ttf HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:22] "GET /static/img/logo.1e6719b.png HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:22] "GET /static/img/bg_login.e334716.png HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:34] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:45] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:31:46] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:08] "POST /SPDAS/login HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:08] "GET /static/js/1.6bfb787aaddc03d45cfe.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:08] "GET /static/js/0.929eb24a6140a29a71e9.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:08] "GET /static/js/6.2eabc7342bc8bb97de0c.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:10] "GET /static/img/fullstack.e51bafb.jpg HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:10] "POST /SPDAS/domain_structure_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:18] "GET /static/js/5.49d9f21e16f136fa71c7.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:18] "POST /SPDAS/time_series_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:19] "GET /static/js/7.931938d5b9ce23d1c7c9.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:19] "POST /SPDAS/user_portrait_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:20] "GET /static/js/4.0b2eb810526861297b2f.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:20] "POST /SPDAS/chat_function_analysis/choice1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:20] "POST /SPDAS/chat_function_analysis/chat1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:21] "GET /static/js/3.ac8f0baf4212298750c4.js HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:21] "POST /SPDAS/response_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:21] "POST /SPDAS/second_test1 HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:32:27] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:33:34] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [22/Mar/2019 19:33:34] "GET /favicon.ico HTTP/1.1" 404 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/js/manifest.0a5f072fcf6561c1e6d5.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/css/app.1e732aece1c20bddd293529e2b191477.css HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/js/vendor.e324bda0bd56a2f46d94.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/js/app.c3cb6b75bb652b44d7a2.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/js/2.ce57a057140d60b9f7ef.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/fonts/ionicons.d535a25.ttf HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/img/logo.1e6719b.png HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /static/img/bg_login.e334716.png HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:11:38] "GET /favicon.ico HTTP/1.1" 404 - +120.237.155.119 - - [23/Mar/2019 08:11:42] "GET /SPDAS HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "POST /SPDAS/login HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "GET /static/js/1.6bfb787aaddc03d45cfe.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "GET /static/js/0.929eb24a6140a29a71e9.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "GET /static/js/6.2eabc7342bc8bb97de0c.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "POST /SPDAS/domain_structure_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:08] "GET /static/img/fullstack.e51bafb.jpg HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:11] "GET /static/js/5.49d9f21e16f136fa71c7.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:11] "POST /SPDAS/time_series_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:12] "GET /static/js/7.931938d5b9ce23d1c7c9.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:12] "POST /SPDAS/user_portrait_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:13] "GET /static/js/4.0b2eb810526861297b2f.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:13] "POST /SPDAS/chat_function_analysis/chat1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:13] "POST /SPDAS/chat_function_analysis/choice1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:15] "GET /static/js/3.ac8f0baf4212298750c4.js HTTP/1.1" 304 - +120.237.155.119 - - [23/Mar/2019 08:12:15] "POST /SPDAS/response_analysis1 HTTP/1.1" 200 - +120.237.155.119 - - [23/Mar/2019 08:12:15] "POST /SPDAS/second_test1 HTTP/1.1" 200 - +*****datetime: +2019-03-22 19 +***** + +{'data_type': 'all', 'effect_type': 'cost_time', 'time': '2019-01-03 00:00:00/2019-01-04 00:00:00'} +SELECT * FROM cost_time_data WHERE datetime >= "2019-01-03 00:00:00" and datetime< "2019-01-04 00:00:00" +2019-03-23 08:12:43,568 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'sql_mode' +2019-03-23 08:12:43,568 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,570 INFO sqlalchemy.engine.base.Engine SHOW VARIABLES LIKE 'lower_case_table_names' +2019-03-23 08:12:43,570 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,571 INFO sqlalchemy.engine.base.Engine SELECT DATABASE() +2019-03-23 08:12:43,571 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,572 INFO sqlalchemy.engine.base.Engine show collation where `Charset` = 'utf8mb4' and `Collation` = 'utf8mb4_bin' +2019-03-23 08:12:43,572 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,573 INFO sqlalchemy.engine.base.Engine SELECT CAST('test plain returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:12:43,573 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,574 INFO sqlalchemy.engine.base.Engine SELECT CAST('test unicode returns' AS CHAR(60)) AS anon_1 +2019-03-23 08:12:43,574 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,575 INFO sqlalchemy.engine.base.Engine SELECT CAST('test collated returns' AS CHAR CHARACTER SET utf8mb4) COLLATE utf8mb4_bin AS anon_1 +2019-03-23 08:12:43,575 INFO sqlalchemy.engine.base.Engine {} +2019-03-23 08:12:43,576 INFO sqlalchemy.engine.base.Engine SELECT * FROM cost_time_data WHERE datetime >= "2019-01-03 00:00:00" and datetime< "2019-01-04 00:00:00" +2019-03-23 08:12:43,576 INFO sqlalchemy.engine.base.Engine {} +/usr/local/python3/lib/python3.6/site-packages/matplotlib/font_manager.py:1241: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans. + (prop.get_family(), self.defaultFamily[fontext])) +120.237.155.119 - - [23/Mar/2019 08:12:43] "POST /SPDAS/response_analysis2 HTTP/1.1" 200 - diff --git a/run.py b/run.py new file mode 100644 index 0000000000000000000000000000000000000000..3cd11395166707b1ed212378be903747c5c65329 --- /dev/null +++ b/run.py @@ -0,0 +1,263 @@ +# -*- coding: utf-8 -*- +# author:Li Mingjie time:2019/3/9 +# Brief: + +import domain_structure_analysis as DS +import time_series_analysis as TS +import user_portrait_analysis as UP +import chat_function_analysis as CF +import response_time_analysis as RT +import response_error_analysis as RE +import second_test as ST +import json +from flask import Flask, render_template +from flask import request +from flask_cors import CORS +from flask_caching import Cache +import time +import base64 +import random + +app = Flask(__name__) +CORS(app, supports_credentials=True) +# cache = Cache(app, config={'CACHE_TYPE': 'simple'}) + +print("*****datetime:") +now_time = time.strftime("%b %d %Y %H:%M:%S", time.localtime(time.time())) +print(now_time) +print("*****\n") + +users = { + "admin": "spdas!23" +} + + +def gen_token(uid): + token = base64.b64encode((':'.join([str(uid), str(random.random()), str(now_time)])).encode('utf-8')) + print("BASE64加密串:\n" + str(token, 'utf-8')) + # users[uid].append(token) + return token + + +@app.route('/SPDAS', methods=['GET']) +def index(): + return render_template('index.html') + + +@app.route('/SPDAS/login', methods=['POST']) +def login(): + data = request.get_data() + json_re = json.loads(data) + username = json_re['user'] + password = json_re['password'] + if username in users.keys() and password == users[username]: + return gen_token(username) + # gen_token(username) + #return 'yes' + else: + return "error" + + +@app.route('/SPDAS/domain_structure_analysis1', methods=['POST']) +def domain(): + param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], + "time": "2019-01-01 00:00:00/2019-01-02 00:00:00", + "graph_type": [{"value": "bar"}, {"value": "pie"}], + "image_path": "http://120.79.171.145:8000/plot_domain1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/domain_structure_analysis2', methods=['POST']) +def domain_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + datatype = json_re['data_type'] + m_time = json_re['time'] + graphtype = json_re['graph_type'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + image_path = DS.data_statistics_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) + path = ({"domain_image": image_path}) + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/time_series_analysis1', methods=['POST']) +def time(): + param = ({"time_type": [{"value": "hour", "id": 1}, {"value": "day", "id": 2}, + {"value": "month", "id": 3}, {"value": "year", "id": 4}], + "time": "2019-01-01 00:00:00/2019-01-02 00:00:00", + "graph_type": [{"value": "bar"}, {"value": "pie"}], + "image_path": "http://120.79.171.145:8000/plot_time1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/time_series_analysis2', methods=['POST']) +def time_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + timetype = json_re['time_type'] + m_time = json_re['time'] + graphtype = json_re['graph_type'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + image_path = TS.datetime_data_plot(timetype=timetype, starttime=starttime, endtime=endtime, graphtype=graphtype) + path = ({"time_image": image_path}) + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/user_portrait_analysis1', methods=['POST']) +def user(): + param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "chat"}, {"value": "all"}], + "time": "2019-01-01 00:00:00/2019-01-02 00:00:00", + "image_path": "http://120.79.171.145:8000/plot_user1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/user_portrait_analysis2', methods=['POST']) +def user_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + datatype = json_re['data_type'] + m_time = json_re['time'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + image_path = UP.portrait_plot(datatype=datatype, starttime=starttime, endtime=endtime) + path = {"user_image": image_path} + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/chat_function_analysis/choice1', methods=['POST']) +def choice(): + param = ( + {"time": "2018-12-01 00:00:00/2018-12-28 20:00:00", "image_path": "http://120.79.171.145:8000/choice_num1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/chat_function_analysis/choice2', methods=['POST']) +# @cache.cached(timeout=60 * 30, key_prefix='choice_form') +def choice_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + m_time = json_re['time'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + data_cluster = CF.Culter(start_time=starttime, end_time=endtime) + data_cluster.feature_extraction_data() + image_path = data_cluster.k_means(data_cluster.feature_matrix) + path = ({"num_image": image_path}) + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/chat_function_analysis/chat1', methods=['POST']) +def chat(): + param = ({"time": "2018-12-01 00:00:00/2018-12-28 20:00:00", "best_num": "1", + "image1_path": "http://120.79.171.145:8000/hierachical_clusters1.jpg", + "image2_path": "http://120.79.171.145:8000/cluster_point1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/chat_function_analysis/chat2', methods=['POST']) +def chat_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + m_time = json_re['time'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + data_cluster = CF.Culter(start_time=starttime, end_time=endtime) + data_cluster.feature_extraction_data() + image_path = data_cluster.k_means(data_cluster.feature_matrix) + charnum = json_re['best_num'] + bestnum = int(charnum) + print(bestnum) + image_path1 = data_cluster.k_means_cluster(best_num=bestnum) + linkage_matrix = data_cluster.ward_hierarchical_clustering(data_cluster.feature_matrix) + + image_path2 = data_cluster.plot_hierarchical_clusters(linkage_matrix=linkage_matrix, m_data=data_cluster.chat_data, + figure_size=(35, 40)) + with open("/roobo/soft/phpmyadmin/chat_function_data.txt", 'w') as file: + file.writelines(data_cluster.out_data) + path = ({"cluster_point": image_path2, "ward_image": image_path1}) + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/response_analysis1', methods=['POST']) +def response(): + param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], + "effect_type": [{"value": "cost_time"}, {"value": "response_error"}], + "time": "2019-01-01 00:00:00/2019-01-02 00:00:00", + "image_path": "http://120.79.171.145:8000/response_time1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/response_analysis2', methods=['POST']) +def response_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + datatype = json_re['data_type'] + effecttype = json_re['effect_type'] + m_time = json_re['time'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + if effecttype == 'cost_time': + image_path = RT.cost_time_plot(datatype=datatype, starttime=starttime, endtime=endtime) + else: + image_path = RE.error_data_statistics_plot(datatype=datatype, starttime=starttime, endtime=endtime, + graphtype='bar') + path = ({"response_image": image_path}) + print(image_path) + return json.JSONEncoder().encode(path) + + +@app.route('/SPDAS/second_test1', methods=['POST']) +def second(): + param = ({"data_type": [{"value": "error_control"}, {"value": "error_application"}], + "time": "2019-01-01 00:00:00/2019-01-02 00:00:00", + "graph_type": [{"value": "bar"}, {"value": "pie"}], + "image_path": "http://120.79.171.145:8000/response_error1.jpg"}) + return json.JSONEncoder().encode(param) + + +@app.route('/SPDAS/second_test2', methods=['POST']) +def second_form(): + # 需要从request对象读取表单内容: + data = request.get_data() + json_re = json.loads(data) + print(json_re) + datatype = json_re['data_type'] + m_time = json_re['time'] + str_time = str(m_time) + m_time = str_time.split('/') + starttime = m_time[0] + endtime = m_time[1] + graphtype = json_re['graph_type'] + + image_path = ST.second_test_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) + path = ({"test_image": image_path}) + return json.JSONEncoder().encode(path) + + +if __name__ == '__main__': + app.run(debug=True, host='10.7.19.129', port=5000) diff --git a/second_test.py b/second_test.py index 996f993b092a563c23bff2a23a6eb66672e1a7b8..00473f344dcb1c3eaf23f7fed740dc9e75035ea4 100644 --- a/second_test.py +++ b/second_test.py @@ -9,9 +9,11 @@ import pandas as pd import bottom_function.m_SQL as qb import bottom_function.data_read as dr import json -from flask import Flask -from flask import request -from flask_cors import CORS + + +# from flask import Flask +# from flask import request +# from flask_cors import CORS def second_test(text, classify): @@ -55,10 +57,14 @@ def second_test_plot(datatype, starttime, endtime, graphtype): csv_data = dr.read_data(datatype=datatype, starttime=starttime, endtime=endtime) if datatype == 'error_control': table_name = "control_error_data" + classsify = 'control' elif datatype == 'error_application': table_name = "application_error_data" + classsify = 'application' db = qb.Schema(host="localhost", user="560193", password="jay560193", mysqlName="semantic_data_schema", port="3306") - classsify = csv_data.ix[0]['classify'] + csv_data.drop_duplicates(subset='query', keep='first', inplace=True) + csv_data = csv_data.rest_index(drop=True) + error_dict = {} for i in range(len(csv_data)): # query = str(csv_data.ix[i]['query'].encode('utf-8').decode('utf-8-sig')) @@ -78,7 +84,7 @@ def second_test_plot(datatype, starttime, endtime, graphtype): else: error_dict.update({error_code: 1}) - fig = plt.figure(figsize=(10, 6)) + plt.figure(figsize=(10, 8)) if graphtype == 'pie': e = [] code_other = 0 @@ -117,43 +123,42 @@ def second_test_plot(datatype, starttime, endtime, graphtype): plt.title( str(starttime) + ' to ' + str(endtime) + ' second test of error response analysis with ' + graphtype + ' graph', - fontsize=12) + fontsize=15) plt.tight_layout(5) path = '/roobo/soft/phpmyadmin/second_test.jpg' plt.savefig(path) - return path - - -app = Flask(__name__) -CORS(app, supports_credentials=True) - - -@app.route('/SPDAS/second_test1', methods=['POST']) -def domain(): - param = ({"data_type": [{"value": "error_control"}, {"value": "error_application"}], - "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", - "graph_type": [{"value": "bar"}, {"value": "pie"}]}) - return json.JSONEncoder().encode(param) - - -@app.route('/SPDAS/second_test2', methods=['POST']) -def domain_form(): - # 需要从request对象读取表单内容: - data = request.get_data() - json_re = json.loads(data) - datatype = json_re['data_type'] - - m_time = json_re['time'] - str_time = str(m_time) - m_time = str_time.split('/') - starttime = m_time[0] - endtime = m_time[1] - graphtype = json_re['graph_type'] - - image_path = second_test_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) - path = ({"test_image": image_path}) - return json.JSONEncoder().encode(path) - - -if __name__ == '__main__': - app.run(debug=True, host='10.7.19.129', port=5000) + return 'http://120.79.171.145:8000/second_test.jpg' + +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# +# @app.route('/SPDAS/second_test1', methods=['POST']) +# def domain(): +# param = ({"data_type": [{"value": "error_control"}, {"value": "error_application"}], +# "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", +# "graph_type": [{"value": "bar"}, {"value": "pie"}]}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/second_test2', methods=['POST']) +# def domain_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# datatype = json_re['data_type'] +# +# m_time = json_re['time'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# graphtype = json_re['graph_type'] +# +# image_path = second_test_plot(datatype=datatype, starttime=starttime, endtime=endtime, graphtype=graphtype) +# path = ({"test_image": image_path}) +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000) diff --git a/static/css/app.9c4162e157000096832f7467b0da7465.css b/static/css/app.9c4162e157000096832f7467b0da7465.css new file mode 100644 index 0000000000000000000000000000000000000000..33bfb98b5b22cb1014499ade473c30a9632294c4 --- /dev/null +++ b/static/css/app.9c4162e157000096832f7467b0da7465.css @@ -0,0 +1,9 @@ +#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100%;z-index:0}.login{height:100%;background:rgba(0,0,0,.3)}.login:before{z-index:-999;content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:url(../../static/img/bg_login.e334716.png);background-size:cover}.login-con{position:absolute;right:160px;top:50%;transform:translateY(-60%);width:340px;padding:30px 50px 25px;border-radius:6px;box-shadow:1px 1px 2px #eee;background:#fff}.form-con{padding:10px 0 0}.login-tip{font-size:10px;text-align:center;color:#c3c3c3}.login-info{padding-left:60px}.login-info-title{line-height:90px}.text-white{color:#fff}.pull-height{height:100%;overflow:hidden}.header-con[data-v-79fa437f]{background:#fff;padding:0 20px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.1)!important}.logo-con[data-v-79fa437f]{height:64px;padding:10px;overflow:hidden}.logo-con span[data-v-79fa437f]{height:44px;line-height:44px;color:#fefefe}.big-logo[data-v-79fa437f]{display:block;font-size:24px}.small-logo[data-v-79fa437f]{font-size:18px}.ivu-layout-footer[data-v-79fa437f]{padding:5px 50px}.main-content-con[data-v-79fa437f]{height:calc(100% - 60px);padding:15px 10px;box-sizing:border-box;overflow:auto}.side-con[data-v-6390284e]{height:100%}.layout-logo-left[data-v-6390284e]{width:90%;height:30px;background:#5b6270;border-radius:3px;margin:15px auto;color:#f1f1f1;line-height:30px}.layout-menu-left[data-v-6390284e]{background:#464c5b}.layout-hide-text .layout-text[data-v-6390284e]{display:none}.ivu-col[data-v-6390284e]{transition:width .2s ease-in-out}.header-bar[data-v-cc64f222]{width:100%;height:100%;position:relative}.custom-content-con[data-v-cc64f222]{float:right;height:auto;line-height:64px}.main .header-con[data-v-cc64f222]{background:#fff;padding:0 20px;width:100%}.sider-trigger-a[data-v-06b3f4fc]{display:inline-block;text-align:center;color:#5c6b77}.collapsed i[data-v-06b3f4fc]{transform:rotate(90deg)}.user-avator-dropdown[data-v-350b767a]{cursor:pointer;display:inline-block;height:40px;line-height:40px;vertical-align:middle}.img-div[data-v-0e6c7106]{position:relative;width:40%;height:40%}img[data-v-0e6c7106]{width:100%;height:100%;cursor:pointer}.ivu-form-item[data-v-0e6c7106]{margin-right:0;margin-bottom:20px}.img-div[data-v-3408eb7d]{position:relative;width:40%;height:40%}.img-div>.loading[data-v-3408eb7d],img[data-v-3408eb7d]{width:100%;height:100%}img[data-v-3408eb7d]{cursor:pointer}.ivu-form-item[data-v-3408eb7d]{margin-right:0;margin-bottom:20px}.card-div[data-v-0ad18c31]{margin-bottom:10px}.img-div[data-v-0ad18c31]{position:relative;width:40%;height:40%}img[data-v-0ad18c31]{width:100%;height:100%;cursor:pointer}.ivu-form-item[data-v-0ad18c31]{margin-right:0;margin-bottom:20px}.con-img[data-v-6c138d9a]{width:100%;height:100%;overflow:hidden}.img-div[data-v-6c138d9a]{overflow:hidden;width:40%;height:40%}.img-div img[data-v-6c138d9a]{width:100%;height:100%}.loading[data-v-6c138d9a]{position:relative}.con-img>div[data-v-6c138d9a]{float:left;width:50%;box-sizing:border-box;padding:5px}.con-img>div[data-v-6c138d9a]:first-child{text-align:center}.con-img>div:first-child img[data-v-6c138d9a]{display:block;transform:rotate(90deg) translate(-7%,-10%);width:80%;height:80%;cursor:pointer}.con-img>div:nth-child(2) img[data-v-6c138d9a]{width:100%;height:100%;cursor:pointer}.ivu-form-item[data-v-6c138d9a]{margin-right:0;margin-bottom:20px}.demo-spin-icon-load[data-v-6c138d9a]{animation:ani-demo-spin-data-v-6c138d9a 1s linear infinite}@keyframes ani-demo-spin-data-v-6c138d9a{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.demo-spin-col[data-v-6c138d9a]{height:100px;position:relative;border:1px solid #eee}.img-div[data-v-9305f30e]{position:relative;width:40%;height:40%}img[data-v-9305f30e]{width:100%;height:100%;cursor:pointer}.ivu-form-item[data-v-9305f30e]{margin-right:0;margin-bottom:20px}.ivu-load-loop{animation:ani-load-loop 1s linear infinite}@keyframes ani-load-loop{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.input-group-error-append,.input-group-error-prepend{background-color:#fff;border:1px solid #ed4014}.input-group-error-append .ivu-select-selection,.input-group-error-prepend .ivu-select-selection{background-color:inherit;border:1px solid transparent}.input-group-error-prepend{border-right:0}.input-group-error-append{border-left:0}.ivu-breadcrumb{color:#999;font-size:14px}.ivu-breadcrumb a{color:#515a6e;transition:color .2s ease-in-out}.ivu-breadcrumb a:hover{color:#57a3f3}.ivu-breadcrumb>span:last-child{font-weight:700;color:#515a6e}.ivu-breadcrumb>span:last-child .ivu-breadcrumb-item-separator{display:none}.ivu-breadcrumb-item-separator{margin:0 8px;color:#dcdee2}.ivu-breadcrumb-item-link>.ivu-icon+span{margin-left:4px}/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}*{-webkit-tap-highlight-color:transparent}*,:after,:before{box-sizing:border-box}body{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,Arial,sans-serif;font-size:12px;line-height:1.5;color:#515a6e;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}article,aside,blockquote,body,button,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,input,legend,li,menu,nav,ol,p,section,td,textarea,th,ul{margin:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}input::-ms-clear,input::-ms-reveal{display:none}a{color:#2d8cf0;background:0 0;text-decoration:none;outline:0;cursor:pointer;transition:color .2s ease}a:hover{color:#57a3f3}a:active{color:#2b85e4}a:active,a:hover{outline:0;text-decoration:none}a[disabled]{color:#ccc;cursor:not-allowed;pointer-events:none}code,kbd,pre,samp{font-family:Consolas,Menlo,Courier,monospace}@font-face{font-family:Ionicons;src:url(../../static/fonts/ionicons.d535a25.ttf) format("truetype"),url(../../static/fonts/ionicons.99ac330.woff) format("woff"),url(../../static/img/ionicons.a2c4a26.svg#Ionicons) format("svg");font-weight:400;font-style:normal}.ivu-icon{display:inline-block;font-family:Ionicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.ivu-icon-ios-add-circle-outline:before{content:"\F100"}.ivu-icon-ios-add-circle:before{content:"\F101"}.ivu-icon-ios-add:before{content:"\F102"}.ivu-icon-ios-alarm-outline:before{content:"\F103"}.ivu-icon-ios-alarm:before{content:"\F104"}.ivu-icon-ios-albums-outline:before{content:"\F105"}.ivu-icon-ios-albums:before{content:"\F106"}.ivu-icon-ios-alert-outline:before{content:"\F107"}.ivu-icon-ios-alert:before{content:"\F108"}.ivu-icon-ios-american-football-outline:before{content:"\F109"}.ivu-icon-ios-american-football:before{content:"\F10A"}.ivu-icon-ios-analytics-outline:before{content:"\F10B"}.ivu-icon-ios-analytics:before{content:"\F10C"}.ivu-icon-ios-aperture-outline:before{content:"\F10D"}.ivu-icon-ios-aperture:before{content:"\F10E"}.ivu-icon-ios-apps-outline:before{content:"\F10F"}.ivu-icon-ios-apps:before{content:"\F110"}.ivu-icon-ios-appstore-outline:before{content:"\F111"}.ivu-icon-ios-appstore:before{content:"\F112"}.ivu-icon-ios-archive-outline:before{content:"\F113"}.ivu-icon-ios-archive:before{content:"\F114"}.ivu-icon-ios-arrow-back:before{content:"\F115"}.ivu-icon-ios-arrow-down:before{content:"\F116"}.ivu-icon-ios-arrow-dropdown-circle:before{content:"\F117"}.ivu-icon-ios-arrow-dropdown:before{content:"\F118"}.ivu-icon-ios-arrow-dropleft-circle:before{content:"\F119"}.ivu-icon-ios-arrow-dropleft:before{content:"\F11A"}.ivu-icon-ios-arrow-dropright-circle:before{content:"\F11B"}.ivu-icon-ios-arrow-dropright:before{content:"\F11C"}.ivu-icon-ios-arrow-dropup-circle:before{content:"\F11D"}.ivu-icon-ios-arrow-dropup:before{content:"\F11E"}.ivu-icon-ios-arrow-forward:before{content:"\F11F"}.ivu-icon-ios-arrow-round-back:before{content:"\F120"}.ivu-icon-ios-arrow-round-down:before{content:"\F121"}.ivu-icon-ios-arrow-round-forward:before{content:"\F122"}.ivu-icon-ios-arrow-round-up:before{content:"\F123"}.ivu-icon-ios-arrow-up:before{content:"\F124"}.ivu-icon-ios-at-outline:before{content:"\F125"}.ivu-icon-ios-at:before{content:"\F126"}.ivu-icon-ios-attach:before{content:"\F127"}.ivu-icon-ios-backspace-outline:before{content:"\F128"}.ivu-icon-ios-backspace:before{content:"\F129"}.ivu-icon-ios-barcode-outline:before{content:"\F12A"}.ivu-icon-ios-barcode:before{content:"\F12B"}.ivu-icon-ios-baseball-outline:before{content:"\F12C"}.ivu-icon-ios-baseball:before{content:"\F12D"}.ivu-icon-ios-basket-outline:before{content:"\F12E"}.ivu-icon-ios-basket:before{content:"\F12F"}.ivu-icon-ios-basketball-outline:before{content:"\F130"}.ivu-icon-ios-basketball:before{content:"\F131"}.ivu-icon-ios-battery-charging:before{content:"\F132"}.ivu-icon-ios-battery-dead:before{content:"\F133"}.ivu-icon-ios-battery-full:before{content:"\F134"}.ivu-icon-ios-beaker-outline:before{content:"\F135"}.ivu-icon-ios-beaker:before{content:"\F136"}.ivu-icon-ios-beer-outline:before{content:"\F137"}.ivu-icon-ios-beer:before{content:"\F138"}.ivu-icon-ios-bicycle:before{content:"\F139"}.ivu-icon-ios-bluetooth:before{content:"\F13A"}.ivu-icon-ios-boat-outline:before{content:"\F13B"}.ivu-icon-ios-boat:before{content:"\F13C"}.ivu-icon-ios-body-outline:before{content:"\F13D"}.ivu-icon-ios-body:before{content:"\F13E"}.ivu-icon-ios-bonfire-outline:before{content:"\F13F"}.ivu-icon-ios-bonfire:before{content:"\F140"}.ivu-icon-ios-book-outline:before{content:"\F141"}.ivu-icon-ios-book:before{content:"\F142"}.ivu-icon-ios-bookmark-outline:before{content:"\F143"}.ivu-icon-ios-bookmark:before{content:"\F144"}.ivu-icon-ios-bookmarks-outline:before{content:"\F145"}.ivu-icon-ios-bookmarks:before{content:"\F146"}.ivu-icon-ios-bowtie-outline:before{content:"\F147"}.ivu-icon-ios-bowtie:before{content:"\F148"}.ivu-icon-ios-briefcase-outline:before{content:"\F149"}.ivu-icon-ios-briefcase:before{content:"\F14A"}.ivu-icon-ios-browsers-outline:before{content:"\F14B"}.ivu-icon-ios-browsers:before{content:"\F14C"}.ivu-icon-ios-brush-outline:before{content:"\F14D"}.ivu-icon-ios-brush:before{content:"\F14E"}.ivu-icon-ios-bug-outline:before{content:"\F14F"}.ivu-icon-ios-bug:before{content:"\F150"}.ivu-icon-ios-build-outline:before{content:"\F151"}.ivu-icon-ios-build:before{content:"\F152"}.ivu-icon-ios-bulb-outline:before{content:"\F153"}.ivu-icon-ios-bulb:before{content:"\F154"}.ivu-icon-ios-bus-outline:before{content:"\F155"}.ivu-icon-ios-bus:before{content:"\F156"}.ivu-icon-ios-cafe-outline:before{content:"\F157"}.ivu-icon-ios-cafe:before{content:"\F158"}.ivu-icon-ios-calculator-outline:before{content:"\F159"}.ivu-icon-ios-calculator:before{content:"\F15A"}.ivu-icon-ios-calendar-outline:before{content:"\F15B"}.ivu-icon-ios-calendar:before{content:"\F15C"}.ivu-icon-ios-call-outline:before{content:"\F15D"}.ivu-icon-ios-call:before{content:"\F15E"}.ivu-icon-ios-camera-outline:before{content:"\F15F"}.ivu-icon-ios-camera:before{content:"\F160"}.ivu-icon-ios-car-outline:before{content:"\F161"}.ivu-icon-ios-car:before{content:"\F162"}.ivu-icon-ios-card-outline:before{content:"\F163"}.ivu-icon-ios-card:before{content:"\F164"}.ivu-icon-ios-cart-outline:before{content:"\F165"}.ivu-icon-ios-cart:before{content:"\F166"}.ivu-icon-ios-cash-outline:before{content:"\F167"}.ivu-icon-ios-cash:before{content:"\F168"}.ivu-icon-ios-chatboxes-outline:before{content:"\F169"}.ivu-icon-ios-chatboxes:before{content:"\F16A"}.ivu-icon-ios-chatbubbles-outline:before{content:"\F16B"}.ivu-icon-ios-chatbubbles:before{content:"\F16C"}.ivu-icon-ios-checkbox-outline:before{content:"\F16D"}.ivu-icon-ios-checkbox:before{content:"\F16E"}.ivu-icon-ios-checkmark-circle-outline:before{content:"\F16F"}.ivu-icon-ios-checkmark-circle:before{content:"\F170"}.ivu-icon-ios-checkmark:before{content:"\F171"}.ivu-icon-ios-clipboard-outline:before{content:"\F172"}.ivu-icon-ios-clipboard:before{content:"\F173"}.ivu-icon-ios-clock-outline:before{content:"\F174"}.ivu-icon-ios-clock:before{content:"\F175"}.ivu-icon-ios-close-circle-outline:before{content:"\F176"}.ivu-icon-ios-close-circle:before{content:"\F177"}.ivu-icon-ios-close:before{content:"\F178"}.ivu-icon-ios-closed-captioning-outline:before{content:"\F179"}.ivu-icon-ios-closed-captioning:before{content:"\F17A"}.ivu-icon-ios-cloud-circle-outline:before{content:"\F17B"}.ivu-icon-ios-cloud-circle:before{content:"\F17C"}.ivu-icon-ios-cloud-done-outline:before{content:"\F17D"}.ivu-icon-ios-cloud-done:before{content:"\F17E"}.ivu-icon-ios-cloud-download-outline:before{content:"\F17F"}.ivu-icon-ios-cloud-download:before{content:"\F180"}.ivu-icon-ios-cloud-outline:before{content:"\F181"}.ivu-icon-ios-cloud-upload-outline:before{content:"\F182"}.ivu-icon-ios-cloud-upload:before{content:"\F183"}.ivu-icon-ios-cloud:before{content:"\F184"}.ivu-icon-ios-cloudy-night-outline:before{content:"\F185"}.ivu-icon-ios-cloudy-night:before{content:"\F186"}.ivu-icon-ios-cloudy-outline:before{content:"\F187"}.ivu-icon-ios-cloudy:before{content:"\F188"}.ivu-icon-ios-code-download:before{content:"\F189"}.ivu-icon-ios-code-working:before{content:"\F18A"}.ivu-icon-ios-code:before{content:"\F18B"}.ivu-icon-ios-cog-outline:before{content:"\F18C"}.ivu-icon-ios-cog:before{content:"\F18D"}.ivu-icon-ios-color-fill-outline:before{content:"\F18E"}.ivu-icon-ios-color-fill:before{content:"\F18F"}.ivu-icon-ios-color-filter-outline:before{content:"\F190"}.ivu-icon-ios-color-filter:before{content:"\F191"}.ivu-icon-ios-color-palette-outline:before{content:"\F192"}.ivu-icon-ios-color-palette:before{content:"\F193"}.ivu-icon-ios-color-wand-outline:before{content:"\F194"}.ivu-icon-ios-color-wand:before{content:"\F195"}.ivu-icon-ios-compass-outline:before{content:"\F196"}.ivu-icon-ios-compass:before{content:"\F197"}.ivu-icon-ios-construct-outline:before{content:"\F198"}.ivu-icon-ios-construct:before{content:"\F199"}.ivu-icon-ios-contact-outline:before{content:"\F19A"}.ivu-icon-ios-contact:before{content:"\F19B"}.ivu-icon-ios-contacts-outline:before{content:"\F19C"}.ivu-icon-ios-contacts:before{content:"\F19D"}.ivu-icon-ios-contract:before{content:"\F19E"}.ivu-icon-ios-contrast:before{content:"\F19F"}.ivu-icon-ios-copy-outline:before{content:"\F1A0"}.ivu-icon-ios-copy:before{content:"\F1A1"}.ivu-icon-ios-create-outline:before{content:"\F1A2"}.ivu-icon-ios-create:before{content:"\F1A3"}.ivu-icon-ios-crop-outline:before{content:"\F1A4"}.ivu-icon-ios-crop:before{content:"\F1A5"}.ivu-icon-ios-cube-outline:before{content:"\F1A6"}.ivu-icon-ios-cube:before{content:"\F1A7"}.ivu-icon-ios-cut-outline:before{content:"\F1A8"}.ivu-icon-ios-cut:before{content:"\F1A9"}.ivu-icon-ios-desktop-outline:before{content:"\F1AA"}.ivu-icon-ios-desktop:before{content:"\F1AB"}.ivu-icon-ios-disc-outline:before{content:"\F1AC"}.ivu-icon-ios-disc:before{content:"\F1AD"}.ivu-icon-ios-document-outline:before{content:"\F1AE"}.ivu-icon-ios-document:before{content:"\F1AF"}.ivu-icon-ios-done-all:before{content:"\F1B0"}.ivu-icon-ios-download-outline:before{content:"\F1B1"}.ivu-icon-ios-download:before{content:"\F1B2"}.ivu-icon-ios-easel-outline:before{content:"\F1B3"}.ivu-icon-ios-easel:before{content:"\F1B4"}.ivu-icon-ios-egg-outline:before{content:"\F1B5"}.ivu-icon-ios-egg:before{content:"\F1B6"}.ivu-icon-ios-exit-outline:before{content:"\F1B7"}.ivu-icon-ios-exit:before{content:"\F1B8"}.ivu-icon-ios-expand:before{content:"\F1B9"}.ivu-icon-ios-eye-off-outline:before{content:"\F1BA"}.ivu-icon-ios-eye-off:before{content:"\F1BB"}.ivu-icon-ios-eye-outline:before{content:"\F1BC"}.ivu-icon-ios-eye:before{content:"\F1BD"}.ivu-icon-ios-fastforward-outline:before{content:"\F1BE"}.ivu-icon-ios-fastforward:before{content:"\F1BF"}.ivu-icon-ios-female:before{content:"\F1C0"}.ivu-icon-ios-filing-outline:before{content:"\F1C1"}.ivu-icon-ios-filing:before{content:"\F1C2"}.ivu-icon-ios-film-outline:before{content:"\F1C3"}.ivu-icon-ios-film:before{content:"\F1C4"}.ivu-icon-ios-finger-print:before{content:"\F1C5"}.ivu-icon-ios-flag-outline:before{content:"\F1C6"}.ivu-icon-ios-flag:before{content:"\F1C7"}.ivu-icon-ios-flame-outline:before{content:"\F1C8"}.ivu-icon-ios-flame:before{content:"\F1C9"}.ivu-icon-ios-flash-outline:before{content:"\F1CA"}.ivu-icon-ios-flash:before{content:"\F1CB"}.ivu-icon-ios-flask-outline:before{content:"\F1CC"}.ivu-icon-ios-flask:before{content:"\F1CD"}.ivu-icon-ios-flower-outline:before{content:"\F1CE"}.ivu-icon-ios-flower:before{content:"\F1CF"}.ivu-icon-ios-folder-open-outline:before{content:"\F1D0"}.ivu-icon-ios-folder-open:before{content:"\F1D1"}.ivu-icon-ios-folder-outline:before{content:"\F1D2"}.ivu-icon-ios-folder:before{content:"\F1D3"}.ivu-icon-ios-football-outline:before{content:"\F1D4"}.ivu-icon-ios-football:before{content:"\F1D5"}.ivu-icon-ios-funnel-outline:before{content:"\F1D6"}.ivu-icon-ios-funnel:before{content:"\F1D7"}.ivu-icon-ios-game-controller-a-outline:before{content:"\F1D8"}.ivu-icon-ios-game-controller-a:before{content:"\F1D9"}.ivu-icon-ios-game-controller-b-outline:before{content:"\F1DA"}.ivu-icon-ios-game-controller-b:before{content:"\F1DB"}.ivu-icon-ios-git-branch:before{content:"\F1DC"}.ivu-icon-ios-git-commit:before{content:"\F1DD"}.ivu-icon-ios-git-compare:before{content:"\F1DE"}.ivu-icon-ios-git-merge:before{content:"\F1DF"}.ivu-icon-ios-git-network:before{content:"\F1E0"}.ivu-icon-ios-git-pull-request:before{content:"\F1E1"}.ivu-icon-ios-glasses-outline:before{content:"\F1E2"}.ivu-icon-ios-glasses:before{content:"\F1E3"}.ivu-icon-ios-globe-outline:before{content:"\F1E4"}.ivu-icon-ios-globe:before{content:"\F1E5"}.ivu-icon-ios-grid-outline:before{content:"\F1E6"}.ivu-icon-ios-grid:before{content:"\F1E7"}.ivu-icon-ios-hammer-outline:before{content:"\F1E8"}.ivu-icon-ios-hammer:before{content:"\F1E9"}.ivu-icon-ios-hand-outline:before{content:"\F1EA"}.ivu-icon-ios-hand:before{content:"\F1EB"}.ivu-icon-ios-happy-outline:before{content:"\F1EC"}.ivu-icon-ios-happy:before{content:"\F1ED"}.ivu-icon-ios-headset-outline:before{content:"\F1EE"}.ivu-icon-ios-headset:before{content:"\F1EF"}.ivu-icon-ios-heart-outline:before{content:"\F1F0"}.ivu-icon-ios-heart:before{content:"\F1F1"}.ivu-icon-ios-help-buoy-outline:before{content:"\F1F2"}.ivu-icon-ios-help-buoy:before{content:"\F1F3"}.ivu-icon-ios-help-circle-outline:before{content:"\F1F4"}.ivu-icon-ios-help-circle:before{content:"\F1F5"}.ivu-icon-ios-help:before{content:"\F1F6"}.ivu-icon-ios-home-outline:before{content:"\F1F7"}.ivu-icon-ios-home:before{content:"\F1F8"}.ivu-icon-ios-ice-cream-outline:before{content:"\F1F9"}.ivu-icon-ios-ice-cream:before{content:"\F1FA"}.ivu-icon-ios-image-outline:before{content:"\F1FB"}.ivu-icon-ios-image:before{content:"\F1FC"}.ivu-icon-ios-images-outline:before{content:"\F1FD"}.ivu-icon-ios-images:before{content:"\F1FE"}.ivu-icon-ios-infinite-outline:before{content:"\F1FF"}.ivu-icon-ios-infinite:before{content:"\F200"}.ivu-icon-ios-information-circle-outline:before{content:"\F201"}.ivu-icon-ios-information-circle:before{content:"\F202"}.ivu-icon-ios-information:before{content:"\F203"}.ivu-icon-ios-ionic-outline:before{content:"\F204"}.ivu-icon-ios-ionic:before{content:"\F205"}.ivu-icon-ios-ionitron-outline:before{content:"\F206"}.ivu-icon-ios-ionitron:before{content:"\F207"}.ivu-icon-ios-jet-outline:before{content:"\F208"}.ivu-icon-ios-jet:before{content:"\F209"}.ivu-icon-ios-key-outline:before{content:"\F20A"}.ivu-icon-ios-key:before{content:"\F20B"}.ivu-icon-ios-keypad-outline:before{content:"\F20C"}.ivu-icon-ios-keypad:before{content:"\F20D"}.ivu-icon-ios-laptop:before{content:"\F20E"}.ivu-icon-ios-leaf-outline:before{content:"\F20F"}.ivu-icon-ios-leaf:before{content:"\F210"}.ivu-icon-ios-link-outline:before{content:"\F211"}.ivu-icon-ios-link:before{content:"\F212"}.ivu-icon-ios-list-box-outline:before{content:"\F213"}.ivu-icon-ios-list-box:before{content:"\F214"}.ivu-icon-ios-list:before{content:"\F215"}.ivu-icon-ios-locate-outline:before{content:"\F216"}.ivu-icon-ios-locate:before{content:"\F217"}.ivu-icon-ios-lock-outline:before{content:"\F218"}.ivu-icon-ios-lock:before{content:"\F219"}.ivu-icon-ios-log-in:before{content:"\F21A"}.ivu-icon-ios-log-out:before{content:"\F21B"}.ivu-icon-ios-magnet-outline:before{content:"\F21C"}.ivu-icon-ios-magnet:before{content:"\F21D"}.ivu-icon-ios-mail-open-outline:before{content:"\F21E"}.ivu-icon-ios-mail-open:before{content:"\F21F"}.ivu-icon-ios-mail-outline:before{content:"\F220"}.ivu-icon-ios-mail:before{content:"\F221"}.ivu-icon-ios-male:before{content:"\F222"}.ivu-icon-ios-man-outline:before{content:"\F223"}.ivu-icon-ios-man:before{content:"\F224"}.ivu-icon-ios-map-outline:before{content:"\F225"}.ivu-icon-ios-map:before{content:"\F226"}.ivu-icon-ios-medal-outline:before{content:"\F227"}.ivu-icon-ios-medal:before{content:"\F228"}.ivu-icon-ios-medical-outline:before{content:"\F229"}.ivu-icon-ios-medical:before{content:"\F22A"}.ivu-icon-ios-medkit-outline:before{content:"\F22B"}.ivu-icon-ios-medkit:before{content:"\F22C"}.ivu-icon-ios-megaphone-outline:before{content:"\F22D"}.ivu-icon-ios-megaphone:before{content:"\F22E"}.ivu-icon-ios-menu-outline:before{content:"\F22F"}.ivu-icon-ios-menu:before{content:"\F230"}.ivu-icon-ios-mic-off-outline:before{content:"\F231"}.ivu-icon-ios-mic-off:before{content:"\F232"}.ivu-icon-ios-mic-outline:before{content:"\F233"}.ivu-icon-ios-mic:before{content:"\F234"}.ivu-icon-ios-microphone-outline:before{content:"\F235"}.ivu-icon-ios-microphone:before{content:"\F236"}.ivu-icon-ios-moon-outline:before{content:"\F237"}.ivu-icon-ios-moon:before{content:"\F238"}.ivu-icon-ios-more-outline:before{content:"\F239"}.ivu-icon-ios-more:before{content:"\F23A"}.ivu-icon-ios-move:before{content:"\F23B"}.ivu-icon-ios-musical-note-outline:before{content:"\F23C"}.ivu-icon-ios-musical-note:before{content:"\F23D"}.ivu-icon-ios-musical-notes-outline:before{content:"\F23E"}.ivu-icon-ios-musical-notes:before{content:"\F23F"}.ivu-icon-ios-navigate-outline:before{content:"\F240"}.ivu-icon-ios-navigate:before{content:"\F241"}.ivu-icon-ios-no-smoking-outline:before{content:"\F242"}.ivu-icon-ios-no-smoking:before{content:"\F243"}.ivu-icon-ios-notifications-off-outline:before{content:"\F244"}.ivu-icon-ios-notifications-off:before{content:"\F245"}.ivu-icon-ios-notifications-outline:before{content:"\F246"}.ivu-icon-ios-notifications:before{content:"\F247"}.ivu-icon-ios-nuclear-outline:before{content:"\F248"}.ivu-icon-ios-nuclear:before{content:"\F249"}.ivu-icon-ios-nutrition-outline:before{content:"\F24A"}.ivu-icon-ios-nutrition:before{content:"\F24B"}.ivu-icon-ios-open-outline:before{content:"\F24C"}.ivu-icon-ios-open:before{content:"\F24D"}.ivu-icon-ios-options-outline:before{content:"\F24E"}.ivu-icon-ios-options:before{content:"\F24F"}.ivu-icon-ios-outlet-outline:before{content:"\F250"}.ivu-icon-ios-outlet:before{content:"\F251"}.ivu-icon-ios-paper-outline:before{content:"\F252"}.ivu-icon-ios-paper-plane-outline:before{content:"\F253"}.ivu-icon-ios-paper-plane:before{content:"\F254"}.ivu-icon-ios-paper:before{content:"\F255"}.ivu-icon-ios-partly-sunny-outline:before{content:"\F256"}.ivu-icon-ios-partly-sunny:before{content:"\F257"}.ivu-icon-ios-pause-outline:before{content:"\F258"}.ivu-icon-ios-pause:before{content:"\F259"}.ivu-icon-ios-paw-outline:before{content:"\F25A"}.ivu-icon-ios-paw:before{content:"\F25B"}.ivu-icon-ios-people-outline:before{content:"\F25C"}.ivu-icon-ios-people:before{content:"\F25D"}.ivu-icon-ios-person-add-outline:before{content:"\F25E"}.ivu-icon-ios-person-add:before{content:"\F25F"}.ivu-icon-ios-person-outline:before{content:"\F260"}.ivu-icon-ios-person:before{content:"\F261"}.ivu-icon-ios-phone-landscape:before{content:"\F262"}.ivu-icon-ios-phone-portrait:before{content:"\F263"}.ivu-icon-ios-photos-outline:before{content:"\F264"}.ivu-icon-ios-photos:before{content:"\F265"}.ivu-icon-ios-pie-outline:before{content:"\F266"}.ivu-icon-ios-pie:before{content:"\F267"}.ivu-icon-ios-pin-outline:before{content:"\F268"}.ivu-icon-ios-pin:before{content:"\F269"}.ivu-icon-ios-pint-outline:before{content:"\F26A"}.ivu-icon-ios-pint:before{content:"\F26B"}.ivu-icon-ios-pizza-outline:before{content:"\F26C"}.ivu-icon-ios-pizza:before{content:"\F26D"}.ivu-icon-ios-plane-outline:before{content:"\F26E"}.ivu-icon-ios-plane:before{content:"\F26F"}.ivu-icon-ios-planet-outline:before{content:"\F270"}.ivu-icon-ios-planet:before{content:"\F271"}.ivu-icon-ios-play-outline:before{content:"\F272"}.ivu-icon-ios-play:before{content:"\F273"}.ivu-icon-ios-podium-outline:before{content:"\F274"}.ivu-icon-ios-podium:before{content:"\F275"}.ivu-icon-ios-power-outline:before{content:"\F276"}.ivu-icon-ios-power:before{content:"\F277"}.ivu-icon-ios-pricetag-outline:before{content:"\F278"}.ivu-icon-ios-pricetag:before{content:"\F279"}.ivu-icon-ios-pricetags-outline:before{content:"\F27A"}.ivu-icon-ios-pricetags:before{content:"\F27B"}.ivu-icon-ios-print-outline:before{content:"\F27C"}.ivu-icon-ios-print:before{content:"\F27D"}.ivu-icon-ios-pulse-outline:before{content:"\F27E"}.ivu-icon-ios-pulse:before{content:"\F27F"}.ivu-icon-ios-qr-scanner:before{content:"\F280"}.ivu-icon-ios-quote-outline:before{content:"\F281"}.ivu-icon-ios-quote:before{content:"\F282"}.ivu-icon-ios-radio-button-off:before{content:"\F283"}.ivu-icon-ios-radio-button-on:before{content:"\F284"}.ivu-icon-ios-radio-outline:before{content:"\F285"}.ivu-icon-ios-radio:before{content:"\F286"}.ivu-icon-ios-rainy-outline:before{content:"\F287"}.ivu-icon-ios-rainy:before{content:"\F288"}.ivu-icon-ios-recording-outline:before{content:"\F289"}.ivu-icon-ios-recording:before{content:"\F28A"}.ivu-icon-ios-redo-outline:before{content:"\F28B"}.ivu-icon-ios-redo:before{content:"\F28C"}.ivu-icon-ios-refresh-circle-outline:before{content:"\F28D"}.ivu-icon-ios-refresh-circle:before{content:"\F28E"}.ivu-icon-ios-refresh:before{content:"\F28F"}.ivu-icon-ios-remove-circle-outline:before{content:"\F290"}.ivu-icon-ios-remove-circle:before{content:"\F291"}.ivu-icon-ios-remove:before{content:"\F292"}.ivu-icon-ios-reorder:before{content:"\F293"}.ivu-icon-ios-repeat:before{content:"\F294"}.ivu-icon-ios-resize:before{content:"\F295"}.ivu-icon-ios-restaurant-outline:before{content:"\F296"}.ivu-icon-ios-restaurant:before{content:"\F297"}.ivu-icon-ios-return-left:before{content:"\F298"}.ivu-icon-ios-return-right:before{content:"\F299"}.ivu-icon-ios-reverse-camera-outline:before{content:"\F29A"}.ivu-icon-ios-reverse-camera:before{content:"\F29B"}.ivu-icon-ios-rewind-outline:before{content:"\F29C"}.ivu-icon-ios-rewind:before{content:"\F29D"}.ivu-icon-ios-ribbon-outline:before{content:"\F29E"}.ivu-icon-ios-ribbon:before{content:"\F29F"}.ivu-icon-ios-rose-outline:before{content:"\F2A0"}.ivu-icon-ios-rose:before{content:"\F2A1"}.ivu-icon-ios-sad-outline:before{content:"\F2A2"}.ivu-icon-ios-sad:before{content:"\F2A3"}.ivu-icon-ios-school-outline:before{content:"\F2A4"}.ivu-icon-ios-school:before{content:"\F2A5"}.ivu-icon-ios-search-outline:before{content:"\F2A6"}.ivu-icon-ios-search:before{content:"\F2A7"}.ivu-icon-ios-send-outline:before{content:"\F2A8"}.ivu-icon-ios-send:before{content:"\F2A9"}.ivu-icon-ios-settings-outline:before{content:"\F2AA"}.ivu-icon-ios-settings:before{content:"\F2AB"}.ivu-icon-ios-share-alt-outline:before{content:"\F2AC"}.ivu-icon-ios-share-alt:before{content:"\F2AD"}.ivu-icon-ios-share-outline:before{content:"\F2AE"}.ivu-icon-ios-share:before{content:"\F2AF"}.ivu-icon-ios-shirt-outline:before{content:"\F2B0"}.ivu-icon-ios-shirt:before{content:"\F2B1"}.ivu-icon-ios-shuffle:before{content:"\F2B2"}.ivu-icon-ios-skip-backward-outline:before{content:"\F2B3"}.ivu-icon-ios-skip-backward:before{content:"\F2B4"}.ivu-icon-ios-skip-forward-outline:before{content:"\F2B5"}.ivu-icon-ios-skip-forward:before{content:"\F2B6"}.ivu-icon-ios-snow-outline:before{content:"\F2B7"}.ivu-icon-ios-snow:before{content:"\F2B8"}.ivu-icon-ios-speedometer-outline:before{content:"\F2B9"}.ivu-icon-ios-speedometer:before{content:"\F2BA"}.ivu-icon-ios-square-outline:before{content:"\F2BB"}.ivu-icon-ios-square:before{content:"\F2BC"}.ivu-icon-ios-star-half:before{content:"\F2BD"}.ivu-icon-ios-star-outline:before{content:"\F2BE"}.ivu-icon-ios-star:before{content:"\F2BF"}.ivu-icon-ios-stats-outline:before{content:"\F2C0"}.ivu-icon-ios-stats:before{content:"\F2C1"}.ivu-icon-ios-stopwatch-outline:before{content:"\F2C2"}.ivu-icon-ios-stopwatch:before{content:"\F2C3"}.ivu-icon-ios-subway-outline:before{content:"\F2C4"}.ivu-icon-ios-subway:before{content:"\F2C5"}.ivu-icon-ios-sunny-outline:before{content:"\F2C6"}.ivu-icon-ios-sunny:before{content:"\F2C7"}.ivu-icon-ios-swap:before{content:"\F2C8"}.ivu-icon-ios-switch-outline:before{content:"\F2C9"}.ivu-icon-ios-switch:before{content:"\F2CA"}.ivu-icon-ios-sync:before{content:"\F2CB"}.ivu-icon-ios-tablet-landscape:before{content:"\F2CC"}.ivu-icon-ios-tablet-portrait:before{content:"\F2CD"}.ivu-icon-ios-tennisball-outline:before{content:"\F2CE"}.ivu-icon-ios-tennisball:before{content:"\F2CF"}.ivu-icon-ios-text-outline:before{content:"\F2D0"}.ivu-icon-ios-text:before{content:"\F2D1"}.ivu-icon-ios-thermometer-outline:before{content:"\F2D2"}.ivu-icon-ios-thermometer:before{content:"\F2D3"}.ivu-icon-ios-thumbs-down-outline:before{content:"\F2D4"}.ivu-icon-ios-thumbs-down:before{content:"\F2D5"}.ivu-icon-ios-thumbs-up-outline:before{content:"\F2D6"}.ivu-icon-ios-thumbs-up:before{content:"\F2D7"}.ivu-icon-ios-thunderstorm-outline:before{content:"\F2D8"}.ivu-icon-ios-thunderstorm:before{content:"\F2D9"}.ivu-icon-ios-time-outline:before{content:"\F2DA"}.ivu-icon-ios-time:before{content:"\F2DB"}.ivu-icon-ios-timer-outline:before{content:"\F2DC"}.ivu-icon-ios-timer:before{content:"\F2DD"}.ivu-icon-ios-train-outline:before{content:"\F2DE"}.ivu-icon-ios-train:before{content:"\F2DF"}.ivu-icon-ios-transgender:before{content:"\F2E0"}.ivu-icon-ios-trash-outline:before{content:"\F2E1"}.ivu-icon-ios-trash:before{content:"\F2E2"}.ivu-icon-ios-trending-down:before{content:"\F2E3"}.ivu-icon-ios-trending-up:before{content:"\F2E4"}.ivu-icon-ios-trophy-outline:before{content:"\F2E5"}.ivu-icon-ios-trophy:before{content:"\F2E6"}.ivu-icon-ios-umbrella-outline:before{content:"\F2E7"}.ivu-icon-ios-umbrella:before{content:"\F2E8"}.ivu-icon-ios-undo-outline:before{content:"\F2E9"}.ivu-icon-ios-undo:before{content:"\F2EA"}.ivu-icon-ios-unlock-outline:before{content:"\F2EB"}.ivu-icon-ios-unlock:before{content:"\F2EC"}.ivu-icon-ios-videocam-outline:before{content:"\F2ED"}.ivu-icon-ios-videocam:before{content:"\F2EE"}.ivu-icon-ios-volume-down:before{content:"\F2EF"}.ivu-icon-ios-volume-mute:before{content:"\F2F0"}.ivu-icon-ios-volume-off:before{content:"\F2F1"}.ivu-icon-ios-volume-up:before{content:"\F2F2"}.ivu-icon-ios-walk:before{content:"\F2F3"}.ivu-icon-ios-warning-outline:before{content:"\F2F4"}.ivu-icon-ios-warning:before{content:"\F2F5"}.ivu-icon-ios-watch:before{content:"\F2F6"}.ivu-icon-ios-water-outline:before{content:"\F2F7"}.ivu-icon-ios-water:before{content:"\F2F8"}.ivu-icon-ios-wifi-outline:before{content:"\F2F9"}.ivu-icon-ios-wifi:before{content:"\F2FA"}.ivu-icon-ios-wine-outline:before{content:"\F2FB"}.ivu-icon-ios-wine:before{content:"\F2FC"}.ivu-icon-ios-woman-outline:before{content:"\F2FD"}.ivu-icon-ios-woman:before{content:"\F2FE"}.ivu-icon-logo-android:before{content:"\F2FF"}.ivu-icon-logo-angular:before{content:"\F300"}.ivu-icon-logo-apple:before{content:"\F301"}.ivu-icon-logo-bitcoin:before{content:"\F302"}.ivu-icon-logo-buffer:before{content:"\F303"}.ivu-icon-logo-chrome:before{content:"\F304"}.ivu-icon-logo-codepen:before{content:"\F305"}.ivu-icon-logo-css3:before{content:"\F306"}.ivu-icon-logo-designernews:before{content:"\F307"}.ivu-icon-logo-dribbble:before{content:"\F308"}.ivu-icon-logo-dropbox:before{content:"\F309"}.ivu-icon-logo-euro:before{content:"\F30A"}.ivu-icon-logo-facebook:before{content:"\F30B"}.ivu-icon-logo-foursquare:before{content:"\F30C"}.ivu-icon-logo-freebsd-devil:before{content:"\F30D"}.ivu-icon-logo-github:before{content:"\F30E"}.ivu-icon-logo-google:before{content:"\F30F"}.ivu-icon-logo-googleplus:before{content:"\F310"}.ivu-icon-logo-hackernews:before{content:"\F311"}.ivu-icon-logo-html5:before{content:"\F312"}.ivu-icon-logo-instagram:before{content:"\F313"}.ivu-icon-logo-javascript:before{content:"\F314"}.ivu-icon-logo-linkedin:before{content:"\F315"}.ivu-icon-logo-markdown:before{content:"\F316"}.ivu-icon-logo-nodejs:before{content:"\F317"}.ivu-icon-logo-octocat:before{content:"\F318"}.ivu-icon-logo-pinterest:before{content:"\F319"}.ivu-icon-logo-playstation:before{content:"\F31A"}.ivu-icon-logo-python:before{content:"\F31B"}.ivu-icon-logo-reddit:before{content:"\F31C"}.ivu-icon-logo-rss:before{content:"\F31D"}.ivu-icon-logo-sass:before{content:"\F31E"}.ivu-icon-logo-skype:before{content:"\F31F"}.ivu-icon-logo-snapchat:before{content:"\F320"}.ivu-icon-logo-steam:before{content:"\F321"}.ivu-icon-logo-tumblr:before{content:"\F322"}.ivu-icon-logo-tux:before{content:"\F323"}.ivu-icon-logo-twitch:before{content:"\F324"}.ivu-icon-logo-twitter:before{content:"\F325"}.ivu-icon-logo-usd:before{content:"\F326"}.ivu-icon-logo-vimeo:before{content:"\F327"}.ivu-icon-logo-whatsapp:before{content:"\F328"}.ivu-icon-logo-windows:before{content:"\F329"}.ivu-icon-logo-wordpress:before{content:"\F32A"}.ivu-icon-logo-xbox:before{content:"\F32B"}.ivu-icon-logo-yahoo:before{content:"\F32C"}.ivu-icon-logo-yen:before{content:"\F32D"}.ivu-icon-logo-youtube:before{content:"\F32E"}.ivu-icon-md-add-circle:before{content:"\F32F"}.ivu-icon-md-add:before{content:"\F330"}.ivu-icon-md-alarm:before{content:"\F331"}.ivu-icon-md-albums:before{content:"\F332"}.ivu-icon-md-alert:before{content:"\F333"}.ivu-icon-md-american-football:before{content:"\F334"}.ivu-icon-md-analytics:before{content:"\F335"}.ivu-icon-md-aperture:before{content:"\F336"}.ivu-icon-md-apps:before{content:"\F337"}.ivu-icon-md-appstore:before{content:"\F338"}.ivu-icon-md-archive:before{content:"\F339"}.ivu-icon-md-arrow-back:before{content:"\F33A"}.ivu-icon-md-arrow-down:before{content:"\F33B"}.ivu-icon-md-arrow-dropdown-circle:before{content:"\F33C"}.ivu-icon-md-arrow-dropdown:before{content:"\F33D"}.ivu-icon-md-arrow-dropleft-circle:before{content:"\F33E"}.ivu-icon-md-arrow-dropleft:before{content:"\F33F"}.ivu-icon-md-arrow-dropright-circle:before{content:"\F340"}.ivu-icon-md-arrow-dropright:before{content:"\F341"}.ivu-icon-md-arrow-dropup-circle:before{content:"\F342"}.ivu-icon-md-arrow-dropup:before{content:"\F343"}.ivu-icon-md-arrow-forward:before{content:"\F344"}.ivu-icon-md-arrow-round-back:before{content:"\F345"}.ivu-icon-md-arrow-round-down:before{content:"\F346"}.ivu-icon-md-arrow-round-forward:before{content:"\F347"}.ivu-icon-md-arrow-round-up:before{content:"\F348"}.ivu-icon-md-arrow-up:before{content:"\F349"}.ivu-icon-md-at:before{content:"\F34A"}.ivu-icon-md-attach:before{content:"\F34B"}.ivu-icon-md-backspace:before{content:"\F34C"}.ivu-icon-md-barcode:before{content:"\F34D"}.ivu-icon-md-baseball:before{content:"\F34E"}.ivu-icon-md-basket:before{content:"\F34F"}.ivu-icon-md-basketball:before{content:"\F350"}.ivu-icon-md-battery-charging:before{content:"\F351"}.ivu-icon-md-battery-dead:before{content:"\F352"}.ivu-icon-md-battery-full:before{content:"\F353"}.ivu-icon-md-beaker:before{content:"\F354"}.ivu-icon-md-beer:before{content:"\F355"}.ivu-icon-md-bicycle:before{content:"\F356"}.ivu-icon-md-bluetooth:before{content:"\F357"}.ivu-icon-md-boat:before{content:"\F358"}.ivu-icon-md-body:before{content:"\F359"}.ivu-icon-md-bonfire:before{content:"\F35A"}.ivu-icon-md-book:before{content:"\F35B"}.ivu-icon-md-bookmark:before{content:"\F35C"}.ivu-icon-md-bookmarks:before{content:"\F35D"}.ivu-icon-md-bowtie:before{content:"\F35E"}.ivu-icon-md-briefcase:before{content:"\F35F"}.ivu-icon-md-browsers:before{content:"\F360"}.ivu-icon-md-brush:before{content:"\F361"}.ivu-icon-md-bug:before{content:"\F362"}.ivu-icon-md-build:before{content:"\F363"}.ivu-icon-md-bulb:before{content:"\F364"}.ivu-icon-md-bus:before{content:"\F365"}.ivu-icon-md-cafe:before{content:"\F366"}.ivu-icon-md-calculator:before{content:"\F367"}.ivu-icon-md-calendar:before{content:"\F368"}.ivu-icon-md-call:before{content:"\F369"}.ivu-icon-md-camera:before{content:"\F36A"}.ivu-icon-md-car:before{content:"\F36B"}.ivu-icon-md-card:before{content:"\F36C"}.ivu-icon-md-cart:before{content:"\F36D"}.ivu-icon-md-cash:before{content:"\F36E"}.ivu-icon-md-chatboxes:before{content:"\F36F"}.ivu-icon-md-chatbubbles:before{content:"\F370"}.ivu-icon-md-checkbox-outline:before{content:"\F371"}.ivu-icon-md-checkbox:before{content:"\F372"}.ivu-icon-md-checkmark-circle-outline:before{content:"\F373"}.ivu-icon-md-checkmark-circle:before{content:"\F374"}.ivu-icon-md-checkmark:before{content:"\F375"}.ivu-icon-md-clipboard:before{content:"\F376"}.ivu-icon-md-clock:before{content:"\F377"}.ivu-icon-md-close-circle:before{content:"\F378"}.ivu-icon-md-close:before{content:"\F379"}.ivu-icon-md-closed-captioning:before{content:"\F37A"}.ivu-icon-md-cloud-circle:before{content:"\F37B"}.ivu-icon-md-cloud-done:before{content:"\F37C"}.ivu-icon-md-cloud-download:before{content:"\F37D"}.ivu-icon-md-cloud-outline:before{content:"\F37E"}.ivu-icon-md-cloud-upload:before{content:"\F37F"}.ivu-icon-md-cloud:before{content:"\F380"}.ivu-icon-md-cloudy-night:before{content:"\F381"}.ivu-icon-md-cloudy:before{content:"\F382"}.ivu-icon-md-code-download:before{content:"\F383"}.ivu-icon-md-code-working:before{content:"\F384"}.ivu-icon-md-code:before{content:"\F385"}.ivu-icon-md-cog:before{content:"\F386"}.ivu-icon-md-color-fill:before{content:"\F387"}.ivu-icon-md-color-filter:before{content:"\F388"}.ivu-icon-md-color-palette:before{content:"\F389"}.ivu-icon-md-color-wand:before{content:"\F38A"}.ivu-icon-md-compass:before{content:"\F38B"}.ivu-icon-md-construct:before{content:"\F38C"}.ivu-icon-md-contact:before{content:"\F38D"}.ivu-icon-md-contacts:before{content:"\F38E"}.ivu-icon-md-contract:before{content:"\F38F"}.ivu-icon-md-contrast:before{content:"\F390"}.ivu-icon-md-copy:before{content:"\F391"}.ivu-icon-md-create:before{content:"\F392"}.ivu-icon-md-crop:before{content:"\F393"}.ivu-icon-md-cube:before{content:"\F394"}.ivu-icon-md-cut:before{content:"\F395"}.ivu-icon-md-desktop:before{content:"\F396"}.ivu-icon-md-disc:before{content:"\F397"}.ivu-icon-md-document:before{content:"\F398"}.ivu-icon-md-done-all:before{content:"\F399"}.ivu-icon-md-download:before{content:"\F39A"}.ivu-icon-md-easel:before{content:"\F39B"}.ivu-icon-md-egg:before{content:"\F39C"}.ivu-icon-md-exit:before{content:"\F39D"}.ivu-icon-md-expand:before{content:"\F39E"}.ivu-icon-md-eye-off:before{content:"\F39F"}.ivu-icon-md-eye:before{content:"\F3A0"}.ivu-icon-md-fastforward:before{content:"\F3A1"}.ivu-icon-md-female:before{content:"\F3A2"}.ivu-icon-md-filing:before{content:"\F3A3"}.ivu-icon-md-film:before{content:"\F3A4"}.ivu-icon-md-finger-print:before{content:"\F3A5"}.ivu-icon-md-flag:before{content:"\F3A6"}.ivu-icon-md-flame:before{content:"\F3A7"}.ivu-icon-md-flash:before{content:"\F3A8"}.ivu-icon-md-flask:before{content:"\F3A9"}.ivu-icon-md-flower:before{content:"\F3AA"}.ivu-icon-md-folder-open:before{content:"\F3AB"}.ivu-icon-md-folder:before{content:"\F3AC"}.ivu-icon-md-football:before{content:"\F3AD"}.ivu-icon-md-funnel:before{content:"\F3AE"}.ivu-icon-md-game-controller-a:before{content:"\F3AF"}.ivu-icon-md-game-controller-b:before{content:"\F3B0"}.ivu-icon-md-git-branch:before{content:"\F3B1"}.ivu-icon-md-git-commit:before{content:"\F3B2"}.ivu-icon-md-git-compare:before{content:"\F3B3"}.ivu-icon-md-git-merge:before{content:"\F3B4"}.ivu-icon-md-git-network:before{content:"\F3B5"}.ivu-icon-md-git-pull-request:before{content:"\F3B6"}.ivu-icon-md-glasses:before{content:"\F3B7"}.ivu-icon-md-globe:before{content:"\F3B8"}.ivu-icon-md-grid:before{content:"\F3B9"}.ivu-icon-md-hammer:before{content:"\F3BA"}.ivu-icon-md-hand:before{content:"\F3BB"}.ivu-icon-md-happy:before{content:"\F3BC"}.ivu-icon-md-headset:before{content:"\F3BD"}.ivu-icon-md-heart-outline:before{content:"\F3BE"}.ivu-icon-md-heart:before{content:"\F3BF"}.ivu-icon-md-help-buoy:before{content:"\F3C0"}.ivu-icon-md-help-circle:before{content:"\F3C1"}.ivu-icon-md-help:before{content:"\F3C2"}.ivu-icon-md-home:before{content:"\F3C3"}.ivu-icon-md-ice-cream:before{content:"\F3C4"}.ivu-icon-md-image:before{content:"\F3C5"}.ivu-icon-md-images:before{content:"\F3C6"}.ivu-icon-md-infinite:before{content:"\F3C7"}.ivu-icon-md-information-circle:before{content:"\F3C8"}.ivu-icon-md-information:before{content:"\F3C9"}.ivu-icon-md-ionic:before{content:"\F3CA"}.ivu-icon-md-ionitron:before{content:"\F3CB"}.ivu-icon-md-jet:before{content:"\F3CC"}.ivu-icon-md-key:before{content:"\F3CD"}.ivu-icon-md-keypad:before{content:"\F3CE"}.ivu-icon-md-laptop:before{content:"\F3CF"}.ivu-icon-md-leaf:before{content:"\F3D0"}.ivu-icon-md-link:before{content:"\F3D1"}.ivu-icon-md-list-box:before{content:"\F3D2"}.ivu-icon-md-list:before{content:"\F3D3"}.ivu-icon-md-locate:before{content:"\F3D4"}.ivu-icon-md-lock:before{content:"\F3D5"}.ivu-icon-md-log-in:before{content:"\F3D6"}.ivu-icon-md-log-out:before{content:"\F3D7"}.ivu-icon-md-magnet:before{content:"\F3D8"}.ivu-icon-md-mail-open:before{content:"\F3D9"}.ivu-icon-md-mail:before{content:"\F3DA"}.ivu-icon-md-male:before{content:"\F3DB"}.ivu-icon-md-man:before{content:"\F3DC"}.ivu-icon-md-map:before{content:"\F3DD"}.ivu-icon-md-medal:before{content:"\F3DE"}.ivu-icon-md-medical:before{content:"\F3DF"}.ivu-icon-md-medkit:before{content:"\F3E0"}.ivu-icon-md-megaphone:before{content:"\F3E1"}.ivu-icon-md-menu:before{content:"\F3E2"}.ivu-icon-md-mic-off:before{content:"\F3E3"}.ivu-icon-md-mic:before{content:"\F3E4"}.ivu-icon-md-microphone:before{content:"\F3E5"}.ivu-icon-md-moon:before{content:"\F3E6"}.ivu-icon-md-more:before{content:"\F3E7"}.ivu-icon-md-move:before{content:"\F3E8"}.ivu-icon-md-musical-note:before{content:"\F3E9"}.ivu-icon-md-musical-notes:before{content:"\F3EA"}.ivu-icon-md-navigate:before{content:"\F3EB"}.ivu-icon-md-no-smoking:before{content:"\F3EC"}.ivu-icon-md-notifications-off:before{content:"\F3ED"}.ivu-icon-md-notifications-outline:before{content:"\F3EE"}.ivu-icon-md-notifications:before{content:"\F3EF"}.ivu-icon-md-nuclear:before{content:"\F3F0"}.ivu-icon-md-nutrition:before{content:"\F3F1"}.ivu-icon-md-open:before{content:"\F3F2"}.ivu-icon-md-options:before{content:"\F3F3"}.ivu-icon-md-outlet:before{content:"\F3F4"}.ivu-icon-md-paper-plane:before{content:"\F3F5"}.ivu-icon-md-paper:before{content:"\F3F6"}.ivu-icon-md-partly-sunny:before{content:"\F3F7"}.ivu-icon-md-pause:before{content:"\F3F8"}.ivu-icon-md-paw:before{content:"\F3F9"}.ivu-icon-md-people:before{content:"\F3FA"}.ivu-icon-md-person-add:before{content:"\F3FB"}.ivu-icon-md-person:before{content:"\F3FC"}.ivu-icon-md-phone-landscape:before{content:"\F3FD"}.ivu-icon-md-phone-portrait:before{content:"\F3FE"}.ivu-icon-md-photos:before{content:"\F3FF"}.ivu-icon-md-pie:before{content:"\F400"}.ivu-icon-md-pin:before{content:"\F401"}.ivu-icon-md-pint:before{content:"\F402"}.ivu-icon-md-pizza:before{content:"\F403"}.ivu-icon-md-plane:before{content:"\F404"}.ivu-icon-md-planet:before{content:"\F405"}.ivu-icon-md-play:before{content:"\F406"}.ivu-icon-md-podium:before{content:"\F407"}.ivu-icon-md-power:before{content:"\F408"}.ivu-icon-md-pricetag:before{content:"\F409"}.ivu-icon-md-pricetags:before{content:"\F40A"}.ivu-icon-md-print:before{content:"\F40B"}.ivu-icon-md-pulse:before{content:"\F40C"}.ivu-icon-md-qr-scanner:before{content:"\F40D"}.ivu-icon-md-quote:before{content:"\F40E"}.ivu-icon-md-radio-button-off:before{content:"\F40F"}.ivu-icon-md-radio-button-on:before{content:"\F410"}.ivu-icon-md-radio:before{content:"\F411"}.ivu-icon-md-rainy:before{content:"\F412"}.ivu-icon-md-recording:before{content:"\F413"}.ivu-icon-md-redo:before{content:"\F414"}.ivu-icon-md-refresh-circle:before{content:"\F415"}.ivu-icon-md-refresh:before{content:"\F416"}.ivu-icon-md-remove-circle:before{content:"\F417"}.ivu-icon-md-remove:before{content:"\F418"}.ivu-icon-md-reorder:before{content:"\F419"}.ivu-icon-md-repeat:before{content:"\F41A"}.ivu-icon-md-resize:before{content:"\F41B"}.ivu-icon-md-restaurant:before{content:"\F41C"}.ivu-icon-md-return-left:before{content:"\F41D"}.ivu-icon-md-return-right:before{content:"\F41E"}.ivu-icon-md-reverse-camera:before{content:"\F41F"}.ivu-icon-md-rewind:before{content:"\F420"}.ivu-icon-md-ribbon:before{content:"\F421"}.ivu-icon-md-rose:before{content:"\F422"}.ivu-icon-md-sad:before{content:"\F423"}.ivu-icon-md-school:before{content:"\F424"}.ivu-icon-md-search:before{content:"\F425"}.ivu-icon-md-send:before{content:"\F426"}.ivu-icon-md-settings:before{content:"\F427"}.ivu-icon-md-share-alt:before{content:"\F428"}.ivu-icon-md-share:before{content:"\F429"}.ivu-icon-md-shirt:before{content:"\F42A"}.ivu-icon-md-shuffle:before{content:"\F42B"}.ivu-icon-md-skip-backward:before{content:"\F42C"}.ivu-icon-md-skip-forward:before{content:"\F42D"}.ivu-icon-md-snow:before{content:"\F42E"}.ivu-icon-md-speedometer:before{content:"\F42F"}.ivu-icon-md-square-outline:before{content:"\F430"}.ivu-icon-md-square:before{content:"\F431"}.ivu-icon-md-star-half:before{content:"\F432"}.ivu-icon-md-star-outline:before{content:"\F433"}.ivu-icon-md-star:before{content:"\F434"}.ivu-icon-md-stats:before{content:"\F435"}.ivu-icon-md-stopwatch:before{content:"\F436"}.ivu-icon-md-subway:before{content:"\F437"}.ivu-icon-md-sunny:before{content:"\F438"}.ivu-icon-md-swap:before{content:"\F439"}.ivu-icon-md-switch:before{content:"\F43A"}.ivu-icon-md-sync:before{content:"\F43B"}.ivu-icon-md-tablet-landscape:before{content:"\F43C"}.ivu-icon-md-tablet-portrait:before{content:"\F43D"}.ivu-icon-md-tennisball:before{content:"\F43E"}.ivu-icon-md-text:before{content:"\F43F"}.ivu-icon-md-thermometer:before{content:"\F440"}.ivu-icon-md-thumbs-down:before{content:"\F441"}.ivu-icon-md-thumbs-up:before{content:"\F442"}.ivu-icon-md-thunderstorm:before{content:"\F443"}.ivu-icon-md-time:before{content:"\F444"}.ivu-icon-md-timer:before{content:"\F445"}.ivu-icon-md-train:before{content:"\F446"}.ivu-icon-md-transgender:before{content:"\F447"}.ivu-icon-md-trash:before{content:"\F448"}.ivu-icon-md-trending-down:before{content:"\F449"}.ivu-icon-md-trending-up:before{content:"\F44A"}.ivu-icon-md-trophy:before{content:"\F44B"}.ivu-icon-md-umbrella:before{content:"\F44C"}.ivu-icon-md-undo:before{content:"\F44D"}.ivu-icon-md-unlock:before{content:"\F44E"}.ivu-icon-md-videocam:before{content:"\F44F"}.ivu-icon-md-volume-down:before{content:"\F450"}.ivu-icon-md-volume-mute:before{content:"\F451"}.ivu-icon-md-volume-off:before{content:"\F452"}.ivu-icon-md-volume-up:before{content:"\F453"}.ivu-icon-md-walk:before{content:"\F454"}.ivu-icon-md-warning:before{content:"\F455"}.ivu-icon-md-watch:before{content:"\F456"}.ivu-icon-md-water:before{content:"\F457"}.ivu-icon-md-wifi:before{content:"\F458"}.ivu-icon-md-wine:before{content:"\F459"}.ivu-icon-md-woman:before{content:"\F45A"}.ivu-icon-ios-loading:before{content:"\F45B"}.ivu-row{position:relative;margin-left:0;margin-right:0;height:auto;zoom:1;display:block}.ivu-row:after,.ivu-row:before{content:"";display:table}.ivu-row:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-row-flex{display:flex;flex-direction:row;flex-wrap:wrap}.ivu-row-flex:after,.ivu-row-flex:before{display:flex}.ivu-row-flex-start{justify-content:flex-start}.ivu-row-flex-center{justify-content:center}.ivu-row-flex-end{justify-content:flex-end}.ivu-row-flex-space-between{justify-content:space-between}.ivu-row-flex-space-around{justify-content:space-around}.ivu-row-flex-top{align-items:flex-start}.ivu-row-flex-middle{align-items:center}.ivu-row-flex-bottom{align-items:flex-end}.ivu-col{position:relative;display:block}.ivu-col-span-1,.ivu-col-span-2,.ivu-col-span-3,.ivu-col-span-4,.ivu-col-span-5,.ivu-col-span-6,.ivu-col-span-7,.ivu-col-span-8,.ivu-col-span-9,.ivu-col-span-10,.ivu-col-span-11,.ivu-col-span-12,.ivu-col-span-13,.ivu-col-span-14,.ivu-col-span-15,.ivu-col-span-16,.ivu-col-span-17,.ivu-col-span-18,.ivu-col-span-19,.ivu-col-span-20,.ivu-col-span-21,.ivu-col-span-22,.ivu-col-span-23,.ivu-col-span-24{float:left;flex:0 0 auto}.ivu-col-span-24{display:block;width:100%}.ivu-col-push-24{left:100%}.ivu-col-pull-24{right:100%}.ivu-col-offset-24{margin-left:100%}.ivu-col-order-24{order:24}.ivu-col-span-23{display:block;width:95.83333333%}.ivu-col-push-23{left:95.83333333%}.ivu-col-pull-23{right:95.83333333%}.ivu-col-offset-23{margin-left:95.83333333%}.ivu-col-order-23{order:23}.ivu-col-span-22{display:block;width:91.66666667%}.ivu-col-push-22{left:91.66666667%}.ivu-col-pull-22{right:91.66666667%}.ivu-col-offset-22{margin-left:91.66666667%}.ivu-col-order-22{order:22}.ivu-col-span-21{display:block;width:87.5%}.ivu-col-push-21{left:87.5%}.ivu-col-pull-21{right:87.5%}.ivu-col-offset-21{margin-left:87.5%}.ivu-col-order-21{order:21}.ivu-col-span-20{display:block;width:83.33333333%}.ivu-col-push-20{left:83.33333333%}.ivu-col-pull-20{right:83.33333333%}.ivu-col-offset-20{margin-left:83.33333333%}.ivu-col-order-20{order:20}.ivu-col-span-19{display:block;width:79.16666667%}.ivu-col-push-19{left:79.16666667%}.ivu-col-pull-19{right:79.16666667%}.ivu-col-offset-19{margin-left:79.16666667%}.ivu-col-order-19{order:19}.ivu-col-span-18{display:block;width:75%}.ivu-col-push-18{left:75%}.ivu-col-pull-18{right:75%}.ivu-col-offset-18{margin-left:75%}.ivu-col-order-18{order:18}.ivu-col-span-17{display:block;width:70.83333333%}.ivu-col-push-17{left:70.83333333%}.ivu-col-pull-17{right:70.83333333%}.ivu-col-offset-17{margin-left:70.83333333%}.ivu-col-order-17{order:17}.ivu-col-span-16{display:block;width:66.66666667%}.ivu-col-push-16{left:66.66666667%}.ivu-col-pull-16{right:66.66666667%}.ivu-col-offset-16{margin-left:66.66666667%}.ivu-col-order-16{order:16}.ivu-col-span-15{display:block;width:62.5%}.ivu-col-push-15{left:62.5%}.ivu-col-pull-15{right:62.5%}.ivu-col-offset-15{margin-left:62.5%}.ivu-col-order-15{order:15}.ivu-col-span-14{display:block;width:58.33333333%}.ivu-col-push-14{left:58.33333333%}.ivu-col-pull-14{right:58.33333333%}.ivu-col-offset-14{margin-left:58.33333333%}.ivu-col-order-14{order:14}.ivu-col-span-13{display:block;width:54.16666667%}.ivu-col-push-13{left:54.16666667%}.ivu-col-pull-13{right:54.16666667%}.ivu-col-offset-13{margin-left:54.16666667%}.ivu-col-order-13{order:13}.ivu-col-span-12{display:block;width:50%}.ivu-col-push-12{left:50%}.ivu-col-pull-12{right:50%}.ivu-col-offset-12{margin-left:50%}.ivu-col-order-12{order:12}.ivu-col-span-11{display:block;width:45.83333333%}.ivu-col-push-11{left:45.83333333%}.ivu-col-pull-11{right:45.83333333%}.ivu-col-offset-11{margin-left:45.83333333%}.ivu-col-order-11{order:11}.ivu-col-span-10{display:block;width:41.66666667%}.ivu-col-push-10{left:41.66666667%}.ivu-col-pull-10{right:41.66666667%}.ivu-col-offset-10{margin-left:41.66666667%}.ivu-col-order-10{order:10}.ivu-col-span-9{display:block;width:37.5%}.ivu-col-push-9{left:37.5%}.ivu-col-pull-9{right:37.5%}.ivu-col-offset-9{margin-left:37.5%}.ivu-col-order-9{order:9}.ivu-col-span-8{display:block;width:33.33333333%}.ivu-col-push-8{left:33.33333333%}.ivu-col-pull-8{right:33.33333333%}.ivu-col-offset-8{margin-left:33.33333333%}.ivu-col-order-8{order:8}.ivu-col-span-7{display:block;width:29.16666667%}.ivu-col-push-7{left:29.16666667%}.ivu-col-pull-7{right:29.16666667%}.ivu-col-offset-7{margin-left:29.16666667%}.ivu-col-order-7{order:7}.ivu-col-span-6{display:block;width:25%}.ivu-col-push-6{left:25%}.ivu-col-pull-6{right:25%}.ivu-col-offset-6{margin-left:25%}.ivu-col-order-6{order:6}.ivu-col-span-5{display:block;width:20.83333333%}.ivu-col-push-5{left:20.83333333%}.ivu-col-pull-5{right:20.83333333%}.ivu-col-offset-5{margin-left:20.83333333%}.ivu-col-order-5{order:5}.ivu-col-span-4{display:block;width:16.66666667%}.ivu-col-push-4{left:16.66666667%}.ivu-col-pull-4{right:16.66666667%}.ivu-col-offset-4{margin-left:16.66666667%}.ivu-col-order-4{order:4}.ivu-col-span-3{display:block;width:12.5%}.ivu-col-push-3{left:12.5%}.ivu-col-pull-3{right:12.5%}.ivu-col-offset-3{margin-left:12.5%}.ivu-col-order-3{order:3}.ivu-col-span-2{display:block;width:8.33333333%}.ivu-col-push-2{left:8.33333333%}.ivu-col-pull-2{right:8.33333333%}.ivu-col-offset-2{margin-left:8.33333333%}.ivu-col-order-2{order:2}.ivu-col-span-1{display:block;width:4.16666667%}.ivu-col-push-1{left:4.16666667%}.ivu-col-pull-1{right:4.16666667%}.ivu-col-offset-1{margin-left:4.16666667%}.ivu-col-order-1{order:1}.ivu-col-span-0{display:none}.ivu-col-push-0{left:auto}.ivu-col-pull-0{right:auto}.ivu-col-span-xs-1,.ivu-col-span-xs-2,.ivu-col-span-xs-3,.ivu-col-span-xs-4,.ivu-col-span-xs-5,.ivu-col-span-xs-6,.ivu-col-span-xs-7,.ivu-col-span-xs-8,.ivu-col-span-xs-9,.ivu-col-span-xs-10,.ivu-col-span-xs-11,.ivu-col-span-xs-12,.ivu-col-span-xs-13,.ivu-col-span-xs-14,.ivu-col-span-xs-15,.ivu-col-span-xs-16,.ivu-col-span-xs-17,.ivu-col-span-xs-18,.ivu-col-span-xs-19,.ivu-col-span-xs-20,.ivu-col-span-xs-21,.ivu-col-span-xs-22,.ivu-col-span-xs-23,.ivu-col-span-xs-24{float:left;flex:0 0 auto}.ivu-col-span-xs-24{display:block;width:100%}.ivu-col-xs-push-24{left:100%}.ivu-col-xs-pull-24{right:100%}.ivu-col-xs-offset-24{margin-left:100%}.ivu-col-xs-order-24{order:24}.ivu-col-span-xs-23{display:block;width:95.83333333%}.ivu-col-xs-push-23{left:95.83333333%}.ivu-col-xs-pull-23{right:95.83333333%}.ivu-col-xs-offset-23{margin-left:95.83333333%}.ivu-col-xs-order-23{order:23}.ivu-col-span-xs-22{display:block;width:91.66666667%}.ivu-col-xs-push-22{left:91.66666667%}.ivu-col-xs-pull-22{right:91.66666667%}.ivu-col-xs-offset-22{margin-left:91.66666667%}.ivu-col-xs-order-22{order:22}.ivu-col-span-xs-21{display:block;width:87.5%}.ivu-col-xs-push-21{left:87.5%}.ivu-col-xs-pull-21{right:87.5%}.ivu-col-xs-offset-21{margin-left:87.5%}.ivu-col-xs-order-21{order:21}.ivu-col-span-xs-20{display:block;width:83.33333333%}.ivu-col-xs-push-20{left:83.33333333%}.ivu-col-xs-pull-20{right:83.33333333%}.ivu-col-xs-offset-20{margin-left:83.33333333%}.ivu-col-xs-order-20{order:20}.ivu-col-span-xs-19{display:block;width:79.16666667%}.ivu-col-xs-push-19{left:79.16666667%}.ivu-col-xs-pull-19{right:79.16666667%}.ivu-col-xs-offset-19{margin-left:79.16666667%}.ivu-col-xs-order-19{order:19}.ivu-col-span-xs-18{display:block;width:75%}.ivu-col-xs-push-18{left:75%}.ivu-col-xs-pull-18{right:75%}.ivu-col-xs-offset-18{margin-left:75%}.ivu-col-xs-order-18{order:18}.ivu-col-span-xs-17{display:block;width:70.83333333%}.ivu-col-xs-push-17{left:70.83333333%}.ivu-col-xs-pull-17{right:70.83333333%}.ivu-col-xs-offset-17{margin-left:70.83333333%}.ivu-col-xs-order-17{order:17}.ivu-col-span-xs-16{display:block;width:66.66666667%}.ivu-col-xs-push-16{left:66.66666667%}.ivu-col-xs-pull-16{right:66.66666667%}.ivu-col-xs-offset-16{margin-left:66.66666667%}.ivu-col-xs-order-16{order:16}.ivu-col-span-xs-15{display:block;width:62.5%}.ivu-col-xs-push-15{left:62.5%}.ivu-col-xs-pull-15{right:62.5%}.ivu-col-xs-offset-15{margin-left:62.5%}.ivu-col-xs-order-15{order:15}.ivu-col-span-xs-14{display:block;width:58.33333333%}.ivu-col-xs-push-14{left:58.33333333%}.ivu-col-xs-pull-14{right:58.33333333%}.ivu-col-xs-offset-14{margin-left:58.33333333%}.ivu-col-xs-order-14{order:14}.ivu-col-span-xs-13{display:block;width:54.16666667%}.ivu-col-xs-push-13{left:54.16666667%}.ivu-col-xs-pull-13{right:54.16666667%}.ivu-col-xs-offset-13{margin-left:54.16666667%}.ivu-col-xs-order-13{order:13}.ivu-col-span-xs-12{display:block;width:50%}.ivu-col-xs-push-12{left:50%}.ivu-col-xs-pull-12{right:50%}.ivu-col-xs-offset-12{margin-left:50%}.ivu-col-xs-order-12{order:12}.ivu-col-span-xs-11{display:block;width:45.83333333%}.ivu-col-xs-push-11{left:45.83333333%}.ivu-col-xs-pull-11{right:45.83333333%}.ivu-col-xs-offset-11{margin-left:45.83333333%}.ivu-col-xs-order-11{order:11}.ivu-col-span-xs-10{display:block;width:41.66666667%}.ivu-col-xs-push-10{left:41.66666667%}.ivu-col-xs-pull-10{right:41.66666667%}.ivu-col-xs-offset-10{margin-left:41.66666667%}.ivu-col-xs-order-10{order:10}.ivu-col-span-xs-9{display:block;width:37.5%}.ivu-col-xs-push-9{left:37.5%}.ivu-col-xs-pull-9{right:37.5%}.ivu-col-xs-offset-9{margin-left:37.5%}.ivu-col-xs-order-9{order:9}.ivu-col-span-xs-8{display:block;width:33.33333333%}.ivu-col-xs-push-8{left:33.33333333%}.ivu-col-xs-pull-8{right:33.33333333%}.ivu-col-xs-offset-8{margin-left:33.33333333%}.ivu-col-xs-order-8{order:8}.ivu-col-span-xs-7{display:block;width:29.16666667%}.ivu-col-xs-push-7{left:29.16666667%}.ivu-col-xs-pull-7{right:29.16666667%}.ivu-col-xs-offset-7{margin-left:29.16666667%}.ivu-col-xs-order-7{order:7}.ivu-col-span-xs-6{display:block;width:25%}.ivu-col-xs-push-6{left:25%}.ivu-col-xs-pull-6{right:25%}.ivu-col-xs-offset-6{margin-left:25%}.ivu-col-xs-order-6{order:6}.ivu-col-span-xs-5{display:block;width:20.83333333%}.ivu-col-xs-push-5{left:20.83333333%}.ivu-col-xs-pull-5{right:20.83333333%}.ivu-col-xs-offset-5{margin-left:20.83333333%}.ivu-col-xs-order-5{order:5}.ivu-col-span-xs-4{display:block;width:16.66666667%}.ivu-col-xs-push-4{left:16.66666667%}.ivu-col-xs-pull-4{right:16.66666667%}.ivu-col-xs-offset-4{margin-left:16.66666667%}.ivu-col-xs-order-4{order:4}.ivu-col-span-xs-3{display:block;width:12.5%}.ivu-col-xs-push-3{left:12.5%}.ivu-col-xs-pull-3{right:12.5%}.ivu-col-xs-offset-3{margin-left:12.5%}.ivu-col-xs-order-3{order:3}.ivu-col-span-xs-2{display:block;width:8.33333333%}.ivu-col-xs-push-2{left:8.33333333%}.ivu-col-xs-pull-2{right:8.33333333%}.ivu-col-xs-offset-2{margin-left:8.33333333%}.ivu-col-xs-order-2{order:2}.ivu-col-span-xs-1{display:block;width:4.16666667%}.ivu-col-xs-push-1{left:4.16666667%}.ivu-col-xs-pull-1{right:4.16666667%}.ivu-col-xs-offset-1{margin-left:4.16666667%}.ivu-col-xs-order-1{order:1}.ivu-col-span-xs-0{display:none}.ivu-col-xs-push-0{left:auto}.ivu-col-xs-pull-0{right:auto}@media (min-width:768px){.ivu-col-span-sm-1,.ivu-col-span-sm-2,.ivu-col-span-sm-3,.ivu-col-span-sm-4,.ivu-col-span-sm-5,.ivu-col-span-sm-6,.ivu-col-span-sm-7,.ivu-col-span-sm-8,.ivu-col-span-sm-9,.ivu-col-span-sm-10,.ivu-col-span-sm-11,.ivu-col-span-sm-12,.ivu-col-span-sm-13,.ivu-col-span-sm-14,.ivu-col-span-sm-15,.ivu-col-span-sm-16,.ivu-col-span-sm-17,.ivu-col-span-sm-18,.ivu-col-span-sm-19,.ivu-col-span-sm-20,.ivu-col-span-sm-21,.ivu-col-span-sm-22,.ivu-col-span-sm-23,.ivu-col-span-sm-24{float:left;flex:0 0 auto}.ivu-col-span-sm-24{display:block;width:100%}.ivu-col-sm-push-24{left:100%}.ivu-col-sm-pull-24{right:100%}.ivu-col-sm-offset-24{margin-left:100%}.ivu-col-sm-order-24{order:24}.ivu-col-span-sm-23{display:block;width:95.83333333%}.ivu-col-sm-push-23{left:95.83333333%}.ivu-col-sm-pull-23{right:95.83333333%}.ivu-col-sm-offset-23{margin-left:95.83333333%}.ivu-col-sm-order-23{order:23}.ivu-col-span-sm-22{display:block;width:91.66666667%}.ivu-col-sm-push-22{left:91.66666667%}.ivu-col-sm-pull-22{right:91.66666667%}.ivu-col-sm-offset-22{margin-left:91.66666667%}.ivu-col-sm-order-22{order:22}.ivu-col-span-sm-21{display:block;width:87.5%}.ivu-col-sm-push-21{left:87.5%}.ivu-col-sm-pull-21{right:87.5%}.ivu-col-sm-offset-21{margin-left:87.5%}.ivu-col-sm-order-21{order:21}.ivu-col-span-sm-20{display:block;width:83.33333333%}.ivu-col-sm-push-20{left:83.33333333%}.ivu-col-sm-pull-20{right:83.33333333%}.ivu-col-sm-offset-20{margin-left:83.33333333%}.ivu-col-sm-order-20{order:20}.ivu-col-span-sm-19{display:block;width:79.16666667%}.ivu-col-sm-push-19{left:79.16666667%}.ivu-col-sm-pull-19{right:79.16666667%}.ivu-col-sm-offset-19{margin-left:79.16666667%}.ivu-col-sm-order-19{order:19}.ivu-col-span-sm-18{display:block;width:75%}.ivu-col-sm-push-18{left:75%}.ivu-col-sm-pull-18{right:75%}.ivu-col-sm-offset-18{margin-left:75%}.ivu-col-sm-order-18{order:18}.ivu-col-span-sm-17{display:block;width:70.83333333%}.ivu-col-sm-push-17{left:70.83333333%}.ivu-col-sm-pull-17{right:70.83333333%}.ivu-col-sm-offset-17{margin-left:70.83333333%}.ivu-col-sm-order-17{order:17}.ivu-col-span-sm-16{display:block;width:66.66666667%}.ivu-col-sm-push-16{left:66.66666667%}.ivu-col-sm-pull-16{right:66.66666667%}.ivu-col-sm-offset-16{margin-left:66.66666667%}.ivu-col-sm-order-16{order:16}.ivu-col-span-sm-15{display:block;width:62.5%}.ivu-col-sm-push-15{left:62.5%}.ivu-col-sm-pull-15{right:62.5%}.ivu-col-sm-offset-15{margin-left:62.5%}.ivu-col-sm-order-15{order:15}.ivu-col-span-sm-14{display:block;width:58.33333333%}.ivu-col-sm-push-14{left:58.33333333%}.ivu-col-sm-pull-14{right:58.33333333%}.ivu-col-sm-offset-14{margin-left:58.33333333%}.ivu-col-sm-order-14{order:14}.ivu-col-span-sm-13{display:block;width:54.16666667%}.ivu-col-sm-push-13{left:54.16666667%}.ivu-col-sm-pull-13{right:54.16666667%}.ivu-col-sm-offset-13{margin-left:54.16666667%}.ivu-col-sm-order-13{order:13}.ivu-col-span-sm-12{display:block;width:50%}.ivu-col-sm-push-12{left:50%}.ivu-col-sm-pull-12{right:50%}.ivu-col-sm-offset-12{margin-left:50%}.ivu-col-sm-order-12{order:12}.ivu-col-span-sm-11{display:block;width:45.83333333%}.ivu-col-sm-push-11{left:45.83333333%}.ivu-col-sm-pull-11{right:45.83333333%}.ivu-col-sm-offset-11{margin-left:45.83333333%}.ivu-col-sm-order-11{order:11}.ivu-col-span-sm-10{display:block;width:41.66666667%}.ivu-col-sm-push-10{left:41.66666667%}.ivu-col-sm-pull-10{right:41.66666667%}.ivu-col-sm-offset-10{margin-left:41.66666667%}.ivu-col-sm-order-10{order:10}.ivu-col-span-sm-9{display:block;width:37.5%}.ivu-col-sm-push-9{left:37.5%}.ivu-col-sm-pull-9{right:37.5%}.ivu-col-sm-offset-9{margin-left:37.5%}.ivu-col-sm-order-9{order:9}.ivu-col-span-sm-8{display:block;width:33.33333333%}.ivu-col-sm-push-8{left:33.33333333%}.ivu-col-sm-pull-8{right:33.33333333%}.ivu-col-sm-offset-8{margin-left:33.33333333%}.ivu-col-sm-order-8{order:8}.ivu-col-span-sm-7{display:block;width:29.16666667%}.ivu-col-sm-push-7{left:29.16666667%}.ivu-col-sm-pull-7{right:29.16666667%}.ivu-col-sm-offset-7{margin-left:29.16666667%}.ivu-col-sm-order-7{order:7}.ivu-col-span-sm-6{display:block;width:25%}.ivu-col-sm-push-6{left:25%}.ivu-col-sm-pull-6{right:25%}.ivu-col-sm-offset-6{margin-left:25%}.ivu-col-sm-order-6{order:6}.ivu-col-span-sm-5{display:block;width:20.83333333%}.ivu-col-sm-push-5{left:20.83333333%}.ivu-col-sm-pull-5{right:20.83333333%}.ivu-col-sm-offset-5{margin-left:20.83333333%}.ivu-col-sm-order-5{order:5}.ivu-col-span-sm-4{display:block;width:16.66666667%}.ivu-col-sm-push-4{left:16.66666667%}.ivu-col-sm-pull-4{right:16.66666667%}.ivu-col-sm-offset-4{margin-left:16.66666667%}.ivu-col-sm-order-4{order:4}.ivu-col-span-sm-3{display:block;width:12.5%}.ivu-col-sm-push-3{left:12.5%}.ivu-col-sm-pull-3{right:12.5%}.ivu-col-sm-offset-3{margin-left:12.5%}.ivu-col-sm-order-3{order:3}.ivu-col-span-sm-2{display:block;width:8.33333333%}.ivu-col-sm-push-2{left:8.33333333%}.ivu-col-sm-pull-2{right:8.33333333%}.ivu-col-sm-offset-2{margin-left:8.33333333%}.ivu-col-sm-order-2{order:2}.ivu-col-span-sm-1{display:block;width:4.16666667%}.ivu-col-sm-push-1{left:4.16666667%}.ivu-col-sm-pull-1{right:4.16666667%}.ivu-col-sm-offset-1{margin-left:4.16666667%}.ivu-col-sm-order-1{order:1}.ivu-col-span-sm-0{display:none}.ivu-col-sm-push-0{left:auto}.ivu-col-sm-pull-0{right:auto}}@media (min-width:992px){.ivu-col-span-md-1,.ivu-col-span-md-2,.ivu-col-span-md-3,.ivu-col-span-md-4,.ivu-col-span-md-5,.ivu-col-span-md-6,.ivu-col-span-md-7,.ivu-col-span-md-8,.ivu-col-span-md-9,.ivu-col-span-md-10,.ivu-col-span-md-11,.ivu-col-span-md-12,.ivu-col-span-md-13,.ivu-col-span-md-14,.ivu-col-span-md-15,.ivu-col-span-md-16,.ivu-col-span-md-17,.ivu-col-span-md-18,.ivu-col-span-md-19,.ivu-col-span-md-20,.ivu-col-span-md-21,.ivu-col-span-md-22,.ivu-col-span-md-23,.ivu-col-span-md-24{float:left;flex:0 0 auto}.ivu-col-span-md-24{display:block;width:100%}.ivu-col-md-push-24{left:100%}.ivu-col-md-pull-24{right:100%}.ivu-col-md-offset-24{margin-left:100%}.ivu-col-md-order-24{order:24}.ivu-col-span-md-23{display:block;width:95.83333333%}.ivu-col-md-push-23{left:95.83333333%}.ivu-col-md-pull-23{right:95.83333333%}.ivu-col-md-offset-23{margin-left:95.83333333%}.ivu-col-md-order-23{order:23}.ivu-col-span-md-22{display:block;width:91.66666667%}.ivu-col-md-push-22{left:91.66666667%}.ivu-col-md-pull-22{right:91.66666667%}.ivu-col-md-offset-22{margin-left:91.66666667%}.ivu-col-md-order-22{order:22}.ivu-col-span-md-21{display:block;width:87.5%}.ivu-col-md-push-21{left:87.5%}.ivu-col-md-pull-21{right:87.5%}.ivu-col-md-offset-21{margin-left:87.5%}.ivu-col-md-order-21{order:21}.ivu-col-span-md-20{display:block;width:83.33333333%}.ivu-col-md-push-20{left:83.33333333%}.ivu-col-md-pull-20{right:83.33333333%}.ivu-col-md-offset-20{margin-left:83.33333333%}.ivu-col-md-order-20{order:20}.ivu-col-span-md-19{display:block;width:79.16666667%}.ivu-col-md-push-19{left:79.16666667%}.ivu-col-md-pull-19{right:79.16666667%}.ivu-col-md-offset-19{margin-left:79.16666667%}.ivu-col-md-order-19{order:19}.ivu-col-span-md-18{display:block;width:75%}.ivu-col-md-push-18{left:75%}.ivu-col-md-pull-18{right:75%}.ivu-col-md-offset-18{margin-left:75%}.ivu-col-md-order-18{order:18}.ivu-col-span-md-17{display:block;width:70.83333333%}.ivu-col-md-push-17{left:70.83333333%}.ivu-col-md-pull-17{right:70.83333333%}.ivu-col-md-offset-17{margin-left:70.83333333%}.ivu-col-md-order-17{order:17}.ivu-col-span-md-16{display:block;width:66.66666667%}.ivu-col-md-push-16{left:66.66666667%}.ivu-col-md-pull-16{right:66.66666667%}.ivu-col-md-offset-16{margin-left:66.66666667%}.ivu-col-md-order-16{order:16}.ivu-col-span-md-15{display:block;width:62.5%}.ivu-col-md-push-15{left:62.5%}.ivu-col-md-pull-15{right:62.5%}.ivu-col-md-offset-15{margin-left:62.5%}.ivu-col-md-order-15{order:15}.ivu-col-span-md-14{display:block;width:58.33333333%}.ivu-col-md-push-14{left:58.33333333%}.ivu-col-md-pull-14{right:58.33333333%}.ivu-col-md-offset-14{margin-left:58.33333333%}.ivu-col-md-order-14{order:14}.ivu-col-span-md-13{display:block;width:54.16666667%}.ivu-col-md-push-13{left:54.16666667%}.ivu-col-md-pull-13{right:54.16666667%}.ivu-col-md-offset-13{margin-left:54.16666667%}.ivu-col-md-order-13{order:13}.ivu-col-span-md-12{display:block;width:50%}.ivu-col-md-push-12{left:50%}.ivu-col-md-pull-12{right:50%}.ivu-col-md-offset-12{margin-left:50%}.ivu-col-md-order-12{order:12}.ivu-col-span-md-11{display:block;width:45.83333333%}.ivu-col-md-push-11{left:45.83333333%}.ivu-col-md-pull-11{right:45.83333333%}.ivu-col-md-offset-11{margin-left:45.83333333%}.ivu-col-md-order-11{order:11}.ivu-col-span-md-10{display:block;width:41.66666667%}.ivu-col-md-push-10{left:41.66666667%}.ivu-col-md-pull-10{right:41.66666667%}.ivu-col-md-offset-10{margin-left:41.66666667%}.ivu-col-md-order-10{order:10}.ivu-col-span-md-9{display:block;width:37.5%}.ivu-col-md-push-9{left:37.5%}.ivu-col-md-pull-9{right:37.5%}.ivu-col-md-offset-9{margin-left:37.5%}.ivu-col-md-order-9{order:9}.ivu-col-span-md-8{display:block;width:33.33333333%}.ivu-col-md-push-8{left:33.33333333%}.ivu-col-md-pull-8{right:33.33333333%}.ivu-col-md-offset-8{margin-left:33.33333333%}.ivu-col-md-order-8{order:8}.ivu-col-span-md-7{display:block;width:29.16666667%}.ivu-col-md-push-7{left:29.16666667%}.ivu-col-md-pull-7{right:29.16666667%}.ivu-col-md-offset-7{margin-left:29.16666667%}.ivu-col-md-order-7{order:7}.ivu-col-span-md-6{display:block;width:25%}.ivu-col-md-push-6{left:25%}.ivu-col-md-pull-6{right:25%}.ivu-col-md-offset-6{margin-left:25%}.ivu-col-md-order-6{order:6}.ivu-col-span-md-5{display:block;width:20.83333333%}.ivu-col-md-push-5{left:20.83333333%}.ivu-col-md-pull-5{right:20.83333333%}.ivu-col-md-offset-5{margin-left:20.83333333%}.ivu-col-md-order-5{order:5}.ivu-col-span-md-4{display:block;width:16.66666667%}.ivu-col-md-push-4{left:16.66666667%}.ivu-col-md-pull-4{right:16.66666667%}.ivu-col-md-offset-4{margin-left:16.66666667%}.ivu-col-md-order-4{order:4}.ivu-col-span-md-3{display:block;width:12.5%}.ivu-col-md-push-3{left:12.5%}.ivu-col-md-pull-3{right:12.5%}.ivu-col-md-offset-3{margin-left:12.5%}.ivu-col-md-order-3{order:3}.ivu-col-span-md-2{display:block;width:8.33333333%}.ivu-col-md-push-2{left:8.33333333%}.ivu-col-md-pull-2{right:8.33333333%}.ivu-col-md-offset-2{margin-left:8.33333333%}.ivu-col-md-order-2{order:2}.ivu-col-span-md-1{display:block;width:4.16666667%}.ivu-col-md-push-1{left:4.16666667%}.ivu-col-md-pull-1{right:4.16666667%}.ivu-col-md-offset-1{margin-left:4.16666667%}.ivu-col-md-order-1{order:1}.ivu-col-span-md-0{display:none}.ivu-col-md-push-0{left:auto}.ivu-col-md-pull-0{right:auto}}@media (min-width:1200px){.ivu-col-span-lg-1,.ivu-col-span-lg-2,.ivu-col-span-lg-3,.ivu-col-span-lg-4,.ivu-col-span-lg-5,.ivu-col-span-lg-6,.ivu-col-span-lg-7,.ivu-col-span-lg-8,.ivu-col-span-lg-9,.ivu-col-span-lg-10,.ivu-col-span-lg-11,.ivu-col-span-lg-12,.ivu-col-span-lg-13,.ivu-col-span-lg-14,.ivu-col-span-lg-15,.ivu-col-span-lg-16,.ivu-col-span-lg-17,.ivu-col-span-lg-18,.ivu-col-span-lg-19,.ivu-col-span-lg-20,.ivu-col-span-lg-21,.ivu-col-span-lg-22,.ivu-col-span-lg-23,.ivu-col-span-lg-24{float:left;flex:0 0 auto}.ivu-col-span-lg-24{display:block;width:100%}.ivu-col-lg-push-24{left:100%}.ivu-col-lg-pull-24{right:100%}.ivu-col-lg-offset-24{margin-left:100%}.ivu-col-lg-order-24{order:24}.ivu-col-span-lg-23{display:block;width:95.83333333%}.ivu-col-lg-push-23{left:95.83333333%}.ivu-col-lg-pull-23{right:95.83333333%}.ivu-col-lg-offset-23{margin-left:95.83333333%}.ivu-col-lg-order-23{order:23}.ivu-col-span-lg-22{display:block;width:91.66666667%}.ivu-col-lg-push-22{left:91.66666667%}.ivu-col-lg-pull-22{right:91.66666667%}.ivu-col-lg-offset-22{margin-left:91.66666667%}.ivu-col-lg-order-22{order:22}.ivu-col-span-lg-21{display:block;width:87.5%}.ivu-col-lg-push-21{left:87.5%}.ivu-col-lg-pull-21{right:87.5%}.ivu-col-lg-offset-21{margin-left:87.5%}.ivu-col-lg-order-21{order:21}.ivu-col-span-lg-20{display:block;width:83.33333333%}.ivu-col-lg-push-20{left:83.33333333%}.ivu-col-lg-pull-20{right:83.33333333%}.ivu-col-lg-offset-20{margin-left:83.33333333%}.ivu-col-lg-order-20{order:20}.ivu-col-span-lg-19{display:block;width:79.16666667%}.ivu-col-lg-push-19{left:79.16666667%}.ivu-col-lg-pull-19{right:79.16666667%}.ivu-col-lg-offset-19{margin-left:79.16666667%}.ivu-col-lg-order-19{order:19}.ivu-col-span-lg-18{display:block;width:75%}.ivu-col-lg-push-18{left:75%}.ivu-col-lg-pull-18{right:75%}.ivu-col-lg-offset-18{margin-left:75%}.ivu-col-lg-order-18{order:18}.ivu-col-span-lg-17{display:block;width:70.83333333%}.ivu-col-lg-push-17{left:70.83333333%}.ivu-col-lg-pull-17{right:70.83333333%}.ivu-col-lg-offset-17{margin-left:70.83333333%}.ivu-col-lg-order-17{order:17}.ivu-col-span-lg-16{display:block;width:66.66666667%}.ivu-col-lg-push-16{left:66.66666667%}.ivu-col-lg-pull-16{right:66.66666667%}.ivu-col-lg-offset-16{margin-left:66.66666667%}.ivu-col-lg-order-16{order:16}.ivu-col-span-lg-15{display:block;width:62.5%}.ivu-col-lg-push-15{left:62.5%}.ivu-col-lg-pull-15{right:62.5%}.ivu-col-lg-offset-15{margin-left:62.5%}.ivu-col-lg-order-15{order:15}.ivu-col-span-lg-14{display:block;width:58.33333333%}.ivu-col-lg-push-14{left:58.33333333%}.ivu-col-lg-pull-14{right:58.33333333%}.ivu-col-lg-offset-14{margin-left:58.33333333%}.ivu-col-lg-order-14{order:14}.ivu-col-span-lg-13{display:block;width:54.16666667%}.ivu-col-lg-push-13{left:54.16666667%}.ivu-col-lg-pull-13{right:54.16666667%}.ivu-col-lg-offset-13{margin-left:54.16666667%}.ivu-col-lg-order-13{order:13}.ivu-col-span-lg-12{display:block;width:50%}.ivu-col-lg-push-12{left:50%}.ivu-col-lg-pull-12{right:50%}.ivu-col-lg-offset-12{margin-left:50%}.ivu-col-lg-order-12{order:12}.ivu-col-span-lg-11{display:block;width:45.83333333%}.ivu-col-lg-push-11{left:45.83333333%}.ivu-col-lg-pull-11{right:45.83333333%}.ivu-col-lg-offset-11{margin-left:45.83333333%}.ivu-col-lg-order-11{order:11}.ivu-col-span-lg-10{display:block;width:41.66666667%}.ivu-col-lg-push-10{left:41.66666667%}.ivu-col-lg-pull-10{right:41.66666667%}.ivu-col-lg-offset-10{margin-left:41.66666667%}.ivu-col-lg-order-10{order:10}.ivu-col-span-lg-9{display:block;width:37.5%}.ivu-col-lg-push-9{left:37.5%}.ivu-col-lg-pull-9{right:37.5%}.ivu-col-lg-offset-9{margin-left:37.5%}.ivu-col-lg-order-9{order:9}.ivu-col-span-lg-8{display:block;width:33.33333333%}.ivu-col-lg-push-8{left:33.33333333%}.ivu-col-lg-pull-8{right:33.33333333%}.ivu-col-lg-offset-8{margin-left:33.33333333%}.ivu-col-lg-order-8{order:8}.ivu-col-span-lg-7{display:block;width:29.16666667%}.ivu-col-lg-push-7{left:29.16666667%}.ivu-col-lg-pull-7{right:29.16666667%}.ivu-col-lg-offset-7{margin-left:29.16666667%}.ivu-col-lg-order-7{order:7}.ivu-col-span-lg-6{display:block;width:25%}.ivu-col-lg-push-6{left:25%}.ivu-col-lg-pull-6{right:25%}.ivu-col-lg-offset-6{margin-left:25%}.ivu-col-lg-order-6{order:6}.ivu-col-span-lg-5{display:block;width:20.83333333%}.ivu-col-lg-push-5{left:20.83333333%}.ivu-col-lg-pull-5{right:20.83333333%}.ivu-col-lg-offset-5{margin-left:20.83333333%}.ivu-col-lg-order-5{order:5}.ivu-col-span-lg-4{display:block;width:16.66666667%}.ivu-col-lg-push-4{left:16.66666667%}.ivu-col-lg-pull-4{right:16.66666667%}.ivu-col-lg-offset-4{margin-left:16.66666667%}.ivu-col-lg-order-4{order:4}.ivu-col-span-lg-3{display:block;width:12.5%}.ivu-col-lg-push-3{left:12.5%}.ivu-col-lg-pull-3{right:12.5%}.ivu-col-lg-offset-3{margin-left:12.5%}.ivu-col-lg-order-3{order:3}.ivu-col-span-lg-2{display:block;width:8.33333333%}.ivu-col-lg-push-2{left:8.33333333%}.ivu-col-lg-pull-2{right:8.33333333%}.ivu-col-lg-offset-2{margin-left:8.33333333%}.ivu-col-lg-order-2{order:2}.ivu-col-span-lg-1{display:block;width:4.16666667%}.ivu-col-lg-push-1{left:4.16666667%}.ivu-col-lg-pull-1{right:4.16666667%}.ivu-col-lg-offset-1{margin-left:4.16666667%}.ivu-col-lg-order-1{order:1}.ivu-col-span-lg-0{display:none}.ivu-col-lg-push-0{left:auto}.ivu-col-lg-pull-0{right:auto}}.ivu-article h1{font-size:26px;font-weight:400}.ivu-article h2{font-size:20px;font-weight:400}.ivu-article h3{font-size:16px;font-weight:400}.ivu-article h4{font-size:14px;font-weight:400}.ivu-article h5,.ivu-article h6{font-size:12px;font-weight:400}.ivu-article blockquote{padding:5px 5px 3px 10px;line-height:1.5;border-left:4px solid #ddd;margin-bottom:20px;color:#666;font-size:14px}.ivu-article ul:not([class^=ivu-]){padding-left:40px;list-style-type:disc}.ivu-article li:not([class^=ivu-]){margin-bottom:5px;font-size:14px}.ivu-article ol ul:not([class^=ivu-]),.ivu-article ul ul:not([class^=ivu-]){list-style-type:circle}.ivu-article p{margin:5px;font-size:14px}.ivu-article a:not([class^=ivu-])[target=_blank]:after{content:"\F3F2";font-family:Ionicons;color:#aaa;margin-left:3px}.fade-appear,.fade-enter-active,.fade-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:ivuFadeIn;animation-play-state:running}.fade-leave-active{animation-name:ivuFadeOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0}.fade-appear,.fade-enter-active,.fade-leave-active{animation-timing-function:linear}@keyframes ivuFadeIn{0%{opacity:0}to{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter-active,.move-up-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.move-up-appear,.move-up-enter-active{animation-name:ivuMoveUpIn;animation-play-state:running}.move-up-leave-active{animation-name:ivuMoveUpOut;animation-play-state:running}.move-up-appear,.move-up-enter-active{opacity:0;animation-timing-function:ease-in-out}.move-up-leave-active{animation-timing-function:ease-in-out}.move-down-appear,.move-down-enter-active,.move-down-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.move-down-appear,.move-down-enter-active{animation-name:ivuMoveDownIn;animation-play-state:running}.move-down-leave-active{animation-name:ivuMoveDownOut;animation-play-state:running}.move-down-appear,.move-down-enter-active{opacity:0;animation-timing-function:ease-in-out}.move-down-leave-active{animation-timing-function:ease-in-out}.move-left-appear,.move-left-enter-active,.move-left-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.move-left-appear,.move-left-enter-active{animation-name:ivuMoveLeftIn;animation-play-state:running}.move-left-leave-active{animation-name:ivuMoveLeftOut;animation-play-state:running}.move-left-appear,.move-left-enter-active{opacity:0;animation-timing-function:ease-in-out}.move-left-leave-active{animation-timing-function:ease-in-out}.move-right-appear,.move-right-enter-active,.move-right-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.move-right-appear,.move-right-enter-active{animation-name:ivuMoveRightIn;animation-play-state:running}.move-right-leave-active{animation-name:ivuMoveRightOut;animation-play-state:running}.move-right-appear,.move-right-enter-active{opacity:0;animation-timing-function:ease-in-out}.move-right-leave-active{animation-timing-function:ease-in-out}@keyframes ivuMoveDownIn{0%{transform-origin:0 0;transform:translateY(100%);opacity:0}to{transform-origin:0 0;transform:translateY(0);opacity:1}}@keyframes ivuMoveDownOut{0%{transform-origin:0 0;transform:translateY(0);opacity:1}to{transform-origin:0 0;transform:translateY(100%);opacity:0}}@keyframes ivuMoveLeftIn{0%{transform-origin:0 0;transform:translateX(-100%);opacity:0}to{transform-origin:0 0;transform:translateX(0);opacity:1}}@keyframes ivuMoveLeftOut{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}@keyframes ivuMoveRightIn{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes ivuMoveRightOut{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@keyframes ivuMoveUpIn{0%{transform-origin:0 0;transform:translateY(-100%);opacity:0}to{transform-origin:0 0;transform:translateY(0);opacity:1}}@keyframes ivuMoveUpOut{0%{transform-origin:0 0;transform:translateY(0);opacity:1}to{transform-origin:0 0;transform:translateY(-100%);opacity:0}}.move-notice-appear,.move-notice-enter-active,.move-notice-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.move-notice-appear,.move-notice-enter-active{animation-name:ivuMoveNoticeIn;animation-play-state:running}.move-notice-leave-active{animation-name:ivuMoveNoticeOut;animation-play-state:running}.move-notice-appear,.move-notice-enter-active{opacity:0;animation-timing-function:ease-in-out}.move-notice-leave-active{animation-timing-function:ease-in-out}@keyframes ivuMoveNoticeIn{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes ivuMoveNoticeOut{0%{transform-origin:0 0;transform:translateX(0);opacity:1}70%{transform-origin:0 0;transform:translateX(100%);height:auto;padding:16px;margin-bottom:10px;opacity:0}to{transform-origin:0 0;transform:translateX(100%);height:0;padding:0;margin-bottom:0;opacity:0}}.ease-appear,.ease-enter-active,.ease-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.ease-appear,.ease-enter-active{animation-name:ivuEaseIn;animation-play-state:running}.ease-leave-active{animation-name:ivuEaseOut;animation-play-state:running}.ease-appear,.ease-enter-active{opacity:0}.ease-appear,.ease-enter-active,.ease-leave-active{animation-timing-function:linear;animation-duration:.2s}@keyframes ivuEaseIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes ivuEaseOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}.transition-drop-appear,.transition-drop-enter-active,.transition-drop-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.transition-drop-appear,.transition-drop-enter-active{animation-name:ivuTransitionDropIn;animation-play-state:running}.transition-drop-leave-active{animation-name:ivuTransitionDropOut;animation-play-state:running}.transition-drop-appear,.transition-drop-enter-active{opacity:0;animation-timing-function:ease-in-out}.transition-drop-leave-active{animation-timing-function:ease-in-out}.slide-up-appear,.slide-up-enter-active,.slide-up-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.slide-up-appear,.slide-up-enter-active{animation-name:ivuSlideUpIn;animation-play-state:running}.slide-up-leave-active{animation-name:ivuSlideUpOut;animation-play-state:running}.slide-up-appear,.slide-up-enter-active{opacity:0;animation-timing-function:ease-in-out}.slide-up-leave-active{animation-timing-function:ease-in-out}.slide-down-appear,.slide-down-enter-active,.slide-down-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.slide-down-appear,.slide-down-enter-active{animation-name:ivuSlideDownIn;animation-play-state:running}.slide-down-leave-active{animation-name:ivuSlideDownOut;animation-play-state:running}.slide-down-appear,.slide-down-enter-active{opacity:0;animation-timing-function:ease-in-out}.slide-down-leave-active{animation-timing-function:ease-in-out}.slide-left-appear,.slide-left-enter-active,.slide-left-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.slide-left-appear,.slide-left-enter-active{animation-name:ivuSlideLeftIn;animation-play-state:running}.slide-left-leave-active{animation-name:ivuSlideLeftOut;animation-play-state:running}.slide-left-appear,.slide-left-enter-active{opacity:0;animation-timing-function:ease-in-out}.slide-left-leave-active{animation-timing-function:ease-in-out}.slide-right-appear,.slide-right-enter-active,.slide-right-leave-active{animation-duration:.3s;animation-fill-mode:both;animation-play-state:paused}.slide-right-appear,.slide-right-enter-active{animation-name:ivuSlideRightIn;animation-play-state:running}.slide-right-leave-active{animation-name:ivuSlideRightOut;animation-play-state:running}.slide-right-appear,.slide-right-enter-active{opacity:0;animation-timing-function:ease-in-out}.slide-right-leave-active{animation-timing-function:ease-in-out}@keyframes ivuTransitionDropIn{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:scaleY(1)}}@keyframes ivuTransitionDropOut{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(.8)}}@keyframes ivuSlideUpIn{0%{opacity:0;transform-origin:0 0;transform:scaleY(.8)}to{opacity:1;transform-origin:0 0;transform:scaleY(1)}}@keyframes ivuSlideUpOut{0%{opacity:1;transform-origin:0 0;transform:scaleY(1)}to{opacity:0;transform-origin:0 0;transform:scaleY(.8)}}@keyframes ivuSlideDownIn{0%{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}to{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}}@keyframes ivuSlideDownOut{0%{opacity:1;transform-origin:100% 100%;transform:scaleY(1)}to{opacity:0;transform-origin:100% 100%;transform:scaleY(.8)}}@keyframes ivuSlideLeftIn{0%{opacity:0;transform-origin:0 0;transform:scaleX(.8)}to{opacity:1;transform-origin:0 0;transform:scaleX(1)}}@keyframes ivuSlideLeftOut{0%{opacity:1;transform-origin:0 0;transform:scaleX(1)}to{opacity:0;transform-origin:0 0;transform:scaleX(.8)}}@keyframes ivuSlideRightIn{0%{opacity:0;transform-origin:100% 0;transform:scaleX(.8)}to{opacity:1;transform-origin:100% 0;transform:scaleX(1)}}@keyframes ivuSlideRightOut{0%{opacity:1;transform-origin:100% 0;transform:scaleX(1)}to{opacity:0;transform-origin:100% 0;transform:scaleX(.8)}}.collapse-transition{transition:height .2s ease-in-out,padding-top .2s ease-in-out,padding-bottom .2s ease-in-out}.ivu-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:5px 15px 6px;font-size:12px;border-radius:4px;transition:color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear;color:#515a6e;background-color:#fff;border-color:#dcdee2}.ivu-btn,.ivu-btn>.ivu-icon{vertical-align:middle;line-height:1.5}.ivu-btn-icon-only.ivu-btn-circle>.ivu-icon{vertical-align:baseline}.ivu-btn>span{vertical-align:middle}.ivu-btn,.ivu-btn:active,.ivu-btn:focus{outline:0}.ivu-btn:not([disabled]):hover{text-decoration:none}.ivu-btn:not([disabled]):active{outline:0}.ivu-btn.disabled,.ivu-btn[disabled]{cursor:not-allowed}.ivu-btn.disabled>*,.ivu-btn[disabled]>*{pointer-events:none}.ivu-btn-large{padding:6px 15px;font-size:14px;border-radius:4px}.ivu-btn-small{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-icon-only{padding:5px 15px 6px;font-size:12px;border-radius:4px}.ivu-btn-icon-only.ivu-btn-small{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-icon-only.ivu-btn-large{padding:6px 15px;font-size:14px;border-radius:4px}.ivu-btn>a:only-child{color:currentColor}.ivu-btn>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn:hover{color:#747b8b;border-color:#e3e5e8}.ivu-btn.active,.ivu-btn:active{color:#4d5669;background-color:#f2f2f2;border-color:#f2f2f2}.ivu-btn.disabled,.ivu-btn.disabled.active,.ivu-btn.disabled:active,.ivu-btn.disabled:focus,.ivu-btn.disabled:hover,.ivu-btn[disabled],.ivu-btn[disabled].active,.ivu-btn[disabled]:active,.ivu-btn[disabled]:focus,.ivu-btn[disabled]:hover,fieldset[disabled] .ivu-btn,fieldset[disabled] .ivu-btn.active,fieldset[disabled] .ivu-btn:active,fieldset[disabled] .ivu-btn:focus,fieldset[disabled] .ivu-btn:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn.disabled.active>a:only-child,.ivu-btn.disabled:active>a:only-child,.ivu-btn.disabled:focus>a:only-child,.ivu-btn.disabled:hover>a:only-child,.ivu-btn.disabled>a:only-child,.ivu-btn[disabled].active>a:only-child,.ivu-btn[disabled]:active>a:only-child,.ivu-btn[disabled]:focus>a:only-child,.ivu-btn[disabled]:hover>a:only-child,.ivu-btn[disabled]>a:only-child,fieldset[disabled] .ivu-btn.active>a:only-child,fieldset[disabled] .ivu-btn:active>a:only-child,fieldset[disabled] .ivu-btn:focus>a:only-child,fieldset[disabled] .ivu-btn:hover>a:only-child,fieldset[disabled] .ivu-btn>a:only-child{color:currentColor}.ivu-btn.disabled.active>a:only-child:after,.ivu-btn.disabled:active>a:only-child:after,.ivu-btn.disabled:focus>a:only-child:after,.ivu-btn.disabled:hover>a:only-child:after,.ivu-btn.disabled>a:only-child:after,.ivu-btn[disabled].active>a:only-child:after,.ivu-btn[disabled]:active>a:only-child:after,.ivu-btn[disabled]:focus>a:only-child:after,.ivu-btn[disabled]:hover>a:only-child:after,.ivu-btn[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn.active>a:only-child:after,fieldset[disabled] .ivu-btn:active>a:only-child:after,fieldset[disabled] .ivu-btn:focus>a:only-child:after,fieldset[disabled] .ivu-btn:hover>a:only-child:after,fieldset[disabled] .ivu-btn>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.ivu-btn:hover>a:only-child{color:currentColor}.ivu-btn:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn.active,.ivu-btn:active{color:#2b85e4;background-color:#fff;border-color:#2b85e4}.ivu-btn.active>a:only-child,.ivu-btn:active>a:only-child{color:currentColor}.ivu-btn.active>a:only-child:after,.ivu-btn:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn:focus{box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-long{width:100%}.ivu-btn>.ivu-icon+span,.ivu-btn>span+.ivu-icon{margin-left:4px}.ivu-btn-primary{color:#fff;background-color:#2d8cf0;border-color:#2d8cf0}.ivu-btn-primary>a:only-child{color:currentColor}.ivu-btn-primary>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-primary:hover{color:#fff;background-color:#57a3f3;border-color:#57a3f3}.ivu-btn-primary:hover>a:only-child{color:currentColor}.ivu-btn-primary:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-primary.active,.ivu-btn-primary:active{color:#f2f2f2;background-color:#2b85e4;border-color:#2b85e4}.ivu-btn-primary.active>a:only-child,.ivu-btn-primary:active>a:only-child{color:currentColor}.ivu-btn-primary.active>a:only-child:after,.ivu-btn-primary:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-primary.disabled,.ivu-btn-primary.disabled.active,.ivu-btn-primary.disabled:active,.ivu-btn-primary.disabled:focus,.ivu-btn-primary.disabled:hover,.ivu-btn-primary[disabled],.ivu-btn-primary[disabled].active,.ivu-btn-primary[disabled]:active,.ivu-btn-primary[disabled]:focus,.ivu-btn-primary[disabled]:hover,fieldset[disabled] .ivu-btn-primary,fieldset[disabled] .ivu-btn-primary.active,fieldset[disabled] .ivu-btn-primary:active,fieldset[disabled] .ivu-btn-primary:focus,fieldset[disabled] .ivu-btn-primary:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-primary.disabled.active>a:only-child,.ivu-btn-primary.disabled:active>a:only-child,.ivu-btn-primary.disabled:focus>a:only-child,.ivu-btn-primary.disabled:hover>a:only-child,.ivu-btn-primary.disabled>a:only-child,.ivu-btn-primary[disabled].active>a:only-child,.ivu-btn-primary[disabled]:active>a:only-child,.ivu-btn-primary[disabled]:focus>a:only-child,.ivu-btn-primary[disabled]:hover>a:only-child,.ivu-btn-primary[disabled]>a:only-child,fieldset[disabled] .ivu-btn-primary.active>a:only-child,fieldset[disabled] .ivu-btn-primary:active>a:only-child,fieldset[disabled] .ivu-btn-primary:focus>a:only-child,fieldset[disabled] .ivu-btn-primary:hover>a:only-child,fieldset[disabled] .ivu-btn-primary>a:only-child{color:currentColor}.ivu-btn-primary.disabled.active>a:only-child:after,.ivu-btn-primary.disabled:active>a:only-child:after,.ivu-btn-primary.disabled:focus>a:only-child:after,.ivu-btn-primary.disabled:hover>a:only-child:after,.ivu-btn-primary.disabled>a:only-child:after,.ivu-btn-primary[disabled].active>a:only-child:after,.ivu-btn-primary[disabled]:active>a:only-child:after,.ivu-btn-primary[disabled]:focus>a:only-child:after,.ivu-btn-primary[disabled]:hover>a:only-child:after,.ivu-btn-primary[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-primary.active>a:only-child:after,fieldset[disabled] .ivu-btn-primary:active>a:only-child:after,fieldset[disabled] .ivu-btn-primary:focus>a:only-child:after,fieldset[disabled] .ivu-btn-primary:hover>a:only-child:after,fieldset[disabled] .ivu-btn-primary>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-primary.active,.ivu-btn-primary:active,.ivu-btn-primary:hover{color:#fff}.ivu-btn-primary:focus{box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:not(:first-child):not(:last-child){border-right-color:#2b85e4;border-left-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:first-child:not(:last-child){border-right-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#dcdee2}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary+.ivu-btn,.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:last-child:not(:first-child){border-left-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary+.ivu-btn[disabled],.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#dcdee2}.ivu-btn-group-vertical .ivu-btn-primary:not(:first-child):not(:last-child){border-top-color:#2b85e4;border-bottom-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary:first-child:not(:last-child){border-bottom-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary:first-child:not(:last-child)[disabled]{border-top-color:#dcdee2}.ivu-btn-group-vertical .ivu-btn-primary+.ivu-btn,.ivu-btn-group-vertical .ivu-btn-primary:last-child:not(:first-child){border-top-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary+.ivu-btn[disabled],.ivu-btn-group-vertical .ivu-btn-primary:last-child:not(:first-child)[disabled]{border-bottom-color:#dcdee2}.ivu-btn-dashed{color:#515a6e;background-color:#fff;border-color:#dcdee2;border-style:dashed}.ivu-btn-dashed>a:only-child{color:currentColor}.ivu-btn-dashed>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-dashed:hover{color:#747b8b;border-color:#e3e5e8}.ivu-btn-dashed.active,.ivu-btn-dashed:active{color:#4d5669;background-color:#f2f2f2;border-color:#f2f2f2}.ivu-btn-dashed.disabled,.ivu-btn-dashed.disabled.active,.ivu-btn-dashed.disabled:active,.ivu-btn-dashed.disabled:focus,.ivu-btn-dashed.disabled:hover,.ivu-btn-dashed[disabled],.ivu-btn-dashed[disabled].active,.ivu-btn-dashed[disabled]:active,.ivu-btn-dashed[disabled]:focus,.ivu-btn-dashed[disabled]:hover,fieldset[disabled] .ivu-btn-dashed,fieldset[disabled] .ivu-btn-dashed.active,fieldset[disabled] .ivu-btn-dashed:active,fieldset[disabled] .ivu-btn-dashed:focus,fieldset[disabled] .ivu-btn-dashed:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-dashed.disabled.active>a:only-child,.ivu-btn-dashed.disabled:active>a:only-child,.ivu-btn-dashed.disabled:focus>a:only-child,.ivu-btn-dashed.disabled:hover>a:only-child,.ivu-btn-dashed.disabled>a:only-child,.ivu-btn-dashed[disabled].active>a:only-child,.ivu-btn-dashed[disabled]:active>a:only-child,.ivu-btn-dashed[disabled]:focus>a:only-child,.ivu-btn-dashed[disabled]:hover>a:only-child,.ivu-btn-dashed[disabled]>a:only-child,fieldset[disabled] .ivu-btn-dashed.active>a:only-child,fieldset[disabled] .ivu-btn-dashed:active>a:only-child,fieldset[disabled] .ivu-btn-dashed:focus>a:only-child,fieldset[disabled] .ivu-btn-dashed:hover>a:only-child,fieldset[disabled] .ivu-btn-dashed>a:only-child{color:currentColor}.ivu-btn-dashed.disabled.active>a:only-child:after,.ivu-btn-dashed.disabled:active>a:only-child:after,.ivu-btn-dashed.disabled:focus>a:only-child:after,.ivu-btn-dashed.disabled:hover>a:only-child:after,.ivu-btn-dashed.disabled>a:only-child:after,.ivu-btn-dashed[disabled].active>a:only-child:after,.ivu-btn-dashed[disabled]:active>a:only-child:after,.ivu-btn-dashed[disabled]:focus>a:only-child:after,.ivu-btn-dashed[disabled]:hover>a:only-child:after,.ivu-btn-dashed[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-dashed.active>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:active>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:focus>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:hover>a:only-child:after,fieldset[disabled] .ivu-btn-dashed>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-dashed:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.ivu-btn-dashed:hover>a:only-child{color:currentColor}.ivu-btn-dashed:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-dashed.active,.ivu-btn-dashed:active{color:#2b85e4;background-color:#fff;border-color:#2b85e4}.ivu-btn-dashed.active>a:only-child,.ivu-btn-dashed:active>a:only-child{color:currentColor}.ivu-btn-dashed.active>a:only-child:after,.ivu-btn-dashed:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-dashed:focus{box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-text{color:#515a6e;background-color:transparent;border-color:transparent}.ivu-btn-text>a:only-child{color:currentColor}.ivu-btn-text>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-text:hover{color:#747b8b;background-color:hsla(0,0%,100%,.2);border-color:hsla(0,0%,100%,.2)}.ivu-btn-text.active,.ivu-btn-text:active{color:#4d5669;background-color:rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.ivu-btn-text.disabled,.ivu-btn-text.disabled.active,.ivu-btn-text.disabled:active,.ivu-btn-text.disabled:focus,.ivu-btn-text.disabled:hover,.ivu-btn-text[disabled],.ivu-btn-text[disabled].active,.ivu-btn-text[disabled]:active,.ivu-btn-text[disabled]:focus,.ivu-btn-text[disabled]:hover,fieldset[disabled] .ivu-btn-text,fieldset[disabled] .ivu-btn-text.active,fieldset[disabled] .ivu-btn-text:active,fieldset[disabled] .ivu-btn-text:focus,fieldset[disabled] .ivu-btn-text:hover{background-color:#f7f7f7;border-color:#dcdee2;color:#c5c8ce;background-color:#fff;border-color:transparent}.ivu-btn-text.disabled.active>a:only-child,.ivu-btn-text.disabled:active>a:only-child,.ivu-btn-text.disabled:focus>a:only-child,.ivu-btn-text.disabled:hover>a:only-child,.ivu-btn-text.disabled>a:only-child,.ivu-btn-text[disabled].active>a:only-child,.ivu-btn-text[disabled]:active>a:only-child,.ivu-btn-text[disabled]:focus>a:only-child,.ivu-btn-text[disabled]:hover>a:only-child,.ivu-btn-text[disabled]>a:only-child,fieldset[disabled] .ivu-btn-text.active>a:only-child,fieldset[disabled] .ivu-btn-text:active>a:only-child,fieldset[disabled] .ivu-btn-text:focus>a:only-child,fieldset[disabled] .ivu-btn-text:hover>a:only-child,fieldset[disabled] .ivu-btn-text>a:only-child{color:currentColor}.ivu-btn-text.disabled.active>a:only-child:after,.ivu-btn-text.disabled:active>a:only-child:after,.ivu-btn-text.disabled:focus>a:only-child:after,.ivu-btn-text.disabled:hover>a:only-child:after,.ivu-btn-text.disabled>a:only-child:after,.ivu-btn-text[disabled].active>a:only-child:after,.ivu-btn-text[disabled]:active>a:only-child:after,.ivu-btn-text[disabled]:focus>a:only-child:after,.ivu-btn-text[disabled]:hover>a:only-child:after,.ivu-btn-text[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-text.active>a:only-child:after,fieldset[disabled] .ivu-btn-text:active>a:only-child:after,fieldset[disabled] .ivu-btn-text:focus>a:only-child:after,fieldset[disabled] .ivu-btn-text:hover>a:only-child:after,fieldset[disabled] .ivu-btn-text>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-text:hover{color:#57a3f3;background-color:#fff;border-color:transparent}.ivu-btn-text:hover>a:only-child{color:currentColor}.ivu-btn-text:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-text.active,.ivu-btn-text:active{color:#2b85e4;background-color:#fff;border-color:transparent}.ivu-btn-text.active>a:only-child,.ivu-btn-text:active>a:only-child{color:currentColor}.ivu-btn-text.active>a:only-child:after,.ivu-btn-text:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-text:focus{box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-success{color:#fff;background-color:#19be6b;border-color:#19be6b}.ivu-btn-success>a:only-child{color:currentColor}.ivu-btn-success>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-success:hover{color:#fff;background-color:#47cb89;border-color:#47cb89}.ivu-btn-success:hover>a:only-child{color:currentColor}.ivu-btn-success:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-success.active,.ivu-btn-success:active{color:#f2f2f2;background-color:#18b566;border-color:#18b566}.ivu-btn-success.active>a:only-child,.ivu-btn-success:active>a:only-child{color:currentColor}.ivu-btn-success.active>a:only-child:after,.ivu-btn-success:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-success.disabled,.ivu-btn-success.disabled.active,.ivu-btn-success.disabled:active,.ivu-btn-success.disabled:focus,.ivu-btn-success.disabled:hover,.ivu-btn-success[disabled],.ivu-btn-success[disabled].active,.ivu-btn-success[disabled]:active,.ivu-btn-success[disabled]:focus,.ivu-btn-success[disabled]:hover,fieldset[disabled] .ivu-btn-success,fieldset[disabled] .ivu-btn-success.active,fieldset[disabled] .ivu-btn-success:active,fieldset[disabled] .ivu-btn-success:focus,fieldset[disabled] .ivu-btn-success:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-success.disabled.active>a:only-child,.ivu-btn-success.disabled:active>a:only-child,.ivu-btn-success.disabled:focus>a:only-child,.ivu-btn-success.disabled:hover>a:only-child,.ivu-btn-success.disabled>a:only-child,.ivu-btn-success[disabled].active>a:only-child,.ivu-btn-success[disabled]:active>a:only-child,.ivu-btn-success[disabled]:focus>a:only-child,.ivu-btn-success[disabled]:hover>a:only-child,.ivu-btn-success[disabled]>a:only-child,fieldset[disabled] .ivu-btn-success.active>a:only-child,fieldset[disabled] .ivu-btn-success:active>a:only-child,fieldset[disabled] .ivu-btn-success:focus>a:only-child,fieldset[disabled] .ivu-btn-success:hover>a:only-child,fieldset[disabled] .ivu-btn-success>a:only-child{color:currentColor}.ivu-btn-success.disabled.active>a:only-child:after,.ivu-btn-success.disabled:active>a:only-child:after,.ivu-btn-success.disabled:focus>a:only-child:after,.ivu-btn-success.disabled:hover>a:only-child:after,.ivu-btn-success.disabled>a:only-child:after,.ivu-btn-success[disabled].active>a:only-child:after,.ivu-btn-success[disabled]:active>a:only-child:after,.ivu-btn-success[disabled]:focus>a:only-child:after,.ivu-btn-success[disabled]:hover>a:only-child:after,.ivu-btn-success[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-success.active>a:only-child:after,fieldset[disabled] .ivu-btn-success:active>a:only-child:after,fieldset[disabled] .ivu-btn-success:focus>a:only-child:after,fieldset[disabled] .ivu-btn-success:hover>a:only-child:after,fieldset[disabled] .ivu-btn-success>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-success.active,.ivu-btn-success:active,.ivu-btn-success:hover{color:#fff}.ivu-btn-success:focus{box-shadow:0 0 0 2px rgba(25,190,107,.2)}.ivu-btn-warning{color:#fff;background-color:#f90;border-color:#f90}.ivu-btn-warning>a:only-child{color:currentColor}.ivu-btn-warning>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-warning:hover{color:#fff;background-color:#ffad33;border-color:#ffad33}.ivu-btn-warning:hover>a:only-child{color:currentColor}.ivu-btn-warning:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-warning.active,.ivu-btn-warning:active{color:#f2f2f2;background-color:#f29100;border-color:#f29100}.ivu-btn-warning.active>a:only-child,.ivu-btn-warning:active>a:only-child{color:currentColor}.ivu-btn-warning.active>a:only-child:after,.ivu-btn-warning:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-warning.disabled,.ivu-btn-warning.disabled.active,.ivu-btn-warning.disabled:active,.ivu-btn-warning.disabled:focus,.ivu-btn-warning.disabled:hover,.ivu-btn-warning[disabled],.ivu-btn-warning[disabled].active,.ivu-btn-warning[disabled]:active,.ivu-btn-warning[disabled]:focus,.ivu-btn-warning[disabled]:hover,fieldset[disabled] .ivu-btn-warning,fieldset[disabled] .ivu-btn-warning.active,fieldset[disabled] .ivu-btn-warning:active,fieldset[disabled] .ivu-btn-warning:focus,fieldset[disabled] .ivu-btn-warning:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-warning.disabled.active>a:only-child,.ivu-btn-warning.disabled:active>a:only-child,.ivu-btn-warning.disabled:focus>a:only-child,.ivu-btn-warning.disabled:hover>a:only-child,.ivu-btn-warning.disabled>a:only-child,.ivu-btn-warning[disabled].active>a:only-child,.ivu-btn-warning[disabled]:active>a:only-child,.ivu-btn-warning[disabled]:focus>a:only-child,.ivu-btn-warning[disabled]:hover>a:only-child,.ivu-btn-warning[disabled]>a:only-child,fieldset[disabled] .ivu-btn-warning.active>a:only-child,fieldset[disabled] .ivu-btn-warning:active>a:only-child,fieldset[disabled] .ivu-btn-warning:focus>a:only-child,fieldset[disabled] .ivu-btn-warning:hover>a:only-child,fieldset[disabled] .ivu-btn-warning>a:only-child{color:currentColor}.ivu-btn-warning.disabled.active>a:only-child:after,.ivu-btn-warning.disabled:active>a:only-child:after,.ivu-btn-warning.disabled:focus>a:only-child:after,.ivu-btn-warning.disabled:hover>a:only-child:after,.ivu-btn-warning.disabled>a:only-child:after,.ivu-btn-warning[disabled].active>a:only-child:after,.ivu-btn-warning[disabled]:active>a:only-child:after,.ivu-btn-warning[disabled]:focus>a:only-child:after,.ivu-btn-warning[disabled]:hover>a:only-child:after,.ivu-btn-warning[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-warning.active>a:only-child:after,fieldset[disabled] .ivu-btn-warning:active>a:only-child:after,fieldset[disabled] .ivu-btn-warning:focus>a:only-child:after,fieldset[disabled] .ivu-btn-warning:hover>a:only-child:after,fieldset[disabled] .ivu-btn-warning>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-warning.active,.ivu-btn-warning:active,.ivu-btn-warning:hover{color:#fff}.ivu-btn-warning:focus{box-shadow:0 0 0 2px rgba(255,153,0,.2)}.ivu-btn-error{color:#fff;background-color:#ed4014;border-color:#ed4014}.ivu-btn-error>a:only-child{color:currentColor}.ivu-btn-error>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-error:hover{color:#fff;background-color:#f16643;border-color:#f16643}.ivu-btn-error:hover>a:only-child{color:currentColor}.ivu-btn-error:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-error.active,.ivu-btn-error:active{color:#f2f2f2;background-color:#e13d13;border-color:#e13d13}.ivu-btn-error.active>a:only-child,.ivu-btn-error:active>a:only-child{color:currentColor}.ivu-btn-error.active>a:only-child:after,.ivu-btn-error:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-error.disabled,.ivu-btn-error.disabled.active,.ivu-btn-error.disabled:active,.ivu-btn-error.disabled:focus,.ivu-btn-error.disabled:hover,.ivu-btn-error[disabled],.ivu-btn-error[disabled].active,.ivu-btn-error[disabled]:active,.ivu-btn-error[disabled]:focus,.ivu-btn-error[disabled]:hover,fieldset[disabled] .ivu-btn-error,fieldset[disabled] .ivu-btn-error.active,fieldset[disabled] .ivu-btn-error:active,fieldset[disabled] .ivu-btn-error:focus,fieldset[disabled] .ivu-btn-error:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-error.disabled.active>a:only-child,.ivu-btn-error.disabled:active>a:only-child,.ivu-btn-error.disabled:focus>a:only-child,.ivu-btn-error.disabled:hover>a:only-child,.ivu-btn-error.disabled>a:only-child,.ivu-btn-error[disabled].active>a:only-child,.ivu-btn-error[disabled]:active>a:only-child,.ivu-btn-error[disabled]:focus>a:only-child,.ivu-btn-error[disabled]:hover>a:only-child,.ivu-btn-error[disabled]>a:only-child,fieldset[disabled] .ivu-btn-error.active>a:only-child,fieldset[disabled] .ivu-btn-error:active>a:only-child,fieldset[disabled] .ivu-btn-error:focus>a:only-child,fieldset[disabled] .ivu-btn-error:hover>a:only-child,fieldset[disabled] .ivu-btn-error>a:only-child{color:currentColor}.ivu-btn-error.disabled.active>a:only-child:after,.ivu-btn-error.disabled:active>a:only-child:after,.ivu-btn-error.disabled:focus>a:only-child:after,.ivu-btn-error.disabled:hover>a:only-child:after,.ivu-btn-error.disabled>a:only-child:after,.ivu-btn-error[disabled].active>a:only-child:after,.ivu-btn-error[disabled]:active>a:only-child:after,.ivu-btn-error[disabled]:focus>a:only-child:after,.ivu-btn-error[disabled]:hover>a:only-child:after,.ivu-btn-error[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-error.active>a:only-child:after,fieldset[disabled] .ivu-btn-error:active>a:only-child:after,fieldset[disabled] .ivu-btn-error:focus>a:only-child:after,fieldset[disabled] .ivu-btn-error:hover>a:only-child:after,fieldset[disabled] .ivu-btn-error>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-error.active,.ivu-btn-error:active,.ivu-btn-error:hover{color:#fff}.ivu-btn-error:focus{box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-btn-info{color:#fff;background-color:#2db7f5;border-color:#2db7f5}.ivu-btn-info>a:only-child{color:currentColor}.ivu-btn-info>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-info:hover{color:#fff;background-color:#57c5f7;border-color:#57c5f7}.ivu-btn-info:hover>a:only-child{color:currentColor}.ivu-btn-info:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-info.active,.ivu-btn-info:active{color:#f2f2f2;background-color:#2baee9;border-color:#2baee9}.ivu-btn-info.active>a:only-child,.ivu-btn-info:active>a:only-child{color:currentColor}.ivu-btn-info.active>a:only-child:after,.ivu-btn-info:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-info.disabled,.ivu-btn-info.disabled.active,.ivu-btn-info.disabled:active,.ivu-btn-info.disabled:focus,.ivu-btn-info.disabled:hover,.ivu-btn-info[disabled],.ivu-btn-info[disabled].active,.ivu-btn-info[disabled]:active,.ivu-btn-info[disabled]:focus,.ivu-btn-info[disabled]:hover,fieldset[disabled] .ivu-btn-info,fieldset[disabled] .ivu-btn-info.active,fieldset[disabled] .ivu-btn-info:active,fieldset[disabled] .ivu-btn-info:focus,fieldset[disabled] .ivu-btn-info:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-info.disabled.active>a:only-child,.ivu-btn-info.disabled:active>a:only-child,.ivu-btn-info.disabled:focus>a:only-child,.ivu-btn-info.disabled:hover>a:only-child,.ivu-btn-info.disabled>a:only-child,.ivu-btn-info[disabled].active>a:only-child,.ivu-btn-info[disabled]:active>a:only-child,.ivu-btn-info[disabled]:focus>a:only-child,.ivu-btn-info[disabled]:hover>a:only-child,.ivu-btn-info[disabled]>a:only-child,fieldset[disabled] .ivu-btn-info.active>a:only-child,fieldset[disabled] .ivu-btn-info:active>a:only-child,fieldset[disabled] .ivu-btn-info:focus>a:only-child,fieldset[disabled] .ivu-btn-info:hover>a:only-child,fieldset[disabled] .ivu-btn-info>a:only-child{color:currentColor}.ivu-btn-info.disabled.active>a:only-child:after,.ivu-btn-info.disabled:active>a:only-child:after,.ivu-btn-info.disabled:focus>a:only-child:after,.ivu-btn-info.disabled:hover>a:only-child:after,.ivu-btn-info.disabled>a:only-child:after,.ivu-btn-info[disabled].active>a:only-child:after,.ivu-btn-info[disabled]:active>a:only-child:after,.ivu-btn-info[disabled]:focus>a:only-child:after,.ivu-btn-info[disabled]:hover>a:only-child:after,.ivu-btn-info[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-info.active>a:only-child:after,fieldset[disabled] .ivu-btn-info:active>a:only-child:after,fieldset[disabled] .ivu-btn-info:focus>a:only-child:after,fieldset[disabled] .ivu-btn-info:hover>a:only-child:after,fieldset[disabled] .ivu-btn-info>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ivu-btn-info.active,.ivu-btn-info:active,.ivu-btn-info:hover{color:#fff}.ivu-btn-info:focus{box-shadow:0 0 0 2px rgba(45,183,245,.2)}.ivu-btn-circle,.ivu-btn-circle-outline{border-radius:32px}.ivu-btn-circle-outline.ivu-btn-large,.ivu-btn-circle.ivu-btn-large{border-radius:36px}.ivu-btn-circle-outline.ivu-btn-size,.ivu-btn-circle.ivu-btn-size{border-radius:24px}.ivu-btn-circle-outline.ivu-btn-icon-only,.ivu-btn-circle.ivu-btn-icon-only{width:32px;height:32px;padding:0;font-size:16px;border-radius:50%}.ivu-btn-circle-outline.ivu-btn-icon-only.ivu-btn-large,.ivu-btn-circle.ivu-btn-icon-only.ivu-btn-large{width:36px;height:36px;padding:0;font-size:16px;border-radius:50%}.ivu-btn-circle-outline.ivu-btn-icon-only.ivu-btn-small,.ivu-btn-circle.ivu-btn-icon-only.ivu-btn-small{width:24px;height:24px;padding:0;font-size:14px;border-radius:50%}.ivu-btn:before{position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;background:#fff;opacity:.35;content:"";border-radius:inherit;z-index:1;transition:opacity .2s;pointer-events:none;display:none}.ivu-btn.ivu-btn-loading{pointer-events:none;position:relative}.ivu-btn.ivu-btn-loading:before{display:block}.ivu-btn-group{position:relative;display:inline-block;vertical-align:middle}.ivu-btn-group>.ivu-btn{position:relative;float:left}.ivu-btn-group>.ivu-btn.active,.ivu-btn-group>.ivu-btn:active,.ivu-btn-group>.ivu-btn:hover{z-index:2}.ivu-btn-group .ivu-btn-icon-only .ivu-icon{font-size:13px;position:relative}.ivu-btn-group-large .ivu-btn-icon-only .ivu-icon{font-size:15px}.ivu-btn-group-small .ivu-btn-icon-only .ivu-icon{font-size:12px}.ivu-btn-group-circle .ivu-btn{border-radius:32px}.ivu-btn-group-large.ivu-btn-group-circle .ivu-btn{border-radius:36px}.ivu-btn-group-large>.ivu-btn{padding:6px 15px;font-size:14px;border-radius:4px}.ivu-btn-group-small.ivu-btn-group-circle .ivu-btn{border-radius:24px}.ivu-btn-group-small>.ivu-btn{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-group-small>.ivu-btn>.ivu-icon{font-size:12px}.ivu-btn+.ivu-btn-group,.ivu-btn-group+.ivu-btn,.ivu-btn-group+.ivu-btn-group,.ivu-btn-group .ivu-btn+.ivu-btn{margin-left:-1px}.ivu-btn-group .ivu-btn:not(:first-child):not(:last-child){border-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:first-child{margin-left:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ivu-btn-group>.ivu-btn-group{float:left}.ivu-btn-group>.ivu-btn-group:not(:first-child):not(:last-child)>.ivu-btn{border-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn-group:first-child:not(:last-child)>.ivu-btn:last-child{border-bottom-right-radius:0;border-top-right-radius:0;padding-right:8px}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn-group:last-child:not(:first-child)>.ivu-btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px}.ivu-btn-group-vertical{display:inline-block;vertical-align:middle}.ivu-btn-group-vertical>.ivu-btn{display:block;width:100%;max-width:100%;float:none}.ivu-btn+.ivu-btn-group-vertical,.ivu-btn-group-vertical+.ivu-btn,.ivu-btn-group-vertical+.ivu-btn-group-vertical,.ivu-btn-group-vertical .ivu-btn+.ivu-btn{margin-top:-1px;margin-left:0}.ivu-btn-group-vertical>.ivu-btn:first-child{margin-top:0}.ivu-btn-group-vertical>.ivu-btn:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.ivu-btn-group-vertical>.ivu-btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.ivu-btn-group-vertical>.ivu-btn-group-vertical:first-child:not(:last-child)>.ivu-btn:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:8px}.ivu-btn-group-vertical>.ivu-btn-group-vertical:last-child:not(:first-child)>.ivu-btn:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0;padding-top:8px}.ivu-btn-ghost{color:#fff;background:0 0}.ivu-btn-ghost:hover{background:0 0}.ivu-btn-ghost.ivu-btn-dashed,.ivu-btn-ghost.ivu-btn-default{color:#fff;border-color:#fff}.ivu-btn-ghost.ivu-btn-dashed:hover,.ivu-btn-ghost.ivu-btn-default:hover{color:#57a3f3;border-color:#57a3f3}.ivu-btn-ghost.ivu-btn-primary{color:#2d8cf0}.ivu-btn-ghost.ivu-btn-primary:hover{color:#57a3f3;background:rgba(245,249,254,.5)}.ivu-btn-ghost.ivu-btn-info{color:#2db7f5}.ivu-btn-ghost.ivu-btn-info:hover{color:#57c5f7;background:rgba(245,251,254,.5)}.ivu-btn-ghost.ivu-btn-success{color:#19be6b}.ivu-btn-ghost.ivu-btn-success:hover{color:#47cb89;background:rgba(244,252,248,.5)}.ivu-btn-ghost.ivu-btn-warning{color:#f90}.ivu-btn-ghost.ivu-btn-warning:hover{color:#ffad33;background:rgba(255,250,242,.5)}.ivu-btn-ghost.ivu-btn-error{color:#ed4014}.ivu-btn-ghost.ivu-btn-error:hover{color:#f16643;background:hsla(11,85%,97%,.5)}.ivu-btn-ghost.ivu-btn-dashed[disabled],.ivu-btn-ghost.ivu-btn-default[disabled],.ivu-btn-ghost.ivu-btn-error[disabled],.ivu-btn-ghost.ivu-btn-info[disabled],.ivu-btn-ghost.ivu-btn-primary[disabled],.ivu-btn-ghost.ivu-btn-success[disabled],.ivu-btn-ghost.ivu-btn-warning[disabled]{background:0 0;color:rgba(0,0,0,.25);border-color:#dcdee2}.ivu-btn-ghost.ivu-btn-text[disabled]{background:0 0;color:rgba(0,0,0,.25)}.ivu-affix,.ivu-back-top{position:fixed;z-index:10}.ivu-back-top{cursor:pointer;display:none}.ivu-back-top.ivu-back-top-show{display:block}.ivu-back-top-inner{background-color:rgba(0,0,0,.6);border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:all .2s ease-in-out}.ivu-back-top-inner:hover{background-color:rgba(0,0,0,.7)}.ivu-back-top i{color:#fff;font-size:24px;padding:8px 12px}.ivu-badge{position:relative;display:inline-block}.ivu-badge-count{font-family:Monospaced Number;line-height:1;vertical-align:middle;position:absolute;transform:translateX(50%);top:-10px;right:0;height:20px;border-radius:10px;min-width:20px;background:#ed4014;border:1px solid transparent;color:#fff;line-height:18px;text-align:center;padding:0 6px;font-size:12px;white-space:nowrap;transform-origin:-10% center;z-index:10;box-shadow:0 0 0 1px #fff}.ivu-badge-count a,.ivu-badge-count a:hover{color:#fff}.ivu-badge-count-alone{top:auto;display:block;position:relative;transform:translateX(0)}.ivu-badge-count-primary{background:#2d8cf0}.ivu-badge-count-success{background:#19be6b}.ivu-badge-count-error{background:#ed4014}.ivu-badge-count-warning{background:#f90}.ivu-badge-count-info{background:#2db7f5}.ivu-badge-count-normal{background:#e6ebf1;color:#808695}.ivu-badge-dot{position:absolute;transform:translateX(-50%);transform-origin:0 center;top:-4px;right:-8px;height:8px;width:8px;border-radius:100%;background:#ed4014;z-index:10;box-shadow:0 0 0 1px #fff}.ivu-badge-status{line-height:inherit;vertical-align:baseline}.ivu-badge-status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;vertical-align:middle;position:relative;top:-1px}.ivu-badge-status-success{background-color:#19be6b}.ivu-badge-status-processing{background-color:#2d8cf0;position:relative}.ivu-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;border:1px solid #2d8cf0;content:"";animation:aniStatusProcessing 1.2s infinite ease-in-out}.ivu-badge-status-default{background-color:#e6ebf1}.ivu-badge-status-error{background-color:#ed4014}.ivu-badge-status-warning{background-color:#f90}.ivu-badge-status-text{display:inline-block;color:#515a6e;font-size:12px;margin-left:6px}@keyframes aniStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ivu-chart-circle{display:inline-block;position:relative}.ivu-chart-circle-inner{width:100%;text-align:center;position:absolute;left:0;top:50%;transform:translateY(-50%);line-height:1}.ivu-spin{color:#2d8cf0;vertical-align:middle;text-align:center}.ivu-spin-dot{position:relative;display:block;border-radius:50%;background-color:#2d8cf0;width:20px;height:20px;animation:ani-spin-bounce 1s 0s ease-in-out infinite}.ivu-spin-large .ivu-spin-dot{width:32px;height:32px}.ivu-spin-small .ivu-spin-dot{width:12px;height:12px}.ivu-spin-fix{position:absolute;top:0;left:0;z-index:8;width:100%;height:100%;background-color:hsla(0,0%,100%,.9)}.ivu-spin-fullscreen{z-index:2010}.ivu-spin-fullscreen-wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.ivu-spin-fix .ivu-spin-main{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ivu-spin-fix .ivu-spin-dot{display:inline-block}.ivu-spin-show-text .ivu-spin-dot,.ivu-spin-text{display:none}.ivu-spin-show-text .ivu-spin-text{display:block}.ivu-table-wrapper>.ivu-spin-fix{border:1px solid #dcdee2;border-top:0;border-left:0}@keyframes ani-spin-bounce{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.ivu-alert{position:relative;padding:8px 48px 8px 16px;border-radius:4px;color:#515a6e;font-size:12px;line-height:16px;margin-bottom:10px}.ivu-alert.ivu-alert-with-icon{padding:8px 48px 8px 38px}.ivu-alert-icon{font-size:16px;top:6px;left:12px;position:absolute}.ivu-alert-desc{font-size:12px;color:#515a6e;line-height:21px;display:none;text-align:justify}.ivu-alert-success{border:1px solid #8ce6b0;background-color:#edfff3}.ivu-alert-success .ivu-alert-icon{color:#19be6b}.ivu-alert-info{border:1px solid #abdcff;background-color:#f0faff}.ivu-alert-info .ivu-alert-icon{color:#2d8cf0}.ivu-alert-warning{border:1px solid #ffd77a;background-color:#fff9e6}.ivu-alert-warning .ivu-alert-icon{color:#f90}.ivu-alert-error{border:1px solid #ffb08f;background-color:#ffefe6}.ivu-alert-error .ivu-alert-icon{color:#ed4014}.ivu-alert-close{font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-alert-close .ivu-icon-ios-close{font-size:22px;color:#999;transition:color .2s ease;position:relative;top:-3px}.ivu-alert-close .ivu-icon-ios-close:hover{color:#444}.ivu-alert-with-desc{padding:16px;position:relative;border-radius:4px;margin-bottom:10px;color:#515a6e;line-height:1.5}.ivu-alert-with-desc.ivu-alert-with-icon{padding:16px 16px 16px 69px}.ivu-alert-with-desc .ivu-alert-desc{display:block}.ivu-alert-with-desc .ivu-alert-message{font-size:14px;color:#17233d;display:block}.ivu-alert-with-desc .ivu-alert-icon{top:50%;left:24px;margin-top:-24px;font-size:28px}.ivu-alert-with-banner{border-radius:0}.ivu-collapse{background-color:#f7f7f7;border-radius:3px;border:1px solid #dcdee2}.ivu-collapse-simple{border-left:none;border-right:none;background-color:#fff;border-radius:0}.ivu-collapse>.ivu-collapse-item{border-top:1px solid #dcdee2}.ivu-collapse>.ivu-collapse-item:first-child{border-top:0}.ivu-collapse>.ivu-collapse-item>.ivu-collapse-header{height:38px;line-height:38px;padding-left:16px;color:#666;cursor:pointer;position:relative;border-bottom:1px solid transparent;transition:all .2s ease-in-out}.ivu-collapse>.ivu-collapse-item>.ivu-collapse-header>i{transition:transform .2s ease-in-out;margin-right:14px}.ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header{border-bottom:1px solid #dcdee2}.ivu-collapse-simple>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header{border-bottom:1px solid transparent}.ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header>i{transform:rotate(90deg)}.ivu-collapse-content{color:#515a6e;padding:0 16px;background-color:#fff}.ivu-collapse-content>.ivu-collapse-content-box{padding-top:16px;padding-bottom:16px}.ivu-collapse-simple>.ivu-collapse-item>.ivu-collapse-content>.ivu-collapse-content-box{padding-top:0}.ivu-collapse-item:last-child>.ivu-collapse-content{border-radius:0 0 3px 3px}.ivu-card{background:#fff;border-radius:4px;font-size:14px;position:relative;transition:all .2s ease-in-out}.ivu-card-bordered{border:1px solid #dcdee2;border-color:#e8eaec}.ivu-card-shadow{box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ivu-card:hover{box-shadow:0 1px 6px rgba(0,0,0,.2);border-color:#eee}.ivu-card.ivu-card-dis-hover:hover{box-shadow:none;border-color:transparent}.ivu-card.ivu-card-dis-hover.ivu-card-bordered:hover{border-color:#e8eaec}.ivu-card.ivu-card-shadow:hover{box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ivu-card-head{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-card-head-inner,.ivu-card-head p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-card-head p i,.ivu-card-head p span{vertical-align:middle}.ivu-card-extra{position:absolute;right:16px;top:14px}.ivu-card-body{padding:16px}.ivu-message{font-size:14px;position:fixed;z-index:1010;width:100%;top:16px;left:0;pointer-events:none}.ivu-message-notice{padding:8px;text-align:center;transition:height .3s ease-in-out,padding .3s ease-in-out}.ivu-message-notice:first-child{margin-top:-8px}.ivu-message-notice-close{position:absolute;right:4px;top:10px;color:#999;outline:0}.ivu-message-notice-close i.ivu-icon{font-size:22px;color:#999;transition:color .2s ease;position:relative;top:-3px}.ivu-message-notice-close i.ivu-icon:hover{color:#444}.ivu-message-notice-content{display:inline-block;pointer-events:all;padding:8px 16px;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);background:#fff;position:relative}.ivu-message-notice-content-text{display:inline-block}.ivu-message-notice-closable .ivu-message-notice-content-text{padding-right:32px}.ivu-message-success .ivu-icon{color:#19be6b}.ivu-message-error .ivu-icon{color:#ed4014}.ivu-message-warning .ivu-icon{color:#f90}.ivu-message-info .ivu-icon,.ivu-message-loading .ivu-icon{color:#2d8cf0}.ivu-message .ivu-icon{margin-right:4px;font-size:16px;vertical-align:middle}.ivu-message-custom-content span{vertical-align:middle}.ivu-notice{width:335px;margin-right:24px;position:fixed;z-index:1010}.ivu-notice-content-with-icon,.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-title{margin-left:51px}.ivu-notice-notice{margin-bottom:10px;padding:16px;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);background:#fff;line-height:1;position:relative;overflow:hidden}.ivu-notice-notice-close{position:absolute;right:8px;top:15px;color:#999;outline:0}.ivu-notice-notice-close i{font-size:22px;color:#999;transition:color .2s ease;position:relative;top:-3px}.ivu-notice-notice-close i:hover{color:#444}.ivu-notice-notice-content-with-render .ivu-notice-desc{display:none}.ivu-notice-notice-with-desc .ivu-notice-notice-close{top:11px}.ivu-notice-content-with-render-notitle{margin-left:26px}.ivu-notice-title{font-size:14px;line-height:17px;color:#17233d;padding-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-notice-with-desc .ivu-notice-title{font-weight:700;margin-bottom:8px}.ivu-notice-desc{font-size:12px;color:#515a6e;text-align:justify;line-height:1.5}.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-desc{margin-left:51px}.ivu-notice-with-icon .ivu-notice-title{margin-left:26px}.ivu-notice-icon{position:absolute;top:-2px;font-size:16px}.ivu-notice-icon-success{color:#19be6b}.ivu-notice-icon-info{color:#2d8cf0}.ivu-notice-icon-warning{color:#f90}.ivu-notice-icon-error{color:#ed4014}.ivu-notice-with-desc .ivu-notice-icon{font-size:36px;top:-6px}.ivu-notice-custom-content{position:relative}.ivu-radio-focus{box-shadow:0 0 0 2px rgba(45,140,240,.2);z-index:1}.ivu-radio-group{display:inline-block;font-size:12px;vertical-align:middle}.ivu-radio-group-vertical .ivu-radio-wrapper{display:block;height:30px;line-height:30px}.ivu-radio-wrapper{font-size:12px;vertical-align:middle;display:inline-block;position:relative;white-space:nowrap;margin-right:8px;cursor:pointer}.ivu-radio-wrapper-disabled{cursor:not-allowed}.ivu-radio{display:inline-block;margin-right:4px;white-space:nowrap;position:relative;line-height:1;vertical-align:middle;cursor:pointer}.ivu-radio:hover .ivu-radio-inner{border-color:#bcbcbc}.ivu-radio-inner{display:inline-block;width:14px;height:14px;position:relative;top:0;left:0;background-color:#fff;border:1px solid #dcdee2;border-radius:50%;transition:all .2s ease-in-out}.ivu-radio-inner:after{position:absolute;width:8px;height:8px;left:2px;top:2px;border-radius:6px;display:table;border-top:0;border-left:0;content:" ";background-color:#2d8cf0;opacity:0;transition:all .2s ease-in-out;transform:scale(0)}.ivu-radio-large{font-size:14px}.ivu-radio-large .ivu-radio-inner{width:16px;height:16px}.ivu-radio-large .ivu-radio-inner:after{width:10px;height:10px}.ivu-radio-large.ivu-radio-wrapper,.ivu-radio-large .ivu-radio-wrapper{font-size:14px}.ivu-radio-small .ivu-radio-inner{width:12px;height:12px}.ivu-radio-small .ivu-radio-inner:after{width:6px;height:6px}.ivu-radio-input{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;opacity:0;cursor:pointer}.ivu-radio-checked .ivu-radio-inner{border-color:#2d8cf0}.ivu-radio-checked .ivu-radio-inner:after{opacity:1;transform:scale(1);transition:all .2s ease-in-out}.ivu-radio-checked:hover .ivu-radio-inner{border-color:#2d8cf0}.ivu-radio-disabled,.ivu-radio-disabled .ivu-radio-input{cursor:not-allowed}.ivu-radio-disabled:hover .ivu-radio-inner{border-color:#dcdee2}.ivu-radio-disabled .ivu-radio-inner{border-color:#dcdee2;background-color:#f3f3f3}.ivu-radio-disabled .ivu-radio-inner:after{background-color:#ccc}.ivu-radio-disabled .ivu-radio-disabled+span{color:#ccc}span.ivu-radio+*{margin-left:2px;margin-right:2px}.ivu-radio-group-button{font-size:0;-webkit-text-size-adjust:none}.ivu-radio-group-button .ivu-radio{width:0;margin-right:0}.ivu-radio-group-button .ivu-radio-wrapper{display:inline-block;height:32px;line-height:30px;margin:0;padding:0 15px;font-size:12px;color:#515a6e;transition:all .2s ease-in-out;cursor:pointer;border:1px solid #dcdee2;border-left:0;background:#fff;position:relative}.ivu-radio-group-button .ivu-radio-wrapper>span{margin-left:0}.ivu-radio-group-button .ivu-radio-wrapper:after,.ivu-radio-group-button .ivu-radio-wrapper:before{content:"";display:block;position:absolute;width:1px;height:100%;left:-1px;top:0;background:#dcdee2;transition:all .2s ease-in-out}.ivu-radio-group-button .ivu-radio-wrapper:after{height:36px;left:-1px;top:-3px;background:rgba(45,140,240,.2);opacity:0}.ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:4px 0 0 4px;border-left:1px solid #dcdee2}.ivu-radio-group-button .ivu-radio-wrapper:first-child:after,.ivu-radio-group-button .ivu-radio-wrapper:first-child:before{display:none}.ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:0 4px 4px 0}.ivu-radio-group-button .ivu-radio-wrapper:first-child:last-child{border-radius:4px}.ivu-radio-group-button .ivu-radio-wrapper:hover{position:relative;color:#2d8cf0}.ivu-radio-group-button .ivu-radio-wrapper:hover .ivu-radio{background-color:#000}.ivu-radio-group-button .ivu-radio-wrapper .ivu-radio-inner,.ivu-radio-group-button .ivu-radio-wrapper input{opacity:0;width:0;height:0}.ivu-radio-group-button .ivu-radio-wrapper-checked{background:#fff;border-color:#2d8cf0;color:#2d8cf0;box-shadow:-1px 0 0 0 #2d8cf0;z-index:1}.ivu-radio-group-button .ivu-radio-wrapper-checked:before{background:#2d8cf0;opacity:.1}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus{box-shadow:-1px 0 0 0 #2d8cf0,0 0 0 2px rgba(45,140,240,.2);transition:all .2s ease-in-out}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus:after{left:-3px;top:-3px;opacity:1;background:rgba(45,140,240,.2)}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus:first-child{box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-radio-group-button .ivu-radio-wrapper-checked:first-child{border-color:#2d8cf0;box-shadow:none}.ivu-radio-group-button .ivu-radio-wrapper-checked:hover{border-color:#57a3f3;color:#57a3f3}.ivu-radio-group-button .ivu-radio-wrapper-checked:active{border-color:#2b85e4;color:#2b85e4}.ivu-radio-group-button .ivu-radio-wrapper-disabled{cursor:not-allowed}.ivu-radio-group-button .ivu-radio-wrapper-disabled,.ivu-radio-group-button .ivu-radio-wrapper-disabled:first-child,.ivu-radio-group-button .ivu-radio-wrapper-disabled:hover{border-color:#dcdee2;background-color:#f7f7f7;color:#ccc}.ivu-radio-group-button .ivu-radio-wrapper-disabled:first-child{border-left-color:#dcdee2}.ivu-radio-group-button .ivu-radio-wrapper-disabled.ivu-radio-wrapper-checked{color:#fff;background-color:#e6e6e6;border-color:#dcdee2;box-shadow:none!important}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper{height:36px;line-height:34px;font-size:14px}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper:after{height:40px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper{height:24px;line-height:22px;padding:0 12px;font-size:12px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:after{height:28px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:first-child{border-radius:3px 0 0 3px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:last-child{border-radius:0 3px 3px 0}.ivu-checkbox-focus{box-shadow:0 0 0 2px rgba(45,140,240,.2);z-index:1}.ivu-checkbox{display:inline-block;vertical-align:middle;white-space:nowrap;cursor:pointer;line-height:1;position:relative}.ivu-checkbox-disabled{cursor:not-allowed}.ivu-checkbox:hover .ivu-checkbox-inner{border-color:#bcbcbc}.ivu-checkbox-inner{display:inline-block;width:14px;height:14px;position:relative;top:0;left:0;border:1px solid #dcdee2;border-radius:2px;background-color:#fff;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-checkbox-inner:after{content:"";display:table;width:4px;height:8px;position:absolute;top:1px;left:4px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0);transition:all .2s ease-in-out}.ivu-checkbox-large .ivu-checkbox-inner{width:16px;height:16px}.ivu-checkbox-large .ivu-checkbox-inner:after{width:5px;height:9px}.ivu-checkbox-small{font-size:12px}.ivu-checkbox-small .ivu-checkbox-inner{width:12px;height:12px}.ivu-checkbox-small .ivu-checkbox-inner:after{top:0;left:3px}.ivu-checkbox-input{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;cursor:pointer;opacity:0}.ivu-checkbox-input[disabled]{cursor:not-allowed}.ivu-checkbox-checked:hover .ivu-checkbox-inner{border-color:#2d8cf0}.ivu-checkbox-checked .ivu-checkbox-inner{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-checkbox-checked .ivu-checkbox-inner:after{content:"";display:table;width:4px;height:8px;position:absolute;top:1px;left:4px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1);transition:all .2s ease-in-out}.ivu-checkbox-large .ivu-checkbox-checked .ivu-checkbox-inner:after{width:5px;height:9px}.ivu-checkbox-small .ivu-checkbox-checked .ivu-checkbox-inner:after{top:0;left:3px}.ivu-checkbox-disabled.ivu-checkbox-checked:hover .ivu-checkbox-inner{border-color:#dcdee2}.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner{background-color:#f3f3f3;border-color:#dcdee2}.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{animation-name:none;border-color:#ccc}.ivu-checkbox-disabled:hover .ivu-checkbox-inner{border-color:#dcdee2}.ivu-checkbox-disabled .ivu-checkbox-inner{border-color:#dcdee2;background-color:#f3f3f3}.ivu-checkbox-disabled .ivu-checkbox-inner:after{animation-name:none;border-color:#f3f3f3}.ivu-checkbox-disabled .ivu-checkbox-inner-input{cursor:default}.ivu-checkbox-disabled+span{color:#ccc;cursor:not-allowed}.ivu-checkbox-indeterminate .ivu-checkbox-inner:after{content:"";width:8px;height:1px;transform:scale(1);position:absolute;left:2px;top:5px}.ivu-checkbox-indeterminate:hover .ivu-checkbox-inner{border-color:#2d8cf0}.ivu-checkbox-indeterminate .ivu-checkbox-inner{background-color:#2d8cf0;border-color:#2d8cf0}.ivu-checkbox-indeterminate.ivu-checkbox-disabled .ivu-checkbox-inner{background-color:#f3f3f3;border-color:#dcdee2}.ivu-checkbox-indeterminate.ivu-checkbox-disabled .ivu-checkbox-inner:after{border-color:#c5c8ce}.ivu-checkbox-large .ivu-checkbox-indeterminate .ivu-checkbox-inner:after{width:10px;top:6px}.ivu-checkbox-small .ivu-checkbox-indeterminate .ivu-checkbox-inner:after{width:6px;top:4px}.ivu-checkbox-wrapper{cursor:pointer;font-size:12px;display:inline-block;margin-right:8px}.ivu-checkbox-wrapper-disabled{cursor:not-allowed}.ivu-checkbox-wrapper.ivu-checkbox-large{font-size:14px}.ivu-checkbox+span,.ivu-checkbox-wrapper+span{margin-right:4px}.ivu-checkbox-group{font-size:14px}.ivu-checkbox-group-item,.ivu-switch{display:inline-block}.ivu-switch{width:44px;height:22px;line-height:20px;border-radius:22px;vertical-align:middle;border:1px solid #ccc;background-color:#ccc;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:all .2s ease-in-out}.ivu-switch-loading{opacity:.4}.ivu-switch-inner{color:#fff;font-size:12px;position:absolute;left:23px}.ivu-switch-inner i{width:12px;height:12px;text-align:center;position:relative;top:-1px}.ivu-switch:after{content:"";width:18px;height:18px;border-radius:18px;background-color:#fff;position:absolute;left:1px;top:1px;cursor:pointer;transition:left .2s ease-in-out,width .2s ease-in-out}.ivu-switch:active:after{width:26px}.ivu-switch:before{content:"";display:none;width:14px;height:14px;border-radius:50%;background-color:transparent;position:absolute;left:3px;top:3px;z-index:1;border:1px solid #2d8cf0;border-color:transparent transparent transparent #2d8cf0;animation:switch-loading 1s linear;animation-iteration-count:infinite}.ivu-switch-loading:before{display:block}.ivu-switch:focus{box-shadow:0 0 0 2px rgba(45,140,240,.2);outline:0}.ivu-switch:focus:hover{box-shadow:none}.ivu-switch-small{width:28px;height:16px;line-height:14px}.ivu-switch-small:after{width:12px;height:12px}.ivu-switch-small:active:after{width:14px}.ivu-switch-small:before{width:10px;height:10px;left:2px;top:2px}.ivu-switch-small.ivu-switch-checked:after{left:13px}.ivu-switch-small.ivu-switch-checked:before{left:14px}.ivu-switch-small:active.ivu-switch-checked:after{left:11px}.ivu-switch-large{width:56px}.ivu-switch-large:active:after{width:26px;width:30px}.ivu-switch-large.ivu-switch-checked:after{left:35px}.ivu-switch-large.ivu-switch-checked:before{left:37px}.ivu-switch-large:active.ivu-switch-checked:after{left:23px}.ivu-switch-checked{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-switch-checked .ivu-switch-inner{left:7px}.ivu-switch-checked:after{left:23px}.ivu-switch-checked:before{left:25px}.ivu-switch-checked:active:after{left:15px}.ivu-switch-disabled{cursor:not-allowed;opacity:.4}.ivu-switch-disabled:after{background:#fff;cursor:not-allowed}.ivu-switch-disabled .ivu-switch-inner{color:#fff}.ivu-switch-disabled.ivu-switch-checked{border-color:#2d8cf0;background-color:#2d8cf0;opacity:.4}.ivu-switch-disabled.ivu-switch-checked:after{background:#fff}.ivu-switch-disabled.ivu-switch-checked .ivu-switch-inner{color:#fff}@keyframes switch-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.ivu-input-number{display:inline-block;width:100%;line-height:1.5;padding:4px 7px;font-size:12px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;margin:0;padding:0;width:80px;height:32px;line-height:32px;vertical-align:middle;border:1px solid #dcdee2;border-radius:4px;overflow:hidden}.ivu-input-number::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-input-number:-ms-input-placeholder{color:#c5c8ce}.ivu-input-number::-webkit-input-placeholder{color:#c5c8ce}.ivu-input-number:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input-number[disabled],fieldset[disabled] .ivu-input-number{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number[disabled]:hover,fieldset[disabled] .ivu-input-number:hover{border-color:#e3e5e8}textarea.ivu-input-number{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-input-number-large{font-size:14px;padding:6px 7px;height:36px}.ivu-input-number-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-input-number-handler-wrap{width:22px;height:100%;border-left:1px solid #dcdee2;border-radius:0 4px 4px 0;background:#fff;position:absolute;top:0;right:0;opacity:0;transition:opacity .2s ease-in-out}.ivu-input-number:hover .ivu-input-number-handler-wrap{opacity:1}.ivu-input-number-handler-up{cursor:pointer}.ivu-input-number-handler-up-inner{top:1px}.ivu-input-number-handler-down{border-top:1px solid #dcdee2;top:-1px;cursor:pointer}.ivu-input-number-handler{display:block;width:100%;height:16px;line-height:0;text-align:center;overflow:hidden;color:#999;position:relative}.ivu-input-number-handler:hover .ivu-input-number-handler-down-inner,.ivu-input-number-handler:hover .ivu-input-number-handler-up-inner{color:#57a3f3}.ivu-input-number-handler-down-inner,.ivu-input-number-handler-up-inner{width:12px;height:12px;line-height:12px;font-size:14px;color:#999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:5px;transition:all .2s linear}.ivu-input-number:hover{border-color:#57a3f3}.ivu-input-number-focused{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input-number-disabled{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number-disabled:hover{border-color:#e3e5e8}.ivu-input-number-input-wrap{overflow:hidden;height:32px}.ivu-input-number-input{width:100%;height:32px;line-height:32px;padding:0 7px;text-align:left;outline:0;-moz-appearance:textfield;color:#666;border:0;border-radius:4px;transition:all .2s linear}.ivu-input-number-input[disabled]{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number-input[disabled]:hover{border-color:#e3e5e8}.ivu-input-number-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-input-number-input:-ms-input-placeholder,.ivu-input-number-input::-ms-input-placeholder{color:#c5c8ce}.ivu-input-number-input::placeholder{color:#c5c8ce}.ivu-input-number-large{padding:0}.ivu-input-number-large .ivu-input-number-input-wrap{height:36px}.ivu-input-number-large .ivu-input-number-handler{height:18px}.ivu-input-number-large input{height:36px;line-height:36px}.ivu-input-number-large .ivu-input-number-handler-up-inner{top:2px}.ivu-input-number-large .ivu-input-number-handler-down-inner{bottom:2px}.ivu-input-number-small{padding:0}.ivu-input-number-small .ivu-input-number-input-wrap{height:24px}.ivu-input-number-small .ivu-input-number-handler{height:12px}.ivu-input-number-small input{height:24px;line-height:24px;margin-top:-1px;vertical-align:top}.ivu-input-number-small .ivu-input-number-handler-up-inner{top:-1px}.ivu-input-number-small .ivu-input-number-handler-down-inner{bottom:-1px}.ivu-input-number-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-disabled .ivu-input-number-handler-up-inner,.ivu-input-number-handler-down-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-handler-down-disabled .ivu-input-number-handler-up-inner,.ivu-input-number-handler-up-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-handler-up-disabled .ivu-input-number-handler-up-inner{opacity:.72;color:#ccc!important;cursor:not-allowed}.ivu-input-number-disabled .ivu-input-number-input{opacity:.72;cursor:not-allowed;background-color:#f3f3f3}.ivu-input-number-disabled .ivu-input-number-handler-wrap{display:none}.ivu-input-number-disabled .ivu-input-number-handler{opacity:.72;color:#ccc!important;cursor:not-allowed}.ivu-form-item-error .ivu-input-number{border:1px solid #ed4014}.ivu-form-item-error .ivu-input-number:hover{border-color:#ed4014}.ivu-form-item-error .ivu-input-number-focused,.ivu-form-item-error .ivu-input-number:focus{border-color:#ed4014;outline:0;box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-scroll-wrapper{width:auto;margin:0 auto;position:relative;outline:0}.ivu-scroll-container{overflow-y:scroll}.ivu-scroll-content{opacity:1;transition:opacity .5s}.ivu-scroll-content-loading{opacity:.5}.ivu-scroll-loader{text-align:center;padding:0;transition:padding .5s}.ivu-scroll-loader-wrapper{padding:5px 0;height:0;background-color:inherit;transform:scale(0);transition:opacity .3s,transform .5s,height .5s}.ivu-scroll-loader-wrapper-active{height:40px;transform:scale(1)}@keyframes ani-demo-spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.ivu-scroll-loader-wrapper .ivu-scroll-spinner{position:relative}.ivu-scroll-loader-wrapper .ivu-scroll-spinner-icon{animation:ani-demo-spin 1s linear infinite}.ivu-tag{display:inline-block;height:22px;line-height:22px;margin:2px 4px 2px 0;padding:0 8px;border:1px solid #e8eaec;border-radius:3px;background:#f7f7f7;font-size:12px;vertical-align:middle;opacity:1;overflow:hidden;cursor:pointer}.ivu-tag:not(.ivu-tag-border):not(.ivu-tag-dot):not(.ivu-tag-checked){background:0 0;border:0;color:#515a6e}.ivu-tag:not(.ivu-tag-border):not(.ivu-tag-dot):not(.ivu-tag-checked) .ivu-icon-ios-close{color:#515a6e!important}.ivu-tag-color-error{color:#ed4014!important;border-color:#ed4014}.ivu-tag-color-success{color:#19be6b!important;border-color:#19be6b}.ivu-tag-color-primary{color:#2d8cf0!important;border-color:#2d8cf0}.ivu-tag-color-warning{color:#f90!important;border-color:#f90}.ivu-tag-color-white{color:#fff!important}.ivu-tag-dot{height:32px;line-height:32px;border:1px solid #e8eaec!important;color:#515a6e!important;background:#fff!important;padding:0 12px}.ivu-tag-dot-inner{display:inline-block;width:12px;height:12px;margin-right:8px;border-radius:50%;background:#e8eaec;position:relative;top:1px}.ivu-tag-dot .ivu-icon-ios-close{color:#666!important;margin-left:12px!important}.ivu-tag-border{height:24px;line-height:24px;border:1px solid #e8eaec;color:#e8eaec;background:#fff!important;position:relative}.ivu-tag-border .ivu-icon-ios-close{color:#666;margin-left:12px!important}.ivu-tag-border:after{content:"";display:none;width:1px;background:currentColor;position:absolute;top:0;bottom:0;right:22px}.ivu-tag-border.ivu-tag-closable:after{display:block}.ivu-tag-border.ivu-tag-closable .ivu-icon-ios-close{margin-left:18px!important;left:4px;top:-1px}.ivu-tag-border.ivu-tag-primary{color:#2d8cf0!important;border:1px solid #2d8cf0!important}.ivu-tag-border.ivu-tag-primary:after{background:#2d8cf0}.ivu-tag-border.ivu-tag-primary .ivu-icon-ios-close{color:#2d8cf0!important}.ivu-tag-border.ivu-tag-success{color:#19be6b!important;border:1px solid #19be6b!important}.ivu-tag-border.ivu-tag-success:after{background:#19be6b}.ivu-tag-border.ivu-tag-success .ivu-icon-ios-close{color:#19be6b!important}.ivu-tag-border.ivu-tag-warning{color:#f90!important;border:1px solid #f90!important}.ivu-tag-border.ivu-tag-warning:after{background:#f90}.ivu-tag-border.ivu-tag-warning .ivu-icon-ios-close{color:#f90!important}.ivu-tag-border.ivu-tag-error{color:#ed4014!important;border:1px solid #ed4014!important}.ivu-tag-border.ivu-tag-error:after{background:#ed4014}.ivu-tag-border.ivu-tag-error .ivu-icon-ios-close{color:#ed4014!important}.ivu-tag:hover{opacity:.85}.ivu-tag-text{color:#515a6e}.ivu-tag-text a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ivu-tag .ivu-icon-ios-close{display:inline-block;font-size:14px;transform:scale(1.42857143) rotate(0);cursor:pointer;margin-left:2px;color:#666;opacity:.66;position:relative;top:-1px}:root .ivu-tag .ivu-icon-ios-close{font-size:14px}.ivu-tag .ivu-icon-ios-close:hover{opacity:1}.ivu-tag-error,.ivu-tag-primary,.ivu-tag-success,.ivu-tag-warning{border:0}.ivu-tag-error,.ivu-tag-error .ivu-icon-ios-close,.ivu-tag-error .ivu-icon-ios-close:hover,.ivu-tag-error a,.ivu-tag-error a:hover,.ivu-tag-primary,.ivu-tag-primary .ivu-icon-ios-close,.ivu-tag-primary .ivu-icon-ios-close:hover,.ivu-tag-primary a,.ivu-tag-primary a:hover,.ivu-tag-success,.ivu-tag-success .ivu-icon-ios-close,.ivu-tag-success .ivu-icon-ios-close:hover,.ivu-tag-success a,.ivu-tag-success a:hover,.ivu-tag-warning,.ivu-tag-warning .ivu-icon-ios-close,.ivu-tag-warning .ivu-icon-ios-close:hover,.ivu-tag-warning a,.ivu-tag-warning a:hover{color:#fff}.ivu-tag-primary,.ivu-tag-primary.ivu-tag-dot .ivu-tag-dot-inner{background:#2d8cf0}.ivu-tag-success,.ivu-tag-success.ivu-tag-dot .ivu-tag-dot-inner{background:#19be6b}.ivu-tag-warning,.ivu-tag-warning.ivu-tag-dot .ivu-tag-dot-inner{background:#f90}.ivu-tag-error,.ivu-tag-error.ivu-tag-dot .ivu-tag-dot-inner{background:#ed4014}.ivu-tag-pink{line-height:20px;background:#fff0f6;border-color:#ffadd2}.ivu-tag-pink .ivu-tag-text{color:#eb2f96!important}.ivu-tag-pink.ivu-tag-dot{line-height:32px}.ivu-tag-magenta{line-height:20px;background:#fff0f6;border-color:#ffadd2}.ivu-tag-magenta .ivu-tag-text{color:#eb2f96!important}.ivu-tag-magenta.ivu-tag-dot{line-height:32px}.ivu-tag-red{line-height:20px;background:#fff1f0;border-color:#ffa39e}.ivu-tag-red .ivu-tag-text{color:#f5222d!important}.ivu-tag-red.ivu-tag-dot{line-height:32px}.ivu-tag-volcano{line-height:20px;background:#fff2e8;border-color:#ffbb96}.ivu-tag-volcano .ivu-tag-text{color:#fa541c!important}.ivu-tag-volcano.ivu-tag-dot{line-height:32px}.ivu-tag-orange{line-height:20px;background:#fff7e6;border-color:#ffd591}.ivu-tag-orange .ivu-tag-text{color:#fa8c16!important}.ivu-tag-orange.ivu-tag-dot{line-height:32px}.ivu-tag-yellow{line-height:20px;background:#feffe6;border-color:#fffb8f}.ivu-tag-yellow .ivu-tag-text{color:#fadb14!important}.ivu-tag-yellow.ivu-tag-dot{line-height:32px}.ivu-tag-gold{line-height:20px;background:#fffbe6;border-color:#ffe58f}.ivu-tag-gold .ivu-tag-text{color:#faad14!important}.ivu-tag-gold.ivu-tag-dot{line-height:32px}.ivu-tag-cyan{line-height:20px;background:#e6fffb;border-color:#87e8de}.ivu-tag-cyan .ivu-tag-text{color:#13c2c2!important}.ivu-tag-cyan.ivu-tag-dot{line-height:32px}.ivu-tag-lime{line-height:20px;background:#fcffe6;border-color:#eaff8f}.ivu-tag-lime .ivu-tag-text{color:#a0d911!important}.ivu-tag-lime.ivu-tag-dot{line-height:32px}.ivu-tag-green{line-height:20px;background:#f6ffed;border-color:#b7eb8f}.ivu-tag-green .ivu-tag-text{color:#52c41a!important}.ivu-tag-green.ivu-tag-dot{line-height:32px}.ivu-tag-blue{line-height:20px;background:#e6f7ff;border-color:#91d5ff}.ivu-tag-blue .ivu-tag-text{color:#1890ff!important}.ivu-tag-blue.ivu-tag-dot{line-height:32px}.ivu-tag-geekblue{line-height:20px;background:#f0f5ff;border-color:#adc6ff}.ivu-tag-geekblue .ivu-tag-text{color:#2f54eb!important}.ivu-tag-geekblue.ivu-tag-dot{line-height:32px}.ivu-tag-purple{line-height:20px;background:#f9f0ff;border-color:#d3adf7}.ivu-tag-purple .ivu-tag-text{color:#722ed1!important}.ivu-tag-purple.ivu-tag-dot{line-height:32px}.ivu-layout{display:flex;flex-direction:column;flex:auto;background:#f5f7f9}.ivu-layout.ivu-layout-has-sider{flex-direction:row}.ivu-layout.ivu-layout-has-sider>.ivu-layout,.ivu-layout.ivu-layout-has-sider>.ivu-layout-content{overflow-x:hidden}.ivu-layout-footer,.ivu-layout-header{flex:0 0 auto}.ivu-layout-header{background:#515a6e;padding:0 50px;height:64px;line-height:64px}.ivu-layout-sider{transition:all .2s ease-in-out;position:relative;background:#515a6e;min-width:0}.ivu-layout-sider-children{height:100%;padding-top:.1px;margin-top:-.1px}.ivu-layout-sider-has-trigger{padding-bottom:48px}.ivu-layout-sider-trigger{position:fixed;bottom:0;text-align:center;cursor:pointer;height:48px;line-height:48px;color:#fff;background:#515a6e;z-index:1000;transition:all .2s ease-in-out}.ivu-layout-sider-trigger .ivu-icon{font-size:16px}.ivu-layout-sider-trigger>*{transition:all .2s}.ivu-layout-sider-trigger-collapsed .ivu-layout-sider-trigger-icon{transform:rotate(180deg)}.ivu-layout-sider-zero-width>*{overflow:hidden}.ivu-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;text-align:center;width:36px;height:42px;line-height:42px;background:#515a6e;color:#fff;font-size:18px;border-radius:0 6px 6px 0;cursor:pointer;transition:background .3s ease}.ivu-layout-sider-zero-width-trigger:hover{background:#626b7d}.ivu-layout-sider-zero-width-trigger.ivu-layout-sider-zero-width-trigger-left{right:0;left:-36px;border-radius:6px 0 0 6px}.ivu-layout-footer{background:#f5f7f9;padding:24px 50px;color:#515a6e;font-size:14px}.ivu-layout-content{flex:auto}.ivu-loading-bar{width:100%;position:fixed;top:0;left:0;right:0;z-index:2000}.ivu-loading-bar-inner{transition:width .2s linear}.ivu-loading-bar-inner-color-primary{background-color:#2d8cf0}.ivu-loading-bar-inner-failed-color-error{background-color:#ed4014}.ivu-progress{display:inline-block;width:100%;font-size:12px;position:relative}.ivu-progress-vertical{height:100%;width:auto}.ivu-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ivu-progress-show-info .ivu-progress-outer{padding-right:55px;margin-right:-55px}.ivu-progress-vertical .ivu-progress-outer{height:100%;width:auto}.ivu-progress-inner{display:inline-block;width:100%;background-color:#f3f3f3;border-radius:100px;vertical-align:middle;position:relative}.ivu-progress-vertical .ivu-progress-inner{height:100%;width:auto}.ivu-progress-vertical .ivu-progress-inner:after,.ivu-progress-vertical .ivu-progress-inner>*{display:inline-block;vertical-align:bottom}.ivu-progress-vertical .ivu-progress-inner:after{content:"";height:100%}.ivu-progress-bg{background-color:#2d8cf0;position:relative}.ivu-progress-bg,.ivu-progress-success-bg{border-radius:100px;transition:all .2s linear}.ivu-progress-success-bg{background-color:#19be6b;position:absolute;top:0;left:0}.ivu-progress-text{display:inline-block;margin-left:5px;text-align:left;font-size:1em;vertical-align:middle}.ivu-progress-active .ivu-progress-bg:before{content:"";opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;border-radius:10px;animation:ivu-progress-active 2s ease-in-out infinite}.ivu-progress-vertical.ivu-progress-active .ivu-progress-bg:before{top:auto;animation:ivu-progress-active-vertical 2s ease-in-out infinite}.ivu-progress-wrong .ivu-progress-bg{background-color:#ed4014}.ivu-progress-wrong .ivu-progress-text{color:#ed4014}.ivu-progress-success .ivu-progress-bg{background-color:#19be6b}.ivu-progress-success .ivu-progress-text{color:#19be6b}@keyframes ivu-progress-active{0%{opacity:.3;width:0}to{opacity:0;width:100%}}@keyframes ivu-progress-active-vertical{0%{opacity:.3;height:0}to{opacity:0;height:100%}}.ivu-timeline{list-style:none;margin:0;padding:0}.ivu-timeline-item{margin:0!important;padding:0 0 12px;list-style:none;position:relative}.ivu-timeline-item-tail{height:100%;border-left:1px solid #e8eaec;position:absolute;left:6px;top:0}.ivu-timeline-item-pending .ivu-timeline-item-tail{display:none}.ivu-timeline-item-head{width:13px;height:13px;background-color:#fff;border-radius:50%;border:1px solid transparent;position:absolute}.ivu-timeline-item-head-blue{border-color:#2d8cf0;color:#2d8cf0}.ivu-timeline-item-head-red{border-color:#ed4014;color:#ed4014}.ivu-timeline-item-head-green{border-color:#19be6b;color:#19be6b}.ivu-timeline-item-head-custom{width:40px;height:auto;margin-top:6px;padding:3px 0;text-align:center;line-height:1;border:0;border-radius:0;font-size:14px;position:absolute;left:-13px;transform:translateY(-50%)}.ivu-timeline-item-content{padding:1px 1px 10px 24px;font-size:12px;position:relative;top:-3px}.ivu-timeline-item:last-child .ivu-timeline-item-tail{display:none}.ivu-timeline.ivu-timeline-pending .ivu-timeline-item:nth-last-of-type(2) .ivu-timeline-item-tail{border-left:1px dotted #e8eaec}.ivu-timeline.ivu-timeline-pending .ivu-timeline-item:nth-last-of-type(2) .ivu-timeline-item-content{min-height:48px}.ivu-page:after{content:"";display:block;height:0;clear:both;overflow:hidden;visibility:hidden}.ivu-page-item{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1px solid #dcdee2;border-radius:4px;transition:border .2s ease-in-out,color .2s ease-in-out}.ivu-page-item a{font-family:Monospaced Number;margin:0 6px;text-decoration:none;color:#515a6e}.ivu-page-item:hover{border-color:#2d8cf0}.ivu-page-item:hover a{color:#2d8cf0}.ivu-page-item-active{border-color:#2d8cf0}.ivu-page-item-active:hover a,.ivu-page-item-active a{color:#2d8cf0}.ivu-page-item-jump-next:after,.ivu-page-item-jump-prev:after{content:"\2022\2022\2022";display:block;letter-spacing:1px;color:#ccc;text-align:center}.ivu-page-item-jump-next:hover:after,.ivu-page-item-jump-next i,.ivu-page-item-jump-prev:hover:after,.ivu-page-item-jump-prev i{display:none}.ivu-page-item-jump-next:hover i,.ivu-page-item-jump-prev:hover i{display:inline}.ivu-page-item-jump-prev:hover i:after{content:"\F115";margin-left:-8px}.ivu-page-item-jump-next:hover i:after{content:"\F11F";margin-left:-8px}.ivu-page-item-jump-next,.ivu-page-item-jump-prev,.ivu-page-prev{margin-right:4px}.ivu-page-item-jump-next,.ivu-page-item-jump-prev,.ivu-page-next,.ivu-page-prev{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;color:#666;font-family:Arial;border:1px solid #dcdee2;border-radius:4px;transition:all .2s ease-in-out}.ivu-page-item-jump-next,.ivu-page-item-jump-prev{border-color:transparent}.ivu-page-next,.ivu-page-prev{background-color:#fff}.ivu-page-next a,.ivu-page-prev a{color:#666;font-size:14px}.ivu-page-next:hover,.ivu-page-prev:hover{border-color:#2d8cf0}.ivu-page-next:hover a,.ivu-page-prev:hover a{color:#2d8cf0}.ivu-page-disabled{cursor:not-allowed}.ivu-page-disabled a{color:#ccc}.ivu-page-disabled:hover{border-color:#dcdee2}.ivu-page-disabled:hover a{color:#ccc;cursor:not-allowed}.ivu-page-options{display:inline-block;vertical-align:middle;margin-left:15px}.ivu-page-options-sizer{display:inline-block;margin-right:10px}.ivu-page-options-elevator{display:inline-block;vertical-align:middle;height:32px;line-height:32px}.ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}.ivu-page-options-elevator input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-page-options-elevator input:-ms-input-placeholder{color:#c5c8ce}.ivu-page-options-elevator input::-webkit-input-placeholder{color:#c5c8ce}.ivu-page-options-elevator input:hover{border-color:#57a3f3}.ivu-page-options-elevator input:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-page-options-elevator input[disabled],fieldset[disabled] .ivu-page-options-elevator input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-page-options-elevator input[disabled]:hover,fieldset[disabled] .ivu-page-options-elevator input:hover{border-color:#e3e5e8}textarea.ivu-page-options-elevator input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-page-options-elevator input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-page-options-elevator input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-page-total{display:inline-block;height:32px;line-height:32px;margin-right:10px}.ivu-page-simple .ivu-page-next,.ivu-page-simple .ivu-page-prev{margin:0;border:0;height:24px;line-height:normal;font-size:18px}.ivu-page-simple .ivu-page-simple-pager{display:inline-block;margin-right:8px;vertical-align:middle}.ivu-page-simple .ivu-page-simple-pager input{width:30px;height:24px;margin:0 8px;padding:5px 8px;text-align:center;box-sizing:border-box;background-color:#fff;outline:0;border:1px solid #dcdee2;border-radius:4px;transition:border-color .2s ease-in-out}.ivu-page-simple .ivu-page-simple-pager input:hover{border-color:#2d8cf0}.ivu-page-simple .ivu-page-simple-pager span{padding:0 8px 0 2px}.ivu-page-custom-text,.ivu-page-custom-text:hover{border-color:transparent}.ivu-page.mini .ivu-page-total{height:24px;line-height:24px}.ivu-page.mini .ivu-page-item{border:0;margin:0;min-width:24px;height:24px;line-height:24px;border-radius:3px}.ivu-page.mini .ivu-page-next,.ivu-page.mini .ivu-page-prev{margin:0;min-width:24px;height:24px;line-height:22px;border:0}.ivu-page.mini .ivu-page-next a i:after,.ivu-page.mini .ivu-page-prev a i:after{height:24px;line-height:24px}.ivu-page.mini .ivu-page-item-jump-next,.ivu-page.mini .ivu-page-item-jump-prev{height:24px;line-height:24px;border:none;margin-right:0}.ivu-page.mini .ivu-page-options{margin-left:8px}.ivu-page.mini .ivu-page-options-elevator{height:24px;line-height:24px}.ivu-page.mini .ivu-page-options-elevator input{padding:1px 7px;height:24px;border-radius:3px;width:44px}.ivu-steps{font-size:0;width:100%;line-height:1.5}.ivu-steps-item{display:inline-block;position:relative;vertical-align:top}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner{background-color:#fff}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner span{color:#ccc}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-content,.ivu-steps-item.ivu-steps-status-wait .ivu-steps-title{color:#999}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner span{color:#fff}.ivu-steps-item.ivu-steps-status-process .ivu-steps-content,.ivu-steps-item.ivu-steps-status-process .ivu-steps-title{color:#666}.ivu-steps-item.ivu-steps-status-process .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner{background-color:#fff;border-color:#2d8cf0}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner span{color:#2d8cf0}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-tail>i:after{width:100%;background:#2d8cf0;transition:all .2s ease-in-out;opacity:1}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-content,.ivu-steps-item.ivu-steps-status-finish .ivu-steps-title{color:#999}.ivu-steps-item.ivu-steps-status-error .ivu-steps-head-inner{background-color:#fff;border-color:#ed4014}.ivu-steps-item.ivu-steps-status-error .ivu-steps-content,.ivu-steps-item.ivu-steps-status-error .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-error .ivu-steps-title{color:#ed4014}.ivu-steps-item.ivu-steps-status-error .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-next-error .ivu-steps-tail>i,.ivu-steps-item.ivu-steps-next-error .ivu-steps-tail>i:after{background-color:#ed4014}.ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner{background:0 0;border:0;width:auto;height:auto}.ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner>.ivu-steps-icon{font-size:20px;top:2px;width:20px;height:20px}.ivu-steps-item.ivu-steps-custom.ivu-steps-status-process .ivu-steps-head-inner>.ivu-steps-icon{color:#2d8cf0}.ivu-steps-item:last-child .ivu-steps-tail{display:none}.ivu-steps .ivu-steps-head,.ivu-steps .ivu-steps-main{position:relative;display:inline-block;vertical-align:top}.ivu-steps .ivu-steps-head{background:#fff}.ivu-steps .ivu-steps-head-inner{display:block;width:26px;height:26px;line-height:24px;margin-right:8px;text-align:center;border:1px solid #ccc;border-radius:50%;font-size:14px;transition:background-color .2s ease-in-out}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon{line-height:1;position:relative}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon{font-size:24px}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon-ios-checkmark-empty,.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon-ios-close-empty{font-weight:700}.ivu-steps .ivu-steps-main{margin-top:2.5px;display:inline}.ivu-steps .ivu-steps-custom .ivu-steps-title{margin-top:2.5px}.ivu-steps .ivu-steps-title{display:inline-block;margin-bottom:4px;padding-right:10px;font-size:14px;font-weight:700;color:#666;background:#fff}.ivu-steps .ivu-steps-title>a:first-child:last-child{color:#666}.ivu-steps .ivu-steps-item-last .ivu-steps-title{padding-right:0;width:100%}.ivu-steps .ivu-steps-content{font-size:12px;color:#999}.ivu-steps .ivu-steps-tail{width:100%;padding:0 10px;position:absolute;left:0;top:13px}.ivu-steps .ivu-steps-tail>i{display:inline-block;width:100%;height:1px;vertical-align:top;background:#e8eaec;border-radius:1px;position:relative}.ivu-steps .ivu-steps-tail>i:after{content:"";width:0;height:100%;background:#e8eaec;opacity:0;position:absolute;top:0}.ivu-steps.ivu-steps-small .ivu-steps-head-inner{width:18px;height:18px;line-height:16px;margin-right:10px;text-align:center;border-radius:50%;font-size:12px}.ivu-steps.ivu-steps-small .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon{font-size:16px;top:0}.ivu-steps.ivu-steps-small .ivu-steps-main{margin-top:0}.ivu-steps.ivu-steps-small .ivu-steps-title{margin-bottom:4px;margin-top:0;color:#666;font-size:12px;font-weight:700}.ivu-steps.ivu-steps-small .ivu-steps-content{font-size:12px;color:#999;padding-left:30px}.ivu-steps.ivu-steps-small .ivu-steps-tail{top:8px;padding:0 8px}.ivu-steps.ivu-steps-small .ivu-steps-tail>i{height:1px;width:100%;border-radius:1px}.ivu-steps .ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner,.ivu-steps.ivu-steps-small .ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner{width:inherit;height:inherit;line-height:inherit;border-radius:0;border:0;background:0 0}.ivu-steps-vertical .ivu-steps-item{display:block}.ivu-steps-vertical .ivu-steps-tail{position:absolute;left:13px;top:0;height:100%;width:1px;padding:30px 0 4px}.ivu-steps-vertical .ivu-steps-tail>i{height:100%;width:1px}.ivu-steps-vertical .ivu-steps-tail>i:after{height:0;width:100%}.ivu-steps-vertical .ivu-steps-status-finish .ivu-steps-tail>i:after{height:100%}.ivu-steps-vertical .ivu-steps-head{float:left}.ivu-steps-vertical .ivu-steps-head-inner{margin-right:16px}.ivu-steps-vertical .ivu-steps-main{min-height:47px;overflow:hidden;display:block}.ivu-steps-vertical .ivu-steps-main .ivu-steps-title{line-height:26px}.ivu-steps-vertical .ivu-steps-main .ivu-steps-content{padding-bottom:12px;padding-left:0}.ivu-steps-vertical .ivu-steps-custom .ivu-steps-icon{left:4px}.ivu-steps-vertical.ivu-steps-small .ivu-steps-custom .ivu-steps-icon{left:0}.ivu-steps-vertical.ivu-steps-small .ivu-steps-tail{position:absolute;left:9px;top:0;padding:22px 0 4px}.ivu-steps-vertical.ivu-steps-small .ivu-steps-tail>i{height:100%}.ivu-steps-vertical.ivu-steps-small .ivu-steps-title{line-height:18px}.ivu-steps-horizontal.ivu-steps-hidden{visibility:hidden}.ivu-steps-horizontal .ivu-steps-content{padding-left:35px}.ivu-steps-horizontal .ivu-steps-item:not(:first-child) .ivu-steps-head{padding-left:10px;margin-left:-10px}.ivu-modal{width:auto;margin:0 auto;position:relative;outline:0;top:100px}.ivu-modal-hidden{display:none!important}.ivu-modal-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ivu-modal-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.ivu-modal-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ivu-modal-mask-hidden{display:none}.ivu-modal-content{position:relative;background-color:#fff;border:0;border-radius:6px;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ivu-modal-content-no-mask{pointer-events:auto}.ivu-modal-content-drag{position:absolute}.ivu-modal-content-drag .ivu-modal-header{cursor:move}.ivu-modal-content-dragging{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-modal-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-modal-header-inner,.ivu-modal-header p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-modal-header p i,.ivu-modal-header p span{vertical-align:middle}.ivu-modal-close{z-index:1;font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-modal-close .ivu-icon-ios-close{font-size:31px;color:#999;transition:color .2s ease;position:relative;top:1px}.ivu-modal-close .ivu-icon-ios-close:hover{color:#444}.ivu-modal-body{padding:16px;font-size:12px;line-height:1.5}.ivu-modal-footer{border-top:1px solid #e8eaec;padding:12px 18px;text-align:right}.ivu-modal-footer button+button{margin-left:8px;margin-bottom:0}.ivu-modal-fullscreen{width:100%!important;top:0;bottom:0;position:absolute}.ivu-modal-fullscreen .ivu-modal-content{width:100%;border-radius:0;position:absolute;top:0;bottom:0}.ivu-modal-fullscreen .ivu-modal-body{width:100%;overflow:auto;position:absolute;top:51px;bottom:61px}.ivu-modal-fullscreen-no-header .ivu-modal-body{top:0}.ivu-modal-fullscreen-no-footer .ivu-modal-body{bottom:0}.ivu-modal-fullscreen .ivu-modal-footer{position:absolute;width:100%;bottom:0}.ivu-modal-no-mask{pointer-events:none}@media (max-width:768px){.ivu-modal{width:auto!important;margin:10px}.ivu-modal-fullscreen{width:100%!important;margin:0}.vertical-center-modal .ivu-modal{flex:1}}.ivu-modal-confirm{padding:0 4px}.ivu-modal-confirm-head{padding:0 12px 0 0}.ivu-modal-confirm-head-icon{display:inline-block;font-size:28px;vertical-align:middle;position:relative;top:-2px}.ivu-modal-confirm-head-icon-info{color:#2d8cf0}.ivu-modal-confirm-head-icon-success{color:#19be6b}.ivu-modal-confirm-head-icon-warning{color:#f90}.ivu-modal-confirm-head-icon-error{color:#ed4014}.ivu-modal-confirm-head-icon-confirm{color:#f90}.ivu-modal-confirm-head-title{display:inline-block;vertical-align:middle;margin-left:12px;font-size:16px;color:#17233d;font-weight:700}.ivu-modal-confirm-body{padding-left:42px;font-size:14px;color:#515a6e;position:relative}.ivu-modal-confirm-body-render{margin:0;padding:0}.ivu-modal-confirm-footer{margin-top:20px;text-align:right}.ivu-modal-confirm-footer button+button{margin-left:8px;margin-bottom:0}.ivu-select{display:inline-block;width:100%;box-sizing:border-box;vertical-align:middle;color:#515a6e;font-size:14px;line-height:normal}.ivu-select-selection{display:block;box-sizing:border-box;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1px solid #dcdee2;transition:all .2s ease-in-out}.ivu-select-selection-focused,.ivu-select-selection:hover{border-color:#57a3f3}.ivu-select-selection-focused .ivu-select-arrow,.ivu-select-selection:hover .ivu-select-arrow{display:inline-block}.ivu-select-arrow{position:absolute;top:50%;right:8px;line-height:1;margin-top:-7px;font-size:14px;color:#808695;transition:all .2s ease-in-out}.ivu-select-visible .ivu-select-selection{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-select-visible .ivu-select-arrow{transform:rotate(180deg);display:inline-block}.ivu-select-disabled .ivu-select-selection{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-select-disabled .ivu-select-selection:hover{border-color:#e3e5e8}.ivu-select-disabled .ivu-select-selection .ivu-select-arrow{display:none}.ivu-select-disabled .ivu-select-selection:hover{border-color:#dcdee2;box-shadow:none}.ivu-select-disabled .ivu-select-selection:hover .ivu-select-arrow{display:inline-block}.ivu-select-single .ivu-select-selection{height:32px;position:relative}.ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#c5c8ce}.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-single .ivu-select-selection .ivu-select-selected-value{display:block;height:30px;line-height:30px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:8px;padding-right:24px}.ivu-select-multiple .ivu-select-selection{padding:0 24px 0 4px}.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder{display:block;height:30px;line-height:30px;color:#c5c8ce;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:4px;padding-right:22px}.ivu-select-large.ivu-select-single .ivu-select-selection{height:36px}.ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:34px;line-height:34px;font-size:14px}.ivu-select-large.ivu-select-multiple .ivu-select-selection{min-height:36px}.ivu-select-large.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,.ivu-select-large.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value{min-height:34px;line-height:34px;font-size:14px}.ivu-select-small.ivu-select-single .ivu-select-selection{height:24px;border-radius:3px}.ivu-select-small.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-small.ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:22px;line-height:22px}.ivu-select-small.ivu-select-multiple .ivu-select-selection{min-height:24px;border-radius:3px}.ivu-select-small.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,.ivu-select-small.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value{height:auto;min-height:22px;line-height:22px}.ivu-select-input{display:inline-block;height:32px;line-height:32px;padding:0 24px 0 8px;font-size:12px;outline:0;border:none;box-sizing:border-box;color:#515a6e;background-color:transparent;position:relative;cursor:pointer}.ivu-select-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-select-input:-ms-input-placeholder{color:#c5c8ce}.ivu-select-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-select-input[disabled]{cursor:not-allowed;color:#ccc}.ivu-select-single .ivu-select-input{width:100%}.ivu-select-large .ivu-select-input{font-size:14px;height:36px}.ivu-select-small .ivu-select-input{height:22px;line-height:22px}.ivu-select-multiple .ivu-select-input{height:29px;line-height:32px;padding:0 0 0 4px}.ivu-select-not-found{text-align:center;color:#c5c8ce}.ivu-select-not-found li:not([class^=ivu-]){margin-bottom:0}.ivu-select-loading{text-align:center;color:#c5c8ce}.ivu-select-multiple .ivu-tag{height:24px;line-height:22px;margin:3px 4px 3px 0;max-width:99%;position:relative}.ivu-select-multiple .ivu-tag span{display:block;margin-right:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-select-multiple .ivu-tag i{display:block;position:absolute;right:4px;top:4px}.ivu-select-large.ivu-select-multiple .ivu-tag{height:28px;line-height:26px;font-size:14px}.ivu-select-large.ivu-select-multiple .ivu-tag i{top:6px}.ivu-select-small.ivu-select-multiple .ivu-tag{height:17px;line-height:15px;font-size:12px;padding:0 6px;margin:3px 4px 2px 0}.ivu-select-small.ivu-select-multiple .ivu-tag span{margin-right:14px}.ivu-select-small.ivu-select-multiple .ivu-tag i{top:1px;right:2px}.ivu-select-dropdown-list{min-width:100%;list-style:none}.ivu-select .ivu-select-dropdown{width:auto}.ivu-select-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-select-item-focus,.ivu-select-item:hover{background:#f3f3f3}.ivu-select-item-disabled,.ivu-select-item-disabled:hover{color:#c5c8ce;cursor:not-allowed}.ivu-select-item-disabled:hover{background-color:#fff}.ivu-select-item-selected,.ivu-select-item-selected:hover{color:#2d8cf0}.ivu-select-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-select-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-select-large .ivu-select-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-select-item{white-space:normal}}.ivu-select-multiple .ivu-select-item{position:relative}.ivu-select-multiple .ivu-select-item-selected{color:rgba(45,140,240,.9);background:#fff}.ivu-select-multiple .ivu-select-item-focus,.ivu-select-multiple .ivu-select-item-selected:hover{background:#f3f3f3}.ivu-select-multiple .ivu-select-item-selected.ivu-select-multiple .ivu-select-item-focus{color:rgba(40,123,211,.91);background:#fff}.ivu-select-multiple .ivu-select-item-selected:after{display:inline-block;font-family:Ionicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle;font-size:24px;content:"\F171";color:rgba(45,140,240,.9);position:absolute;top:2px;right:8px}.ivu-select-group{list-style:none;margin:0;padding:0}.ivu-select-group-title{padding-left:8px;font-size:12px;color:#999;height:30px;line-height:30px}.ivu-form-item-error .ivu-select-selection{border:1px solid #ed4014}.ivu-form-item-error .ivu-select-arrow{color:#ed4014}.ivu-form-item-error .ivu-select-visible .ivu-select-selection{border-color:#ed4014;outline:0;box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-select-dropdown{width:inherit;max-height:200px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.ivu-select-dropdown-transfer{z-index:1060;width:auto}.ivu-select-dropdown.ivu-transfer-no-max-height{max-height:none}.ivu-modal .ivu-select-dropdown{position:absolute!important}.ivu-split-wrapper{position:relative;width:100%;height:100%}.ivu-split-pane{position:absolute}.ivu-split-pane.left-pane,.ivu-split-pane.right-pane{top:0;bottom:0}.ivu-split-pane.left-pane{left:0}.ivu-split-pane.right-pane{right:0}.ivu-split-pane.bottom-pane,.ivu-split-pane.top-pane{left:0;right:0}.ivu-split-pane.top-pane{top:0}.ivu-split-pane.bottom-pane{bottom:0}.ivu-split-pane-moving{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-split-trigger{border:1px solid #dcdee2}.ivu-split-trigger-con{position:absolute;transform:translate(-50%,-50%);z-index:10}.ivu-split-trigger-bar-con{position:absolute;overflow:hidden}.ivu-split-trigger-bar-con.vertical{left:1px;top:50%;height:32px;transform:translateY(-50%)}.ivu-split-trigger-bar-con.horizontal{left:50%;top:1px;width:32px;transform:translate(-50%)}.ivu-split-trigger-vertical{width:6px;height:100%;background:#f8f8f9;border-top:none;border-bottom:none;cursor:col-resize}.ivu-split-trigger-vertical .ivu-split-trigger-bar{width:4px;height:1px;background:rgba(23,35,61,.25);float:left;margin-top:3px}.ivu-split-trigger-horizontal{height:6px;width:100%;background:#f8f8f9;border-left:none;border-right:none;cursor:row-resize}.ivu-split-trigger-horizontal .ivu-split-trigger-bar{height:4px;width:1px;background:rgba(23,35,61,.25);float:left;margin-right:3px}.ivu-split-horizontal .ivu-split-trigger-con{top:50%;height:100%;width:0}.ivu-split-vertical .ivu-split-trigger-con{left:50%;height:0;width:100%}.ivu-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-tooltip,.ivu-tooltip-rel{display:inline-block}.ivu-tooltip-rel{position:relative;width:inherit}.ivu-tooltip-popper{display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-tooltip-popper[x-placement^=top]{padding:5px 0 8px}.ivu-tooltip-popper[x-placement^=right]{padding:0 5px 0 8px}.ivu-tooltip-popper[x-placement^=bottom]{padding:8px 0 5px}.ivu-tooltip-popper[x-placement^=left]{padding:0 8px 0 5px}.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow{bottom:3px;border-width:5px 5px 0;border-top-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=top] .ivu-tooltip-arrow{left:50%;margin-left:-5px}.ivu-tooltip-popper[x-placement=top-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-popper[x-placement=top-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow{left:3px;border-width:5px 5px 5px 0;border-right-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=right] .ivu-tooltip-arrow{top:50%;margin-top:-5px}.ivu-tooltip-popper[x-placement=right-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-popper[x-placement=right-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow{right:3px;border-width:5px 0 5px 5px;border-left-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=left] .ivu-tooltip-arrow{top:50%;margin-top:-5px}.ivu-tooltip-popper[x-placement=left-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-popper[x-placement=left-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow{top:3px;border-width:0 5px 5px;border-bottom-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=bottom] .ivu-tooltip-arrow{left:50%;margin-left:-5px}.ivu-tooltip-popper[x-placement=bottom-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-popper[x-placement=bottom-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper{display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top]{padding:7px 0 10px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right]{padding:0 7px 0 10px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom]{padding:10px 0 7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left]{padding:0 10px 0 7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow{bottom:3px;border-width:7px 7px 0;border-top-color:hsla(0,0%,85%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top] .ivu-tooltip-arrow{left:50%;margin-left:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow{left:3px;border-width:7px 7px 7px 0;border-right-color:hsla(0,0%,85%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right] .ivu-tooltip-arrow{top:50%;margin-top:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow{right:3px;border-width:7px 0 7px 7px;border-left-color:hsla(0,0%,85%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left] .ivu-tooltip-arrow{top:50%;margin-top:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow{top:3px;border-width:0 7px 7px;border-bottom-color:hsla(0,0%,85%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom] .ivu-tooltip-arrow{left:50%;margin-left:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow:after{content:" ";bottom:1px;margin-left:-7px;border-bottom-width:0;border-top-width:7px;border-top-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow:after{content:" ";left:1px;bottom:-7px;border-left-width:0;border-right-width:7px;border-right-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow:after{content:" ";top:1px;margin-left:-7px;border-top-width:0;border-bottom-width:7px;border-bottom-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow:after{content:" ";right:1px;border-right-width:0;border-left-width:7px;border-left-color:#fff;bottom:-7px}.ivu-tooltip-inner{max-width:250px;min-height:34px;padding:8px 12px;color:#fff;text-align:left;text-decoration:none;background-color:rgba(70,76,91,.9);border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap}.ivu-tooltip-inner-with-width{white-space:pre-wrap;text-align:justify}.ivu-tooltip-light .ivu-tooltip-inner{background-color:#fff;color:#515a6e}.ivu-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.ivu-tooltip-light .ivu-tooltip-arrow{border-width:8px}.ivu-tooltip-light .ivu-tooltip-arrow:after{display:block;width:0;height:0;position:absolute;border:7px solid transparent;content:""}.ivu-poptip,.ivu-poptip-rel{display:inline-block}.ivu-poptip-rel{position:relative}.ivu-poptip-title{margin:0;padding:8px 16px;position:relative}.ivu-poptip-title:after{content:"";display:block;height:1px;position:absolute;left:8px;right:8px;bottom:0;background-color:#e8eaec}.ivu-poptip-title-inner{color:#17233d;font-size:14px}.ivu-poptip-body{padding:8px 16px}.ivu-poptip-body-content{overflow:auto}.ivu-poptip-body-content-word-wrap{white-space:pre-wrap;text-align:justify}.ivu-poptip-body-content-inner{color:#515a6e}.ivu-poptip-inner{width:100%;background-color:#fff;background-clip:padding-box;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap}.ivu-poptip-popper{min-width:150px;display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-poptip-popper[x-placement^=top]{padding:7px 0 10px}.ivu-poptip-popper[x-placement^=right]{padding:0 7px 0 10px}.ivu-poptip-popper[x-placement^=bottom]{padding:10px 0 7px}.ivu-poptip-popper[x-placement^=left]{padding:0 10px 0 7px}.ivu-poptip-popper[x-placement^=top] .ivu-poptip-arrow{bottom:3px;border-width:7px 7px 0;border-top-color:hsla(0,0%,85%,.5)}.ivu-poptip-popper[x-placement=top] .ivu-poptip-arrow{left:50%;margin-left:-7px}.ivu-poptip-popper[x-placement=top-start] .ivu-poptip-arrow{left:16px}.ivu-poptip-popper[x-placement=top-end] .ivu-poptip-arrow{right:16px}.ivu-poptip-popper[x-placement^=right] .ivu-poptip-arrow{left:3px;border-width:7px 7px 7px 0;border-right-color:hsla(0,0%,85%,.5)}.ivu-poptip-popper[x-placement=right] .ivu-poptip-arrow{top:50%;margin-top:-7px}.ivu-poptip-popper[x-placement=right-start] .ivu-poptip-arrow{top:8px}.ivu-poptip-popper[x-placement=right-end] .ivu-poptip-arrow{bottom:8px}.ivu-poptip-popper[x-placement^=left] .ivu-poptip-arrow{right:3px;border-width:7px 0 7px 7px;border-left-color:hsla(0,0%,85%,.5)}.ivu-poptip-popper[x-placement=left] .ivu-poptip-arrow{top:50%;margin-top:-7px}.ivu-poptip-popper[x-placement=left-start] .ivu-poptip-arrow{top:8px}.ivu-poptip-popper[x-placement=left-end] .ivu-poptip-arrow{bottom:8px}.ivu-poptip-popper[x-placement^=bottom] .ivu-poptip-arrow{top:3px;border-width:0 7px 7px;border-bottom-color:hsla(0,0%,85%,.5)}.ivu-poptip-popper[x-placement=bottom] .ivu-poptip-arrow{left:50%;margin-left:-7px}.ivu-poptip-popper[x-placement=bottom-start] .ivu-poptip-arrow{left:16px}.ivu-poptip-popper[x-placement=bottom-end] .ivu-poptip-arrow{right:16px}.ivu-poptip-popper[x-placement^=top] .ivu-poptip-arrow:after{content:" ";bottom:1px;margin-left:-7px;border-bottom-width:0;border-top-width:7px;border-top-color:#fff}.ivu-poptip-popper[x-placement^=right] .ivu-poptip-arrow:after{content:" ";left:1px;bottom:-7px;border-left-width:0;border-right-width:7px;border-right-color:#fff}.ivu-poptip-popper[x-placement^=bottom] .ivu-poptip-arrow:after{content:" ";top:1px;margin-left:-7px;border-top-width:0;border-bottom-width:7px;border-bottom-color:#fff}.ivu-poptip-popper[x-placement^=left] .ivu-poptip-arrow:after{content:" ";right:1px;border-right-width:0;border-left-width:7px;border-left-color:#fff;bottom:-7px}.ivu-poptip-arrow,.ivu-poptip-arrow:after{display:block;width:0;height:0;position:absolute;border-color:transparent;border-style:solid}.ivu-poptip-arrow{border-width:8px}.ivu-poptip-arrow:after{content:"";border-width:7px}.ivu-poptip-confirm .ivu-poptip-popper{max-width:300px}.ivu-poptip-confirm .ivu-poptip-inner{white-space:normal}.ivu-poptip-confirm .ivu-poptip-body{padding:16px 16px 8px}.ivu-poptip-confirm .ivu-poptip-body .ivu-icon{font-size:16px;color:#f90;line-height:18px;position:absolute}.ivu-poptip-confirm .ivu-poptip-body-message{padding-left:20px}.ivu-poptip-confirm .ivu-poptip-footer{text-align:right;padding:8px 16px 16px}.ivu-poptip-confirm .ivu-poptip-footer button{margin-left:4px}.ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-input:-ms-input-placeholder{color:#c5c8ce}.ivu-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-input:focus,.ivu-input:hover{border-color:#57a3f3}.ivu-input:focus{outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input[disabled],fieldset[disabled] .ivu-input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input[disabled]:hover,fieldset[disabled] .ivu-input:hover{border-color:#e3e5e8}textarea.ivu-input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-input-wrapper{display:inline-block;width:100%;position:relative;vertical-align:middle;line-height:normal}.ivu-input-icon{width:32px;height:32px;line-height:32px;font-size:16px;text-align:center;color:#808695;position:absolute;right:0;z-index:3}.ivu-input-hide-icon .ivu-input-icon,.ivu-input-icon-clear,.ivu-input-icon-validate{display:none}.ivu-input-wrapper:hover .ivu-input-icon-clear{display:inline-block}.ivu-input-icon-normal+.ivu-input{padding-right:32px}.ivu-input-hide-icon .ivu-input-icon-normal+.ivu-input{padding-right:7px}.ivu-input-wrapper-large .ivu-input-icon{font-size:18px;height:36px;line-height:36px}.ivu-input-wrapper-small .ivu-input-icon{width:24px;font-size:14px;height:24px;line-height:24px}.ivu-input-prefix,.ivu-input-suffix{width:32px;height:100%;text-align:center;position:absolute;left:0;top:0;z-index:1}.ivu-input-prefix i,.ivu-input-suffix i{font-size:16px;line-height:32px;color:#808695}.ivu-input-suffix{left:auto;right:0}.ivu-input-wrapper-small .ivu-input-prefix i,.ivu-input-wrapper-small .ivu-input-suffix i{font-size:14px;line-height:24px}.ivu-input-wrapper-large .ivu-input-prefix i,.ivu-input-wrapper-large .ivu-input-suffix i{font-size:18px;line-height:36px}.ivu-input-with-prefix{padding-left:32px}.ivu-input-with-suffix{padding-right:32px}.ivu-input-search{cursor:pointer;padding:0 16px!important;background:#2d8cf0!important;color:#fff!important;border-color:#2d8cf0!important;transition:all .2s ease-in-out;position:relative;z-index:2}.ivu-input-search i{font-size:16px}.ivu-input-search:hover{background:#57a3f3!important;border-color:#57a3f3!important}.ivu-input-search:active{background:#2b85e4!important;border-color:#2b85e4!important}.ivu-input-search-icon{cursor:pointer;transition:color .2s ease-in-out}.ivu-input-search-icon:hover{color:inherit}.ivu-input-search:before{content:"";display:block;width:1px;position:absolute;top:-1px;bottom:-1px;left:-1px;background:inherit}.ivu-input-wrapper-small .ivu-input-search{padding:0 12px!important}.ivu-input-wrapper-small .ivu-input-search i{font-size:14px}.ivu-input-wrapper-large .ivu-input-search{padding:0 20px!important}.ivu-input-wrapper-large .ivu-input-search i{font-size:18px}.ivu-input-with-search:hover .ivu-input{border-color:#57a3f3}.ivu-input-group{display:table;width:100%;border-collapse:separate;position:relative;font-size:12px;top:1px}.ivu-input-group-large{font-size:14px}.ivu-input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ivu-input-group>[class*=col-]{padding-right:8px}.ivu-input-group-append,.ivu-input-group-prepend,.ivu-input-group>.ivu-input{display:table-cell}.ivu-input-group-with-prepend .ivu-input,.ivu-input-group-with-prepend.ivu-input-group-small .ivu-input{border-top-left-radius:0;border-bottom-left-radius:0}.ivu-input-group-with-append .ivu-input,.ivu-input-group-with-append.ivu-input-group-small .ivu-input{border-top-right-radius:0;border-bottom-right-radius:0}.ivu-input-group-append .ivu-btn,.ivu-input-group-prepend .ivu-btn{border-color:transparent;background-color:transparent;color:inherit;margin:-6px -7px}.ivu-input-group-append,.ivu-input-group-prepend{width:1px;white-space:nowrap;vertical-align:middle}.ivu-input-group .ivu-input{width:100%;float:left;margin-bottom:0;position:relative;z-index:2}.ivu-input-group-append,.ivu-input-group-prepend{padding:4px 7px;font-size:inherit;font-weight:400;line-height:1;color:#515a6e;text-align:center;background-color:#f8f8f9;border:1px solid #dcdee2;border-radius:4px}.ivu-input-group-append .ivu-select,.ivu-input-group-prepend .ivu-select{margin:-5px -7px}.ivu-input-group-append .ivu-select-selection,.ivu-input-group-prepend .ivu-select-selection{background-color:inherit;margin:-1px;border:1px solid transparent}.ivu-input-group-append .ivu-select-visible .ivu-select-selection,.ivu-input-group-prepend .ivu-select-visible .ivu-select-selection{box-shadow:none}.ivu-input-group-prepend,.ivu-input-group>.ivu-input:first-child,.ivu-input-group>span>.ivu-input:first-child{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.ivu-input-group-prepend .ivu--select .ivu--select-selection,.ivu-input-group>.ivu-input:first-child .ivu--select .ivu--select-selection,.ivu-input-group>span>.ivu-input:first-child .ivu--select .ivu--select-selection{border-bottom-right-radius:0;border-top-right-radius:0}.ivu-input-group-prepend{border-right:0}.ivu-input-group-append{border-left:0}.ivu-input-group-append,.ivu-input-group>.ivu-input:last-child{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.ivu-input-group-append .ivu--select .ivu--select-selection,.ivu-input-group>.ivu-input:last-child .ivu--select .ivu--select-selection{border-bottom-left-radius:0;border-top-left-radius:0}.ivu-input-group-large .ivu-input,.ivu-input-group-large>.ivu-input-group-append,.ivu-input-group-large>.ivu-input-group-prepend{font-size:14px;padding:6px 7px;height:36px}.ivu-input-group-small .ivu-input,.ivu-input-group-small>.ivu-input-group-append,.ivu-input-group-small>.ivu-input-group-prepend{padding:1px 7px;height:24px;border-radius:3px}.ivu-form-item-error .ivu-input{border:1px solid #ed4014}.ivu-form-item-error .ivu-input:hover{border-color:#ed4014}.ivu-form-item-error .ivu-input:focus{border-color:#ed4014;outline:0;box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-form-item-error .ivu-input-icon{color:#ed4014}.ivu-form-item-error .ivu-input-group-append,.ivu-form-item-error .ivu-input-group-prepend{background-color:#fff;border:1px solid #ed4014}.ivu-form-item-error .ivu-input-group-append .ivu-select-selection,.ivu-form-item-error .ivu-input-group-prepend .ivu-select-selection{background-color:inherit;border:1px solid transparent}.ivu-form-item-error .ivu-input-group-prepend{border-right:0}.ivu-form-item-error .ivu-input-group-append{border-left:0}.ivu-form-item-error .ivu-transfer .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-form-item-error .ivu-transfer .ivu-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-form-item-error .ivu-transfer .ivu-input:-ms-input-placeholder{color:#c5c8ce}.ivu-form-item-error .ivu-transfer .ivu-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-form-item-error .ivu-transfer .ivu-input:hover{border-color:#57a3f3}.ivu-form-item-error .ivu-transfer .ivu-input:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-form-item-error .ivu-transfer .ivu-input[disabled],fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-form-item-error .ivu-transfer .ivu-input[disabled]:hover,fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input:hover{border-color:#e3e5e8}textarea.ivu-form-item-error .ivu-transfer .ivu-input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-form-item-error .ivu-transfer .ivu-input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-form-item-error .ivu-transfer .ivu-input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-form-item-error .ivu-transfer .ivu-input-icon{color:#808695}.ivu-form-item-validating .ivu-input-icon-validate{display:inline-block}.ivu-form-item-validating .ivu-input-icon+.ivu-input{padding-right:32px}.ivu-slider{line-height:normal}.ivu-slider-wrap{width:100%;height:4px;margin:16px 0;background-color:#e8eaec;border-radius:3px;vertical-align:middle;position:relative;cursor:pointer}.ivu-slider-button-wrap{width:18px;height:18px;text-align:center;background-color:transparent;position:absolute;top:-4px;transform:translateX(-50%)}.ivu-slider-button-wrap .ivu-tooltip{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-slider-button{width:12px;height:12px;border:2px solid #57a3f3;border-radius:50%;background-color:#fff;transition:all .2s linear;outline:0}.ivu-slider-button-dragging,.ivu-slider-button:focus,.ivu-slider-button:hover{border-color:#2d8cf0;transform:scale(1.5)}.ivu-slider-button:hover{cursor:grab}.ivu-slider-button-dragging,.ivu-slider-button-dragging:hover{cursor:grabbing}.ivu-slider-bar{height:4px;background:#57a3f3;border-radius:3px;position:absolute}.ivu-slider-stop{position:absolute;width:4px;height:4px;border-radius:50%;background-color:#ccc;transform:translateX(-50%)}.ivu-slider-disabled{cursor:not-allowed}.ivu-slider-disabled .ivu-slider-wrap{background-color:#ccc;cursor:not-allowed}.ivu-slider-disabled .ivu-slider-bar{background-color:#ccc}.ivu-slider-disabled .ivu-slider-button,.ivu-slider-disabled .ivu-slider-button-dragging,.ivu-slider-disabled .ivu-slider-button:hover{border-color:#ccc}.ivu-slider-disabled .ivu-slider-button-dragging,.ivu-slider-disabled .ivu-slider-button-dragging:hover,.ivu-slider-disabled .ivu-slider-button:hover{cursor:not-allowed}.ivu-slider-input .ivu-slider-wrap{width:auto;margin-right:100px}.ivu-slider-input .ivu-input-number{float:right;margin-top:-14px}.selectDropDown{width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader{line-height:normal}.ivu-cascader-rel{display:inline-block;width:100%;position:relative}.ivu-cascader .ivu-input{padding-right:24px;display:block;cursor:pointer}.ivu-cascader-disabled .ivu-input{cursor:not-allowed}.ivu-cascader-label{width:100%;height:100%;line-height:32px;padding:0 7px;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;font-size:12px;position:absolute;left:0;top:0}.ivu-cascader-size-large .ivu-cascader-label{line-height:36px;font-size:14px}.ivu-cascader-size-small .ivu-cascader-label{line-height:26px}.ivu-cascader .ivu-cascader-arrow:first-of-type{display:none;cursor:pointer}.ivu-cascader:hover .ivu-cascader-arrow:first-of-type{display:inline-block}.ivu-cascader-show-clear:hover .ivu-cascader-arrow:nth-of-type(2){display:none}.ivu-cascader-arrow{position:absolute;top:50%;right:8px;line-height:1;margin-top:-7px;font-size:14px;color:#808695;transition:all .2s ease-in-out}.ivu-cascader-visible .ivu-cascader-arrow:nth-of-type(2){transform:rotate(180deg)}.ivu-cascader .ivu-select-dropdown{width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader .ivu-cascader-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-cascader .ivu-cascader-menu-item-focus,.ivu-cascader .ivu-cascader-menu-item:hover{background:#f3f3f3}.ivu-cascader .ivu-cascader-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-cascader .ivu-cascader-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-cascader .ivu-cascader-menu-item-selected,.ivu-cascader .ivu-cascader-menu-item-selected:hover{color:#2d8cf0}.ivu-cascader .ivu-cascader-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cascader .ivu-cascader-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cascader .ivu-cascader-large .ivu-cascader-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cascader .ivu-cascader-menu-item{white-space:normal}}.ivu-cascader .ivu-select-item span{color:#ed4014}.ivu-cascader-dropdown{padding:5px 0}.ivu-cascader-dropdown .ivu-select-dropdown-list{max-height:190px;box-sizing:border-box;overflow:auto}.ivu-cascader-not-found-tip{padding:5px 0;text-align:center;color:#c5c8ce}.ivu-cascader-not-found-tip li:not([class^=ivu-]){list-style:none;margin-bottom:0}.ivu-cascader-not-found .ivu-select-dropdown{width:inherit}.ivu-cascader-menu{display:inline-block;min-width:100px;height:180px;margin:0;padding:5px 0!important;vertical-align:top;list-style:none;border-right:1px solid #e8eaec;overflow:auto}.ivu-cascader-menu:last-child{border-right-color:transparent;margin-right:-1px}.ivu-cascader-menu .ivu-cascader-menu-item{position:relative;padding-right:24px;transition:all .2s ease-in-out}.ivu-cascader-menu .ivu-cascader-menu-item i{font-size:12px;position:absolute;right:15px;top:50%;margin-top:-6px}.ivu-cascader-menu .ivu-cascader-menu-item-active{background-color:#f3f3f3;color:#2d8cf0}.ivu-cascader-transfer{z-index:1060;width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader-transfer .ivu-cascader-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-cascader-transfer .ivu-cascader-menu-item-focus,.ivu-cascader-transfer .ivu-cascader-menu-item:hover{background:#f3f3f3}.ivu-cascader-transfer .ivu-cascader-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-cascader-transfer .ivu-cascader-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-cascader-transfer .ivu-cascader-menu-item-selected,.ivu-cascader-transfer .ivu-cascader-menu-item-selected:hover{color:#2d8cf0}.ivu-cascader-transfer .ivu-cascader-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cascader-transfer .ivu-cascader-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cascader-transfer .ivu-cascader-large .ivu-cascader-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cascader-transfer .ivu-cascader-menu-item{white-space:normal}}.ivu-cascader-transfer .ivu-select-item span{color:#ed4014}.ivu-cascader-transfer .ivu-cascader-menu-item{padding-right:24px;transition:all .2s ease-in-out}.ivu-cascader-transfer .ivu-cascader-menu-item-active{background-color:#f3f3f3;color:#2d8cf0}.ivu-form-item-error .ivu-cascader-arrow{color:#ed4014}.ivu-transfer{position:relative;line-height:1.5}.ivu-transfer-list{display:inline-block;width:180px;height:210px;font-size:12px;vertical-align:middle;position:relative;padding-top:35px}.ivu-transfer-list-with-footer{padding-bottom:35px}.ivu-transfer-list-header{padding:8px 16px;background:#f9fafc;color:#515a6e;border:1px solid #dcdee2;border-bottom:1px solid #e8eaec;border-radius:6px 6px 0 0;overflow:hidden;position:absolute;top:0;left:0;width:100%}.ivu-transfer-list-header-title{cursor:pointer}.ivu-transfer-list-header>span{padding-left:4px}.ivu-transfer-list-header-count{margin:0!important;float:right}.ivu-transfer-list-body{height:100%;border:1px solid #dcdee2;border-top:none;border-radius:0 0 6px 6px;position:relative;overflow:hidden}.ivu-transfer-list-body-with-search{padding-top:34px}.ivu-transfer-list-body-with-footer{border-radius:0}.ivu-transfer-list-content{height:100%;padding:4px 0;overflow:auto}.ivu-transfer-list-content-item{overflow:hidden;text-overflow:ellipsis}.ivu-transfer-list-content-item>span{padding-left:4px}.ivu-transfer-list-content-not-found{display:none;text-align:center;color:#c5c8ce}li.ivu-transfer-list-content-not-found:only-child{display:block}.ivu-transfer-list-body-with-search .ivu-transfer-list-content{padding:6px 0 0}.ivu-transfer-list-body-search-wrapper{padding:8px 8px 0;position:absolute;top:0;left:0;right:0}.ivu-transfer-list-search{position:relative}.ivu-transfer-list-footer{border:1px solid #dcdee2;border-top:none;border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0;right:0;zoom:1}.ivu-transfer-list-footer:after,.ivu-transfer-list-footer:before{content:"";display:table}.ivu-transfer-list-footer:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-transfer-operation{display:inline-block;margin:0 16px;vertical-align:middle}.ivu-transfer-operation .ivu-btn{display:block;min-width:24px}.ivu-transfer-operation .ivu-btn:first-child{margin-bottom:12px}.ivu-transfer-operation .ivu-btn span i,.ivu-transfer-operation .ivu-btn span span{vertical-align:middle}.ivu-transfer-list-content-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-transfer-list-content-item-focus,.ivu-transfer-list-content-item:hover{background:#f3f3f3}.ivu-transfer-list-content-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-transfer-list-content-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-transfer-list-content-item-selected,.ivu-transfer-list-content-item-selected:hover{color:#2d8cf0}.ivu-transfer-list-content-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-transfer-list-content-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-transfer-large .ivu-transfer-list-content-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-transfer-list-content-item{white-space:normal}}.ivu-table{width:inherit;height:100%;max-width:100%;overflow:hidden;color:#515a6e;font-size:12px;background-color:#fff;box-sizing:border-box}.ivu-table-wrapper{position:relative;border:1px solid #dcdee2;border-bottom:0;border-right:0}.ivu-table-hide{opacity:0}.ivu-table:before{width:100%;height:1px;left:0;bottom:0;z-index:1}.ivu-table:after,.ivu-table:before{content:"";position:absolute;background-color:#dcdee2}.ivu-table:after{width:1px;height:100%;top:0;right:0;z-index:3}.ivu-table-footer,.ivu-table-title{height:48px;line-height:48px;border-bottom:1px solid #e8eaec}.ivu-table-footer{border-bottom:none}.ivu-table-header{overflow:hidden}.ivu-table-overflowX{overflow-x:scroll}.ivu-table-overflowY{overflow-y:scroll}.ivu-table-tip{overflow-x:auto;overflow-y:hidden}.ivu-table-with-fixed-top.ivu-table-with-footer .ivu-table-footer{border-top:1px solid #dcdee2}.ivu-table-with-fixed-top.ivu-table-with-footer tbody tr:last-child td{border-bottom:none}.ivu-table td,.ivu-table th{min-width:0;height:48px;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1px solid #e8eaec}.ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f8f8f9}.ivu-table td{background-color:#fff;transition:background-color .2s ease-in-out}td.ivu-table-column-left,th.ivu-table-column-left{text-align:left}td.ivu-table-column-center,th.ivu-table-column-center{text-align:center}td.ivu-table-column-right,th.ivu-table-column-right{text-align:right}.ivu-table table{table-layout:fixed}.ivu-table-border td,.ivu-table-border th{border-right:1px solid #e8eaec}.ivu-table-cell{padding-left:18px;padding-right:18px;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;box-sizing:border-box}.ivu-table-cell-ellipsis{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ivu-table-cell-tooltip{width:100%}.ivu-table-cell-tooltip-content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-table-cell-with-expand{height:47px;line-height:47px;padding:0;text-align:center}.ivu-table-cell-expand{cursor:pointer;transition:transform .2s ease-in-out}.ivu-table-cell-expand i{font-size:14px}.ivu-table-cell-expand-expanded{transform:rotate(90deg)}.ivu-table-cell-sort{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-table-cell-with-selection .ivu-checkbox-wrapper{margin-right:0}.ivu-table-hidden{visibility:hidden}th .ivu-table-cell{display:inline-block;word-wrap:normal;vertical-align:middle}td.ivu-table-expanded-cell{padding:20px 50px;background:#f8f8f9}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td,.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td{background-color:#f8f8f9}.ivu-table-stripe .ivu-table-body tr.ivu-table-row-hover td,.ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-hover td,tr.ivu-table-row-hover td{background-color:#ebf7ff}.ivu-table-large{font-size:14px}.ivu-table-large th{height:48px}.ivu-table-large td{height:60px}.ivu-table-large-footer,.ivu-table-large-title{height:60px;line-height:60px}.ivu-table-large .ivu-table-cell-with-expand{height:59px;line-height:59px}.ivu-table-large .ivu-table-cell-with-expand i{font-size:16px}.ivu-table-small th{height:32px}.ivu-table-small td{height:40px}.ivu-table-small-footer,.ivu-table-small-title{height:40px;line-height:40px}.ivu-table-small .ivu-table-cell-with-expand{height:39px;line-height:39px}.ivu-table-row-highlight td,.ivu-table-stripe .ivu-table-body tr.ivu-table-row-highlight:nth-child(2n) td,.ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-highlight:nth-child(2n) td,tr.ivu-table-row-highlight.ivu-table-row-hover td{background-color:#ebf7ff}.ivu-table-fixed,.ivu-table-fixed-right{position:absolute;top:0;left:0;box-shadow:2px 0 6px -2px rgba(0,0,0,.2)}.ivu-table-fixed-right:before,.ivu-table-fixed:before{content:"";width:100%;height:1px;background-color:#dcdee2;position:absolute;left:0;bottom:0;z-index:4}.ivu-table-fixed-right{top:0;left:auto;right:0;box-shadow:-2px 0 6px -2px rgba(0,0,0,.2)}.ivu-table-fixed-right-header{position:absolute;top:-1px;right:0;background-color:#f8f8f9;border-top:1px solid #dcdee2;border-bottom:1px solid #e8eaec}.ivu-table-fixed-header{overflow:hidden}.ivu-table-fixed-body{overflow:hidden;position:relative;z-index:3}.ivu-table-fixed-shadow{width:1px;height:100%;position:absolute;top:0;right:0;box-shadow:1px 0 6px rgba(0,0,0,.2);overflow:hidden;z-index:1}.ivu-table-sort{display:inline-block;width:14px;height:12px;margin-top:-1px;vertical-align:middle;overflow:hidden;cursor:pointer;position:relative}.ivu-table-sort i{display:block;height:6px;line-height:6px;overflow:hidden;position:absolute;color:#c5c8ce;transition:color .2s ease-in-out;font-size:16px}.ivu-table-sort i:hover{color:inherit}.ivu-table-sort i.on{color:#2d8cf0}.ivu-table-sort i:first-child{top:0}.ivu-table-sort i:last-child{bottom:0}.ivu-table-filter{display:inline-block;cursor:pointer;position:relative}.ivu-table-filter i{color:#c5c8ce;transition:color .2s ease-in-out}.ivu-table-filter i:hover{color:inherit}.ivu-table-filter i.on{color:#2d8cf0}.ivu-table-filter-list{padding:8px 0 0}.ivu-table-filter-list-item{padding:0 12px 8px}.ivu-table-filter-list-item .ivu-checkbox-wrapper+.ivu-checkbox-wrapper{margin:0}.ivu-table-filter-list-item label{display:block}.ivu-table-filter-list-item label>span{margin-right:4px}.ivu-table-filter-list ul{padding-bottom:8px}.ivu-table-filter-list .ivu-table-filter-select-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-table-filter-list .ivu-table-filter-select-item-focus,.ivu-table-filter-list .ivu-table-filter-select-item:hover{background:#f3f3f3}.ivu-table-filter-list .ivu-table-filter-select-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-table-filter-list .ivu-table-filter-select-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-table-filter-list .ivu-table-filter-select-item-selected,.ivu-table-filter-list .ivu-table-filter-select-item-selected:hover{color:#2d8cf0}.ivu-table-filter-list .ivu-table-filter-select-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-table-filter-list .ivu-table-filter-select-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-table-filter-list .ivu-table-large .ivu-table-filter-select-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-table-filter-list .ivu-table-filter-select-item{white-space:normal}}.ivu-table-filter-footer{padding:4px;border-top:1px solid #e8eaec;overflow:hidden}.ivu-table-filter-footer button:first-child{float:left}.ivu-table-filter-footer button:last-child{float:right}.ivu-table-tip table{width:100%}.ivu-table-tip table td{text-align:center}.ivu-table-expanded-hidden{visibility:hidden}.ivu-table-popper{min-width:0;text-align:left}.ivu-table-popper .ivu-poptip-body{padding:0}.ivu-dropdown{display:inline-block}.ivu-dropdown .ivu-select-dropdown{overflow:visible;max-height:none}.ivu-dropdown .ivu-dropdown{width:100%}.ivu-dropdown-rel{position:relative}.ivu-dropdown-rel-user-select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-dropdown-menu{min-width:100px}.ivu-dropdown-transfer{width:auto}.ivu-dropdown-item-selected,.ivu-dropdown-item.ivu-dropdown-item-selected:hover{background:#f0faff}.ivu-dropdown-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-dropdown-item-focus,.ivu-dropdown-item:hover{background:#f3f3f3}.ivu-dropdown-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-dropdown-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-dropdown-item-selected,.ivu-dropdown-item-selected:hover{color:#2d8cf0}.ivu-dropdown-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-dropdown-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-dropdown-large .ivu-dropdown-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-dropdown-item{white-space:normal}}.ivu-tabs{box-sizing:border-box;position:relative;overflow:hidden;color:#515a6e;zoom:1}.ivu-tabs:after,.ivu-tabs:before{content:"";display:table}.ivu-tabs:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-tabs-bar{outline:0}.ivu-tabs-ink-bar{height:2px;box-sizing:border-box;background-color:#2d8cf0;position:absolute;left:0;bottom:1px;z-index:1;transition:transform .3s ease-in-out;transform-origin:0 0}.ivu-tabs-bar{border-bottom:1px solid #dcdee2;margin-bottom:16px}.ivu-tabs-nav-container{margin-bottom:-1px;line-height:1.5;font-size:14px;box-sizing:border-box;white-space:nowrap;overflow:hidden;position:relative;zoom:1}.ivu-tabs-nav-container:after,.ivu-tabs-nav-container:before{content:"";display:table}.ivu-tabs-nav-container:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-tabs-nav-container:focus{outline:0}.ivu-tabs-nav-container:focus .ivu-tabs-tab-focused{border-color:#57a3f3!important}.ivu-tabs-nav-container-scrolling{padding-left:32px;padding-right:32px}.ivu-tabs-nav-wrap{overflow:hidden;margin-bottom:-1px}.ivu-tabs-nav-scroll{overflow:hidden;white-space:nowrap}.ivu-tabs-nav-right{float:right;margin-left:5px}.ivu-tabs-nav-prev{left:0}.ivu-tabs-nav-next,.ivu-tabs-nav-prev{position:absolute;line-height:32px;cursor:pointer}.ivu-tabs-nav-next{right:0}.ivu-tabs-nav-scrollable{padding:0 12px}.ivu-tabs-nav-scroll-disabled{display:none}.ivu-tabs-nav{padding-left:0;margin:0;float:left;list-style:none;box-sizing:border-box;position:relative;transition:transform .5s ease-in-out}.ivu-tabs-nav:after,.ivu-tabs-nav:before{display:table;content:" "}.ivu-tabs-nav:after{clear:both}.ivu-tabs-nav .ivu-tabs-tab-disabled{pointer-events:none;cursor:default;color:#ccc}.ivu-tabs-nav .ivu-tabs-tab{display:inline-block;height:100%;padding:8px 16px;margin-right:16px;box-sizing:border-box;cursor:pointer;text-decoration:none;position:relative;transition:color .3s ease-in-out}.ivu-tabs-nav .ivu-tabs-tab:hover{color:#57a3f3}.ivu-tabs-nav .ivu-tabs-tab:active{color:#2b85e4}.ivu-tabs-nav .ivu-tabs-tab .ivu-icon{width:14px;height:14px;margin-right:8px}.ivu-tabs-nav .ivu-tabs-tab-active{color:#2d8cf0}.ivu-tabs-mini .ivu-tabs-nav-container{font-size:14px}.ivu-tabs-mini .ivu-tabs-tab{margin-right:0;padding:8px 16px;font-size:12px}.ivu-tabs .ivu-tabs-content-animated{display:flex;flex-direction:row;will-change:transform;transition:transform .3s ease-in-out}.ivu-tabs .ivu-tabs-tabpane{flex-shrink:0;width:100%;transition:opacity .3s;opacity:1;outline:0}.ivu-tabs .ivu-tabs-tabpane-inactive{opacity:0;height:0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-nav-container{height:32px}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-ink-bar{visibility:hidden}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab{margin:0;margin-right:4px;height:31px;padding:5px 16px 4px;border:1px solid #dcdee2;border-bottom:0;border-radius:4px 4px 0 0;transition:all .3s ease-in-out;background:#f8f8f9}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active{height:32px;padding-bottom:5px;background:#fff;transform:translateZ(0);border-color:#dcdee2;color:#2d8cf0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-nav-wrap{margin-bottom:0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab .ivu-icon-ios-close{width:0;height:22px;font-size:22px;margin-right:0;color:#999;text-align:right;vertical-align:middle;overflow:hidden;position:relative;top:-1px;transform-origin:100% 50%;transition:all .3s ease-in-out}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab .ivu-icon-ios-close:hover{color:#444}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active .ivu-icon-ios-close,.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab:hover .ivu-icon-ios-close{width:22px;transform:translateZ(0);margin-right:-6px}.ivu-tabs-no-animation>.ivu-tabs-content{transform:none!important}.ivu-tabs-no-animation>.ivu-tabs-content>.ivu-tabs-tabpane-inactive{display:none}.ivu-menu{display:block;margin:0;padding:0;outline:0;list-style:none;color:#515a6e;font-size:14px;position:relative;z-index:900}.ivu-menu-horizontal{height:60px;line-height:60px}.ivu-menu-horizontal.ivu-menu-light:after{content:"";display:block;width:100%;height:1px;background:#dcdee2;position:absolute;bottom:0;left:0}.ivu-menu-vertical.ivu-menu-light:after{content:"";display:block;width:1px;height:100%;background:#dcdee2;position:absolute;top:0;bottom:0;right:0;z-index:1}.ivu-menu-light{background:#fff}.ivu-menu-dark{background:#515a6e}.ivu-menu-primary{background:#2d8cf0}.ivu-menu-item{display:block;outline:0;list-style:none;font-size:14px;position:relative;z-index:1;cursor:pointer;transition:all .2s ease-in-out}a.ivu-menu-item,a.ivu-menu-item:active,a.ivu-menu-item:hover{color:inherit}.ivu-menu-item>i{margin-right:6px}.ivu-menu-submenu-title>i,.ivu-menu-submenu-title span>i{margin-right:8px}.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-horizontal .ivu-menu-submenu{float:left;padding:0 20px;position:relative;cursor:pointer;z-index:3;transition:all .2s ease-in-out}.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu{height:inherit;line-height:inherit;border-bottom:2px solid transparent;color:#515a6e}.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item-active,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item:hover,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu-active,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu:hover{color:#2d8cf0;border-bottom:2px solid #2d8cf0}.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu{color:hsla(0,0%,100%,.7)}.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item-active,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item:hover,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu-active,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu:hover,.ivu-menu-primary.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-primary.ivu-menu-horizontal .ivu-menu-submenu{color:#fff}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown{min-width:100%;width:auto;max-height:none}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{height:auto;border-bottom:0;float:none}.ivu-menu-item-group{line-height:normal}.ivu-menu-item-group-title{height:30px;line-height:30px;padding-left:8px;font-size:12px;color:#999}.ivu-menu-item-group>ul{padding:0!important;list-style:none!important}.ivu-menu-vertical .ivu-menu-item,.ivu-menu-vertical .ivu-menu-submenu-title{padding:14px 24px;position:relative;cursor:pointer;z-index:1;transition:all .2s ease-in-out}.ivu-menu-vertical .ivu-menu-item:hover,.ivu-menu-vertical .ivu-menu-submenu-title:hover{color:#2d8cf0}.ivu-menu-vertical .ivu-menu-submenu-title-icon{float:right;position:relative;top:4px}.ivu-menu-submenu-title-icon{transition:transform .2s ease-in-out}.ivu-menu-opened>*>.ivu-menu-submenu-title-icon{transform:rotate(180deg)}.ivu-menu-vertical .ivu-menu-submenu-nested{padding-left:20px}.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item{padding-left:43px}.ivu-menu-vertical .ivu-menu-item-group-title{height:48px;line-height:48px;font-size:14px;padding-left:28px}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-group-title{color:hsla(0,0%,100%,.36)}.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){color:#2d8cf0;background:#f0faff;z-index:2}.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after{content:"";display:block;width:2px;position:absolute;top:0;bottom:0;right:0;background:#2d8cf0}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title{color:hsla(0,0%,100%,.7)}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):hover,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu):hover{background:#363e4f}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item:hover,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title:hover{color:#fff;background:#515a6e}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){color:#2d8cf0}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover{color:#fff;background:0 0!important}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover{border-right:none;color:#fff;background:#2d8cf0!important}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-child-item-active>.ivu-menu-submenu-title{color:#fff}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened{background:#363e4f}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-title{background:#515a6e}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-has-parent-submenu .ivu-menu-submenu-title{background:0 0}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-focus,.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item:hover{background:#f3f3f3}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-selected,.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-selected:hover{color:#2d8cf0}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-menu-large .ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{white-space:normal}}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{padding:7px 16px 8px;font-size:14px!important}.ivu-date-picker{display:inline-block;line-height:normal}.ivu-date-picker-rel{position:relative}.ivu-date-picker .ivu-select-dropdown{width:auto;padding:0;overflow:visible;max-height:none}.ivu-date-picker-cells{width:196px;margin:10px;white-space:normal}.ivu-date-picker-cells span,.ivu-date-picker-cells span em{display:inline-block;width:24px;height:24px}.ivu-date-picker-cells span em{line-height:24px;margin:2px;font-style:normal;border-radius:3px;text-align:center;transition:all .2s ease-in-out}.ivu-date-picker-cells-header span{line-height:24px;text-align:center;margin:2px;color:#c5c8ce}.ivu-date-picker-cells-cell:hover em{background:#e1f0fe}.ivu-date-picker-cells-focused em{box-shadow:inset 0 0 0 1px #2d8cf0}span.ivu-date-picker-cells-cell{width:28px;height:28px;cursor:pointer}.ivu-date-picker-cells-cell-next-month em,.ivu-date-picker-cells-cell-prev-month em{color:#c5c8ce}.ivu-date-picker-cells-cell-next-month:hover em,.ivu-date-picker-cells-cell-prev-month:hover em{background:0 0}span.ivu-date-picker-cells-cell-disabled,span.ivu-date-picker-cells-cell-disabled:hover,span.ivu-date-picker-cells-cell-week-label,span.ivu-date-picker-cells-cell-week-label:hover{cursor:not-allowed;color:#c5c8ce}span.ivu-date-picker-cells-cell-disabled:hover em,span.ivu-date-picker-cells-cell-disabled em,span.ivu-date-picker-cells-cell-week-label:hover em,span.ivu-date-picker-cells-cell-week-label em{color:inherit;background:inherit}span.ivu-date-picker-cells-cell-disabled,span.ivu-date-picker-cells-cell-disabled:hover{background:#f7f7f7}.ivu-date-picker-cells-cell-today em{position:relative}.ivu-date-picker-cells-cell-today em:after{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#2d8cf0;position:absolute;top:1px;right:1px}.ivu-date-picker-cells-cell-range{position:relative}.ivu-date-picker-cells-cell-range em{position:relative;z-index:1}.ivu-date-picker-cells-cell-range:before{content:"";display:block;background:#e1f0fe;border-radius:0;border:0;position:absolute;top:2px;bottom:2px;left:0;right:0}.ivu-date-picker-cells-cell-selected:hover em,.ivu-date-picker-cells-cell-selected em{background:#2d8cf0;color:#fff}span.ivu-date-picker-cells-cell-disabled.ivu-date-picker-cells-cell-selected em{background:#c5c8ce;color:#f7f7f7}.ivu-date-picker-cells-cell-today.ivu-date-picker-cells-cell-selected em:after{background:#fff}.ivu-date-picker-cells-show-week-numbers{width:226px}.ivu-date-picker-cells-month,.ivu-date-picker-cells-year{margin-top:14px}.ivu-date-picker-cells-month span,.ivu-date-picker-cells-year span{width:40px;height:28px;line-height:28px;margin:10px 12px;border-radius:3px}.ivu-date-picker-cells-month span em,.ivu-date-picker-cells-year span em{width:40px;height:28px;line-height:28px;margin:0}.ivu-date-picker-cells-month .ivu-date-picker-cells-cell-focused,.ivu-date-picker-cells-year .ivu-date-picker-cells-cell-focused{background-color:#d5e8fc}.ivu-date-picker-header{height:32px;line-height:32px;text-align:center;border-bottom:1px solid #e8eaec}.ivu-date-picker-header-label{cursor:pointer;transition:color .2s ease-in-out}.ivu-date-picker-header-label:hover{color:#2d8cf0}.ivu-date-picker-btn-pulse{background-color:#d5e8fc!important;border-radius:4px;transition:background-color .2s ease-in-out}.ivu-date-picker-prev-btn{float:left}.ivu-date-picker-prev-btn-arrow-double{margin-left:10px}.ivu-date-picker-prev-btn-arrow-double i:after{content:"\F115";margin-left:-8px}.ivu-date-picker-next-btn{float:right}.ivu-date-picker-next-btn-arrow-double{margin-right:10px}.ivu-date-picker-next-btn-arrow-double i:after{content:"\F11F";margin-left:-8px}.ivu-date-picker-with-range .ivu-picker-panel-body{min-width:432px}.ivu-date-picker-with-range .ivu-picker-panel-content{float:left}.ivu-date-picker-with-range .ivu-picker-cells-show-week-numbers,.ivu-date-picker-with-week-numbers .ivu-picker-panel-body-date{min-width:492px}.ivu-date-picker-transfer{z-index:1060;max-height:none;width:auto}.ivu-date-picker-focused input{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-picker-panel-icon-btn{display:inline-block;width:20px;height:24px;line-height:26px;margin-top:4px;text-align:center;cursor:pointer;color:#c5c8ce;transition:color .2s ease-in-out}.ivu-picker-panel-icon-btn:hover{color:#2d8cf0}.ivu-picker-panel-icon-btn i{font-size:14px}.ivu-picker-panel-body-wrapper.ivu-picker-panel-with-sidebar{padding-left:92px}.ivu-picker-panel-sidebar{width:92px;float:left;margin-left:-92px;position:absolute;top:0;bottom:0;background:#f8f8f9;border-right:1px solid #e8eaec;border-radius:4px 0 0 4px;overflow:auto}.ivu-picker-panel-shortcut{padding:6px 15px;transition:all .2s ease-in-out;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-picker-panel-shortcut:hover{background:#e8eaec}.ivu-picker-panel-body{float:left}.ivu-picker-confirm{border-top:1px solid #e8eaec;text-align:right;padding:8px;clear:both}.ivu-picker-confirm>span{color:#2d8cf0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;float:left;padding:2px 0;transition:all .2s ease-in-out}.ivu-picker-confirm>span:hover{color:#57a3f3}.ivu-picker-confirm>span:active{color:#2b85e4}.ivu-picker-confirm-time{float:left}.ivu-time-picker-cells{min-width:112px}.ivu-time-picker-cells-with-seconds{min-width:168px}.ivu-time-picker-cells-list{width:56px;max-height:144px;float:left;overflow:hidden;border-left:1px solid #e8eaec;position:relative}.ivu-time-picker-cells-list:hover{overflow-y:auto}.ivu-time-picker-cells-list:first-child{border-left:none;border-radius:4px 0 0 4px}.ivu-time-picker-cells-list:last-child{border-radius:0 4px 4px 0}.ivu-time-picker-cells-list ul{width:100%;margin:0;padding:0 0 120px;list-style:none}.ivu-time-picker-cells-list ul li{width:100%;height:24px;line-height:24px;margin:0;padding:0 0 0 16px;box-sizing:content-box;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;list-style:none;transition:background .2s ease-in-out}.ivu-time-picker-cells-cell:hover{background:#f3f3f3}.ivu-time-picker-cells-cell-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-time-picker-cells-cell-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-time-picker-cells-cell-selected,.ivu-time-picker-cells-cell-selected:hover{color:#2d8cf0;background:#f3f3f3}.ivu-time-picker-cells-cell-focused{background-color:#d5e8fc}.ivu-time-picker-header{height:32px;line-height:32px;text-align:center;border-bottom:1px solid #e8eaec}.ivu-time-picker-with-range .ivu-picker-panel-body{min-width:228px}.ivu-time-picker-with-range .ivu-picker-panel-content{float:left;position:relative}.ivu-time-picker-with-range .ivu-picker-panel-content:after{content:"";display:block;width:2px;position:absolute;top:31px;bottom:0;right:-2px;background:#e8eaec;z-index:1}.ivu-time-picker-with-range .ivu-picker-panel-content-right{float:right}.ivu-time-picker-with-range .ivu-picker-panel-content-right:after{right:auto;left:-2px}.ivu-time-picker-with-range .ivu-time-picker-cells-list:first-child,.ivu-time-picker-with-range .ivu-time-picker-cells-list:last-child{border-radius:0}.ivu-time-picker-with-range.ivu-time-picker-with-seconds .ivu-picker-panel-body{min-width:340px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells,.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds{min-width:216px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds .ivu-time-picker-cells-list{width:72px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds .ivu-time-picker-cells-list ul li{padding:0 0 0 28px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list{width:108px;max-height:216px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list:first-child,.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list:last-child{border-radius:0}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list ul{padding:0 0 192px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list ul li{padding:0 0 0 46px}.ivu-form .ivu-form-item-label{text-align:right;vertical-align:middle;float:left;font-size:12px;color:#515a6e;line-height:1;padding:10px 12px 10px 0;box-sizing:border-box}.ivu-form-label-left .ivu-form-item-label{text-align:left}.ivu-form-label-top .ivu-form-item-label{float:none;display:inline-block;padding:0 0 10px}.ivu-form-inline .ivu-form-item{display:inline-block;margin-right:10px;vertical-align:top}.ivu-form-item{margin-bottom:24px;vertical-align:top;zoom:1}.ivu-form-item:after,.ivu-form-item:before{content:"";display:table}.ivu-form-item:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-form-item-content{position:relative;line-height:32px;font-size:12px}.ivu-form-item .ivu-form-item{margin-bottom:0}.ivu-form-item .ivu-form-item .ivu-form-item-content{margin-left:0!important}.ivu-form-item-error-tip{position:absolute;top:100%;left:0;line-height:1;padding-top:6px;color:#ed4014}.ivu-form-item-required .ivu-form-item-label:before{content:"*";display:inline-block;margin-right:4px;line-height:1;font-family:SimSun;font-size:12px;color:#ed4014}.ivu-carousel{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.ivu-carousel-list,.ivu-carousel-track{transform:translateZ(0)}.ivu-carousel-list{margin:0;padding:0}.ivu-carousel-list,.ivu-carousel-track{position:relative;display:block;overflow:hidden}.ivu-carousel-track{top:0;left:0;z-index:1}.ivu-carousel-track.higher{z-index:2}.ivu-carousel-item{float:left;height:100%;min-height:1px;display:block}.ivu-carousel-arrow{border:none;outline:0;padding:0;margin:0;width:36px;height:36px;border-radius:50%;cursor:pointer;display:none;position:absolute;top:50%;z-index:10;transform:translateY(-50%);transition:.2s;background-color:rgba(31,45,61,.11);color:#fff;text-align:center;font-size:1em;font-family:inherit;line-height:inherit}.ivu-carousel-arrow:hover{background-color:rgba(31,45,61,.5)}.ivu-carousel-arrow>*{vertical-align:baseline}.ivu-carousel-arrow.left{left:16px}.ivu-carousel-arrow.right{right:16px}.ivu-carousel-arrow-always{display:inherit}.ivu-carousel-arrow-hover{display:inherit;opacity:0}.ivu-carousel:hover .ivu-carousel-arrow-hover{opacity:1}.ivu-carousel-dots{z-index:10;display:none;position:relative;list-style:none;text-align:center;padding:0;width:100%;height:17px}.ivu-carousel-dots-inside{display:block;position:absolute;bottom:3px}.ivu-carousel-dots-outside{display:block;margin-top:3px}.ivu-carousel-dots li{position:relative;display:inline-block;vertical-align:top;text-align:center;margin:0 2px;padding:7px 0;cursor:pointer}.ivu-carousel-dots li button{border:0;cursor:pointer;background:#8391a5;opacity:.3;display:block;width:16px;height:3px;border-radius:1px;outline:0;font-size:0;color:transparent;transition:all .5s}.ivu-carousel-dots li button.radius{width:6px;height:6px;border-radius:50%}.ivu-carousel-dots li:hover>button{opacity:.7}.ivu-carousel-dots li.ivu-carousel-active>button{opacity:1;width:24px}.ivu-carousel-dots li.ivu-carousel-active>button.radius{width:6px}.ivu-rate{display:inline-block;margin:0;padding:0;font-size:20px;vertical-align:middle;font-weight:400;font-style:normal}.ivu-rate-disabled .ivu-rate-star-content:before,.ivu-rate-disabled .ivu-rate-star:before{cursor:default}.ivu-rate-disabled .ivu-rate-star:hover{transform:scale(1)}.ivu-rate-star-full,.ivu-rate-star-zero{position:relative}.ivu-rate-star-first{position:absolute;left:0;top:0;width:50%;height:100%;overflow:hidden;opacity:0}.ivu-rate-star-first,.ivu-rate-star-second{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:all .3s ease;color:#e9e9e9;cursor:pointer}.ivu-rate-star-chart{display:inline-block;margin:0;padding:0;margin-right:8px;position:relative;font-family:Ionicons;transition:all .3s ease}.ivu-rate-star-chart:hover{transform:scale(1.1)}.ivu-rate-star-chart.ivu-rate-star-full .ivu-rate-star-first,.ivu-rate-star-chart.ivu-rate-star-full .ivu-rate-star-second{color:#f5a623}.ivu-rate-star-chart.ivu-rate-star-half .ivu-rate-star-first{opacity:1;color:#f5a623}.ivu-rate-star{display:inline-block;margin:0;padding:0;margin-right:8px;position:relative;font-family:Ionicons;transition:all .3s ease}.ivu-rate-star:hover{transform:scale(1.1)}.ivu-rate-star-content:before,.ivu-rate-star:before{color:#e9e9e9;cursor:pointer;content:"\F2BF";transition:all .2s ease-in-out;display:block}.ivu-rate-star-content{position:absolute;left:0;top:0;width:50%;height:100%;overflow:hidden}.ivu-rate-star-content:before{color:transparent}.ivu-rate-star-full:before,.ivu-rate-star-half .ivu-rate-star-content:before{color:#f5a623}.ivu-rate-star-full:hover:before,.ivu-rate-star-half:hover .ivu-rate-star-content:before{color:#f7b84f}.ivu-rate-text{margin-left:8px;vertical-align:middle;display:inline-block;font-size:12px}.ivu-upload input[type=file]{display:none}.ivu-upload-list{margin-top:8px}.ivu-upload-list-file{padding:4px;color:#515a6e;border-radius:4px;transition:background-color .2s ease-in-out;overflow:hidden;position:relative}.ivu-upload-list-file>span{cursor:pointer;transition:color .2s ease-in-out}.ivu-upload-list-file>span i{display:inline-block;width:12px;height:12px;color:#515a6e;text-align:center}.ivu-upload-list-file:hover{background:#f3f3f3}.ivu-upload-list-file:hover>span{color:#2d8cf0}.ivu-upload-list-file:hover>span i{color:#515a6e}.ivu-upload-list-file:hover .ivu-upload-list-remove{opacity:1}.ivu-upload-list-remove{opacity:0;font-size:18px;cursor:pointer;float:right;margin-right:4px;color:#999;transition:all .2s ease}.ivu-upload-list-remove:hover{color:#444}.ivu-upload-select{display:inline-block}.ivu-upload-drag{background:#fff;border:1px dashed #dcdee2;border-radius:4px;text-align:center;cursor:pointer;position:relative;overflow:hidden;transition:border-color .2s ease}.ivu-upload-drag:hover{border:1px dashed #2d8cf0}.ivu-upload-dragOver{border:2px dashed #2d8cf0}.ivu-tree ul{list-style:none;margin:0;padding:0;font-size:12px}.ivu-tree ul.ivu-dropdown-menu{padding:0}.ivu-tree ul li{list-style:none;margin:8px 0;padding:0;white-space:nowrap;outline:0}.ivu-tree ul li.ivu-dropdown-item{margin:0;padding:7px 16px;white-space:nowrap}.ivu-tree li ul{margin:0;padding:0 0 0 18px}.ivu-tree-title{display:inline-block;margin:0;padding:0 4px;border-radius:3px;cursor:pointer;vertical-align:top;color:#515a6e;transition:all .2s ease-in-out}.ivu-tree-title:hover{background-color:#eaf4fe}.ivu-tree-title-selected,.ivu-tree-title-selected:hover{background-color:#d5e8fc}.ivu-tree-arrow{cursor:pointer;width:12px;text-align:center;display:inline-block}.ivu-tree-arrow i{transition:all .2s ease-in-out;font-size:14px;vertical-align:middle}.ivu-tree-arrow-open i{transform:rotate(90deg)}.ivu-tree-arrow-disabled{cursor:not-allowed}.ivu-tree .ivu-checkbox-wrapper{margin-right:4px;margin-left:4px}.ivu-avatar{display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:16px}.ivu-avatar-image{background:0 0}.ivu-avatar .ivu-icon{position:relative;top:-1px}.ivu-avatar>*{line-height:32px}.ivu-avatar.ivu-avatar-icon{font-size:18px}.ivu-avatar-large{width:40px;height:40px;line-height:40px;border-radius:20px}.ivu-avatar-large>*{line-height:40px}.ivu-avatar-large.ivu-avatar-icon{font-size:24px}.ivu-avatar-large .ivu-icon{position:relative;top:-2px}.ivu-avatar-small{width:24px;height:24px;line-height:24px;border-radius:12px}.ivu-avatar-small>*{line-height:24px}.ivu-avatar-small.ivu-avatar-icon{font-size:14px}.ivu-avatar-square{border-radius:4px}.ivu-avatar>img{width:100%;height:100%}.ivu-color-picker{display:inline-block}.ivu-color-picker-hide{display:none}.ivu-color-picker-hide-drop{visibility:hidden}.ivu-color-picker-disabled{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-color-picker-disabled:hover{border-color:#e3e5e8}.ivu-color-picker>div:first-child:hover .ivu-input{border-color:#57a3f3}.ivu-color-picker>div:first-child.ivu-color-picker-disabled:hover .ivu-input{border-color:#e3e5e8}.ivu-color-picker .ivu-select-dropdown{padding:0}.ivu-color-picker-input.ivu-input:focus{box-shadow:none}.ivu-color-picker-focused{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-rel{line-height:0}.ivu-color-picker-color{width:18px;height:18px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);border-radius:2px;position:relative;top:2px}.ivu-color-picker-color div{width:100%;height:100%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);border-radius:2px}.ivu-color-picker-color-empty{background:#fff;overflow:hidden;text-align:center}.ivu-color-picker-color-empty i{font-size:18px;vertical-align:baseline}.ivu-color-picker-color-focused{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-large .ivu-color-picker-color{width:20px;height:20px;top:1px}.ivu-color-picker-large .ivu-color-picker-color-empty i{font-size:20px}.ivu-color-picker-small .ivu-color-picker-color{width:14px;height:14px;top:3px}.ivu-color-picker-small .ivu-color-picker-color-empty i{font-size:14px}.ivu-color-picker-picker-wrapper{padding:8px 8px 0}.ivu-color-picker-picker-panel{width:240px;margin:0 auto;box-sizing:initial;position:relative}.ivu-color-picker-picker-alpha-slider,.ivu-color-picker-picker-hue-slider{height:10px;margin-top:8px;position:relative}.ivu-color-picker-picker-colors{margin-top:8px;overflow:hidden;border-radius:2px;transition:border .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-color-picker-picker-colors:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-picker-colors-wrapper{display:inline;width:20px;height:20px;float:left;position:relative}.ivu-color-picker-picker-colors-wrapper-color{outline:0;display:block;position:absolute;width:16px;height:16px;margin:2px;cursor:pointer;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.ivu-color-picker-picker-colors-wrapper-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px);position:absolute;top:10px;left:10px;cursor:pointer}.ivu-color-picker-picker .ivu-picker-confirm{margin-top:8px}.ivu-color-picker-saturation-wrapper{width:100%;padding-bottom:75%;position:relative;transition:border .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-color-picker-saturation-wrapper:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-saturation,.ivu-color-picker-saturation--black,.ivu-color-picker-saturation--white{cursor:pointer;position:absolute;top:0;left:0;right:0;bottom:0}.ivu-color-picker-saturation--white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.ivu-color-picker-saturation--black{background:linear-gradient(0deg,#000,transparent)}.ivu-color-picker-saturation-pointer{cursor:pointer;position:absolute}.ivu-color-picker-saturation-circle{width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px)}.ivu-color-picker-hue{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);transition:border .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-color-picker-hue:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-hue-container{cursor:pointer;margin:0 2px;position:relative;height:100%}.ivu-color-picker-hue-pointer{z-index:2;position:absolute}.ivu-color-picker-hue-picker{cursor:pointer;margin-top:1px;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;transform:translateX(-2px)}.ivu-color-picker-alpha{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;transition:border .2s ease-in-out,box-shadow .2s ease-in-out}.ivu-color-picker-alpha:focus{border-color:#57a3f3;outline:0;box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-alpha-checkboard-wrap{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;border-radius:2px}.ivu-color-picker-alpha-checkerboard{position:absolute;top:0;right:0;bottom:0;left:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.ivu-color-picker-alpha-gradient{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px}.ivu-color-picker-alpha-container{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.ivu-color-picker-alpha-pointer{z-index:2;position:absolute}.ivu-color-picker-alpha-picker{cursor:pointer;width:4px;border-radius:1px;height:8px;box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;margin-top:1px;transform:translateX(-2px)}.ivu-color-picker-confirm{margin-top:8px;position:relative;border-top:1px solid #e8eaec;text-align:right;padding:8px;clear:both}.ivu-color-picker-confirm-color{position:absolute;top:11px;left:8px}.ivu-color-picker-confirm-color-editable{top:8px}.ivu-auto-complete .ivu-icon-ios-close,.ivu-auto-complete .ivu-select-not-found{display:none}.ivu-auto-complete:hover .ivu-icon-ios-close{display:inline-block}.ivu-auto-complete.ivu-select-dropdown{max-height:none}.ivu-divider{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,Arial,sans-serif;font-size:14px;line-height:1.5;color:#515a6e;box-sizing:border-box;margin:0;padding:0;list-style:none;background:#e8eaec}.ivu-divider,.ivu-divider-vertical{margin:0 8px;display:inline-block;height:.9em;width:1px;vertical-align:middle;position:relative;top:-.06em}.ivu-divider-horizontal{display:block;height:1px;width:100%;min-width:100%;margin:24px 0;clear:both}.ivu-divider-horizontal.ivu-divider-with-text-center,.ivu-divider-horizontal.ivu-divider-with-text-left,.ivu-divider-horizontal.ivu-divider-with-text-right{display:table;white-space:nowrap;text-align:center;background:0 0;font-weight:500;color:#17233d;font-size:16px;margin:16px 0}.ivu-divider-horizontal.ivu-divider-with-text-center:after,.ivu-divider-horizontal.ivu-divider-with-text-center:before,.ivu-divider-horizontal.ivu-divider-with-text-left:after,.ivu-divider-horizontal.ivu-divider-with-text-left:before,.ivu-divider-horizontal.ivu-divider-with-text-right:after,.ivu-divider-horizontal.ivu-divider-with-text-right:before{content:"";display:table-cell;position:relative;top:50%;width:50%;border-top:1px solid #e8eaec;transform:translateY(50%)}.ivu-divider-horizontal.ivu-divider-with-text-left,.ivu-divider-horizontal.ivu-divider-with-text-right{font-size:14px}.ivu-divider-horizontal.ivu-divider-with-text-left .ivu-divider-inner-text,.ivu-divider-horizontal.ivu-divider-with-text-right .ivu-divider-inner-text{display:inline-block;padding:0 10px}.ivu-divider-horizontal.ivu-divider-with-text-left:before{top:50%;width:5%}.ivu-divider-horizontal.ivu-divider-with-text-left:after,.ivu-divider-horizontal.ivu-divider-with-text-right:before{top:50%;width:95%}.ivu-divider-horizontal.ivu-divider-with-text-right:after{top:50%;width:5%}.ivu-divider-inner-text{display:inline-block;padding:0 24px}.ivu-divider-dashed{background:0 0;border-top:1px dashed #e8eaec}.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed{border-top:0}.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed:before,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed:before,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed:before{border-style:dashed none none}.ivu-anchor{position:relative;padding-left:2px}.ivu-anchor-wrapper{overflow:auto;padding-left:4px;margin-left:-4px}.ivu-anchor-ink{position:absolute;height:100%;left:0;top:0}.ivu-anchor-ink:before{content:" ";position:relative;width:2px;height:100%;display:block;background-color:#e8eaec;margin:0 auto}.ivu-anchor-ink-ball{display:inline-block;position:absolute;width:8px;height:8px;border-radius:50%;border:2px solid #2d8cf0;background-color:#fff;left:50%;transition:top .2s ease-in-out;transform:translate(-50%,2px)}.ivu-anchor.fixed .ivu-anchor-ink .ivu-anchor-ink-ball{display:none}.ivu-anchor-link{padding:8px 0 8px 16px;line-height:1}.ivu-anchor-link-title{display:block;position:relative;transition:all .3s;color:#515a6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.ivu-anchor-link-title:only-child{margin-bottom:0}.ivu-anchor-link-active>.ivu-anchor-link-title{color:#2d8cf0}.ivu-anchor-link .ivu-anchor-link{padding-top:6px;padding-bottom:6px}.ivu-time-with-hash{cursor:pointer}.ivu-time-with-hash:hover{text-decoration:underline}.ivu-cell{position:relative;overflow:hidden}.ivu-cell-link,.ivu-cell-link:active,.ivu-cell-link:hover{color:inherit}.ivu-cell-icon{display:inline-block;margin-right:4px;font-size:14px;vertical-align:middle}.ivu-cell-icon:empty{display:none}.ivu-cell-main{display:inline-block;vertical-align:middle}.ivu-cell-title{line-height:24px;font-size:14px}.ivu-cell-label{line-height:1.2;font-size:12px;color:#808695}.ivu-cell-selected .ivu-cell-label{color:inherit}.ivu-cell-selected,.ivu-cell.ivu-cell-selected:hover{background:#f0faff}.ivu-cell-footer{display:inline-block;position:absolute;transform:translateY(-50%);top:50%;right:16px;color:#515a6e}.ivu-cell-with-link .ivu-cell-footer{right:32px}.ivu-cell-selected .ivu-cell-footer{color:inherit}.ivu-cell-arrow{display:inline-block;position:absolute;transform:translateY(-50%);top:50%;right:16px;font-size:14px}.ivu-cell:focus{background:#f3f3f3;outline:0}.ivu-cell-selected:focus{background:rgba(40,123,211,.91)}.ivu-cell{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;transition:background .2s ease-in-out}.ivu-cell-focus,.ivu-cell:hover{background:#f3f3f3}.ivu-cell-disabled,.ivu-cell-disabled:hover{color:#c5c8ce;cursor:not-allowed}.ivu-cell-disabled:hover{background-color:#fff}.ivu-cell-selected,.ivu-cell-selected:hover{color:#2d8cf0}.ivu-cell-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cell-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cell-large .ivu-cell{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cell{white-space:normal}}.ivu-drawer{width:auto;height:100%;position:fixed;top:0}.ivu-drawer-inner{position:absolute}.ivu-drawer-left{left:0}.ivu-drawer-right{right:0}.ivu-drawer-hidden{display:none!important}.ivu-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ivu-drawer-wrap-inner{position:absolute;overflow:hidden}.ivu-drawer-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.ivu-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ivu-drawer-mask-hidden{display:none}.ivu-drawer-mask-inner{position:absolute}.ivu-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ivu-drawer-content-no-mask{pointer-events:auto}.ivu-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-drawer-header-inner,.ivu-drawer-header p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-drawer-header p i,.ivu-drawer-header p span{vertical-align:middle}.ivu-drawer-close{z-index:1;font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-drawer-close .ivu-icon-ios-close{font-size:31px;color:#999;transition:color .2s ease;position:relative;top:1px}.ivu-drawer-close .ivu-icon-ios-close:hover{color:#444}.ivu-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:12px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto}.ivu-drawer-no-header .ivu-drawer-body{height:100%}.ivu-drawer-no-mask{pointer-events:none}/*! + * Viewer.js v1.3.2 + * https://fengyuanchen.github.io/viewerjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2019-01-24T11:01:30.299Z + */.viewer-close:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen-exit:before,.viewer-fullscreen:before,.viewer-next:before,.viewer-one-to-one:before,.viewer-play:before,.viewer-prev:before,.viewer-reset:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-zoom-in:before,.viewer-zoom-out:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC");background-repeat:no-repeat;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::selection,.viewer-container ::selection{background-color:transparent}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:rgba(0,0,0,.5);overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:hover{opacity:.75}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;right:0}.viewer-player,.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:3px 0}.viewer-toolbar>ul>li{background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:hover{background-color:rgba(0,0,0,.8)}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:rgba(0,0,0,.8);border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1;margin:0 5% 5px;max-width:90%;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{background-color:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:rgba(0,0,0,.8)}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:rgba(0,0,0,.5)}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid hsla(0,0%,100%,.1);border-left-color:hsla(0,0%,100%,.5);border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width:767px){.viewer-hide-xs-down{display:none}}@media (max-width:991px){.viewer-hide-sm-down{display:none}}@media (max-width:1199px){.viewer-hide-md-down{display:none}} \ No newline at end of file diff --git a/static/fonts/ionicons.99ac330.woff b/static/fonts/ionicons.99ac330.woff new file mode 100644 index 0000000000000000000000000000000000000000..c909e51cf3e50600516fa7308f3ca75046be93ec Binary files /dev/null and b/static/fonts/ionicons.99ac330.woff differ diff --git a/static/fonts/ionicons.d535a25.ttf b/static/fonts/ionicons.d535a25.ttf new file mode 100644 index 0000000000000000000000000000000000000000..1caa214a3506bc3ee807eff8a24a195c50af1bf4 Binary files /dev/null and b/static/fonts/ionicons.d535a25.ttf differ diff --git a/static/img/bg_login.e334716.png b/static/img/bg_login.e334716.png new file mode 100644 index 0000000000000000000000000000000000000000..ee70249a9bf0de1052675f07dd707e314f8be436 Binary files /dev/null and b/static/img/bg_login.e334716.png differ diff --git a/static/img/fullstack.e51bafb.jpg b/static/img/fullstack.e51bafb.jpg new file mode 100644 index 0000000000000000000000000000000000000000..570b80f77183c530eaae68de80d74ff51670a16d Binary files /dev/null and b/static/img/fullstack.e51bafb.jpg differ diff --git a/static/img/ionicons.a2c4a26.svg b/static/img/ionicons.a2c4a26.svg new file mode 100644 index 0000000000000000000000000000000000000000..d8812552f34b46d7c1604050d7599a2a2b3cb568 --- /dev/null +++ b/static/img/ionicons.a2c4a26.svg @@ -0,0 +1,870 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/img/logo.1e6719b.png b/static/img/logo.1e6719b.png new file mode 100644 index 0000000000000000000000000000000000000000..b99b7810c1b6ab0509ef683b3cdd3bcf04e07cc7 Binary files /dev/null and b/static/img/logo.1e6719b.png differ diff --git a/static/js/0.929eb24a6140a29a71e9.js b/static/js/0.929eb24a6140a29a71e9.js new file mode 100644 index 0000000000000000000000000000000000000000..2a23384379e92a6bdd9efdc0142225ae78324fb6 --- /dev/null +++ b/static/js/0.929eb24a6140a29a71e9.js @@ -0,0 +1,2 @@ +webpackJsonp([0],{"+27R":function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?n[a][0]:n[a][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})})(a("PJh5"))},"+7/x":function(e,t,a){(function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},a={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})})(a("PJh5"))},"/6P1":function(e,t,a){(function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function a(e,t,a,s){return t?n(a)[0]:s?n(a)[1]:n(a)[2]}function s(e){return e%10==0||e>10&&e<20}function n(e){return t[e].split("_")}function r(e,t,r,d){var i=e+" ";return 1===e?i+a(0,t,r[0],d):t?i+(s(e)?n(r)[1]:n(r)[0]):d?i+n(r)[1]:i+(s(e)?n(r)[1]:n(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,a,s){return t?"kelios sekundės":s?"kelių sekundžių":"kelias sekundes"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})})(a("PJh5"))},"/E8D":function(e,t,a){(function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},"/bsm":function(e,t,a){(function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})(a("PJh5"))},"/mhn":function(e,t,a){(function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})})(a("PJh5"))},"0X8Q":function(e,t,a){(function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})(a("PJh5"))},"2pmY":function(e,t,a){(function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},a={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})(a("PJh5"))},"2s1U":function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n=e+" ";switch(a){case"s":return t||s?"nekaj sekund":"nekaj sekundami";case"ss":return n+=1===e?t?"sekundo":"sekundi":2===e?t||s?"sekundi":"sekundah":e<5?t||s?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return n+=1===e?t?"minuta":"minuto":2===e?t||s?"minuti":"minutama":e<5?t||s?"minute":"minutami":t||s?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return n+=1===e?t?"ura":"uro":2===e?t||s?"uri":"urama":e<5?t||s?"ure":"urami":t||s?"ur":"urami";case"d":return t||s?"en dan":"enim dnem";case"dd":return n+=1===e?t||s?"dan":"dnem":2===e?t||s?"dni":"dnevoma":t||s?"dni":"dnevi";case"M":return t||s?"en mesec":"enim mesecem";case"MM":return n+=1===e?t||s?"mesec":"mesecem":2===e?t||s?"meseca":"mesecema":e<5?t||s?"mesece":"meseci":t||s?"mesecev":"meseci";case"y":return t||s?"eno leto":"enim letom";case"yy":return n+=1===e?t||s?"leto":"letom":2===e?t||s?"leti":"letoma":e<5?t||s?"leta":"leti":t||s?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},"3CJN":function(e,t,a){(function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})(a("PJh5"))},"3IRH":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"3K28":function(e,t,a){(function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})(a("PJh5"))},"3LKG":function(e,t,a){(function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})})(a("PJh5"))},"3MVc":function(e,t,a){(function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,a,r,d){var i=s(t),_=n[e][s(t)];return 2===i&&(_=_[a?0:1]),_.replace(/%d/i,t)}},d=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:d,monthsShort:d,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})(a("PJh5"))},"3hfc":function(e,t,a){(function(e){"use strict";function t(e,t,a){var s,n;return"m"===a?t?"хвіліна":"хвіліну":"h"===a?t?"гадзіна":"гадзіну":e+" "+(s=+e,n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})})(a("PJh5"))},"5Omq":function(e,t,a){(function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},"5SNd":function(e,t,a){(function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})})(a("PJh5"))},"5j66":function(e,t,a){(function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},a={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,a){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})})(a("PJh5"))},"5vPg":function(e,t,a){(function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function s(e,t,a,s){var n="";if(t)switch(a){case"s":n="काही सेकंद";break;case"ss":n="%d सेकंद";break;case"m":n="एक मिनिट";break;case"mm":n="%d मिनिटे";break;case"h":n="एक तास";break;case"hh":n="%d तास";break;case"d":n="एक दिवस";break;case"dd":n="%d दिवस";break;case"M":n="एक महिना";break;case"MM":n="%d महिने";break;case"y":n="एक वर्ष";break;case"yy":n="%d वर्षे"}else switch(a){case"s":n="काही सेकंदां";break;case"ss":n="%d सेकंदां";break;case"m":n="एका मिनिटा";break;case"mm":n="%d मिनिटां";break;case"h":n="एका तासा";break;case"hh":n="%d तासां";break;case"d":n="एका दिवसा";break;case"dd":n="%d दिवसां";break;case"M":n="एका महिन्या";break;case"MM":n="%d महिन्यां";break;case"y":n="एका वर्षा";break;case"yy":n="%d वर्षां"}return n.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})})(a("PJh5"))},"6cf8":function(e,t,a){(function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})})(a("PJh5"))},"6d20":function(e,t,a){"use strict";a.d(t,"c",function(){return s}),a.d(t,"a",function(){return n}),a.d(t,"e",function(){return r}),a.d(t,"d",function(){return d}),a.d(t,"b",function(){return i});var s={control:"控制类",application:"应用类",chat:"闲聊类",all:"所有"},n={bar:"柱状图",pie:"饼状图"},r={hour:"时",day:"日",month:"月",year:"年"},d={cost_time:"响应时间",response_error:"响应错误"},i={error_control:"错误控制",error_application:"错误应用"}},"7LV+":function(e,t,a){(function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function s(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,a){var n=e+" ";switch(a){case"ss":return n+(s(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(s(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(s(e)?"godziny":"godzin");case"MM":return n+(s(e)?"miesiące":"miesięcy");case"yy":return n+(s(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,s){return e?""===s?"("+a[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(s)?a[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:n,m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},"7MHZ":function(e,t,a){(function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},"7OnE":function(e,t,a){(function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})(a("PJh5"))},"7Q8x":function(e,t,a){(function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})})(a("PJh5"))},"8v14":function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},ALEw:function(e,t,a){(function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},Ab7C:function(e,t,a){(function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})(a("PJh5"))},AoDM:function(e,t,a){(function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})})(a("PJh5"))},BEem:function(e,t,a){(function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})(a("PJh5"))},BbgG:function(e,t,a){(function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})(a("PJh5"))},Bp2f:function(e,t,a){(function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],n=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})(a("PJh5"))},C7av:function(e,t,a){(function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},CFqe:function(e,t,a){(function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return e>11?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var a,s=this._calendarEl[e],n=t&&t.hours();return((a=s)instanceof Function||"[object Function]"===Object.prototype.toString.call(a))&&(s=s.apply(t)),s.replace("{}",n%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})(a("PJh5"))},CqHt:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){switch(a){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,a){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})})(a("PJh5"))},DOkx:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},DSXN:function(e,t,a){(function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})(a("PJh5"))},ETHv:function(e,t,a){(function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})})(a("PJh5"))},"F+2e":function(e,t,a){(function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},a={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})})(a("PJh5"))},FKXc:function(e,t,a){(function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},FRPF:function(e,t,a){(function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})})(a("PJh5"))},FlzV:function(e,t,a){(function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},Fpqq:function(e,t,a){(function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})})(a("PJh5"))},Frex:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?n[a][0]:n[a][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},FuaP:function(e,t,a){(function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},"G++c":function(e,t,a){(function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(a("PJh5"))},GrS7:function(e,t,a){(function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})})(a("PJh5"))},INcR:function(e,t,a){(function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})})(a("PJh5"))},JwiF:function(e,t,a){(function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})})(a("PJh5"))},LT9G:function(e,t,a){(function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],n=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},Lgqo:function(e,t,a){(function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return e>11?a?"ප.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}})})(a("PJh5"))},N3vo:function(e,t,a){(function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})})(a("PJh5"))},Nd3h:function(e,t,a){(function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})})(a("PJh5"))},Nlnz:function(e,t,a){(function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})})(a("PJh5"))},Nzt2:function(e,t,a){(function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}})})(a("PJh5"))},ORgI:function(e,t,a){(function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})})(a("PJh5"))},OUMt:function(e,t,a){(function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),a="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function s(e){return e>1&&e<5}function n(e,t,a,n){var r=e+" ";switch(a){case"s":return t||n?"pár sekúnd":"pár sekundami";case"ss":return t||n?r+(s(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":n?"minútu":"minútou";case"mm":return t||n?r+(s(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?r+(s(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||n?"deň":"dňom";case"dd":return t||n?r+(s(e)?"dni":"dní"):r+"dňami";case"M":return t||n?"mesiac":"mesiacom";case"MM":return t||n?r+(s(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||n?"rok":"rokom";case"yy":return t||n?r+(s(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:a,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},OVPi:function(e,t,a){(function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},PJh5:function(e,t,a){(function(e){var t;//! moment.js +t=function(){"use strict";var t,s;function n(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function d(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){return void 0===e}function _(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var a,s=[];for(a=0;a>>0,s=0;s0)for(a=0;a=0?a?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},C={};function U(e,t,a,s){var n=s;"string"==typeof s&&(n=function(){return this[s]()}),e&&(C[e]=n),t&&(C[t[0]]=function(){return z(n.apply(this,arguments),t[1],t[2])}),a&&(C[a]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function G(e,t){return e.isValid()?(t=V(t,e.localeData()),I[t]=I[t]||function(e){var t,a,s,n=e.match(N);for(t=0,a=n.length;t=0&&R.test(e);)e=e.replace(R,s),R.lastIndex=0,a-=1;return e}var q=/\d/,B=/\d\d/,K=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,Q=/\d\d?/,X=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ne=/\d+/,re=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,ie=/Z|[+-]\d\d(?::?\d\d)?/gi,_e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oe={};function ue(e,t,a){oe[e]=j(t)?t:function(e,s){return e&&a?a:t}}function me(e,t){return m(oe,e)?oe[e](t._strict,t._locale):new RegExp(le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,a,s,n){return t||a||s||n})))}function le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function Me(e,t){var a,s=t;for("string"==typeof e&&(e=[e]),_(t)&&(s=function(e,a){a[t]=T(e)}),a=0;a68?1900:2e3)};var He,be=je("FullYear",!0);function je(e,t){return function(a){return null!=a?(xe(this,e,a),n.updateOffset(this,t),this):Pe(this,e)}}function Pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function xe(e,t,a){e.isValid()&&!isNaN(a)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),Oe(a,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](a))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var a,s=(t%(a=12)+a)%a;return e+=(t-s)/12,1===s?Se(e)?29:28:31-s%7%2}He=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0){var a=Array.prototype.slice.call(arguments);a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ce(e,t,a){var s=7+t-a;return-((7+Ie(e,0,s).getUTCDay()-t)%7)+s-1}function Ue(e,t,a,s,n){var r,d,i=1+7*(t-1)+(7+a-s)%7+Ce(e,s,n);return i<=0?d=ve(r=e-1)+i:i>ve(e)?(r=e+1,d=i-ve(e)):(r=e,d=i),{year:r,dayOfYear:d}}function Ge(e,t,a){var s,n,r=Ce(e.year(),t,a),d=Math.floor((e.dayOfYear()-r-1)/7)+1;return d<1?s=d+Ve(n=e.year()-1,t,a):d>Ve(e.year(),t,a)?(s=d-Ve(e.year(),t,a),n=e.year()+1):(n=e.year(),s=d),{week:s,year:n}}function Ve(e,t,a){var s=Ce(e,t,a),n=Ce(e+1,t,a);return(ve(e)-s+n)/7}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),A("week",5),A("isoWeek",5),ue("w",Q),ue("ww",Q,B),ue("W",Q),ue("WW",Q,B),ce(["w","ww","W","WW"],function(e,t,a,s){t[s.substr(0,1)]=T(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),ue("d",Q),ue("e",Q),ue("E",Q),ue("dd",function(e,t){return t.weekdaysMinRegex(e)}),ue("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ue("dddd",function(e,t){return t.weekdaysRegex(e)}),ce(["dd","ddd","dddd"],function(e,t,a,s){var n=a._locale.weekdaysParse(e,s,a._strict);null!=n?t.d=n:M(a).invalidWeekday=e}),ce(["d","e","E"],function(e,t,a,s){t[s]=T(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var $e=_e;var Qe=_e;var Xe=_e;function et(){function e(e,t){return t.length-e.length}var t,a,s,n,r,d=[],i=[],_=[],o=[];for(t=0;t<7;t++)a=h([2e3,1]).day(t),s=this.weekdaysMin(a,""),n=this.weekdaysShort(a,""),r=this.weekdays(a,""),d.push(s),i.push(n),_.push(r),o.push(s),o.push(n),o.push(r);for(d.sort(e),i.sort(e),_.sort(e),o.sort(e),t=0;t<7;t++)i[t]=le(i[t]),_[t]=le(_[t]),o[t]=le(o[t]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+d.join("|")+")","i")}function tt(){return this.hours()%12||12}function at(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function st(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,tt),U("k",["kk",2],0,function(){return this.hours()||24}),U("hmm",0,0,function(){return""+tt.apply(this)+z(this.minutes(),2)}),U("hmmss",0,0,function(){return""+tt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),at("a",!0),at("A",!1),W("hour","h"),A("hour",13),ue("a",st),ue("A",st),ue("H",Q),ue("h",Q),ue("k",Q),ue("HH",Q,B),ue("hh",Q,B),ue("kk",Q,B),ue("hmm",X),ue("hmmss",ee),ue("Hmm",X),ue("Hmmss",ee),Me(["H","HH"],pe),Me(["k","kk"],function(e,t,a){var s=T(e);t[pe]=24===s?0:s}),Me(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),Me(["h","hh"],function(e,t,a){t[pe]=T(e),M(a).bigHour=!0}),Me("hmm",function(e,t,a){var s=e.length-2;t[pe]=T(e.substr(0,s)),t[ke]=T(e.substr(s)),M(a).bigHour=!0}),Me("hmmss",function(e,t,a){var s=e.length-4,n=e.length-2;t[pe]=T(e.substr(0,s)),t[ke]=T(e.substr(s,2)),t[De]=T(e.substr(n)),M(a).bigHour=!0}),Me("Hmm",function(e,t,a){var s=e.length-2;t[pe]=T(e.substr(0,s)),t[ke]=T(e.substr(s))}),Me("Hmmss",function(e,t,a){var s=e.length-4,n=e.length-2;t[pe]=T(e.substr(0,s)),t[ke]=T(e.substr(s,2)),t[De]=T(e.substr(n))});var nt,rt=je("Hours",!0),dt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Fe,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ze,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},it={},_t={};function ot(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var s=null;if(!it[t]&&void 0!==e&&e&&e.exports)try{s=nt._abbr;a("uslO")("./"+t),mt(s)}catch(e){}return it[t]}function mt(e,t){var a;return e&&((a=i(t)?ht(e):lt(e,t))?nt=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function lt(e,t){if(null!==t){var a,s=dt;if(t.abbr=e,null!=it[e])b("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])s=it[t.parentLocale]._config;else{if(null==(a=ut(t.parentLocale)))return _t[t.parentLocale]||(_t[t.parentLocale]=[]),_t[t.parentLocale].push({name:e,config:t}),null;s=a._config}return it[e]=new x(P(s,t)),_t[e]&&_t[e].forEach(function(e){lt(e.name,e.config)}),mt(e),it[e]}return delete it[e],null}function ht(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!r(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,a,s,n,r=0;r0;){if(s=ut(n.slice(0,t).join("-")))return s;if(a&&a.length>=t&&g(n,a,!0)>=t-1)break;t--}r++}return nt}(e)}function Mt(e){var t,a=e._a;return a&&-2===M(e).overflow&&(t=a[ye]<0||a[ye]>11?ye:a[fe]<1||a[fe]>Oe(a[Ye],a[ye])?fe:a[pe]<0||a[pe]>24||24===a[pe]&&(0!==a[ke]||0!==a[De]||0!==a[Te])?pe:a[ke]<0||a[ke]>59?ke:a[De]<0||a[De]>59?De:a[Te]<0||a[Te]>999?Te:-1,M(e)._overflowDayOfYear&&(tfe)&&(t=fe),M(e)._overflowWeeks&&-1===t&&(t=ge),M(e)._overflowWeekday&&-1===t&&(t=we),M(e).overflow=t),e}function ct(e,t,a){return null!=e?e:null!=t?t:a}function Lt(e){var t,a,s,r,d,i=[];if(!e._d){for(s=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[fe]&&null==e._a[ye]&&function(e){var t,a,s,n,r,d,i,_;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,d=4,a=ct(t.GG,e._a[Ye],Ge(Pt(),1,4).year),s=ct(t.W,1),((n=ct(t.E,1))<1||n>7)&&(_=!0);else{r=e._locale._week.dow,d=e._locale._week.doy;var o=Ge(Pt(),r,d);a=ct(t.gg,e._a[Ye],o.year),s=ct(t.w,o.week),null!=t.d?((n=t.d)<0||n>6)&&(_=!0):null!=t.e?(n=t.e+r,(t.e<0||t.e>6)&&(_=!0)):n=r}s<1||s>Ve(a,r,d)?M(e)._overflowWeeks=!0:null!=_?M(e)._overflowWeekday=!0:(i=Ue(a,s,n,r,d),e._a[Ye]=i.year,e._dayOfYear=i.dayOfYear)}(e),null!=e._dayOfYear&&(d=ct(e._a[Ye],s[Ye]),(e._dayOfYear>ve(d)||0===e._dayOfYear)&&(M(e)._overflowDayOfYear=!0),a=Ie(d,0,e._dayOfYear),e._a[ye]=a.getUTCMonth(),e._a[fe]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=s[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[pe]&&0===e._a[ke]&&0===e._a[De]&&0===e._a[Te]&&(e._nextDay=!0,e._a[pe]=0),e._d=(e._useUTC?Ie:function(e,t,a,s,n,r,d){var i;return e<100&&e>=0?(i=new Date(e+400,t,a,s,n,r,d),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,a,s,n,r,d),i}).apply(null,i),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[pe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(M(e).weekdayMismatch=!0)}}var Yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Dt=/^\/?Date\((\-?\d+)/i;function Tt(e){var t,a,s,n,r,d,i=e._i,_=Yt.exec(i)||yt.exec(i);if(_){for(M(e).iso=!0,t=0,a=pt.length;t0&&M(e).unusedInput.push(d),i=i.slice(i.indexOf(a)+a.length),o+=a.length),C[r]?(a?M(e).empty=!1:M(e).unusedTokens.push(r),Le(r,a,e)):e._strict&&!a&&M(e).unusedTokens.push(r);M(e).charsLeftOver=_-o,i.length>0&&M(e).unusedInput.push(i),e._a[pe]<=12&&!0===M(e).bigHour&&e._a[pe]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[pe]=function(e,t,a){var s;if(null==a)return t;return null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?((s=e.isPM(a))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[pe],e._meridiem),Lt(e),Mt(e)}else St(e);else Tt(e)}function bt(e){var t=e._i,a=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===a&&""===t?L({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new p(Mt(t)):(o(t)?e._d=t:r(a)?function(e){var t,a,s,n,r;if(0===e._f.length)return M(e).invalidFormat=!0,void(e._d=new Date(NaN));for(n=0;nthis?this:e:L()});function Wt(e,t){var a,s;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Pt();for(a=t[0],s=1;s=0?new Date(e+400,t,a)-ia:new Date(e,t,a).valueOf()}function ua(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-ia:Date.UTC(e,t,a)}function ma(e,t){U(0,[e,e.length],0,t)}function la(e,t,a,s,n){var r;return null==e?Ge(this,s,n).year:(t>(r=Ve(e,s,n))&&(t=r),function(e,t,a,s,n){var r=Ue(e,t,a,s,n),d=Ie(r.year,0,r.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}.call(this,e,t,a,s,n))}U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ma("gggg","weekYear"),ma("ggggg","weekYear"),ma("GGGG","isoWeekYear"),ma("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),ue("G",re),ue("g",re),ue("GG",Q,B),ue("gg",Q,B),ue("GGGG",ae,Z),ue("gggg",ae,Z),ue("GGGGG",se,$),ue("ggggg",se,$),ce(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,s){t[s.substr(0,2)]=T(e)}),ce(["gg","GG"],function(e,t,a,s){t[s]=n.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),W("quarter","Q"),A("quarter",7),ue("Q",q),Me("Q",function(e,t){t[ye]=3*(T(e)-1)}),U("D",["DD",2],"Do","date"),W("date","D"),A("date",9),ue("D",Q),ue("DD",Q,B),ue("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Me(["D","DD"],fe),Me("Do",function(e,t){t[fe]=T(e.match(Q)[0])});var ha=je("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),A("dayOfYear",4),ue("DDD",te),ue("DDDD",K),Me(["DDD","DDDD"],function(e,t,a){a._dayOfYear=T(e)}),U("m",["mm",2],0,"minute"),W("minute","m"),A("minute",14),ue("m",Q),ue("mm",Q,B),Me(["m","mm"],ke);var Ma=je("Minutes",!1);U("s",["ss",2],0,"second"),W("second","s"),A("second",15),ue("s",Q),ue("ss",Q,B),Me(["s","ss"],De);var ca,La=je("Seconds",!1);for(U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),W("millisecond","ms"),A("millisecond",16),ue("S",te,q),ue("SS",te,B),ue("SSS",te,K),ca="SSSS";ca.length<=9;ca+="S")ue(ca,ne);function Ya(e,t){t[Te]=T(1e3*("0."+e))}for(ca="S";ca.length<=9;ca+="S")Me(ca,Ya);var ya=je("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var fa=p.prototype;function pa(e){return e}fa.add=Qt,fa.calendar=function(e,t){var a=e||Pt(),s=It(a,this).startOf("day"),r=n.calendarFormat(this,s)||"sameElse",d=t&&(j(t[r])?t[r].call(this,a):t[r]);return this.format(d||this.localeData().calendar(r,this,Pt(a)))},fa.clone=function(){return new p(this)},fa.diff=function(e,t,a){var s,n,r;if(!this.isValid())return NaN;if(!(s=It(e,this)).isValid())return NaN;switch(n=6e4*(s.utcOffset()-this.utcOffset()),t=E(t)){case"year":r=ea(this,s)/12;break;case"month":r=ea(this,s);break;case"quarter":r=ea(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-n)/864e5;break;case"week":r=(this-s-n)/6048e5;break;default:r=this-s}return a?r:D(r)},fa.endOf=function(e){var t;if(void 0===(e=E(e))||"millisecond"===e||!this.isValid())return this;var a=this._isUTC?ua:oa;switch(e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=da-_a(t+(this._isUTC?0:this.utcOffset()*ra),da)-1;break;case"minute":t=this._d.valueOf(),t+=ra-_a(t,ra)-1;break;case"second":t=this._d.valueOf(),t+=na-_a(t,na)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},fa.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=G(this,e);return this.localeData().postformat(t)},fa.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fa.fromNow=function(e){return this.from(Pt(),e)},fa.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fa.toNow=function(e){return this.to(Pt(),e)},fa.get=function(e){return j(this[e=E(e)])?this[e]():this},fa.invalidAt=function(){return M(this).overflow},fa.isAfter=function(e,t){var a=k(e)?e:Pt(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=E(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()9999?G(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(a,"Z")):G(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fa.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var a="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=t+'[")]';return this.format(a+s+"-MM-DD[T]HH:mm:ss.SSS"+n)},fa.toJSON=function(){return this.isValid()?this.toISOString():null},fa.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fa.unix=function(){return Math.floor(this.valueOf()/1e3)},fa.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fa.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fa.year=be,fa.isLeapYear=function(){return Se(this.year())},fa.weekYear=function(e){return la.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fa.isoWeekYear=function(e){return la.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fa.quarter=fa.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fa.month=Ae,fa.daysInMonth=function(){return Oe(this.year(),this.month())},fa.week=fa.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fa.isoWeek=fa.isoWeeks=function(e){var t=Ge(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fa.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},fa.isoWeeksInYear=function(){return Ve(this.year(),1,4)},fa.date=ha,fa.day=fa.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fa.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fa.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fa.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fa.hour=fa.hours=rt,fa.minute=fa.minutes=Ma,fa.second=fa.seconds=La,fa.millisecond=fa.milliseconds=ya,fa.utcOffset=function(e,t,a){var s,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Rt(ie,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&t&&(s=Ct(this)),this._offset=e,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==e&&(!t||this._changeInProgress?$t(this,qt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ct(this)},fa.utc=function(e){return this.utcOffset(0,e)},fa.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ct(this),"m")),this},fa.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Rt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fa.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fa.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fa.isLocal=function(){return!!this.isValid()&&!this._isUTC},fa.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fa.isUtc=Ut,fa.isUTC=Ut,fa.zoneAbbr=function(){return this._isUTC?"UTC":""},fa.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fa.dates=v("dates accessor is deprecated. Use date instead.",ha),fa.months=v("months accessor is deprecated. Use month instead",Ae),fa.years=v("years accessor is deprecated. Use year instead",be),fa.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fa.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!i(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=bt(e))._a){var t=e._isUTC?h(e._a):Pt(e._a);this._isDSTShifted=this.isValid()&&g(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var ka=x.prototype;function Da(e,t,a,s){var n=ht(),r=h().set(s,t);return n[a](r,e)}function Ta(e,t,a){if(_(e)&&(t=e,e=void 0),e=e||"",null!=t)return Da(e,t,a,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Da(e,s,a,"month");return n}function ga(e,t,a,s){"boolean"==typeof e?(_(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,_(t)&&(a=t,t=void 0),t=t||"");var n,r=ht(),d=e?r._week.dow:0;if(null!=a)return Da(t,(a+d)%7,s,"day");var i=[];for(n=0;n<7;n++)i[n]=Da(t,(n+d)%7,s,"day");return i}ka.calendar=function(e,t,a){var s=this._calendar[e]||this._calendar.sameElse;return j(s)?s.call(t,a):s},ka.longDateFormat=function(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},ka.invalidDate=function(){return this._invalidDate},ka.ordinal=function(e){return this._ordinal.replace("%d",e)},ka.preparse=pa,ka.postformat=pa,ka.relativeTime=function(e,t,a,s){var n=this._relativeTime[a];return j(n)?n(e,t,a,s):n.replace(/%d/i,e)},ka.pastFuture=function(e,t){var a=this._relativeTime[e>0?"future":"past"];return j(a)?a(t):a.replace(/%s/i,t)},ka.set=function(e){var t,a;for(a in e)j(t=e[a])?this[a]=t:this["_"+a]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ka.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||We).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},ka.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[We.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ka.monthsParse=function(e,t,a){var s,n,r;if(this._monthsParseExact)return function(e,t,a){var s,n,r,d=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=h([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return a?"MMM"===t?-1!==(n=He.call(this._shortMonthsParse,d))?n:null:-1!==(n=He.call(this._longMonthsParse,d))?n:null:"MMM"===t?-1!==(n=He.call(this._shortMonthsParse,d))?n:-1!==(n=He.call(this._longMonthsParse,d))?n:null:-1!==(n=He.call(this._longMonthsParse,d))?n:-1!==(n=He.call(this._shortMonthsParse,d))?n:null}.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=h([2e3,s]),a&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),a||this._monthsParse[s]||(r="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(a&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!a&&this._monthsParse[s].test(e))return s}},ka.monthsRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=Ne),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},ka.monthsShortRegex=function(e){return this._monthsParseExact?(m(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=ze),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},ka.week=function(e){return Ge(e,this._week.dow,this._week.doy).week},ka.firstDayOfYear=function(){return this._week.doy},ka.firstDayOfWeek=function(){return this._week.dow},ka.weekdays=function(e,t){var a=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(a,this._week.dow):e?a[e.day()]:a},ka.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},ka.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},ka.weekdaysParse=function(e,t,a){var s,n,r;if(this._weekdaysParseExact)return function(e,t,a){var s,n,r,d=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=h([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(n=He.call(this._weekdaysParse,d))?n:null:"ddd"===t?-1!==(n=He.call(this._shortWeekdaysParse,d))?n:null:-1!==(n=He.call(this._minWeekdaysParse,d))?n:null:"dddd"===t?-1!==(n=He.call(this._weekdaysParse,d))?n:-1!==(n=He.call(this._shortWeekdaysParse,d))?n:-1!==(n=He.call(this._minWeekdaysParse,d))?n:null:"ddd"===t?-1!==(n=He.call(this._shortWeekdaysParse,d))?n:-1!==(n=He.call(this._weekdaysParse,d))?n:-1!==(n=He.call(this._minWeekdaysParse,d))?n:null:-1!==(n=He.call(this._minWeekdaysParse,d))?n:-1!==(n=He.call(this._weekdaysParse,d))?n:-1!==(n=He.call(this._shortWeekdaysParse,d))?n:null}.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=h([2e3,1]).day(s),a&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(a&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(a&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!a&&this._weekdaysParse[s].test(e))return s}},ka.weekdaysRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},ka.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ka.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ka.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},ka.meridiem=function(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"},mt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=v("moment.lang is deprecated. Use moment.locale instead.",mt),n.langData=v("moment.langData is deprecated. Use moment.localeData instead.",ht);var wa=Math.abs;function va(e,t,a,s){var n=qt(t,a);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Sa(e){return e<0?Math.floor(e):Math.ceil(e)}function Ha(e){return 4800*e/146097}function ba(e){return 146097*e/4800}function ja(e){return function(){return this.as(e)}}var Pa=ja("ms"),xa=ja("s"),Oa=ja("m"),Wa=ja("h"),Ea=ja("d"),Fa=ja("w"),Ja=ja("M"),Aa=ja("Q"),za=ja("y");function Na(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ra=Na("milliseconds"),Ia=Na("seconds"),Ca=Na("minutes"),Ua=Na("hours"),Ga=Na("days"),Va=Na("months"),qa=Na("years");var Ba=Math.round,Ka={ss:44,s:45,m:45,h:22,d:26,M:11};var Za=Math.abs;function $a(e){return(e>0)-(e<0)||+e}function Qa(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a=Za(this._milliseconds)/1e3,s=Za(this._days),n=Za(this._months);t=D((e=D(a/60))/60),a%=60,e%=60;var r=D(n/12),d=n%=12,i=s,_=t,o=e,u=a?a.toFixed(3).replace(/\.?0+$/,""):"",m=this.asSeconds();if(!m)return"P0D";var l=m<0?"-":"",h=$a(this._months)!==$a(m)?"-":"",M=$a(this._days)!==$a(m)?"-":"",c=$a(this._milliseconds)!==$a(m)?"-":"";return l+"P"+(r?h+r+"Y":"")+(d?h+d+"M":"")+(i?M+i+"D":"")+(_||o||u?"T":"")+(_?c+_+"H":"")+(o?c+o+"M":"")+(u?c+u+"S":"")}var Xa=Ft.prototype;return Xa.isValid=function(){return this._isValid},Xa.abs=function(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this},Xa.add=function(e,t){return va(this,e,t,1)},Xa.subtract=function(e,t){return va(this,e,t,-1)},Xa.as=function(e){if(!this.isValid())return NaN;var t,a,s=this._milliseconds;if("month"===(e=E(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,a=this._months+Ha(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(ba(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},Xa.asMilliseconds=Pa,Xa.asSeconds=xa,Xa.asMinutes=Oa,Xa.asHours=Wa,Xa.asDays=Ea,Xa.asWeeks=Fa,Xa.asMonths=Ja,Xa.asQuarters=Aa,Xa.asYears=za,Xa.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN},Xa._bubble=function(){var e,t,a,s,n,r=this._milliseconds,d=this._days,i=this._months,_=this._data;return r>=0&&d>=0&&i>=0||r<=0&&d<=0&&i<=0||(r+=864e5*Sa(ba(i)+d),d=0,i=0),_.milliseconds=r%1e3,e=D(r/1e3),_.seconds=e%60,t=D(e/60),_.minutes=t%60,a=D(t/60),_.hours=a%24,i+=n=D(Ha(d+=D(a/24))),d-=Sa(ba(n)),s=D(i/12),i%=12,_.days=d,_.months=i,_.years=s,this},Xa.clone=function(){return qt(this)},Xa.get=function(e){return e=E(e),this.isValid()?this[e+"s"]():NaN},Xa.milliseconds=Ra,Xa.seconds=Ia,Xa.minutes=Ca,Xa.hours=Ua,Xa.days=Ga,Xa.weeks=function(){return D(this.days()/7)},Xa.months=Va,Xa.years=qa,Xa.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),a=function(e,t,a){var s=qt(e).abs(),n=Ba(s.as("s")),r=Ba(s.as("m")),d=Ba(s.as("h")),i=Ba(s.as("d")),_=Ba(s.as("M")),o=Ba(s.as("y")),u=n<=Ka.ss&&["s",n]||n0,u[4]=a,function(e,t,a,s,n){return n.relativeTime(t||1,!!a,e,s)}.apply(null,u)}(this,!e,t);return e&&(a=t.pastFuture(+this,a)),t.postformat(a)},Xa.toISOString=Qa,Xa.toString=Qa,Xa.toJSON=Qa,Xa.locale=ta,Xa.localeData=sa,Xa.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qa),Xa.lang=aa,U("X",0,0,"unix"),U("x",0,0,"valueOf"),ue("x",re),ue("X",/[+-]?\d+(\.\d{1,3})?/),Me("X",function(e,t,a){a._d=new Date(1e3*parseFloat(e,10))}),Me("x",function(e,t,a){a._d=new Date(T(e))}),n.version="2.24.0",t=Pt,n.fn=fa,n.min=function(){return Wt("isBefore",[].slice.call(arguments,0))},n.max=function(){return Wt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return Pt(1e3*e)},n.months=function(e,t){return Ta(e,t,"months")},n.isDate=o,n.locale=mt,n.invalid=L,n.duration=qt,n.isMoment=k,n.weekdays=function(e,t,a){return ga(e,t,a,"weekdays")},n.parseZone=function(){return Pt.apply(null,arguments).parseZone()},n.localeData=ht,n.isDuration=Jt,n.monthsShort=function(e,t){return Ta(e,t,"monthsShort")},n.weekdaysMin=function(e,t,a){return ga(e,t,a,"weekdaysMin")},n.defineLocale=lt,n.updateLocale=function(e,t){if(null!=t){var a,s,n=dt;null!=(s=ut(e))&&(n=s._config),(a=new x(t=P(n,t))).parentLocale=it[e],it[e]=a,mt(e)}else null!=it[e]&&(null!=it[e].parentLocale?it[e]=it[e].parentLocale:null!=it[e]&&delete it[e]);return it[e]},n.locales=function(){return S(it)},n.weekdaysShort=function(e,t,a){return ga(e,t,a,"weekdaysShort")},n.normalizeUnits=E,n.relativeTimeRounding=function(e){return void 0===e?Ba:"function"==typeof e&&(Ba=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Ka[e]&&(void 0===t?Ka[e]:(Ka[e]=t,"s"===e&&(Ka.ss=t-1),!0))},n.calendarFormat=function(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"},n.prototype=fa,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n},e.exports=t()}).call(t,a("3IRH")(e))},QZk1:function(e,t,a){(function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})})(a("PJh5"))},RnJI:function(e,t,a){(function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})})(a("PJh5"))},Sjoy:function(e,t,a){(function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},To0v:function(e,t,a){(function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var s=100*e+t;return s<600?"يېرىم كېچە":s<900?"سەھەر":s<1130?"چۈشتىن بۇرۇن":s<1230?"چۈش":s<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})})(a("PJh5"))},Tqun:function(e,t,a){(function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})})(a("PJh5"))},U5Iz:function(e,t,a){(function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})})(a("PJh5"))},V0td:function(e,t,a){(function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},V4qH:function(e,t,a){(function(e){"use strict";function t(e,t,a){var s=e+" ";switch(a){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},VK9h:function(e,t,a){(function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})(a("PJh5"))},Vz2w:function(e,t,a){(function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})})(a("PJh5"))},XU1s:function(e,t,a){(function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})})(a("PJh5"))},XlWM:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?n[a][2]?n[a][2]:n[a][1]:s?n[a][0]:n[a][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},"XzD+":function(e,t,a){(function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})(a("PJh5"))},"YBA/":function(e,t,a){(function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},YXlc:function(e,t,a){(function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})})(a("PJh5"))},ZFGz:function(e,t,a){(function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})})(a("PJh5"))},ZUyn:function(e,t,a){(function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})(a("PJh5"))},ZoSI:function(e,t,a){(function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},aM0x:function(e,t,a){(function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})})(a("PJh5"))},aqvp:function(e,t,a){(function(e){"use strict";function t(e,t,a){var s=e+" ";switch(a){case"ss":return s+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},bXQP:function(e,t,a){(function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})})(a("PJh5"))},c1x4:function(e,t,a){(function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,s){var n=t.words[s];return 1===s.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},dURR:function(e,t,a){(function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})(a("PJh5"))},dyB6:function(e,t,a){(function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},"e/KL":function(e,t,a){(function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},"eBB/":function(e,t,a){(function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}})})(a("PJh5"))},eHwN:function(e,t,a){(function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10;return e+(t[a]||t[e%100-a]||t[e>=100?100:null])},week:{dow:1,doy:7}})})(a("PJh5"))},f4W3:function(e,t,a){(function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,s){var n=t.words[s];return 1===s.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},fW1y:function(e,t,a){(function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],a=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})})(a("PJh5"))},g7KF:function(e,t,a){(function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),a="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?a[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})})(a("PJh5"))},gEQe:function(e,t,a){(function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},a={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})})(a("PJh5"))},gEU3:function(e,t,a){(function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},gUgh:function(e,t,a){(function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},hPuz:function(e,t,a){(function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},hng5:function(e,t,a){(function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})(a("PJh5"))},iNtv:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return s?n[a][0]:t?n[a][0]:n[a][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return e>11?a?"d'o":"D'O":a?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},"j+vx":function(e,t,a){(function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})})(a("PJh5"))},j8cJ:function(e,t,a){(function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})})(a("PJh5"))},jxEH:function(e,t,a){(function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function s(e,s,n){return e+" "+a(t[n],e,s)}function n(e,s,n){return a(t[n],e,s)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:s,m:n,mm:s,h:n,hh:s,d:n,dd:s,M:n,MM:s,y:n,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},"k+5o":function(e,t,a){(function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var s=e%10;return e+(t[s]||t[e%100-s]||t[e>=100?100:null])}},week:{dow:1,doy:7}})})(a("PJh5"))},kI9l:function(e,t,a){(function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:s,monthsShort:s,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,a){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return a[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})(a("PJh5"))},krPU:function(e,t,a){(function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})(a("PJh5"))},lOED:function(e,t,a){(function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})})(a("PJh5"))},m7yE:function(e,t,a){(function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(e,a,s,n){var r=function(e){var a=Math.floor(e%1e3/100),s=Math.floor(e%100/10),n=e%10,r="";a>0&&(r+=t[a]+"vatlh");s>0&&(r+=(""!==r?" ":"")+t[s]+"maH");n>0&&(r+=(""!==r?" ":"")+t[n]);return""===r?"pagh":r}(e);switch(s){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},nE8X:function(e,t,a){(function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})})(a("PJh5"))},nLOz:function(e,t,a){(function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})})(a("PJh5"))},nS2h:function(e,t,a){(function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function s(e,s,n,r){var d="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":d=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":d=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":d=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":d=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":d=r?"vuoden":"vuotta"}return d=function(e,s){return e<10?s?a[e]:t[e]:e}(e,r)+" "+d}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},ntHu:function(e,t,a){(function(e){"use strict";function t(e,t,a){var s,n;return"m"===a?t?"хвилина":"хвилину":"h"===a?t?"година":"годину":e+" "+(s=+e,n={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var a={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})})(a("PJh5"))},oCzW:function(e,t,a){(function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(a("PJh5"))},oYA3:function(e,t,a){(function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})(a("PJh5"))},oo1B:function(e,t,a){(function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})})(a("PJh5"))},ooba:function(e,t,a){(function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(a("PJh5"))},pfs9:function(e,t,a){(function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},a={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})(a("PJh5"))},rIuo:function(e,t,a){(function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],a=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})})(a("PJh5"))},rtsW:function(e,t,a){(function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},a={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})})(a("PJh5"))},sqLM:function(e,t,a){(function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},ssxj:function(e,t,a){(function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),a="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),s=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],n=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function d(e,t,a,s){var n=e+" ";switch(a){case"s":return t||s?"pár sekund":"pár sekundami";case"ss":return t||s?n+(r(e)?"sekundy":"sekund"):n+"sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":return t||s?n+(r(e)?"minuty":"minut"):n+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?n+(r(e)?"hodiny":"hodin"):n+"hodinami";case"d":return t||s?"den":"dnem";case"dd":return t||s?n+(r(e)?"dny":"dní"):n+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":return t||s?n+(r(e)?"měsíce":"měsíců"):n+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":return t||s?n+(r(e)?"roky":"let"):n+"lety"}}e.defineLocale("cs",{months:t,monthsShort:a,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d:d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},svD2:function(e,t,a){(function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,s){var n=t.words[s];return 1===s.length?a?n[0]:n[1]:e+" "+t.correctGrammaticalCase(e,n)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(a("PJh5"))},tkWw:function(e,t,a){(function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})(a("PJh5"))},tzHd:function(e,t,a){(function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})})(a("PJh5"))},uSe8:function(e,t,a){(function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],a=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})})(a("PJh5"))},ulq9:function(e,t,a){(function(e){"use strict";function t(e,t,a){var s,n;return"m"===a?t?"минута":"минуту":e+" "+(s=+e,n={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}var a=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})})(a("PJh5"))},upln:function(e,t,a){(function(e){"use strict";function t(e){return e%100==11||e%10!=1}function a(e,a,s,n){var r=e+" ";switch(s){case"s":return a||n?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(a||n?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return a?"mínúta":"mínútu";case"mm":return t(e)?r+(a||n?"mínútur":"mínútum"):a?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(a||n?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return a?"dagur":n?"dag":"degi";case"dd":return t(e)?a?r+"dagar":r+(n?"daga":"dögum"):a?r+"dagur":r+(n?"dag":"degi");case"M":return a?"mánuður":n?"mánuð":"mánuði";case"MM":return t(e)?a?r+"mánuðir":r+(n?"mánuði":"mánuðum"):a?r+"mánuður":r+(n?"mánuð":"mánuði");case"y":return a||n?"ár":"ári";case"yy":return t(e)?r+(a||n?"ár":"árum"):r+(a||n?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:a,ss:a,m:a,mm:a,h:"klukkustund",hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},uslO:function(e,t,a){var s={"./af":"3CJN","./af.js":"3CJN","./ar":"3MVc","./ar-dz":"tkWw","./ar-dz.js":"tkWw","./ar-kw":"j8cJ","./ar-kw.js":"j8cJ","./ar-ly":"wPpW","./ar-ly.js":"wPpW","./ar-ma":"dURR","./ar-ma.js":"dURR","./ar-sa":"7OnE","./ar-sa.js":"7OnE","./ar-tn":"BEem","./ar-tn.js":"BEem","./ar.js":"3MVc","./az":"eHwN","./az.js":"eHwN","./be":"3hfc","./be.js":"3hfc","./bg":"lOED","./bg.js":"lOED","./bm":"hng5","./bm.js":"hng5","./bn":"aM0x","./bn.js":"aM0x","./bo":"w2Hs","./bo.js":"w2Hs","./br":"OSsP","./br.js":"OSsP","./bs":"aqvp","./bs.js":"aqvp","./ca":"wIgY","./ca.js":"wIgY","./cs":"ssxj","./cs.js":"ssxj","./cv":"N3vo","./cv.js":"N3vo","./cy":"ZFGz","./cy.js":"ZFGz","./da":"YBA/","./da.js":"YBA/","./de":"DOkx","./de-at":"8v14","./de-at.js":"8v14","./de-ch":"Frex","./de-ch.js":"Frex","./de.js":"DOkx","./dv":"rIuo","./dv.js":"rIuo","./el":"CFqe","./el.js":"CFqe","./en-SG":"oYA3","./en-SG.js":"oYA3","./en-au":"Sjoy","./en-au.js":"Sjoy","./en-ca":"Tqun","./en-ca.js":"Tqun","./en-gb":"hPuz","./en-gb.js":"hPuz","./en-ie":"ALEw","./en-ie.js":"ALEw","./en-il":"QZk1","./en-il.js":"QZk1","./en-nz":"dyB6","./en-nz.js":"dyB6","./eo":"Nd3h","./eo.js":"Nd3h","./es":"LT9G","./es-do":"7MHZ","./es-do.js":"7MHZ","./es-us":"INcR","./es-us.js":"INcR","./es.js":"LT9G","./et":"XlWM","./et.js":"XlWM","./eu":"sqLM","./eu.js":"sqLM","./fa":"2pmY","./fa.js":"2pmY","./fi":"nS2h","./fi.js":"nS2h","./fo":"OVPi","./fo.js":"OVPi","./fr":"tzHd","./fr-ca":"bXQP","./fr-ca.js":"bXQP","./fr-ch":"VK9h","./fr-ch.js":"VK9h","./fr.js":"tzHd","./fy":"g7KF","./fy.js":"g7KF","./ga":"U5Iz","./ga.js":"U5Iz","./gd":"nLOz","./gd.js":"nLOz","./gl":"FuaP","./gl.js":"FuaP","./gom-latn":"+27R","./gom-latn.js":"+27R","./gu":"rtsW","./gu.js":"rtsW","./he":"Nzt2","./he.js":"Nzt2","./hi":"ETHv","./hi.js":"ETHv","./hr":"V4qH","./hr.js":"V4qH","./hu":"xne+","./hu.js":"xne+","./hy-am":"GrS7","./hy-am.js":"GrS7","./id":"yRTJ","./id.js":"yRTJ","./is":"upln","./is.js":"upln","./it":"FKXc","./it-ch":"/E8D","./it-ch.js":"/E8D","./it.js":"FKXc","./ja":"ORgI","./ja.js":"ORgI","./jv":"JwiF","./jv.js":"JwiF","./ka":"RnJI","./ka.js":"RnJI","./kk":"j+vx","./kk.js":"j+vx","./km":"5j66","./km.js":"5j66","./kn":"gEQe","./kn.js":"gEQe","./ko":"eBB/","./ko.js":"eBB/","./ku":"kI9l","./ku.js":"kI9l","./ky":"6cf8","./ky.js":"6cf8","./lb":"z3hR","./lb.js":"z3hR","./lo":"nE8X","./lo.js":"nE8X","./lt":"/6P1","./lt.js":"/6P1","./lv":"jxEH","./lv.js":"jxEH","./me":"svD2","./me.js":"svD2","./mi":"gEU3","./mi.js":"gEU3","./mk":"Ab7C","./mk.js":"Ab7C","./ml":"oo1B","./ml.js":"oo1B","./mn":"CqHt","./mn.js":"CqHt","./mr":"5vPg","./mr.js":"5vPg","./ms":"ooba","./ms-my":"G++c","./ms-my.js":"G++c","./ms.js":"ooba","./mt":"oCzW","./mt.js":"oCzW","./my":"F+2e","./my.js":"F+2e","./nb":"FlzV","./nb.js":"FlzV","./ne":"/mhn","./ne.js":"/mhn","./nl":"3K28","./nl-be":"Bp2f","./nl-be.js":"Bp2f","./nl.js":"3K28","./nn":"C7av","./nn.js":"C7av","./pa-in":"pfs9","./pa-in.js":"pfs9","./pl":"7LV+","./pl.js":"7LV+","./pt":"ZoSI","./pt-br":"AoDM","./pt-br.js":"AoDM","./pt.js":"ZoSI","./ro":"wT5f","./ro.js":"wT5f","./ru":"ulq9","./ru.js":"ulq9","./sd":"fW1y","./sd.js":"fW1y","./se":"5Omq","./se.js":"5Omq","./si":"Lgqo","./si.js":"Lgqo","./sk":"OUMt","./sk.js":"OUMt","./sl":"2s1U","./sl.js":"2s1U","./sq":"V0td","./sq.js":"V0td","./sr":"f4W3","./sr-cyrl":"c1x4","./sr-cyrl.js":"c1x4","./sr.js":"f4W3","./ss":"7Q8x","./ss.js":"7Q8x","./sv":"Fpqq","./sv.js":"Fpqq","./sw":"DSXN","./sw.js":"DSXN","./ta":"+7/x","./ta.js":"+7/x","./te":"Nlnz","./te.js":"Nlnz","./tet":"gUgh","./tet.js":"gUgh","./tg":"5SNd","./tg.js":"5SNd","./th":"XzD+","./th.js":"XzD+","./tl-ph":"3LKG","./tl-ph.js":"3LKG","./tlh":"m7yE","./tlh.js":"m7yE","./tr":"k+5o","./tr.js":"k+5o","./tzl":"iNtv","./tzl.js":"iNtv","./tzm":"FRPF","./tzm-latn":"krPU","./tzm-latn.js":"krPU","./tzm.js":"FRPF","./ug-cn":"To0v","./ug-cn.js":"To0v","./uk":"ntHu","./uk.js":"ntHu","./ur":"uSe8","./ur.js":"uSe8","./uz":"XU1s","./uz-latn":"/bsm","./uz-latn.js":"/bsm","./uz.js":"XU1s","./vi":"0X8Q","./vi.js":"0X8Q","./x-pseudo":"e/KL","./x-pseudo.js":"e/KL","./yo":"YXlc","./yo.js":"YXlc","./zh-cn":"Vz2w","./zh-cn.js":"Vz2w","./zh-hk":"ZUyn","./zh-hk.js":"ZUyn","./zh-tw":"BbgG","./zh-tw.js":"BbgG"};function n(e){return a(r(e))}function r(e){var t=s[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}n.keys=function(){return Object.keys(s)},n.resolve=r,e.exports=n,n.id="uslO"},w2Hs:function(e,t,a){(function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},a={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return a[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})(a("PJh5"))},wIgY:function(e,t,a){(function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})})(a("PJh5"))},wPpW:function(e,t,a){(function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(t,n,r,d){var i=a(t),_=s[e][a(t)];return 2===i&&(_=_[n?0:1]),_.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})(a("PJh5"))},wT5f:function(e,t,a){(function(e){"use strict";function t(e,t,a){var s=" ";return(e%100>=20||e>=100&&e%100==0)&&(s=" de "),e+s+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[a]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})})(a("PJh5"))},"xne+":function(e,t,a){(function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function a(e,t,a,s){var n=e;switch(a){case"s":return s||t?"néhány másodperc":"néhány másodperce";case"ss":return n+(s||t)?" másodperc":" másodperce";case"m":return"egy"+(s||t?" perc":" perce");case"mm":return n+(s||t?" perc":" perce");case"h":return"egy"+(s||t?" óra":" órája");case"hh":return n+(s||t?" óra":" órája");case"d":return"egy"+(s||t?" nap":" napja");case"dd":return n+(s||t?" nap":" napja");case"M":return"egy"+(s||t?" hónap":" hónapja");case"MM":return n+(s||t?" hónap":" hónapja");case"y":return"egy"+(s||t?" év":" éve");case"yy":return n+(s||t?" év":" éve")}return""}function s(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return s.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return s.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))},yRTJ:function(e,t,a){(function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(a("PJh5"))},z3hR:function(e,t,a){(function(e){"use strict";function t(e,t,a,s){var n={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?n[a][0]:n[a][1]}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return a(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return a(e)}return a(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return a(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return a(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(a("PJh5"))}}); \ No newline at end of file diff --git a/static/js/1.7bc85965315ad5f725e9.js b/static/js/1.7bc85965315ad5f725e9.js new file mode 100644 index 0000000000000000000000000000000000000000..5086adb58648661db144d9ddc85cd7df3826b71f --- /dev/null +++ b/static/js/1.7bc85965315ad5f725e9.js @@ -0,0 +1 @@ +webpackJsonp([1],{"+ZrS":function(e,t){},"0Kq5":function(e,t){},"8zSp":function(e,t){},LE12:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={name:"SideBar",props:{activeName:{type:String,default:1},collapsed:{type:Boolean}},data:function(){return{iconSize:20,menuList:[{name:"domain",toLink:"/SPDAS/domain",title:"领域结构分析",type:"ios-navigate"},{name:"seriesTime",toLink:"/SPDAS/seriesTime",title:"时序数据分析",type:"ios-cog-outline"},{name:"user",toLink:"/SPDAS/user",title:"用户画像分析",type:"ios-analytics"},{name:"chat",toLink:"/SPDAS/chat",title:"闲聊功能分析",type:"ios-pie-outline"},{name:"responsive",toLink:"/SPDAS/responsive",title:"响应效果分析",type:"ios-paper-outline"}],menuList2:[{name:"domain",toLink:"/SPDAS/domain",type:"ios-navigate"},{name:"seriesTime",toLink:"/SPDAS/seriesTime",type:"ios-cog-outline"},{name:"user",toLink:"/SPDAS/user",type:"ios-analytics"},{name:"chat",toLink:"/SPDAS/chat",type:"ios-pie-outline"},{name:"responsive",toLink:"/SPDAS/responsive",type:"ios-paper-outline"}]}},methods:{goto:function(e){this.$router.push(e)},handleSelect:function(e){this.$emit("on-select",e)}}},s={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"side-con"},[e._t("default"),e._v(" "),e.collapsed?e._e():a("Menu",{attrs:{theme:"dark","active-name":e.activeName},on:{"on-select":e.handleSelect}},e._l(e.menuList,function(t,n){return a("Menu-item",{key:t.index,attrs:{name:t.name,to:t.toLink}},[a("Icon",{attrs:{type:t.type,size:e.iconSize}}),e._v(" "),a("span",{staticClass:"layout-text"},[e._v(e._s(t.title))])],1)}),1),e._v(" "),e.collapsed?a("div",{staticClass:"menu-collapsed"},[a("Menu",{attrs:{theme:"dark","active-name":e.activeName},on:{"on-select":e.handleSelect}},e._l(e.menuList2,function(t){return a("Menu-item",{key:t.index,attrs:{to:t.toLink,name:t.name}},[a("Icon",{attrs:{type:t.type,size:e.iconSize}})],1)}),1)],1):e._e()],2)},staticRenderFns:[]};var o=a("VU/8")(n,s,!1,function(e){a("0Kq5")},"data-v-6390284e",null).exports,i={name:"sider-trigger",props:{collapsed:Boolean,icon:{type:String,default:"navicon-round"},size:{type:Number,default:26}},methods:{handleChange:function(){this.$emit("on-change",!this.collapsed)}}},r={render:function(){var e=this.$createElement,t=this._self._c||e;return t("a",{class:["sider-trigger-a",this.collapsed?"collapsed":""],attrs:{type:"text"},on:{click:this.handleChange}},[t("Icon",{attrs:{type:this.icon,size:this.size}})],1)},staticRenderFns:[]};var l={name:"HeaderBar",components:{SiderTrigger:a("VU/8")(i,r,!1,function(e){a("fz/P")},"data-v-06b3f4fc",null).exports},props:{collapsed:Boolean},methods:{handleCollapsedChange:function(e){this.$emit("on-coll-change",e)}}},c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"header-bar"},[t("sider-trigger",{attrs:{collapsed:this.collapsed,icon:"md-menu"},on:{"on-change":this.handleCollapsedChange}}),this._v(" "),t("div",{staticClass:"custom-content-con"},[this._t("default")],2)],1)},staticRenderFns:[]};var d=a("VU/8")(l,c,!1,function(e){a("+ZrS")},"data-v-cc64f222",null).exports,u={name:"user",props:{userAvator:{type:String,default:""},messageUnreadCount:{type:Number,default:0}},methods:{logout:function(){sessionStorage.removeItem("token"),this.$router.push("/login")},message:function(){this.$router.push("")},handleClick:function(e){switch(e){case"logout":this.logout();break;case"message":this.message()}}}},p={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"user-avator-dropdown"},[t("Dropdown",{attrs:{trigger:"click"},on:{"on-click":this.handleClick}},[t("Badge",{attrs:{dot:!!this.messageUnreadCount}},[t("Avatar",{attrs:{src:this.userAvator}})],1),this._v(" "),t("Icon",{attrs:{size:18,type:"md-arrow-dropdown"}}),this._v(" "),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"logout"}},[this._v("退出登录")])],1)],1)],1)},staticRenderFns:[]};var m=a("VU/8")(u,p,!1,function(e){a("lOuJ")},"data-v-350b767a",null).exports,h=a("r217"),v=a.n(h),g={name:"home-page",components:{SideBar:o,HeaderBar:d,User:m},data:function(){return{collapsed:!1,activeId:"1",maxLogo:"语义数据分析平台",minLogo:"Logo",userImg:""}},computed:{userAvator:function(){return v.a},unreadCount:function(){return 4}},methods:{handleCollapsedChange:function(e){this.collapsed=e},turnToPage:function(){}}},f={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("Layout",{staticClass:"main",staticStyle:{height:"100%"}},[a("Sider",{staticClass:"left-side",style:{overflow:"hidden"},attrs:{"hide-trigger":"",collapsible:"",width:240,"collapsed-width":64},model:{value:e.collapsed,callback:function(t){e.collapsed=t},expression:"collapsed"}},[a("side-bar",{attrs:{collapsed:e.collapsed,"active-name":e.activeId},on:{"on-select":e.turnToPage}},[a("div",{staticClass:"logo-con"},[a("span",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"big-logo"},[e._v(e._s(e.maxLogo))]),e._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:e.collapsed,expression:"collapsed"}],staticClass:"small-logo"},[e._v(e._s(e.minLogo))])])])],1),e._v(" "),a("Layout",[a("Header",{staticClass:"header-con"},[a("header-bar",{attrs:{collapsed:e.collapsed},on:{"on-coll-change":e.handleCollapsedChange}},[a("user",{attrs:{"message-unread-count":e.unreadCount,"user-avator":e.userAvator}},[a("img",{attrs:{src:e.userImg}})])],1)],1),e._v(" "),a("Content",{staticClass:"main-content-con"},[a("keep-alive",[a("router-view")],1)],1),e._v(" "),a("Footer",[a("div",{staticStyle:{"text-align":"center"}},[e._v("2011-2019 © TalkingData")])])],1)],1)},staticRenderFns:[]};var S=a("VU/8")(g,f,!1,function(e){a("8zSp")},"data-v-79fa437f",null);t.default=S.exports},"fz/P":function(e,t){},lOuJ:function(e,t){},r217:function(e,t,a){e.exports=a.p+"static/img/fullstack.e51bafb.jpg"}}); \ No newline at end of file diff --git a/static/js/2.9e073194c7971f80ffb1.js b/static/js/2.9e073194c7971f80ffb1.js new file mode 100644 index 0000000000000000000000000000000000000000..45a96e30f7f74d28b47c8f8e8936c3700097e501 --- /dev/null +++ b/static/js/2.9e073194c7971f80ffb1.js @@ -0,0 +1 @@ +webpackJsonp([2],{"7Otq":function(t,e,r){t.exports=r.p+"static/img/logo.1e6719b.png"},AA1p:function(t,e){},vdVF:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=r("VkeE"),o={data:function(){return{form:{user:"",password:""},rules:{user:[{required:!0,message:"账号不能为空",trigger:"blur"}],password:[{required:!0,message:"密码不能为空",trigger:"blur"}]},loginLoading:!1}},created:function(){},methods:{handleSubmit:function(){var t=this;if(""===this.form.user||""===this.form.password)return console.log("error submit!"),!1;this.loginLoading=!0,this.$api.post(s.g,{user:this.form.user,password:this.form.password}).then(function(e){console.log("res_token",e.data),sessionStorage.setItem("token",e.data),setTimeout(function(){t.$router.push("/SPDAS/domain")},1e3)}).catch(function(e){t.$Message.error("登录失败!"),t.loginLoading=!1})}}},n={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"login pull-height"},[t._m(0),t._v(" "),r("div",{staticClass:"login-con"},[r("h2",[t._v("登录语义数据分析平台")]),t._v(" "),r("div",{staticClass:"form-con"},[r("i-form",{ref:"loginForm",attrs:{autocomplete:"on",model:t.form,rules:t.rules}},[r("FormItem",{attrs:{prop:"user"}},[r("Input",{attrs:{placeholder:"请输入用户名"},model:{value:t.form.user,callback:function(e){t.$set(t.form,"user",e)},expression:"form.user"}},[r("span",{attrs:{slot:"prepend"},slot:"prepend"},[r("Icon",{attrs:{size:16,type:"ios-person"}})],1)])],1),t._v(" "),r("FormItem",{attrs:{prop:"password"}},[r("Input",{attrs:{type:"password",placeholder:"请输入密码"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSubmit(e)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}},[r("span",{attrs:{slot:"prepend"},slot:"prepend"},[r("Icon",{attrs:{size:14,type:"md-lock"}})],1)])],1),t._v(" "),r("FormItem",[r("Button",{attrs:{type:"primary",long:"",loading:t.loginLoading},on:{click:function(e){return t.handleSubmit("form")}}},[t._v("登录")])],1)],1)],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login-info text-white animated fadeInLeft"},[e("div",{staticClass:"logo"},[e("img",{staticStyle:{"vertical-align":"middle"},attrs:{src:r("7Otq"),width:"300px",height:"78px",alt:"logo"}})])])}]};var i=r("VU/8")(o,n,!1,function(t){r("AA1p")},null,null);e.default=i.exports}}); \ No newline at end of file diff --git a/static/js/3.ac8f0baf4212298750c4.js b/static/js/3.ac8f0baf4212298750c4.js new file mode 100644 index 0000000000000000000000000000000000000000..32e7427f037b48765c217c0690df19e83e8a8c12 --- /dev/null +++ b/static/js/3.ac8f0baf4212298750c4.js @@ -0,0 +1 @@ +webpackJsonp([3],{"fKh/":function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("VkeE"),i=s("PJh5"),r=s.n(i),n=s("6d20"),o={name:"responsive",data:function(){return{responsiveForm:{resSelect:"",effectSelect:""},getTime1:[],getTime2:[],secondResForm:{resChartSelect:"",secResSelect:""},ruleResponsiveForm:{resSelect:{required:!0,trigger:"change",message:"请输入类型"},resChartSelect:{required:!0,trigger:"change",message:"请输入图表类型"},effectSelect:{required:!0,trigger:"change",message:"请输入时间区段"},responsiveGetDates:{required:!0,trigger:"change",message:"请输入时间"}},ruleSecResForm:{resChartSelect:{required:!0,trigger:"change",message:"请输入图表类型"},secResSelect:{required:!0,trigger:"change",message:"请输入类型"},secResGetDates:{required:!0,trigger:"change",message:"请输入时间"}},responsiveOptions:{disabledDate:function(e){return eDate.now()}},secResOptions:{disabledDate:function(e){return eDate.now()}},firstResList:[],timeAreaList:[],secResList:[],graphList:[],resImg1:"",resImg2:"",isBtnLoading1:!1,isBtnLoading2:!1,isImgLoading1:!0,isImgLoading2:!0}},mounted:function(){var e=this;this.$api.post(a.h).then(function(t){e.isImgLoading1=!1,console.log("res",t.data),e.firstResList=t.data.data_type,e.timeAreaList=t.data.effect_type;var s=t.data.time.split("/"),a=r()(s[0],"YYYY-MM-DD HH:mm:ss").toDate(),i=r()(s[1],"YYYY-MM-DD HH:mm:ss").toDate();e.getTime1=[a,i],e.responsiveForm.resSelect=t.data.data_type[2].value,e.responsiveForm.effectSelect=t.data.effect_type[0].value,e.resImg1=t.data.image_path}).catch(function(t){console.log(t.data),e.isImgLoading1=!0}),this.$api.post(a.j).then(function(t){e.isImgLoading2=!1,e.secResList=t.data.data_type,e.graphList=t.data.graph_type;var s=t.data.time.split("/"),a=r()(s[0],"YYYY-MM-DD HH:mm:ss").toDate(),i=r()(s[1],"YYYY-MM-DD HH:mm:ss").toDate();e.getTime2=[a,i],console.log("second",t.data),e.secondResForm.secResSelect=t.data.data_type[0].value,e.secondResForm.resChartSelect=t.data.graph_type[0].value,e.resImg2=t.data.image_path}).catch(function(t){console.log(t),e.isImgLoading2=!0})},filters:{kindsChange:function(e){return n.c[e]},responseChange:function(e){return n.d[e]},chartsChange:function(e){return n.a[e]},errChange:function(e){return n.b[e]}},methods:{handleResSubmit_one:function(){var e=this;this.$refs.responsiveForm.validate(function(t){if(t&&!1===e.isBtnLoading1){e.isBtnLoading1=!0,e.isImgLoading1=!0;var s={data_type:e.responsiveForm.resSelect,effect_type:e.responsiveForm.effectSelect,time:r()(e.getTime1[0]).format("YYYY-MM-DD HH:mm:ss")+"/"+r()(e.getTime1[1]).format("YYYY-MM-DD HH:mm:ss")};e.$api.post(a.i,s).then(function(t){console.log("responsive",t.data),e.resImg1=t.data.response_image+"?t="+(new Date).getTime(),200===t.status&&(e.isBtnLoading1=!1,e.isImgLoading1=!1)}).catch(function(t){console.log(t),e.isBtnLoading1=!0,e.isImgLoading1=!0})}})},handleResSubmit_second:function(){var e=this;this.$refs.secondResForm.validate(function(t){if(t&&!1===e.isBtnLoading2){e.isBtnLoading2=!0,e.isImgLoading2=!0;var s={data_type:e.secondResForm.secResSelect,graph_type:e.secondResForm.resChartSelect,time:r()(e.getTime2[0]).format("YYYY-MM-DD HH::mm:ss")+"/"+r()(e.getTime2[1]).format("YYYY-MM-DD HH:mm:ss")};e.$api.post(a.k,s).then(function(t){e.resImg2=t.data.test_image+"?t="+(new Date).getTime(),200===t.status&&(e.isBtnLoading2=!1,e.isImgLoading2=!1)}).catch(function(t){console.log(t),e.isBtnLoading2=!0,e.isImgLoading2=!0})}})}}},c={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("Row",{attrs:{gutter:20}},[s("i-col",{attrs:{span:"24",xs:24,lg:24}},[s("Card",{attrs:{shadow:""}},[s("i-form",{ref:"responsiveForm",attrs:{inline:"",model:e.responsiveForm,rules:e.ruleResponsiveForm}},[s("Form-item",{attrs:{prop:"data_type"}},[s("i-select",{staticStyle:{width:"100px"},attrs:{placeholder:"请选择类型",clearable:""},model:{value:e.responsiveForm.resSelect,callback:function(t){e.$set(e.responsiveForm,"resSelect",t)},expression:"responsiveForm.resSelect"}},e._l(e.firstResList,function(t){return s("i-option",{key:t.index,attrs:{value:t.value}},[e._v(e._s(e._f("kindsChange")(t.value)))])}),1)],1),e._v(" "),s("Form-item",{attrs:{prop:"effect_type"}},[s("i-select",{staticStyle:{width:"120px"},attrs:{placeholder:"请选择时间区",clearable:""},model:{value:e.responsiveForm.effectSelect,callback:function(t){e.$set(e.responsiveForm,"effectSelect",t)},expression:"responsiveForm.effectSelect"}},e._l(e.timeAreaList,function(t){return s("i-option",{key:t.index,attrs:{value:t.value}},[e._v(e._s(e._f("responseChange")(t.value)))])}),1)],1),e._v(" "),s("Form-item",{attrs:{prop:"time"}},[s("Date-picker",{staticStyle:{width:"300px"},attrs:{confirm:"",options:e.responsiveOptions,type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择开始时间和结束时间"},model:{value:e.getTime1,callback:function(t){e.getTime1=t},expression:"getTime1"}})],1),e._v(" "),s("Form-item",[s("i-button",{attrs:{loading:e.isBtnLoading1,type:"primary"},on:{click:e.handleResSubmit_one}},[e._v("确定")])],1)],1),e._v(" "),s("div",{staticClass:"img-div"},[s("viewer",[s("img",{attrs:{src:e.resImg1}})]),e._v(" "),e.isImgLoading1?s("Spin",{attrs:{fix:""}},[e._v("加载中...")]):e._e()],1)],1)],1)],1),e._v(" "),s("Row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:20}},[s("i-col",[s("Card",{attrs:{shadow:""}},[s("i-form",{ref:"secondResForm",attrs:{inline:"",model:e.secondResForm,rules:e.ruleSecResForm}},[s("Form-item",{attrs:{prop:"graph_type"}},[s("i-select",{staticStyle:{width:"100px"},attrs:{placeholder:"请选择图表类型",clearable:""},model:{value:e.secondResForm.resChartSelect,callback:function(t){e.$set(e.secondResForm,"resChartSelect",t)},expression:"secondResForm.resChartSelect"}},e._l(e.graphList,function(t){return s("i-option",{key:t.index,attrs:{value:t.value}},[e._v(e._s(e._f("chartsChange")(t.value)))])}),1)],1),e._v(" "),s("Form-item",{attrs:{prop:"data_type"}},[s("i-select",{staticStyle:{width:"120px"},attrs:{placeholder:"请选择类型",clearable:""},model:{value:e.secondResForm.secResSelect,callback:function(t){e.$set(e.secondResForm,"secResSelect",t)},expression:"secondResForm.secResSelect"}},e._l(e.secResList,function(t){return s("i-option",{key:t.index,attrs:{value:t.value}},[e._v(e._s(e._f("errChange")(t.value)))])}),1)],1),e._v(" "),s("Form-item",{attrs:{prop:"time"}},[s("Date-picker",{staticStyle:{width:"300px"},attrs:{confirm:"",options:e.secResOptions,type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择开始时间和结束时间"},model:{value:e.getTime2,callback:function(t){e.getTime2=t},expression:"getTime2"}})],1),e._v(" "),s("Form-item",[s("i-button",{attrs:{loading:e.isBtnLoading2,type:"primary"},on:{click:e.handleResSubmit_second}},[e._v("二次测试按钮")])],1)],1),e._v(" "),s("div",{staticClass:"img-div"},[s("viewer",[s("img",{attrs:{src:e.resImg2}})]),e._v(" "),e.isImgLoading2?s("Spin",{attrs:{fix:""}},[e._v("加载中...")]):e._e()],1)],1)],1)],1)],1)},staticRenderFns:[]};var m=s("VU/8")(o,c,!1,function(e){s("h0gS")},"data-v-9305f30e",null);t.default=m.exports},h0gS:function(e,t){}}); \ No newline at end of file diff --git a/static/js/4.0b2eb810526861297b2f.js b/static/js/4.0b2eb810526861297b2f.js new file mode 100644 index 0000000000000000000000000000000000000000..9248bac3c14595b48f29c1a338fb313a16548d27 --- /dev/null +++ b/static/js/4.0b2eb810526861297b2f.js @@ -0,0 +1 @@ +webpackJsonp([4],{M2d4:function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=a("PJh5"),s=a.n(e),n=a("VkeE"),m={name:"chat",data:function(){return{chatTimeForm:{},getInitTime:[],chatSelectForm:{chatSlider:""},ruleChatTimeForm:{chatGetDates:{required:!0,type:"date",trigger:"change",message:"请选择日期和时间"}},ruleChatSelectForm:{chatSlider:{required:!0,trigger:"change",message:"请滑动选择数量"}},chatTimeFormOptions:{disabledDate:function(t){return tDate.now()}},maxNum:20,minNum:1,defaultVal:1,isDisabled:!0,isSliderDisabled:!0,image1:"",image2:"",image3:"",isBtnLoading1:!1,isBtnLoading2:!1,isImgLoading:!0,isImgLoading2:!0,isImgLoading3:!0}},mounted:function(){var t=this;this.$api.post(n.c).then(function(i){var a=i.data.time.split("/"),e=s()(a[0],"YYYY-MM-DD HH:mm:ss").toDate(),n=s()(a[1],"YYYY-MM-DD HH:mm:ss").toDate();t.getInitTime=[e,n],t.image1=i.data.image_path,t.isImgLoading=!1}).catch(function(i){t.isImgLoading=!0}),this.$api.post(n.a).then(function(i){t.chatSelectForm.chatSlider=i.data.best_num,t.image2=i.data.image1_path,t.image3=i.data.image2_path,t.isImgLoading2=!1,t.isImgLoading3=!1}).catch(function(i){t.isImgLoading2=!0,t.isImgLoading3=!0})},methods:{chatTimeSubmit:function(){var t=this;if(!1===this.isBtnLoading1){this.isImgLoading=!0,this.isBtnLoading1=!0;var i={time:s()(this.getInitTime[0]).format("YYYY-MM-DD HH:mm:ss")+"/"+s()(this.getInitTime[1]).format("YYYY-MM-DD HH:mm:ss")};this.$api.post(n.d,i).then(function(i){console.log("chat",i.data),t.image1=i.data.num_image+"?t="+(new Date).getTime(),200===i.status&&(t.isDisabled=!1,t.isSliderDisabled=!1,t.isBtnLoading1=!1,t.isImgLoading=!1)}).catch(function(i){t.isDisabled=!0,t.isSliderDisabled=!0,t.isBtnLoading1=!1})}},sliderMove:function(){var t=this;if(!1===this.isDisabled&&!1===this.isBtnLoading2){this.isBtnLoading2=!0,this.isImgLoading2=!0,this.isImgLoading3=!0;var i={best_num:this.defaultVal.toString(),time:s()(this.getInitTime[0]).format("YYYY-MM-DD HH:mm:ss")+"/"+s()(this.getInitTime[1]).format("YYYY-MM-DD HH:mm:ss")};this.$api.post(n.b,i).then(function(i){t.image2=i.data.cluster_point+"?t="+(new Date).getTime(),t.image3=i.data.ward_image+"?t="+(new Date).getTime(),200===i.status&&(t.isBtnLoading2=!1,t.isImgLoading2=!1,t.isImgLoading3=!1)}).catch(function(i){t.isBtnLoading2=!1,500===i.status&&t.$Message.error("请求失败!"),t.$Message.error("请求失败!")})}else this.$Message.error("按钮不可用")}}},o={render:function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",[a("Row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:20}},[a("i-col",{attrs:{span:"24",md:24,lg:24}},[a("Card",{attrs:{shadow:""}},[a("i-form",{ref:"chatTimeForm",attrs:{inline:"",model:t.chatTimeForm,rules:t.ruleChatTimeForm}},[a("Form-item",{attrs:{prop:"time"}},[a("Date-picker",{staticStyle:{width:"300px"},attrs:{confirm:"",options:t.chatTimeFormOptions,type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择开始时间和结束时间"},model:{value:t.getInitTime,callback:function(i){t.getInitTime=i},expression:"getInitTime"}})],1),t._v(" "),a("Form-item",[a("i-button",{attrs:{type:"primary",loading:t.isBtnLoading1},on:{click:t.chatTimeSubmit}},[t._v("确定")])],1)],1),t._v(" "),a("div",{staticClass:"img-div loading"},[a("viewer",[a("img",{attrs:{src:t.image1,width:"300"}})]),t._v(" "),t.isImgLoading?a("Spin",{attrs:{fix:""}},[t._v("加载中...")]):t._e()],1)],1)],1)],1),t._v(" "),a("Row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:20}},[a("i-col",{attrs:{span:"24",md:24,lg:24}},[a("Card",{attrs:{shadow:""}},[a("i-form",{ref:"chatSelectForm",attrs:{inline:"",rules:t.ruleChatSelectForm}},[a("Form-item",{attrs:{prop:"best_num"}},[a("Slider",{staticStyle:{width:"300px"},attrs:{"show-stops":"",disabled:t.isSliderDisabled,max:t.maxNum,min:t.minNum},model:{value:t.defaultVal,callback:function(i){t.defaultVal=i},expression:"defaultVal"}})],1),t._v(" "),a("Form-item",[a("i-button",{attrs:{type:"primary",disabled:t.isDisabled,loading:t.isBtnLoading2},on:{click:t.sliderMove},model:{value:t.defaultVal,callback:function(i){t.defaultVal=i},expression:"defaultVal"}},[t._v("确定")])],1)],1),t._v(" "),a("div",{staticClass:"con-img"},[a("div",{staticClass:"loading"},[a("viewer",[a("img",{attrs:{src:t.image2}})]),t._v(" "),t.isImgLoading2?a("Spin",{attrs:{fix:""}},[t._v("加载中...")]):t._e()],1),t._v(" "),a("div",{staticClass:"loading"},[a("viewer",[a("img",{attrs:{src:t.image3}})]),t._v(" "),t.isImgLoading3?a("Spin",{attrs:{fix:""}},[t._v("加载中...")]):t._e()],1)])],1)],1)],1)],1)},staticRenderFns:[]};var r=a("VU/8")(m,o,!1,function(t){a("m7eG")},"data-v-6c138d9a",null);i.default=r.exports},m7eG:function(t,i){}}); \ No newline at end of file diff --git a/static/js/5.49d9f21e16f136fa71c7.js b/static/js/5.49d9f21e16f136fa71c7.js new file mode 100644 index 0000000000000000000000000000000000000000..13205de4afc534c26debbaf101f03fbff26c7191 --- /dev/null +++ b/static/js/5.49d9f21e16f136fa71c7.js @@ -0,0 +1 @@ +webpackJsonp([5],{"6NKR":function(e,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r=t("PJh5"),i=t.n(r),a=t("VkeE"),o=t("6d20"),n={name:"seriesTime",data:function(){return{seriesForm:{seriesSelectModel:"",charSelectModel:"",seriesGetYear_start:"",seriesGetYear_end:"",seriesGetMonth_start:"",seriesGetMonth_end:""},seriesGetDay:[],seriesGetHour_start:"",seriesGetHour_end:"",read:!0,ruleSeriesForm:{seriesSelectModel:[{required:!0,trigger:"change",message:"请选择类型"}],charSelectModel:[{required:!0,trigger:"change",message:"请选择图表类型"}],seriesGetYear_start:[{required:!0,type:"date",trigger:"change",message:"请输入开始年份"}],seriesGetYear_end:[{required:!0,type:"date",trigger:"change",message:"请输入结束年份"}],seriesGetMonth_start:[{required:!0,type:"date",trigger:"change",message:"请输入开始月份"}],seriesGetMonth_end:[{required:!0,type:"date",trigger:"change",message:"请输入结束月份"}]},timeList:[],charList:[],seriesImg:"",seriesIndex:4,yearOptions:{disabledDate:function(e){var s=(new Date).getFullYear();return e=s+1}},monthOptions:{disabledDate:function(e){return eDate.now()}},dayOptions:{disabledDate:function(e){return eDate.now()}},hourOptions:{disabledDate:function(e){return eDate.now()}},dataPram:{},isBtnLoading:!1,isImgLoading:!0}},mounted:function(){var e=this;this.$api.post(a.l).then(function(s){e.timeList=s.data.time_type,e.charList=s.data.graph_type,e.seriesImg=s.data.image_path,e.seriesForm.charSelectModel=s.data.graph_type[0].value,e.seriesForm.seriesSelectModel=s.data.time_type[0].value;var t=s.data.time.split("/"),r=i()(t[0],"YYYY-MM-DD HH:mm").toDate(),a=i()(t[1],"YYYY-MM-DD HH:mm").toDate();e.seriesGetHour_start=r,e.seriesGetHour_end=a,e.isImgLoading=!1}).catch(function(s){e.isImgLoading=!0})},filters:{chartChange:function(e){return o.a[e]},timesChange:function(e){return o.e[e]}},methods:{sHourChange:function(e){this.seriesGetHour_start=e,this.seriesGetHour_end=i()(e,"YYYY-MM-DD HH:mm:ss").add(1,"days").toDate(),console.log("sHourChange:",this.seriesGetHour_end)},changeUserSelect:function(){return"year"===this.seriesForm.seriesSelectModel?this.seriesIndex=1:"month"===this.seriesForm.seriesSelectModel?this.seriesIndex=2:"day"===this.seriesForm.seriesSelectModel?this.seriesIndex=3:"hour"===this.seriesForm.seriesSelectModel?this.seriesIndex=4:void 0},returnData:function(){var e=i()(this.seriesForm.seriesGetYear_start).format("YYYY"),s=i()(this.seriesForm.seriesGetYear_end).format("YYYY"),t=i()(this.seriesForm.seriesGetMonth_start).format("YYYY-MM"),r=i()(this.seriesForm.seriesGetMonth_end).format("YYYY-MM");return"year"===this.seriesForm.seriesSelectModel&&s>=e?{time_type:this.seriesForm.seriesSelectModel,time:e+"/"+s,graph_type:this.seriesForm.charSelectModel}:"month"===this.seriesForm.seriesSelectModel&&s>=e?{time_type:this.seriesForm.seriesSelectModel,time:t+"/"+r,graph_type:this.seriesForm.charSelectModel}:"day"===this.seriesForm.seriesSelectModel?{time_type:this.seriesForm.seriesSelectModel,time:i()(this.seriesGetDay[0]).format("YYYY-MM-DD")+"/"+i()(this.seriesGetDay[1]).format("YYYY-MM-DD"),graph_type:this.seriesForm.charSelectModel}:"hour"===this.seriesForm.seriesSelectModel?{time_type:this.seriesForm.seriesSelectModel,time:i()(this.seriesGetHour_start).format("YYYY-MM-DD HH:mm:ss")+"/"+i()(this.seriesGetHour_end).format("YYYY-MM-DD HH:mm:ss"),graph_type:this.seriesForm.charSelectModel}:void 0},handleSeriesSubmit:function(){var e=this;this.$refs.seriesForm.validate(function(s){s&&!1===e.isBtnLoading&&(e.isBtnLoading=!0,e.isImgLoading=!0,e.$api.post(a.m,e.returnData()).then(function(s){e.seriesImg=s.data.time_image+"?t="+(new Date).getTime(),200===s.status&&(e.isBtnLoading=!1,e.isImgLoading=!1)}).catch(function(s){e.isBtnLoading=!0,e.isImgLoading=!0}))})}}},d={render:function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",[t("Row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:20}},[t("i-col",{attrs:{span:"24",md:24,lg:24}},[t("Card",{attrs:{shadow:""}},[t("i-form",{ref:"seriesForm",attrs:{inline:"",model:e.seriesForm,rules:e.ruleSeriesForm}},[t("Form-item",{attrs:{prop:"time_type"}},[t("i-select",{staticStyle:{width:"100px"},attrs:{clearable:""},on:{"on-change":e.changeUserSelect},model:{value:e.seriesForm.seriesSelectModel,callback:function(s){e.$set(e.seriesForm,"seriesSelectModel",s)},expression:"seriesForm.seriesSelectModel"}},e._l(e.timeList,function(s){return t("i-option",{key:s.index,attrs:{value:s.value}},[e._v(e._s(e._f("timesChange")(s.value)))])}),1)],1),e._v(" "),t("Form-item",{attrs:{prop:"time"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:1===e.seriesIndex,expression:"seriesIndex === 1"}]},[t("Date-picker",{staticStyle:{width:"130px"},attrs:{options:e.yearOptions,type:"year",placeholder:"请选择开始年份"},model:{value:e.seriesForm.seriesGetYear_start,callback:function(s){e.$set(e.seriesForm,"seriesGetYear_start",s)},expression:"seriesForm.seriesGetYear_start"}}),e._v(" "),t("span",[e._v("-")]),e._v(" "),t("Date-picker",{staticStyle:{width:"130px"},attrs:{options:e.yearOptions,type:"year",placeholder:"请选择结束年份"},model:{value:e.seriesForm.seriesGetYear_end,callback:function(s){e.$set(e.seriesForm,"seriesGetYear_end",s)},expression:"seriesForm.seriesGetYear_end"}})],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:2===e.seriesIndex,expression:"seriesIndex === 2"}]},[t("Date-picker",{staticStyle:{width:"130px"},attrs:{options:e.monthOptions,type:"month",placeholder:"请选择开始月份"},model:{value:e.seriesForm.seriesGetMonth_start,callback:function(s){e.$set(e.seriesForm,"seriesGetMonth_start",s)},expression:"seriesForm.seriesGetMonth_start"}}),e._v(" -\n "),t("Date-picker",{staticStyle:{width:"130px"},attrs:{options:e.monthOptions,type:"month",placeholder:"请选择结束月份"},model:{value:e.seriesForm.seriesGetMonth_end,callback:function(s){e.$set(e.seriesForm,"seriesGetMonth_end",s)},expression:"seriesForm.seriesGetMonth_end"}})],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:3===e.seriesIndex,expression:"seriesIndex === 3"}]},[t("Date-picker",{staticStyle:{width:"300px"},attrs:{options:e.dayOptions,confirm:"",type:"daterange",format:"yyyy-MM-dd",placeholder:"请选择日期"},model:{value:e.seriesGetDay,callback:function(s){e.seriesGetDay=s},expression:"seriesGetDay"}})],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:4===e.seriesIndex,expression:"seriesIndex === 4"}]},[t("Date-picker",{attrs:{options:e.hourOptions,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择开始时间"},on:{"on-change":e.sHourChange},model:{value:e.seriesGetHour_start,callback:function(s){e.seriesGetHour_start=s},expression:"seriesGetHour_start"}}),e._v(" "),t("span",[e._v("-")]),e._v(" "),t("Date-picker",{attrs:{options:e.hourOptions,readonly:e.read,type:"datetime",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择结束时间"},model:{value:e.seriesGetHour_end,callback:function(s){e.seriesGetHour_end=s},expression:"seriesGetHour_end"}})],1)]),e._v(" "),t("Form-item",[t("i-button",{attrs:{loading:e.isBtnLoading,type:"primary"},on:{click:function(s){return e.handleSeriesSubmit("seriesForm")}}},[e._v("确定")])],1)],1),e._v(" "),t("div",{staticClass:"img-div"},[t("viewer",[t("img",{attrs:{src:e.seriesImg}})]),e._v(" "),e.isImgLoading?t("Spin",{attrs:{fix:""}},[e._v("加载中...")]):e._e()],1)],1)],1)],1)],1)},staticRenderFns:[]};var m=t("VU/8")(n,d,!1,function(e){t("IHwx")},"data-v-3408eb7d",null);s.default=m.exports},IHwx:function(e,s){}}); \ No newline at end of file diff --git a/static/js/6.2eabc7342bc8bb97de0c.js b/static/js/6.2eabc7342bc8bb97de0c.js new file mode 100644 index 0000000000000000000000000000000000000000..c20d98a398f9a5ab46c9652073052666cfbb83b3 --- /dev/null +++ b/static/js/6.2eabc7342bc8bb97de0c.js @@ -0,0 +1 @@ +webpackJsonp([6],{SwKW:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("PJh5"),n=a.n(i),o=a("VkeE"),m=a("6d20"),d={name:"domain",data:function(){return{domainForm:{domainSelect:"",domainChartSelect:""},domainGetInitTime:[],ruleDomainForm:{domainSelected:[{required:!0,trigger:"change",message:"请选择类型"}],domainChartSelected:[{required:!0,trigger:"change",message:"请选择图表类型"}],domainGetDates:[{required:!0,type:"date",trigger:"change",message:"请选择日期和时间"}]},selectTime:"",getDatesOptions:{disabledDate:function(t){return tDate.now()}},data_type:[],graph_type:[],chartList:[],loading1:!1,loading2:!1,domainImage:"",isBtnLoading:!1,isImgLoading:!0}},mounted:function(){var t=this;this.$api.post(o.e).then(function(e){t.domainImage=e.data.image,t.data_type=e.data.data_type,t.graph_type=e.data.graph_type,t.domainImage=e.data.image_path,t.domainForm.domainSelect=e.data.data_type[2].value,t.domainForm.domainChartSelect=e.data.graph_type[0].value;var a=e.data.time.split("/"),i=n()(a[0],"YYYY-MM-DD HH:mm:ss").toDate(),o=n()(a[1],"YYYY-MM-DD HH:mm:ss").toDate();t.domainGetInitTime=[i,o],t.isImgLoading=!1}).catch(function(e){t.isImgLoading=!0})},filters:{kindsChange:function(t){return m.c[t]},chartChange:function(t){return m.a[t]}},methods:{handleSubmit:function(){var t=this;this.$refs.domainForm.validate(function(e){if(e){if(!1===t.isBtnLoading){t.isBtnLoading=!0,t.isImgLoading=!0;var a={time:n()(t.domainGetInitTime[0]).format("YYYY-MM-DD HH:mm:ss")+"/"+n()(t.domainGetInitTime[1]).format("YYYY-MM-DD HH:mm:ss"),data_type:t.domainForm.domainSelect,graph_type:t.domainForm.domainChartSelect};t.$api.post(o.f,a).then(function(e){console.log("domain",e.data),t.domainImage=e.data.domain_image+"?t="+(new Date).getTime(),200===e.status&&(t.isBtnLoading=!1,t.isImgLoading=!1)}).catch(function(e){console.log(e),t.isBtnLoading=!1,t.isImgLoading=!0})}t.$Message.success("Success")}else t.$Message.error("failed")})},imgBig:function(){console.log("1111"),console.log("imgWidth:",document.getElementsByTagName("img")[0].width);var t=document.getElementsByTagName("img")[0],e=t.length;console.log("imgLen:",e);for(var a=0;aDate.now()}},userList:[],userImg:"",isBtnLoading:!1,isImgLoading:!0}},mounted:function(){var e=this;this.$api.post(s.n).then(function(t){e.isImgLoading=!1,console.log("user 1:",t.data),e.userList=t.data.data_type,e.userImg=t.data.image_path,e.userForm.userSelectModel=t.data.data_type[3].value;var a=t.data.time.split("/"),s=a[0],r=a[1];e.userGetInitTime=[new Date(s),new Date(r)]}).catch(function(t){e.isImgLoading=!0})},filters:{changeWord:function(e){return r.c[e]}},methods:{handleUserSubmit:function(){var e=this;this.$refs.userForm.validate(function(t){if(t&&!1===e.isBtnLoading){e.isBtnLoading=!0,e.isImgLoading=!0;var a={data_type:e.userForm.userSelectModel,time:n()(e.userGetInitTime[0]).format("YYYY-MM-DD HH:mm:ss")+"/"+n()(e.userGetInitTime[1]).format("YYYY-MM-DD HH:mm:ss")};e.$api.post(s.o,a).then(function(t){console.log("user",t.data),e.userImg=t.data.user_image+"?t= "+(new Date).getTime(),200===t.status&&(e.isBtnLoading=!1,e.isImgLoading=!1)}).catch(function(t){e.isBtnLoading=!0,e.isImgLoading=!0})}})},handleDatesChange:function(e){this.userGetInitTime=e,console.log(e)}}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:20}},[a("i-col",{attrs:{span:"24",md:24,lg:24}},[a("Card",{attrs:{shadow:""}},[a("i-form",{ref:"userForm",attrs:{inline:"",model:e.userForm,rules:e.ruleUserForm}},[a("Form-item",{attrs:{prop:"data_type"}},[a("i-select",{staticStyle:{width:"100px"},attrs:{clearable:""},model:{value:e.userForm.userSelectModel,callback:function(t){e.$set(e.userForm,"userSelectModel",t)},expression:"userForm.userSelectModel"}},e._l(e.userList,function(t){return a("i-option",{key:t.index,attrs:{value:t.value}},[e._v(e._s(e._f("changeWord")(t.value)))])}),1)],1),e._v(" "),a("Form-item",{attrs:{prop:"time"}},[a("Date-picker",{staticStyle:{width:"300px"},attrs:{value:e.userGetInitTime,options:e.userOptions,confirm:"",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",placeholder:"请选择开始时间和结束时间"},on:{"on-change":e.handleDatesChange}})],1),e._v(" "),a("Form-item",[a("i-button",{attrs:{loading:e.isBtnLoading,type:"primary"},on:{click:e.handleUserSubmit}},[e._v("确定")])],1)],1),e._v(" "),a("div",{staticClass:"img-div"},[a("viewer",[a("img",{attrs:{src:e.userImg}})]),e._v(" "),e.isImgLoading?a("Spin",{attrs:{fix:""}},[e._v("加载中...")]):e._e()],1)],1)],1)],1)],1)},staticRenderFns:[]};var d=a("VU/8")(o,u,!1,function(e){a("GIxB")},"data-v-0ad18c31",null);t.default=d.exports}}); \ No newline at end of file diff --git a/static/js/app.d34b7f33f5584be04934.js b/static/js/app.d34b7f33f5584be04934.js new file mode 100644 index 0000000000000000000000000000000000000000..d81e00f46f51737af923d24109a429ed1e11f5b0 --- /dev/null +++ b/static/js/app.d34b7f33f5584be04934.js @@ -0,0 +1 @@ +webpackJsonp([9],{"+skl":function(e,n){},B774:function(e,n){},N1kN:function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("7+uW"),a={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var o=t("VU/8")({name:"App"},a,!1,function(e){t("B774")},null,null).exports,s=t("/ocq");r.default.use(s.a);var u=new s.a({routes:[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:function(){return t.e(2).then(t.bind(null,"vdVF"))}},{path:"/SPDAS",name:"homePage",component:function(){return t.e(1).then(t.bind(null,"LE12"))},redirect:"/SPDAS/domain",meta:{requireAuth:!0},children:[{path:"/SPDAS/domain",name:"domain",component:function(){return Promise.all([t.e(0),t.e(6)]).then(t.bind(null,"SwKW"))},meta:{requireAuth:!0}},{path:"/SPDAS/seriesTime",name:"seriesTime",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"6NKR"))},meta:{requireAuth:!0}},{path:"/SPDAS/user",name:"user",component:function(){return Promise.all([t.e(0),t.e(7)]).then(t.bind(null,"ZeSV"))},meta:{requireAuth:!0}},{path:"/SPDAS/chat",name:"chat",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"M2d4"))},meta:{requireAuth:!0}},{path:"/SPDAS/responsive",name:"responsive",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"fKh/"))},meta:{requireAuth:!0}}]}]});u.beforeEach(function(e,n,t){var r=sessionStorage.getItem("token");console.log("token:",r),e.meta.requireAuth?(console.log(123),r?t():t({path:"/login"})):t()});var i=u,c=(t("j1ja"),t("//Fk")),l=t.n(c),p=t("mtWM"),d=t.n(p),f=t("VkeE"),m=this,h="http://120.79.171.145:5000/SPDAS",_=d.a.create();_.defaults.baseURL=h,_.defaults.timeout=6e5,_.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",_.defaults.headers.post["X-Request-With"]="XMLHttpRequest",_.defaults.headers.post.login_token="",_.interceptors.request.use(function(e){var n="";try{n=JSON.parse(localStorage.getItem(f.p))}catch(e){localStorage.removeItem(f.p),console.log(e)}return n&&(e.headers.login_token=n),e},function(e){return m.$Message.error("网络错误,请稍后再试"),l.a.reject(e)}),_.interceptors.response.use(function(e){return e.data&&200!==e.status?(m.$Message.error("登录信息过期,请重新登录!"),i.replace({name:"login"}),l.a.reject(e)):l.a.resolve(e)},function(e){if(e.response)switch(e.response.status){case 401:localStorage.removeItem(f.p),m.$Message.error("请重新授权登录"),i.replace({name:"login"});break;case 404:m.$Message.error("请求页面不存在");break;case 500:m.$Message.error("服务器错误,请稍后再试")}else m.$Message.error("请求超时,请稍后重试");return l.a.reject(e)});var g=_,S=t("BTaQ"),A=t.n(S),v=(t("+skl"),t("EAZf")),y=t.n(v);t("N1kN");r.default.use(A.a),r.default.config.productionTip=!1,r.default.prototype.$api=g,r.default.use(y.a,{defaultOptions:{zIndex:9999}}),new r.default({el:"#app",router:i,components:{App:o},template:""})},VkeE:function(e,n,t){"use strict";t.d(n,"p",function(){return r}),t.d(n,"g",function(){return a}),t.d(n,"e",function(){return o}),t.d(n,"f",function(){return s}),t.d(n,"l",function(){return u}),t.d(n,"m",function(){return i}),t.d(n,"n",function(){return c}),t.d(n,"o",function(){return l}),t.d(n,"c",function(){return p}),t.d(n,"d",function(){return d}),t.d(n,"a",function(){return f}),t.d(n,"b",function(){return m}),t.d(n,"h",function(){return h}),t.d(n,"i",function(){return _}),t.d(n,"j",function(){return g}),t.d(n,"k",function(){return S});var r="",a="/login",o="/domain_structure_analysis1",s="/domain_structure_analysis2",u="/time_series_analysis1",i="/time_series_analysis2",c="/user_portrait_analysis1",l="/user_portrait_analysis2",p="/chat_function_analysis/choice1",d="/chat_function_analysis/choice2",f="/chat_function_analysis/chat1",m="/chat_function_analysis/chat2",h="/response_analysis1",_="/response_analysis2",g="/second_test1",S="/second_test2"}},["NHnr"]); \ No newline at end of file diff --git a/static/js/manifest.ffddd6eb6c14b28fe19d.js b/static/js/manifest.ffddd6eb6c14b28fe19d.js new file mode 100644 index 0000000000000000000000000000000000000000..b5bb67fece3e4236f8febca0f20b50a913e86fd0 --- /dev/null +++ b/static/js/manifest.ffddd6eb6c14b28fe19d.js @@ -0,0 +1 @@ +!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,s=0,l=[];s-1}function o(t,e){for(var n in e)t[n]=e[n];return t}var a={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,r=e.parent,a=e.data;a.routerView=!0;for(var s=r.$createElement,u=n.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),f=0,d=!1;r&&r._routerRoot!==r;)r.$vnode&&r.$vnode.data.routerView&&f++,r._inactive&&(d=!0),r=r.$parent;if(a.routerViewDepth=f,d)return s(c[u],a,i);var h=l.matched[f];if(!h)return c[u]=null,s();var p=c[u]=h.components[u];a.registerRouteInstance=function(t,e){var n=h.instances[u];(e&&n!==t||!e&&n===t)&&(h.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){h.instances[u]=e.componentInstance};var v=a.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(l,h.props&&h.props[u]);if(v){v=a.props=o({},v);var m=a.attrs=a.attrs||{};for(var g in v)p.props&&g in p.props||(m[g]=v[g],delete v[g])}return s(p,a,i)}};var s=/[!'()*]/g,u=function(t){return"%"+t.charCodeAt(0).toString(16)},l=/%2C/g,c=function(t){return encodeURIComponent(t).replace(s,u).replace(l,",")},f=decodeURIComponent;function d(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=f(n.shift()),r=n.length>0?f(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e}function h(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return c(e);if(Array.isArray(n)){var i=[];return n.forEach(function(t){void 0!==t&&(null===t?i.push(c(e)):i.push(c(e)+"="+c(t)))}),i.join("&")}return c(e)+"="+c(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function v(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=m(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:y(e,r),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=y(n,r)),Object.freeze(a)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=m(t[n]);return e}return t}var g=v(null,{path:"/"});function y(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;return void 0===r&&(r=""),(n||"/")+(e||h)(i)+r}function b(t,e){return e===g?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&t.hash===e.hash&&_(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params)))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){var i=t[n],r=e[n];return"object"==typeof i&&"object"==typeof r?_(i,r):String(i)===String(r)})}var w,x=[String,Object],S=[String,Array],C={name:"RouterLink",props:{to:{type:x,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:S,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),a=r.location,s=r.route,u=r.href,l={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,h=null==f?"router-link-exact-active":f,m=null==this.activeClass?d:this.activeClass,g=null==this.exactActiveClass?h:this.exactActiveClass,y=a.path?v(null,a,null,n):s;l[g]=b(i,y),l[m]=this.exact?l[g]:function(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,y);var _=function(t){k(t)&&(e.replace?n.replace(a):n.push(a))},w={click:k};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=_}):w[this.event]=_;var x={class:l};if("a"===this.tag)x.on=w,x.attrs={href:u};else{var S=function t(e){if(e)for(var n,i=0;i=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(r.path||""),l=e&&e.path||"/",c=u.path?M(u.path,l,n||r.append):l,f=function(t,e,n){void 0===e&&(e={});var i,r=n||d;try{i=r(t||"")}catch(t){i={}}for(var o in e)i[o]=e[o];return i}(u.query,r.query,i&&i.options.parseQuery),h=r.hash||u.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:f,hash:h}}function X(t,e){var n=G(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(t,n,a){var s=Y(t,n,!1,e),l=s.name;if(l){var c=o[l];if(!c)return u(null,s);var f=c.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in s.params)&&f.indexOf(d)>-1&&(s.params[d]=n.params[d]);if(c)return s.path=K(c.path,s.params),u(c,s,a)}else if(s.path){s.params={};for(var h=0;h=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}function vt(t){return function(e,n,i){var o=!1,a=0,s=null;mt(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,a++;var l,c=bt(function(e){var r;((r=e).__esModule||yt&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:w.extend(e),n.components[u]=e,--a<=0&&i()}),f=bt(function(t){var e="Failed to resolve async component "+u+": "+t;s||(s=r(t)?t:new Error(e),i(s))});try{l=t(c,f)}catch(t){f(t)}if(l)if("function"==typeof l.then)l.then(c,f);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,f)}}}),o||i()}}function mt(t,e){return gt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function gt(t){return Array.prototype.concat.apply([],t)}var yt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function bt(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var _t=function(t,e){this.router=t,this.base=function(t){if(!t)if(P){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function wt(t,e,n,i){var r=mt(t,function(t,i,r,o){var a=function(t,e){"function"!=typeof t&&(t=w.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,o)}):n(a,i,r,o)});return gt(i?r.reverse():r)}function xt(t,e){if(e)return function(){return t.apply(e,arguments)}}_t.prototype.listen=function(t){this.cb=t},_t.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},_t.prototype.onError=function(t){this.errorCbs.push(t)},_t.prototype.transitionTo=function(t,e,n){var i=this,r=this.router.match(t,this.current);this.confirmTransition(r,function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(t){t(r)}))},function(t){n&&n(t),t&&!i.ready&&(i.ready=!0,i.readyErrorCbs.forEach(function(e){e(t)}))})},_t.prototype.confirmTransition=function(t,e,n){var o=this,a=this.current,s=function(t){r(t)&&(o.errorCbs.length?o.errorCbs.forEach(function(e){e(t)}):(i(),console.error(t))),n&&n(t)};if(b(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var u=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function Tt(t){st?dt(Mt(t)):window.location.hash=t}function Dt(t){st?ht(Mt(t)):window.location.replace(Mt(t))}var Et=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){e.index=n,e.updateRoute(i)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(_t),jt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=X(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!st&&!1!==t.fallback,this.fallback&&(e="hash"),P||(e="abstract"),this.mode=e,e){case"history":this.history=new St(this,t.base);break;case"hash":this.history=new kt(this,t.base,this.fallback);break;case"abstract":this.history=new Et(this,t.base);break;default:0}},It={currentRoute:{configurable:!0}};function $t(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}jt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},It.currentRoute.get=function(){return this.history&&this.history.current},jt.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof St)n.transitionTo(n.getCurrentLocation());else if(n instanceof kt){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},jt.prototype.beforeEach=function(t){return $t(this.beforeHooks,t)},jt.prototype.beforeResolve=function(t){return $t(this.resolveHooks,t)},jt.prototype.afterEach=function(t){return $t(this.afterHooks,t)},jt.prototype.onReady=function(t,e){this.history.onReady(t,e)},jt.prototype.onError=function(t){this.history.onError(t)},jt.prototype.push=function(t,e,n){this.history.push(t,e,n)},jt.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},jt.prototype.go=function(t){this.history.go(t)},jt.prototype.back=function(){this.go(-1)},jt.prototype.forward=function(){this.go(1)},jt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},jt.prototype.resolve=function(t,e,n){var i=Y(t,e||this.history.current,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?T(t+"/"+i):i}(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},jt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(jt.prototype,It),jt.install=O,jt.version="3.0.2",P&&window.Vue&&window.Vue.use(jt),e.a=jt},"/whu":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"07k+":function(t,e,n){for(var i,r=n("OzIq"),o=n("2p1q"),a=n("ulTY"),s=a("typed_array"),u=a("view"),l=!(!r.ArrayBuffer||!r.DataView),c=l,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(i=r[d[f++]])?(o(i.prototype,s,!0),o(i.prototype,u,!0)):c=!1;t.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},"0Rih":function(t,e,n){"use strict";var i=n("OzIq"),r=n("Ds5P"),o=n("R3AP"),a=n("A16L"),s=n("1aA0"),u=n("vmSO"),l=n("9GpA"),c=n("UKM+"),f=n("zgIt"),d=n("qkyc"),h=n("yYvK"),p=n("kic5");t.exports=function(t,e,n,v,m,g){var y=i[t],b=y,_=m?"set":"add",w=b&&b.prototype,x={},S=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||w.forEach&&!f(function(){(new b).entries().next()}))){var C=new b,k=C[_](g?{}:-0,1)!=C,O=f(function(){C.has(1)}),P=d(function(t){new b(t)}),M=!g&&f(function(){for(var t=new b,e=5;e--;)t[_](e,e);return!t.has(-0)});P||((b=e(function(e,n){l(e,b,t);var i=p(new y,e,b);return void 0!=n&&u(n,m,i[_],i),i})).prototype=w,w.constructor=b),(O||M)&&(S("delete"),S("has"),m&&S("get")),(M||k)&&S(_),g&&w.clear&&delete w.clear}else b=v.getConstructor(e,t,m,_),a(b.prototype,n),s.NEED=!0;return h(b,t),x[t]=b,r(r.G+r.W+r.F*(b!=y),x),g||v.setStrong(b,t,m),b}},"0j1G":function(t,e,n){"use strict";var i=n("Ds5P");t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},"0pGU":function(t,e,n){"use strict";var i=n("DIVP");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"1A13":function(t,e,n){"use strict";var i=n("49qz")(!0);n("uc2A")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},"1ETD":function(t,e,n){var i=n("kkCw")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},"1aA0":function(t,e,n){var i=n("ulTY")("meta"),r=n("UKM+"),o=n("WBcL"),a=n("lDLk").f,s=0,u=Object.isExtensible||function(){return!0},l=!n("zgIt")(function(){return u(Object.preventExtensions({}))}),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!u(t))return"F";if(!e)return"E";c(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!u(t))return!0;if(!e)return!1;c(t)}return t[i].w},onFreeze:function(t){return l&&f.NEED&&u(t)&&!o(t,i)&&c(t),t}}},"1ip3":function(t,e,n){var i=n("Ds5P");i(i.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"1uLP":function(t,e,n){var i=n("Ds5P");i(i.G+i.W+i.F*!n("07k+").ABV,{DataView:n("LrcN").DataView})},"21It":function(t,e,n){"use strict";var i=n("FtD3");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"2KxR":function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"2VSL":function(t,e,n){var i=n("BbyF"),r=n("xAdt"),o=n("/whu");t.exports=function(t,e,n,a){var s=String(o(t)),u=s.length,l=void 0===n?" ":String(n),c=i(e);if(c<=u||""==l)return s;var f=c-u,d=r.call(l,Math.ceil(f/l.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},"2p1q":function(t,e,n){var i=n("lDLk"),r=n("fU25");t.exports=n("bUqO")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32VL":function(t,e,n){"use strict";var i,r,o=n("0pGU"),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,l=(i=/a/,r=/b*/g,a.call(i,"a"),a.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(t){var e,n,i,r,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),l&&(e=u.lastIndex),i=a.call(u,t),l&&i&&(u.lastIndex=u.global?i.index+i[0].length:e),c&&i&&i.length>1&&s.call(i[0],n,function(){for(r=1;r=l?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},"4IZP":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},"4M2W":function(t,e,n){n("A0n/"),n("i68Q"),n("QzLV"),n("Hhm4"),n("C+4B"),n("W4Z6"),n("tJwI"),n("eC2H"),n("VTn2"),n("W/IU"),n("Y5ex"),n("WpPb"),n("+yjc"),n("gPva"),n("n12u"),n("nRs1"),n("jrHM"),n("gYYG"),n("3QrE"),n("EuXz"),n("PbPd"),n("S+E/"),n("EvFb"),n("QBuC"),n("QWLi"),n("ZRJK"),n("Stuz"),n("yuXV"),n("XtiL"),n("LG56"),n("A1ng"),n("WiIn"),n("aJ2J"),n("altv"),n("dULJ"),n("v2lb"),n("7Jvp"),n("lyhN"),n("kBOG"),n("xONB"),n("LlNE"),n("9xIj"),n("m6Yj"),n("wrs0"),n("Lqg1"),n("1ip3"),n("pWGb"),n("N4KQ"),n("Hl+4"),n("MjHD"),n("SRCy"),n("H0mh"),n("bqOW"),n("F3sI"),n("mhn7"),n("1A13"),n("Racj"),n("Y1S0"),n("Gh7F"),n("tqSY"),n("CvWX"),n("8Np7"),n("R4pa"),n("4RlI"),n("iM2X"),n("J+j9"),n("82of"),n("X/Hz"),n("eVIH"),n("UJiG"),n("SU+a"),n("5iw+"),n("EWrS"),n("J2ob"),n("QaEu"),n("8fhx"),n("UbXY"),n("Rk41"),n("4Q0w"),n("IMUI"),n("beEN"),n("xMpm"),n("j42X"),n("81dZ"),n("uDYd"),n("CEO+"),n("w6W7"),n("fOdq"),n("wVdn"),n("Nkrw"),n("wnRD"),n("lkT3"),n("+CM9"),n("oHKp"),n("9vc3"),n("No4x"),n("WpTh"),n("U6qc"),n("Q/CP"),n("WgSQ"),n("lnZN"),n("Jbuy"),n("FaZr"),n("pd+2"),n("MfeA"),n("VjuZ"),n("qwQ3"),n("mJx5"),n("y9m4"),n("MsuQ"),n("dSUw"),n("ZDXm"),n("V/H1"),n("9mmO"),n("1uLP"),n("52Wt"),n("TFWu"),n("MyjO"),n("qtRy"),n("THnP"),n("K0JP"),n("NfZy"),n("dTzs"),n("+vXH"),n("CVR+"),n("vmSu"),n("4ZU1"),n("yx1U"),n("X7aK"),n("SPtU"),n("A52B"),n("PuTd"),n("dm+7"),n("JG34"),n("Rw4K"),n("9mGU"),n("bUY0"),n("mTp7"),n("gbyG"),n("oF0V"),n("v90c"),n("+2+s"),n("smQ+"),n("m8F4"),n("xn9I"),n("LRL/"),n("sc7i"),n("9Yib"),n("vu/c"),n("zmx7"),n("YVn/"),n("FKfb"),n("oYp4"),n("dxQb"),n("xCpI"),n("AkTE"),n("h7Xi"),n("arGp"),n("JJ3w"),n("qZb+"),n("La7N"),n("BOYP"),n("4rmF"),n("Ygg6"),n("6Xxs"),n("qdHU"),n("DQfQ"),n("j/Lv"),n("U+VG"),n("X6NR"),n("W0pi"),n("taNN"),n("vnWP"),n("R3KI"),n("6iMJ"),n("B3Xn"),n("3s83"),n("F1ui"),n("uEEG"),n("i039"),n("H7zx"),n("+Mt+"),n("QcWB"),n("yJ2x"),n("3q4u"),n("NHaJ"),n("v3hU"),n("zZHq"),n("vsh6"),n("8WbS"),n("yOtE"),n("EZ+5"),n("aM0T"),n("nh2o"),n("v8VU"),n("dich"),n("fx22"),t.exports=n("7gX0")},"4Q0w":function(t,e,n){var i=n("kkCw")("toPrimitive"),r=Date.prototype;i in r||n("2p1q")(r,i,n("jB26"))},"4RlI":function(t,e,n){"use strict";n("y325")("blink",function(t){return function(){return t(this,"blink","","")}})},"4ZU1":function(t,e,n){var i=n("lDLk"),r=n("Ds5P"),o=n("DIVP"),a=n("s4j0");r(r.S+r.F*n("zgIt")(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},"4mcu":function(t,e){t.exports=function(){}},"4rmF":function(t,e,n){n("iKpr")("Map")},"52Wt":function(t,e,n){n("77Ug")("Int8",1,function(t){return function(e,n,i){return t(this,e,n,i)}})},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5VQ+":function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},"5iw+":function(t,e,n){"use strict";n("y325")("strike",function(t){return function(){return t(this,"strike","","")}})},"6Xxs":function(t,e,n){n("iKpr")("WeakMap")},"6iMJ":function(t,e,n){var i=n("Ds5P");i(i.S,"Math",{isubh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)-(i>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},"7+uW":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){ +/*! + * Vue.js v2.6.7 + * (c) 2014-2019 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function c(t){return"[object RegExp]"===u.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,S=w(function(t){return t.replace(x,function(t,e){return e?e.toUpperCase():""})}),C=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),k=/\B([A-Z])/g,O=w(function(t){return t.replace(k,"-$1").toLowerCase()});var P=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function M(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function T(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,Z=X&&X.indexOf("edge/")>0,tt=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Y),et=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),nt={}.watch,it=!1;if(K)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var ot=function(){return void 0===q&&(q=!K&&!G&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),q},at=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,lt="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ut="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=E,ft=0,dt=function(){this.id=ft++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){y(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!_(r,"default"))a=!1;else if(""===a||a===O(t)){var u=zt(String,r.type);(u<0||s0&&(fe((l=t(l,(n||"")+"_"+u))[0])&&fe(f)&&(s[c]=bt(f.text+l[0].text),l.shift()),s.push.apply(s,l)):a(l)?fe(f)?s[c]=bt(f.text+l):""!==l&&s.push(bt(l)):fe(l)&&fe(f)?s[c]=bt(f.text+l.text):(o(e._isVList)&&r(l.tag)&&i(l.key)&&r(n)&&(l.key="__vlist"+n+"_"+u+"__"),s.push(l)));return s}(t):void 0}function fe(t){return r(t)&&r(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),i=lt?Reflect.ownKeys(t):Object.keys(t),r=0;rdocument.createEvent("Event").timeStamp&&(fn=function(){return performance.now()});var hn=0,pn=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++hn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!H.test(t)){var e=t.split(".");return function(t){for(var n=0;nln&&rn[n].id>t.id;)n--;rn.splice(n+1,0,t)}else rn.push(t);sn||(sn=!0,ne(dn))}}(this)},pn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Wt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var vn={enumerable:!0,configurable:!0,get:E,set:E};function mn(t,e,n){vn.get=function(){return this[e][n]},vn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,vn)}function gn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||kt(!1);var a=function(o){r.push(o);var a=Lt(o,e,n,t);Mt(i,o,a),o in t||mn(t,"_props",o)};for(var s in e)a(s);kt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?E:P(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){pt();try{return t.call(e,e)}catch(t){return Wt(t,e,"data()"),{}}finally{vt()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&_(i,o)||z(o)||mn(t,"_data",o)}Pt(e,!0)}(t):Pt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=ot();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new pn(t,a||E,E,yn)),r in t||bn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==nt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function Tn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Pn(a.componentOptions);s&&!e(s)&&Dn(n,o,i,r)}}}function Dn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Sn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=At(Cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=he(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return ze(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return ze(t,e,n,i,r,!0)};var o=i&&i.data;Mt(t,"$attrs",o&&o.attrs||n,null,!0),Mt(t,"$listeners",e._parentListeners||n,null,!0)}(e),nn(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach(function(n){Mt(t,n,e[n])}),kt(!0))}(e),gn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),nn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(kn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Tt,t.prototype.$delete=Dt,t.prototype.$watch=function(t,e,n){if(l(e))return xn(this,t,e,n);(n=n||{}).user=!0;var i=new pn(this,t,e,n);if(n.immediate)try{e.call(this,i.value)}catch(t){Wt(t,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(kn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r1?M(n):n;for(var i=M(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&Dn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:T,mergeOptions:At,defineReactive:Mt},t.set=Tt,t.delete=Dt,t.nextTick=ne,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),N.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,T(t.options.components,jn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=At(this.options,t),this}}(t),On(t),function(t){N.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:ot}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Ie}),kn.version="2.6.7";var In=v("style,class"),$n=v("input,textarea,option,select,progress"),Fn=function(t,e,n){return"value"===n&&$n(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Rn=v("contenteditable,draggable,spellcheck"),An=v("events,caret,typing,plaintext-only"),Nn=function(t,e){return Wn(e)||"false"===e?"false":"contenteditable"===t&&An(e)?e:"true"},Ln=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vn="http://www.w3.org/1999/xlink",Bn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},zn=function(t){return Bn(t)?t.slice(6,t.length):""},Wn=function(t){return null==t||!1===t};function Hn(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=qn(i.data,e));for(;r(n=n.parent);)n&&n.data&&(e=qn(e,n.data));return function(t,e){if(r(t)||r(e))return Un(t,Kn(e));return""}(e.staticClass,e.class)}function qn(t,e){return{staticClass:Un(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Un(t,e){return t?e?t+" "+e:t:e||""}function Kn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i-1?yi(t,e,n):Ln(e)?Wn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Rn(e)?t.setAttribute(e,Nn(e,n)):Bn(e)?Wn(n)?t.removeAttributeNS(Vn,zn(e)):t.setAttributeNS(Vn,e,n):yi(t,e,n)}function yi(t,e,n){if(Wn(n))t.removeAttribute(e);else{if(J&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var bi={create:mi,update:mi};function _i(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Hn(e),u=n._transitionClasses;r(u)&&(s=Un(s,Kn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var wi,xi,Si,Ci,ki,Oi,Pi={create:_i,update:_i},Mi=/[\w).+\-_$\]]/;function Ti(t){var e,n,i,r,o,a=!1,s=!1,u=!1,l=!1,c=0,f=0,d=0,h=0;for(i=0;i=0&&" "===(v=t.charAt(p));p--);v&&Mi.test(v)||(l=!0)}}else void 0===r?(h=i+1,r=t.slice(0,i).trim()):m();function m(){(o||(o=[])).push(t.slice(h,i).trim()),h=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==h&&m(),o)for(i=0;i-1?{exp:t.slice(0,Ci),key:'"'+t.slice(Ci+1)+'"'}:{exp:t,key:null};xi=t,Ci=ki=Oi=0;for(;!Ki();)Gi(Si=Ui())?Xi(Si):91===Si&&Yi(Si);return{exp:t.slice(0,ki),key:t.slice(ki+1,Oi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ui(){return xi.charCodeAt(++Ci)}function Ki(){return Ci>=wi}function Gi(t){return 34===t||39===t}function Yi(t){var e=1;for(ki=Ci;!Ki();)if(Gi(t=Ui()))Xi(t);else if(91===t&&e++,93===t&&e--,0===e){Oi=Ci;break}}function Xi(t){for(var e=t;!Ki()&&(t=Ui())!==e;);}var Ji,Qi="__r",Zi="__c";function tr(t,e,n){var i=Ji;return function r(){null!==e.apply(null,arguments)&&ir(t,r,n,i)}}var er=Gt&&!(et&&Number(et[1])<=53);function nr(t,e,n,i){if(er){var r=cn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||0===t.timeStamp||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Ji.addEventListener(t,e,it?{capture:n,passive:i}:n)}function ir(t,e,n,i){(i||Ji).removeEventListener(t,e._wrapper||e,n)}function rr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},o=t.data.on||{};Ji=e.elm,function(t){if(r(t[Qi])){var e=J?"change":"input";t[e]=[].concat(t[Qi],t[e]||[]),delete t[Qi]}r(t[Zi])&&(t.change=[].concat(t[Zi],t.change||[]),delete t[Zi])}(n),se(n,o,nr,ir,tr,e.context),Ji=void 0}}var or,ar={create:rr,update:rr};function sr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in r(u.__ob__)&&(u=e.data.domProps=T({},u)),s)i(u[n])&&(a[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var l=i(o)?"":String(o);ur(a,l)&&(a.value=l)}else if("innerHTML"===n&&Xn(a.tagName)&&i(a.innerHTML)){(or=or||document.createElement("div")).innerHTML=""+o+"";for(var c=or.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(t){}}}}function ur(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var lr={create:sr,update:sr},cr=w(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function fr(t){var e=dr(t.style);return t.staticStyle?T(t.staticStyle,e):e}function dr(t){return Array.isArray(t)?D(t):"string"==typeof t?cr(t):t}var hr,pr=/^--/,vr=/\s*!important$/,mr=function(t,e,n){if(pr.test(e))t.style.setProperty(e,n);else if(vr.test(n))t.style.setProperty(O(e),n.replace(vr,""),"important");else{var i=yr(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(wr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Sr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Cr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,kr(t.name||"v")),T(e,t),e}return"string"==typeof t?kr(t):void 0}}var kr=w(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Or=K&&!Q,Pr="transition",Mr="animation",Tr="transition",Dr="transitionend",Er="animation",jr="animationend";Or&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Tr="WebkitTransition",Dr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Er="WebkitAnimation",jr="webkitAnimationEnd"));var Ir=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function $r(t){Ir(function(){Ir(t)})}function Fr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xr(t,e))}function Rr(t,e){t._transitionClasses&&y(t._transitionClasses,e),Sr(t,e)}function Ar(t,e,n){var i=Lr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Pr?Dr:jr,u=0,l=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++u>=a&&l()};setTimeout(function(){u0&&(n=Pr,c=a,f=o.length):e===Mr?l>0&&(n=Mr,c=l,f=u.length):f=(n=(c=Math.max(a,l))>0?a>l?Pr:Mr:null)?n===Pr?o.length:u.length:0,{type:n,timeout:c,propCount:f,hasTransform:n===Pr&&Nr.test(i[Tr+"Property"])}}function Vr(t,e){for(;t.length1}function Ur(t,e){!0!==e.data.show&&zr(e)}var Kr=function(t){var e,n,s={},u=t.modules,l=t.nodeOps;for(e=0;ep?b(t,i(n[g+1])?null:n[g+1].elm,n,h,g,o):h>g&&w(0,e,d,p)}(d,v,g,n,c):r(g)?(r(t.text)&&l.setTextContent(d,""),b(d,null,g,0,g.length-1,n)):r(v)?w(0,v,0,v.length-1):r(t.text)&&l.setTextContent(d,""):t.text!==e.text&&l.setTextContent(d,e.text),r(p)&&r(h=p.hook)&&r(h=h.postpatch)&&h(t,e)}}}function k(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if($(Qr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Jr(t,e){return e.every(function(e){return!$(e,t)})}function Qr(t){return"_value"in t?t._value:t.value}function Zr(t){t.target.composing=!0}function to(t){t.target.composing&&(t.target.composing=!1,eo(t.target,"input"))}function eo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function no(t){return!t.componentInstance||t.data&&t.data.transition?t:no(t.componentInstance._vnode)}var io={model:Gr,show:{bind:function(t,e,n){var i=e.value,r=(n=no(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,zr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=no(n)).data&&n.data.transition?(n.data.show=!0,i?zr(n,function(){t.style.display=t.__vOriginalDisplay}):Wr(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},ro={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function oo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?oo(Ke(e.children)):t}function ao(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[S(o)]=r[o];return e}function so(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var uo=function(t){return t.tag||Ue(t)},lo=function(t){return"show"===t.name},co={name:"transition",props:ro,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(uo)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=oo(r);if(!o)return r;if(this._leaving)return so(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=ao(this),l=this._vnode,c=oo(l);if(o.data.directives&&o.data.directives.some(lo)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!Ue(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var f=c.data.transition=T({},u);if("out-in"===i)return this._leaving=!0,ue(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),so(t,r);if("in-out"===i){if(Ue(o))return l;var d,h=function(){d()};ue(u,"afterEnter",h),ue(u,"enterCancelled",h),ue(f,"delayLeave",function(t){d=t})}}return r}}},fo=T({tag:String,moveClass:String},ro);function ho(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function po(t){t.data.newPos=t.elm.getBoundingClientRect()}function vo(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete fo.mode;var mo={Transition:co,TransitionGroup:{props:fo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Ze(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=ao(this),s=0;s-1?Zn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Zn[t]=/HTMLUnknownElement/.test(e.toString())},T(kn.options.directives,io),T(kn.options.components,mo),kn.prototype.__patch__=K?Kr:E,kn.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=yt),nn(t,"beforeMount"),new pn(t,function(){t._update(t._render(),n)},E,{before:function(){t._isMounted&&!t._isDestroyed&&nn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,nn(t,"mounted")),t}(this,t=t&&K?ei(t):void 0,e)},K&&setTimeout(function(){V.devtools&&at&&at.emit("init",kn)},0);var go=/\{\{((?:.|\r?\n)+?)\}\}/g,yo=/[-.*+?^${}()|[\]\/\\]/g,bo=w(function(t){var e=t[0].replace(yo,"\\$&"),n=t[1].replace(yo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function _o(t,e){var n=e?bo(e):go;if(n.test(t)){for(var i,r,o,a=[],s=[],u=n.lastIndex=0;i=n.exec(t);){(r=i.index)>u&&(s.push(o=t.slice(u,r)),a.push(JSON.stringify(o)));var l=Ti(i[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),u=r+i[0].length}return u\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,To=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Do="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+B+"]*",Eo="((?:"+Do+"\\:)?"+Do+")",jo=new RegExp("^<"+Eo),Io=/^\s*(\/?)>/,$o=new RegExp("^<\\/"+Eo+"[^>]*>"),Fo=/^]+>/i,Ro=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Bo=/&(?:lt|gt|quot|amp|#39);/g,zo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Wo=v("pre,textarea",!0),Ho=function(t,e){return t&&Wo(t)&&"\n"===e[0]};function qo(t,e){var n=e?zo:Bo;return t.replace(n,function(t){return Vo[t]})}var Uo,Ko,Go,Yo,Xo,Jo,Qo,Zo,ta=/^@|^v-on:/,ea=/^v-|^@|^:/,na=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ia=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ra=/^\(|\)$/g,oa=/^\[.*\]$/,aa=/:(.*)$/,sa=/^:|^\.|^v-bind:/,ua=/\.[^.]+/g,la=/^v-slot(:|$)|^#/,ca=/[\r\n]/,fa=/\s+/g,da=w(Co),ha="_empty_";function pa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,i=t.length;n]*>)","i")),d=t.replace(f,function(t,n,i){return l=i.length,No(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),Ho(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});u+=t.length-d.length,t=d,O(c,u-l,u)}else{var h=t.indexOf("<");if(0===h){if(Ro.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),u,u+p+3),S(p+3);continue}}if(Ao.test(t)){var v=t.indexOf("]>");if(v>=0){S(v+2);continue}}var m=t.match(Fo);if(m){S(m[0].length);continue}var g=t.match($o);if(g){var y=u;S(g[0].length),O(g[1],y,u);continue}var b=C();if(b){k(b),Ho(b.tagName,t)&&S(1);continue}}var _=void 0,w=void 0,x=void 0;if(h>=0){for(w=t.slice(h);!($o.test(w)||jo.test(w)||Ro.test(w)||Ao.test(w)||(x=w.indexOf("<",1))<0);)h+=x,w=t.slice(h);_=t.substring(0,h)}h<0&&(_=t),_&&S(_.length),e.chars&&_&&e.chars(_,u-_.length,u)}if(t===n){e.chars&&e.chars(t);break}}function S(e){u+=e,t=t.substring(e)}function C(){var e=t.match(jo);if(e){var n,i,r={tagName:e[1],attrs:[],start:u};for(S(e[0].length);!(n=t.match(Io))&&(i=t.match(To)||t.match(Mo));)i.start=u,S(i[0].length),i.end=u,r.attrs.push(i);if(n)return r.unarySlash=n[1],S(n[0].length),r.end=u,r}}function k(t){var n=t.tagName,u=t.unarySlash;o&&("p"===i&&Po(n)&&O(i),s(n)&&i===n&&O(n));for(var l=a(n)||!!u,c=t.attrs.length,f=new Array(c),d=0;d=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=r.length-1;l>=a;l--)e.end&&e.end(r[l].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}O()}(t,{warn:Uo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s){var f=r&&r.ns||Zo(t);J&&"svg"===f&&(n=function(t){for(var e=[],n=0;n-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ni(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+qi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+qi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+qi(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Vi(t,"value")||"null";Ii(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),Ni(t,"change",qi(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,u=!o&&"range"!==i,l=o?"change":"range"===i?Qi:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var f=qi(e,c);u&&(f="if($event.target.composing)return;"+f),Ii(t,"value","("+e+")"),Ni(t,l,f,null,!0),(s||a)&&Ni(t,"blur","$forceUpdate()")}(t,i,r);else if(!V.isReservedTag(o))return Hi(t,i,r),!1;return!0},text:function(t,e){e.value&&Ii(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Ii(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:ko,mustUseProp:Fn,canBeLeftOpenTag:Oo,isReservedTag:Jn,getTagNamespace:Qn,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Ca)},Ma=w(function(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function Ta(t,e){t&&(ka=Ma(e.staticKeys||""),Oa=e.isReservedTag||j,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||m(t.tag)||!Oa(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(ka)))}(e);if(1===e.type){if(!Oa(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n|^function\s*\(/,Ea=/\([^)]*?\);*$/,ja=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ia={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},$a={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fa=function(t){return"if("+t+")return null;"},Ra={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fa("$event.target !== $event.currentTarget"),ctrl:Fa("!$event.ctrlKey"),shift:Fa("!$event.shiftKey"),alt:Fa("!$event.altKey"),meta:Fa("!$event.metaKey"),left:Fa("'button' in $event && $event.button !== 0"),middle:Fa("'button' in $event && $event.button !== 1"),right:Fa("'button' in $event && $event.button !== 2")};function Aa(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=Na(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Na(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Na(t)}).join(",")+"]";var e=ja.test(t.value),n=Da.test(t.value),i=ja.test(t.value.replace(Ea,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(Ra[s])o+=Ra[s],Ia[s]&&a.push(s);else if("exact"===s){var u=t.modifiers;o+=Fa(["ctrl","shift","alt","meta"].filter(function(t){return!u[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(La).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":i?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function La(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Ia[t],i=$a[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Va={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:E},Ba=function(t){this.options=t,this.warn=t.warn||Ei,this.transforms=ji(t.modules,"transformCode"),this.dataGenFns=ji(t.modules,"genData"),this.directives=T(T({},Va),t.directives);var e=t.isReservedTag||j;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function za(t,e){var n=new Ba(e);return{render:"with(this){return "+(t?Wa(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Wa(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ha(t,e);if(t.once&&!t.onceProcessed)return qa(t,e);if(t.for&&!t.forProcessed)return Ka(t,e);if(t.if&&!t.ifProcessed)return Ua(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Ja(t,e),r="_t("+n+(i?","+i:""),o=t.attrs||t.dynamicAttrs?ts((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:S(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=","+o);a&&(r+=(o?"":",null")+","+a);return r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Ja(e,n,!0);return"_c("+t+","+Ga(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=Ga(t,e));var r=t.inlineTemplate?null:Ja(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var i=za(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+ts(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ya(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ya))}function Xa(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Ua(t,e,Xa,"null");if(t.for&&!t.forProcessed)return Ka(t,e,Xa);var i=t.slotScope===ha?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Ja(t,e)||"undefined")+":undefined":Ja(t,e)||"undefined":Wa(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Ja(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||Wa)(a,e)+s}var u=n?function(t,e){for(var n=0,i=0;i':'
',os.innerHTML.indexOf(" ")>0}var ls=!!K&&us(!1),cs=!!K&&us(!0),fs=w(function(t){var e=ei(t);return e&&e.innerHTML}),ds=kn.prototype.$mount;kn.prototype.$mount=function(t,e){if((t=t&&ei(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=fs(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=ss(i,{outputSourceRange:!1,shouldDecodeNewlines:ls,shouldDecodeNewlinesForHref:cs,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ds.call(this,t,e)},kn.compile=ss,e.default=kn}.call(e,n("DuR2"))},"73qY":function(t,e,n){t.exports=n("VWgF")("native-function-to-string",Function.toString)},"77Pl":function(t,e,n){var i=n("EqjI");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},"77Ug":function(t,e,n){"use strict";if(n("bUqO")){var i=n("V3l/"),r=n("OzIq"),o=n("zgIt"),a=n("Ds5P"),s=n("07k+"),u=n("LrcN"),l=n("rFzY"),c=n("9GpA"),f=n("fU25"),d=n("2p1q"),h=n("A16L"),p=n("oeih"),v=n("BbyF"),m=n("8D8H"),g=n("zo/l"),y=n("s4j0"),b=n("WBcL"),_=n("wC1N"),w=n("UKM+"),x=n("FryR"),S=n("9vb1"),C=n("7ylX"),k=n("KOrd"),O=n("WcO1").f,P=n("SHe9"),M=n("ulTY"),T=n("kkCw"),D=n("LhTa"),E=n("ot5s"),j=n("7O1s"),I=n("WgSQ"),$=n("bN1p"),F=n("qkyc"),R=n("CEne"),A=n("zCYm"),N=n("DPsE"),L=n("lDLk"),V=n("x9zv"),B=L.f,z=V.f,W=r.RangeError,H=r.TypeError,q=r.Uint8Array,U=Array.prototype,K=u.ArrayBuffer,G=u.DataView,Y=D(0),X=D(2),J=D(3),Q=D(4),Z=D(5),tt=D(6),et=E(!0),nt=E(!1),it=I.values,rt=I.keys,ot=I.entries,at=U.lastIndexOf,st=U.reduce,ut=U.reduceRight,lt=U.join,ct=U.sort,ft=U.slice,dt=U.toString,ht=U.toLocaleString,pt=T("iterator"),vt=T("toStringTag"),mt=M("typed_constructor"),gt=M("def_constructor"),yt=s.CONSTR,bt=s.TYPED,_t=s.VIEW,wt=D(1,function(t,e){return Ot(j(t,t[gt]),e)}),xt=o(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),St=!!q&&!!q.prototype.set&&o(function(){new q(1).set({})}),Ct=function(t,e){var n=p(t);if(n<0||n%e)throw W("Wrong offset!");return n},kt=function(t){if(w(t)&&bt in t)return t;throw H(t+" is not a typed array!")},Ot=function(t,e){if(!(w(t)&&mt in t))throw H("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Mt(j(t,t[gt]),e)},Mt=function(t,e){for(var n=0,i=e.length,r=Ot(t,i);i>n;)r[n]=e[n++];return r},Tt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,i,r,o,a,s=x(t),u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,d=P(s);if(void 0!=d&&!S(d)){for(a=d.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(f&&u>2&&(c=l(c,arguments[2],2)),e=0,n=v(s.length),r=Ot(this,n);n>e;e++)r[e]=f?c(s[e],e):s[e];return r},Et=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},jt=!!q&&o(function(){ht.call(new q(1))}),It=function(){return ht.apply(jt?ft.call(kt(this)):kt(this),arguments)},$t={copyWithin:function(t,e){return N.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return A.apply(kt(this),arguments)},filter:function(t){return Pt(this,X(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Y(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return wt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ut.apply(kt(this),arguments)},reverse:function(){for(var t,e=kt(this).length,n=Math.floor(e/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return ct.call(kt(this),t)},subarray:function(t,e){var n=kt(this),i=n.length,r=g(t,i);return new(j(n,n[gt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,v((void 0===e?i:g(e,i))-r))}},Ft=function(t,e){return Pt(this,ft.call(kt(this),t,e))},Rt=function(t){kt(this);var e=Ct(arguments[1],1),n=this.length,i=x(t),r=v(i.length),o=0;if(r+e>n)throw W("Wrong length!");for(;o255?255:255&i),r.v[h](n*e+r.o,i,xt)}(this,n,t)},enumerable:!0})};b?(p=n(function(t,n,i,r){c(t,p,l,"_d");var o,a,s,u,f=0,h=0;if(w(n)){if(!(n instanceof K||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return bt in n?Mt(p,n):Dt.call(p,n);o=n,h=Ct(i,e);var g=n.byteLength;if(void 0===r){if(g%e)throw W("Wrong length!");if((a=g-h)<0)throw W("Wrong length!")}else if((a=v(r)*e)+h>g)throw W("Wrong length!");s=a/e}else s=m(n),o=new K(a=s*e);for(d(t,"_d",{b:o,o:h,l:a,e:s,v:new G(o)});f0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},"7KvD":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7O1s":function(t,e,n){var i=n("DIVP"),r=n("XSOZ"),o=n("kkCw")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},"7gX0":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"7ylX":function(t,e,n){var i=n("DIVP"),r=n("twxM"),o=n("QKXm"),a=n("mZON")("IE_PROTO"),s=function(){},u=function(){var t,e=n("jhxf")("iframe"),i=o.length;for(e.style.display="none",n("d075").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" \ No newline at end of file diff --git a/time_series_analysis.py b/time_series_analysis.py index 91ef7c44052964b410b3c68221cb56916dc37008..0b3212e085b2eeeceec5ec093af8f2bf68509b97 100644 --- a/time_series_analysis.py +++ b/time_series_analysis.py @@ -5,10 +5,11 @@ import pandas as pd import matplotlib.pyplot as plt import datetime as dt import bottom_function.data_read as dr -import json -from flask import Flask -from flask import request -from flask_cors import CORS + +# import json +# from flask import Flask +# from flask import request +# from flask_cors import CORS def datetime_data_plot(timetype, starttime, endtime, graphtype): @@ -63,49 +64,49 @@ def datetime_data_plot(timetype, starttime, endtime, graphtype): index_data[i] = dt.datetime.strftime(index_data[i], "%Y") all_data.index = index_data - fig = plt.figure(figsize=(16, 6)) - all_data.plot(kind=graphtype, stacked=True, use_index=True) + # fig = plt.figure(figsize=(16, 6)) + all_data.plot(kind=graphtype, stacked=True, use_index=True,figsize=(10, 8)) plt.xticks(rotation=45) plt.title(str(starttime) + ' to ' + str( endtime) + ' ' + timetype + ' datetime domain analysis of ' + graphtype + ' graph', - fontsize=10) + fontsize=15) plt.tight_layout(5) path = '/roobo/soft/phpmyadmin/plot_time.jpg' plt.savefig(path) - return path - - -app = Flask(__name__) -CORS(app, supports_credentials=True) - - -@app.route('/SPDAS/time_series_analysis1', methods=['POST']) -def domain(): - param = ({"time_type": [{"value": "hour", "id": 1}, {"value": "day", "id": 2}, - {"value": "month", "id": 3}, {"value": "year", "id": 4}], - "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", - "graph_type": [{"value": "bar"}, {"value": "pie"}]}) - return json.JSONEncoder().encode(param) - - -@app.route('/SPDAS/time_series_analysis2', methods=['POST']) -def domain_form(): - # 需要从request对象读取表单内容: - data = request.get_data() - json_re = json.loads(data) - print(json_re) - timetype = json_re['time_type'] - m_time = json_re['time'] - graphtype = json_re['graph_type'] - str_time = str(m_time) - m_time = str_time.split('/') - starttime = m_time[0] - endtime = m_time[1] - image_path = datetime_data_plot(timetype=timetype, starttime=starttime, endtime=endtime, graphtype=graphtype) - path = ({"time_image": image_path}) - return json.JSONEncoder().encode(path) + return 'http://120.79.171.145:8000/plot_time.jpg' -if __name__ == '__main__': - app.run(debug=True, host='10.7.19.129', port=5000) +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# +# @app.route('/SPDAS/time_series_analysis1', methods=['POST']) +# def domain(): +# param = ({"time_type": [{"value": "hour", "id": 1}, {"value": "day", "id": 2}, +# {"value": "month", "id": 3}, {"value": "year", "id": 4}], +# "time": "2018-12-01 00:00:00/2018-12-02 00:00:00", +# "graph_type": [{"value": "bar"}, {"value": "pie"}]}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/time_series_analysis2', methods=['POST']) +# def domain_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# print(json_re) +# timetype = json_re['time_type'] +# m_time = json_re['time'] +# graphtype = json_re['graph_type'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# image_path = datetime_data_plot(timetype=timetype, starttime=starttime, endtime=endtime, graphtype=graphtype) +# path = ({"time_image": image_path}) +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000) diff --git a/timing.py b/timing.py new file mode 100644 index 0000000000000000000000000000000000000000..67914e8f3a4ec55831122dbeeba17f48c7bf1d1f --- /dev/null +++ b/timing.py @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- +# author:Li Mingjie time:2019/3/14 +# Brief: +import time +import threading + + +def run(): + datetime = time.localtime(time.time()) + print(datetime) + + +run() diff --git a/user_portrait_analysis.py b/user_portrait_analysis.py index 73d060a7eab9f98f4e3c931241c28af94037e262..4cdd4bffe2e52e9fd85ce7fe1cd33e78231163c8 100644 --- a/user_portrait_analysis.py +++ b/user_portrait_analysis.py @@ -7,10 +7,12 @@ import cv2 import matplotlib.pyplot as plt import bottom_function.data_read as dr from bottom_function import normalization as norm -import json -from flask import Flask -from flask import request -from flask_cors import CORS + + +# import json +# from flask import Flask +# from flask import request +# from flask_cors import CORS def portrait_plot(datatype, starttime, endtime): @@ -24,11 +26,11 @@ def portrait_plot(datatype, starttime, endtime): cut_text = norm.remove_special_characters(query_data) - color_mask = cv2.imread('./bottom_function/data/gree_logo.jpg') + color_mask = cv2.imread('/home/work/semantic_platform_DAS/bottom_function/data/gree_logo.jpg') cloud = WordCloud( # 设置字体,不指定就会出现乱码 - font_path=" C:\\Windows\\Fonts\\STXINGKA.TTF", + font_path="./bottom_function/data/msyh.ttf", # font_path=path.join(d,'simsun.ttc'), font_step=1, width=720, @@ -48,41 +50,44 @@ def portrait_plot(datatype, starttime, endtime): # wCloud.to_file('../data/word_cloud/cloud.jpg') plt.imshow(wCloud, interpolation='bilinear') + plt.axis('off') - til = datatype + ' ' + starttime + endtime + 'user portrait of word cloud' + til = starttime + ' to ' + endtime + ' ' + datatype + ' user portrait of word cloud' plt.title(til) path = '/roobo/soft/phpmyadmin/plot_user.jpg' - plt.savefig(path) - return path - - -app = Flask(__name__) -CORS(app, supports_credentials=True) - - -@app.route('/SPDAS/user_portrait_analysis1', methods=['POST']) -def domain(): - param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], - "time": "2019.01.01 00:00:00/2019.01.02 00:00:00"}) - return json.JSONEncoder().encode(param) - - -@app.route('/SPDAS/user_portrait_analysis2', methods=['POST']) -def domain_form(): - # 需要从request对象读取表单内容: - data = request.get_data() - json_re = json.loads(data) - - datatype = json_re['data_type'] - m_time = json_re['time'] - str_time = str(m_time) - m_time = str_time.split('/') - starttime = m_time[0] - endtime = m_time[1] - image_path = portrait_plot(datatype=datatype, starttime=starttime, endtime=endtime) - path = {"user_image": image_path} - return json.JSONEncoder().encode(path) - - -if __name__ == '__main__': - app.run(debug=True, host='10.7.19.129', port=5000) + wCloud.to_file(path) + # plt.savefig(path) + return 'http://120.79.171.145:8000/plot_user.jpg' + +# portrait_plot(datatype='all', starttime='2018-12-28 00:00:00', endtime='2018-12-29 00:00:00') + +# app = Flask(__name__) +# CORS(app, supports_credentials=True) +# +# +# @app.route('/SPDAS/user_portrait_analysis1', methods=['POST']) +# def domain(): +# param = ({"data_type": [{"value": "control"}, {"value": "application"}, {"value": "all"}], +# "time": "2019.01.01 00:00:00/2019.01.02 00:00:00"}) +# return json.JSONEncoder().encode(param) +# +# +# @app.route('/SPDAS/user_portrait_analysis2', methods=['POST']) +# def domain_form(): +# # 需要从request对象读取表单内容: +# data = request.get_data() +# json_re = json.loads(data) +# +# datatype = json_re['data_type'] +# m_time = json_re['time'] +# str_time = str(m_time) +# m_time = str_time.split('/') +# starttime = m_time[0] +# endtime = m_time[1] +# image_path = portrait_plot(datatype=datatype, starttime=starttime, endtime=endtime) +# path = {"user_image": image_path} +# return json.JSONEncoder().encode(path) +# +# +# if __name__ == '__main__': +# app.run(debug=True, host='10.7.19.129', port=5000)