Method and system for generating identification code

A technology for generating systems and identification codes, applied in the field of identification code processing, can solve problems such as low operation efficiency and difficulty in ensuring ID uniqueness, and achieve the effects of saving storage space, reducing the number of bytes, and ensuring efficiency
CN101976241BActive Publication Date: 2013-01-09YONYOU NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
YONYOU NETWORK TECH CO LTD
Publication Date
2013-01-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method for generating an identification code. The method comprises the following steps of: (S104) generating a first character string with a first length according to a universal algorithm of a universal unique identification code; (S104) removing a linking character in the first character string and changing the first character string with the first length into a second character string with a second length; and (S106) grouping and compressing characters in the second character string with the second length, and splicing the compressed characters to generate a third character string with a third length, wherein the third character string is an identification code. The invention also provides an identification code generation system. According to the technical scheme, the identification code generation system and the method can be realized, which not only can guarantee that the identification code generated in a distributed system has uniqueness, but also can effectively reduce the byte number occupied by the identification code so as to save the storage space and guarantee the data storage efficiency, and too much network flow cannot be increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to identification code processing technology, in particular to an identification code generation method and system. Background technique

[0002] In a software system based on relational database technology, usually, each data table needs to use an ID to uniquely identify a row of records. For example, each production order in an ERP system will have a unique identifier.

[0003] There are two main types of methods for generating unique IDs in the system in software products currently on the market:

[0004] (1) UUID (Universally Unique Identifier) ​​is used to generate a globally unique identification code. The advantage of this method is that there are already public algorithms, and many advanced development languages ​​themselves have provided corresponding toolkits, which can ensure that IDs generated in a distributed environment are unique and have relatively high operating efficiency. The disadvantage is that UUID is compo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More