Unlock instant, AI-driven research and patent intelligence for your innovation.

Primary key generation method and device

An automatic generation and snowflake technology, applied in the field of data processing, can solve the problem of low efficiency of the primary key generation method, and achieve the effect of improving the efficiency of identification

Pending Publication Date: 2022-01-18
浙江惠瀜网络科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the business data of all regions are collected into the data warehouse, a unique primary key needs to be generated for the data, and the primary key generation method in related technologies is inefficient

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
  • Primary key generation method and device
  • Primary key generation method and device
  • Primary key generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to enable those skilled in the art to better understand the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is an embodiment of a part of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.

[0022] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circ...

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 discloses a primary key generation method and device. The method comprises the steps of defining a data format of a snowflake ID based on a preset definition mode; according to the data format, configuring parameters for automatically generating snowflake IDs for different nodes; and in response to the acquired business data of the node, automatically generating a snowflake ID as a primary key for identifying each piece of data in the data table. After the snowflake ID is defined, the node is configured based on the definition mode, and the snowflake ID corresponding to the business data of the node is automatically generated based on the configuration, so that the node data identification efficiency is improved, and the generation process of the snowflake ID is controlled based on the configuration mode.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular to a primary key generation method and device. Background technique [0002] With the development of information systems, more and more software is deployed and operated in a distributed manner based on the microservice architecture to improve system reliability and throughput. In some business scenarios, the same set of software products may be deployed in multiple regions, and the business data in these regions needs to be collected into a unified data warehouse to realize related functions similar to the data center. [0003] When the business data of all regions are collected into the data warehouse, a unique primary key needs to be generated for the data, and the primary key generation method in related technologies is inefficient. Contents of the invention [0004] The main purpose of the present disclosure is to provide a master key generation method a...

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/22G06F16/23G06F16/2455
CPCG06F16/2282G06F16/2228G06F16/2322G06F16/2455
Inventor 周波金浩张君陈蓓珍张建业
Owner 浙江惠瀜网络科技有限公司