Data serial number generation method and system and electronic equipment

A technology for generating system and serial numbers, which is applied in the computer field, can solve problems such as system unavailability, disordered serial numbers, and database performance degradation, and achieve the effect of high index correlation efficiency and high coupling degree

Pending Publication Date: 2021-03-05
北京思特奇信息技术股份有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The serial number of each data is generated based on the database, but when the cloudification system frequently accesses the database, the performance of the database will degrade, or even fail. The database acts as a single node, so when the database fails, the entire system will unavailable;
[0005] 2) The serial number of each data is generated based on UUID (UUID is the abbreviation of Universally Unique Identifier, which means Universally Unique Identifier, which is a standard for software construction and is also a part of the Open Software Foundation in the field of distributed computing environments), but The serial number of each data generated is out of order, and the index association efficiency is low and unreadable;
[0006] 3) Use millisecond time points, random numbers, etc. to generate the serial number of each data, but in the case of high concurrency, repeated serial numbers will appear, resulting in a decrease in the coupling between serial numbers and data

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data serial number generation method and system and electronic equipment
  • Data serial number generation method and system and electronic equipment
  • Data serial number generation method and system and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Such as figure 1 As shown, a method for generating a data serial number in an embodiment of the present invention includes the following steps:

[0043] S1. Fill the host deployment information of each host used to acquire data into the first preset position of each field to be filled with the same number of digits;

[0044] S2. Generate the acquired serial number corresponding to each piece of data in chronological order, and fill it into the second preset position of the field to be filled corresponding to each piece of data, and obtain the data serial number corresponding to each piece of data.

[0045] Among them, the field to be filled can be understood as a string with multiple digits. For example, the field to be filled is a 64-bit string, and each bit of the 64-bit string defaults to 0, and the host deployment information is filled with 64-bit The first preset position in the string, the first preset position can be understood as: the first to fifth digits of t...

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

PUM

No PUM Login to view more

Abstract

The invention relates to a data serial number generation method and system and electronic equipment, and the method comprises the steps: filling the host deployment information of each host to a firstpreset position of each to-be-filled field; and generating a serial number corresponding to each piece of acquired data according to a time sequence, and filling the serial number into a second preset position of the to-be-filled field corresponding to each piece of data, thereby ensuring uniqueness of the data serial number corresponding to each piece of data, avoiding repeated data serial numbers, further ensuring relatively high coupling degree between the data serial numbers and the data. Besides, the method does not need to be based on a database, performance reduction of the database isavoided, the serial number of each generated data is ordered, index association efficiency is high, and readability is achieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method, system and electronic equipment for generating a data serial number. Background technique [0002] "Internet +" refers to the new business model developed by the Internet under the promotion of Innovation 2.0 (information age, innovation form of knowledge society). In simple terms, "Internet +" means "Internet + traditional industries". With the development of science and technology , using information and Internet platforms to integrate the Internet with traditional industries and create new opportunities for development by utilizing the advantages and characteristics of the Internet. "Internet +" optimizes, upgrades and transforms traditional industries through its own advantages, so that traditional industries can adapt to the current new development, and ultimately promote the continuous development of society. [0003] In the "Internet +" environment, the back-e...

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22
CPCG06F16/2228G06F16/2282
Inventor 王文刚
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products