这是 GUID
算法的版本(在您的情况下为4
):
https://zh.wikipedia.org/wiki/全局唯一标识符
In its canonical textual representation, the sixteen octets of a UUID are represented as 32 hexadecimal (base 16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and four hyphens). For example:
123e4567-e89b-12d3-a456-426655440000 xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
The four bits of digit M indicate the UUID version, and the one to three most significant bits of digit N indicate the UUID variant. In the example, M is 1 and N is a (10xx), meaning that the UUID is a variant 1, version 1 UUID; that is, a time-based DCE/RFC 4122 UUID.
xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
表示为字符串。第三个块 - Mxxx
实际上是16位十六进制表示的整数。前4位 - M
是版本(因此我们可以将其设置在0..15范围内)。我这里看不到任何字符。 - Dmitry BychenkoGUID
遵循 TimeLow-TimeMid-TimeHiAndVersion-ClockSeq-Node
方案,对于分离块的表示非常方便;现在我们使用不同的方法来生成 GUID,但仍然保持旧的表示。 - Dmitry Bychenko
数字 M 的四个比特表示 UUID 版本
。参考链接为:https://zh.wikipedia.org/wiki/%E5%85%A8%E5%B1%80%E5%94%AF%E4%B8%80%E8%AF%86%E5%88%AB%E7%A0%81。 - L.B