Key Factors Considered by Xiaoyan’s Algorithm