, 518-587 ) was the 31st Emperor of Japan , according to the traditional order of succession .
, died 587 ) was the 31st emperor of Japan , according to the traditional order of succession .