Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Unique identifier

From Wikipedia, the free encyclopedia

A unique identifier (UID) is an identifier that is guaranteed to be unique among all identifiers used for those objects and for a specific purpose.[1] The concept was formalized early in the development of computer science and information systems. In general, it was associated with an atomic data type.

In relational databases, certain attributes of an entity that serve as unique identifiers are called primary keys.[2] In mathematics, set theory uses the concept of element indices as unique identifiers.

Classification

[edit]

There are some main types of unique identifiers,[1] each corresponding to a different generation strategy:

  1. serial numbers, assigned incrementally or sequentially, by a central authority or accepted reference.
  2. random numbers, selected from a number space much larger than the maximum (or expected) number of objects to be identified. Although not really unique, some identifiers of this type may be appropriate for identifying objects in many practical applications and are, with informal use of language, still referred to as "unique"
    1. Hash functions: based on the content of the identified object, ensuring that equivalent objects use the same UID.
    2. Random number generator: based on random process.
  3. names or codes allocated by choice which are forced to be unique by keeping a central registry such as the EPC Information Services.
  4. names or codes allocated using a regime involving multiple (concurrent) issuers of unique identifiers that are each assigned mutually exclusive partitions of a global address space such that the unique identifiers assigned by each issuer in each exclusive address space partition are guaranteed to be globally unique. Examples include (1) the media access control address MAC address uniquely assigned to each individual hardware network interface device produced by the manufacturer of the devices, (2) consumer product bar codes assigned to products using identifiers assigned by manufacturers that participate in GS1 identification standards, and (3) the unique and persistent Legal Entity Identifier assigned to a legal entity by one of the LEI registrars in the Global Legal Entity Identifier System (GLEIS) managed by the Global LEI Foundation (GLEIF).

The above methods can be combined, hierarchically or singly, to create other generation schemes which guarantee uniqueness.[2] In many cases, a single object may have more than one unique identifier, each of which identifies it for a different purpose.

Examples

[edit]

National identification number

[edit]

National identification number is used by the governments of many countries as a means of tracking their citizens, permanent residents, and temporary residents for the purposes of work, taxation, government benefits, health care, and other governance-related functions.

Chemistry

[edit]

Computing

[edit]

Economics, tax and regulation

[edit]

Internet architecture and standards

[edit]
[edit]

Mathematical publications

[edit]

Research / Science

[edit]

Transportation

[edit]

See also

[edit]

References

[edit]
  1. ^ a b c d McMurry, Julie A.; et al. (2017). "Identifiers for the 21st century: How to design, provision, and reuse persistent identifiers to maximize utility and impact of life science data". PLOS Biology. 15 (6): e2001414. doi:10.1371/JOURNAL.PBIO.2001414. PMC 5490878. PMID 28662064.
  2. ^ a b Kline, Kevin E.; Kline, Daniel; Hunt, Brand (2009). SQL in a nutshell (3rd ed.). Beijing: O'Reilly. ISBN 978-0-596-51884-4. OCLC 244652620.
  3. ^ Haak, Laurel L.; Fenner, Martin; Paglione, Laura; Pentz, Ed; Ratner, Howard (2012). "ORCID: A system to uniquely identify researchers". Learned Publishing. 25 (4): 259–264. doi:10.1087/20120404. S2CID 206007063.