GUID 和 UUID 有什么区别?

发布于 2024-08-21 20:48:47 字数 594 浏览 2 评论 0原文

可能的重复:
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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

人疚 2024-08-28 20:48:47

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

本宫微胖 2024-08-28 20:48:47

GUID 是 128 位 UUID。您可以使用 GUID 并确保它们的唯一性。

GUIDs are 128-bit UUIDs. You can use GUIDs and be sure of their uniqueness.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文