[yanan] transfer all room algorithm to big data