#1refactoring device info logic ,  #2 fix some incorrect conflict merge on windows platform,#3 code format