Math Models and In-depth Algorithm Framework