summaryrefslogtreecommitdiff
path: root/script/neo4jcommand.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/neo4jcommand.py')
-rw-r--r--script/neo4jcommand.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/script/neo4jcommand.py b/script/neo4jcommand.py
index c46e750..18c90b4 100644
--- a/script/neo4jcommand.py
+++ b/script/neo4jcommand.py
@@ -36,6 +36,43 @@ WHERE n.IPType contains "6"
RETURN n.IP as ip, n.ISP as isp,n.CCODE as ccode,n.COU as cou,n.PROV as prov, score
ORDER BY score DESC, ip ASC,isp ASC,ccode ASC,cou ASC,prov ASC limit 30'''
+
+# 节点邻居
+node_neighbors=''''''
+
+
+
+# IP关联数据
+IP_relate=''''''
+
+
+# AS关联数据
+AS_relate=''''''
+
+
+# ISP关联数据
+ISP_relate=''''''
+
+
+# 所有节点信息
+all_node=''''''
+
+
+# AS分布
+AS_dist=''''''
+
+
+# ISP分布统计
+ISP_dist=''''''
+
+# 国家分布统计
+cou_dist=''''''
+
+
+
+
+
+
# 双栈服务数量统计
dualcountcypher = '''
CALL gds.wcc.stream('myGraph')
@@ -50,6 +87,7 @@ dualcountcypher = '''
where ip contains ":"
return count(distinct componentId)
'''
+
# 双栈服务详细数据
dualdatacypher = '''
CALL gds.wcc.stream('myGraph')
@@ -74,3 +112,4 @@ dualdatacypher = '''
# v6dns计数
v6count = '''
match (n:NodeResolver53) where n.IPType contains "6" return count(n)'''
+