I am wondering how to get the same uuid by using the same seed string. Any idea?
I'm not familiar with boost-uuid, but I think that what you need is a name-based UUID generator (see RFC-4122 Section 4.3). Read that section of the RFC to ensure it fits your requirements.
Googling a bit, I found that boost does support name-based UUIDs: