def insertDomain(self, domain, indegree=0, outdegree=0):
		'''增加一个域名'''
		cur = self.conn.cursor()
		cur.execute("INSERT INTO Domains VALUES (NULL,?,?,?)", (domain, indegree, outdegree))
		# 写入到文件中
		self.conn.commit()
def get_level(self, level, queue):
		if queue == None:
			queue = []
		if level == 1:
			queue.push(self)
		else:
			if self.lchild != None:
				self.lchild.get_level(level-1, queue)
			if self.rchild != None:
				self.rchild.get_level(level-1, queue)
		return queue