• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 224  文章 - 41  trackbacks - 0
            <2010年6月>
            303112345
            6789101112
            13141516171819
            20212223242526
            27282930123
            45678910

            享受編程

            常用鏈接

            留言簿(11)

            隨筆分類(159)

            隨筆檔案(224)

            文章分類(2)

            文章檔案(4)

            經(jīng)典c++博客

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            原文地址:http://blog.csdn.net/nidehong/archive/2006/11/22/1406125.aspx


            UUID

            通用惟一標(biāo)識符(UUID)是128位比特的數(shù)字,用來惟一地標(biāo)識因特網(wǎng)上的某些對象或者實體。

            A Universally Unique Identifier is an identifier standard used in software construction, standardized by the Open Software Foundation (OSF) as part of the Distributed Computing Environment (DCE). The intent of UUIDs is to enable distributed systems to uniquely identify information without significant central coordination. Thus, anyone can create a UUID and use it to identify something with reasonable confidence that the identifier will never be unintentionally used by anyone for anything else. Information labelled with UUIDs can therefore be later combined into a single database without need to resolve name conflicts. The most widespread use of this standard is in Microsoft's Globally Unique Identifiers (GUIDs) which implement this standard.

            一個UUID 是一個標(biāo)識符標(biāo)準(zhǔn)用于軟件架構(gòu),是由開放軟件基金會(OSF)作為分布式計算環(huán)境(DCE)的一部分而制定的標(biāo)準(zhǔn)。UUIDs的目的就是使分布式系統(tǒng)可以不需要重要的中央調(diào)合系統(tǒng)而能唯一地標(biāo)識信息。這樣,任何人能創(chuàng)造一個UUID 和使用它來標(biāo)識一些東西,而且,你有足夠的信心來確定這個標(biāo)識是永遠(yuǎn)不會被任何人無意地使用在任何東西上。因此,信息加上了UUID標(biāo)簽就能合并到單個數(shù)據(jù)庫中而不用去解決命名沖突的問題。這個標(biāo)準(zhǔn)的廣泛應(yīng)用在微軟的全球唯一標(biāo)識符(GUIDs)上,GUID實現(xiàn)了這個標(biāo)準(zhǔn)。

            A UUID is essentially a 16-byte number and in its canonical form a UUID may look like this:

            :550E8400-E29B-11D4-A716-446655440000

            And has this structure in the C programming language:

            typedef struct {
            unsigned32 time_low;
            unsigned16 time_mid;
            unsigned16 time_hi_and_version;
            unsigned8 clock_seq_hi_and_reserved;
            unsigned8 clock_seq_low;
            byte node6;
            } uuid_t;

            The J2SE 5.0 release of Java provides a class that will produce 128-bit UUIDs. The API documentation for the class refers to ISO/IEC 11578:1996.

            關(guān)于UUID的定義,詳細(xì)內(nèi)容可參考http://www.ietf.org/rfc/rfc4122.txt,文檔里面還有C語言對UUID標(biāo)準(zhǔn)的各種實現(xiàn)。

            GUID

            A Globally Unique Identifier or GUID is a pseudo-random number used in software applications. While each generated GUID is not guaranteed to be unique, the total number of unique keys (2128 or 3.4028×1038) is so large that the possibility of the same number being generated twice is very small.

            一個全球唯一標(biāo)識符 或 GUID 是一個假隨機(jī)數(shù)用于軟件中。雖然每個產(chǎn)生的GUID是不保證唯一的,但不同的標(biāo)識符總數(shù)是(2128 也就是3.4028×1038)如此之大,以至于相同的數(shù)字被產(chǎn)生兩次的機(jī)率是很相當(dāng)小的。

            The GUID is an implementation by Microsoft of a standard called Universally Unique Identifier (UUID), specified by the Open Software Foundation (OSF).

            GUID 是微軟對UUID這個標(biāo)準(zhǔn)的實現(xiàn)。UUID是由開放軟件基金會(OSF)定義的。

            UUID還有其它各種實現(xiàn),不止GUID一種,其它的在此不詳細(xì)說明。

            posted on 2010-09-17 10:58 漂漂 閱讀(851) 評論(0)  編輯 收藏 引用 所屬分類: 計算機(jī)基本概念
            色综合久久久久综合99| 国产精品久久波多野结衣| 欧美久久久久久午夜精品| 久久免费视频6| 久久亚洲精品无码AV红樱桃| 色综合久久综合网观看| 亚洲国产二区三区久久| 久久午夜电影网| 国产综合免费精品久久久| 久久久久亚洲精品无码蜜桃 | 成人午夜精品无码区久久| 国内精品久久久久久久久电影网| 久久婷婷国产麻豆91天堂| 开心久久婷婷综合中文字幕| 久久久无码精品亚洲日韩蜜臀浪潮| 97久久精品人人澡人人爽| 久久青青草原精品国产| 国产综合免费精品久久久| 久久国产精品77777| 亚洲欧美另类日本久久国产真实乱对白| 久久天天躁狠狠躁夜夜avapp| 日本精品久久久中文字幕| 久久无码AV一区二区三区| 国内精品久久久久久99| 欧美亚洲国产精品久久久久| 伊人色综合久久| 人妻无码αv中文字幕久久| 精品久久久久久无码免费| 国产999精品久久久久久| 久久婷婷五月综合成人D啪| 久久无码国产| 久久综合九色欧美综合狠狠| 国产成人AV综合久久| 大香网伊人久久综合网2020| 久久精品无码av| 欧美久久一级内射wwwwww.| 久久精品三级视频| | 久久天天躁狠狠躁夜夜av浪潮| 久久综合久久综合九色| 久久免费视频观看|