Method and apparatus for auto extracting information of product