UUID

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
(Links)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic
|subcat=Binary Data
+
|subcat=Elements of File Formats
 
}}
 
}}
A [[UUID]] (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each identifer will (with overwhelming probability) be unique, without need of a central authority.
+
A [[UUID]] (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each identifier will (with overwhelming probability) be unique, without need of a central authority.
  
Some of the bits in a UUID are obviously not random. They are used to indicate the UUID version number, etc.
+
Some of the bits in a UUID are not random, and are used to indicate the UUID version number, etc.
  
 
The standard way to display a UUID is to use [[hex encoding]], with four hyphens added at particular positions. It typically looks something like this:
 
The standard way to display a UUID is to use [[hex encoding]], with four hyphens added at particular positions. It typically looks something like this:
  00000000-1111-2222-3333-444444444444
+
00000000-1111-2222-3333-444444444444
  
The Microsoft version of UUID is known as [[GUID]]. ''[TODO: Explain the difference between UUID and GUID. Supposedly there is a difference in [[endianness]], but what exactly does that mean?]''
+
See also [[GUID]], the Microsoft version of UUID.
 +
 
 +
Any UUID (or GUID) can be converted into a [[URI]] by inserting "<tt>urn:uuid:</tt>" at the beginning, and then followed by the standard form, with letters in lowercase. This allows a UUID to be represented anywhere a URI is allowed, such as the identification of a node in a [[RDF]] graph.
 +
 
 +
A UUID can also be convert into a [[OID]], by prefixing "<tt>2.25.</tt>" followed by the decimal representation of the 128-bit number of the UUID (as a single number, not broken up into parts).
  
 
== Links ==
 
== Links ==
 
* RFC 4122
 
* RFC 4122
 +
* [https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-03 New UUID Formats] (internet draft)
 
* [[Wikipedia:Universally unique identifier]]
 
* [[Wikipedia:Universally unique identifier]]
* [[Wikipedia:Globally unique identifier]]
 
  
 
[[Category:Naming and numbering systems]]
 
[[Category:Naming and numbering systems]]

Latest revision as of 20:58, 30 April 2022

File Format
Name UUID
Ontology

A UUID (universally unique identifier) is an arbitrary 128-bit identifier, and a standard set of guidelines for generating such an identifier. The goal is that each identifier will (with overwhelming probability) be unique, without need of a central authority.

Some of the bits in a UUID are not random, and are used to indicate the UUID version number, etc.

The standard way to display a UUID is to use hex encoding, with four hyphens added at particular positions. It typically looks something like this:

00000000-1111-2222-3333-444444444444

See also GUID, the Microsoft version of UUID.

Any UUID (or GUID) can be converted into a URI by inserting "urn:uuid:" at the beginning, and then followed by the standard form, with letters in lowercase. This allows a UUID to be represented anywhere a URI is allowed, such as the identification of a node in a RDF graph.

A UUID can also be convert into a OID, by prefixing "2.25." followed by the decimal representation of the 128-bit number of the UUID (as a single number, not broken up into parts).

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox