KFS逻辑