GUID 和 UUID 有什么区别?
可能的重复:
GUID 和 UUID 之间有什么区别吗?< /a>
GUID 和 UUID 之间有什么区别,我应该使用哪一个来实现真正的唯一性?
更新: 为了保证我选择的算法的唯一性,我还需要什么?
1) MAC address of network card
2) 128 bits (isn't 64 bits enough?)
3) What if I have a multicore machine on the same MAC address. Isn't there a chance of duplicates?
Possible Duplicate:
Is there any difference between a GUID and a UUID?
Whats the difference between a GUID and a UUID, and which should I use for true uniqueness?
Update:
What things do I need for uniqueness too in the algorithm I choose?
1) MAC address of network card
2) 128 bits (isn't 64 bits enough?)
3) What if I have a multicore machine on the same MAC address. Isn't there a chance of duplicates?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
GUID 是 Microsoft 对唯一标识符 (UUID) 的实现。
UUID 被定义为
“通用唯一标识符 (UUID) 是软件构建中使用的标识符标准,由开放软件基金会 (OSF) 标准化,作为分布式计算环境 (DCE) 的一部分”。
来自维基百科。
如果您需要创建新的 guid/uuid,请使用我的网站:)
http://www.createnewguid.com
A GUID is Microsofts implementation of a unique identifier (UUID).
A UUID is defined as
"Universally Unique Identifier (UUID) is an identifier standard used in software construction, standardized by the Open Software Foundation (OSF) as part of the Distributed Computing Environment (DCE)."
From Wikipedia.
If you need to create a new guid/uuid use my website:)
http://www.createnewguid.com
GUID 是 128 位 UUID。您可以使用 GUID 并确保它们的唯一性。
GUIDs are 128-bit UUIDs. You can use GUIDs and be sure of their uniqueness.