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

Form identifier generation method, form distribution method and device

A technology of identifiers and forms, which is applied in the database field, can solve problems such as difficulty in form shunting operation, single database and single table cannot meet the requirements of business data growth, and the application business layer cannot perceive and utilize it, so as to achieve good scalability and good routing rules Effect

Active Publication Date: 2019-09-17
ADVANCED NEW TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the scale of the system expands and a single database and single table cannot meet the growth requirements of business data, it is necessary to expand and transform the sub-database and sub-table, and each sub-database and sub-table form also needs to generate a globally unique identification code ID
[0003] At present, there are many ways to generate form IDs in the commonly used sub-database and sub-table environment. For example, a variety of algorithms are used to generate UUIDs based on parameters such as the current computer's MAC address and clock, but the IDs generated by this method have no business level. information, such as date and time information; there is also a MongoDBObject ID generated based on information such as timestamps, MAC addresses, and current processes. Although this generation method can form a unique ID based on multiple parts of information, the information contained in it does not affect the application business layer. It is transparent, and the application business layer cannot perceive and use this information
These methods of generating form IDs bring difficulties to the form distribution operation of the application business layer in the sub-database and sub-table environment

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
  • Form identifier generation method, form distribution method and device
  • Form identifier generation method, form distribution method and device
  • Form identifier generation method, form distribution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0055] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a method for generating a form identifier of the present application, which may specifically include the following steps:

[0056] Step 101, generating a unique identification part and a routing identification part.

[0057] In this embodiment, the device for generating the unique identifier of the form (hereinafter referred to as the device) first generates the various parts that make up the identifier, including generating the unique identifier part and the routing identifier part, wherein the unique identifier part may include the first identifier part and serial number. Specifically, it may be: generating the first...

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

Provided are a form identifier generation method, and a form shunting method and apparatus. The form identifier generation method comprises: generating a unique identification part and a routing identification part, which comprises generating the routing identification part according to a pre-set form shunting routing rule; and according to a combination of the unique identification part and the routing identification part, generating an identifier of the form. In addition to being capable of satisfying the uniqueness of a global ID on a technical level, the method for generating a unique identifier of a form also facilitates an application service layer in using routing information contained in a form identifier to perform a form shunting operation under a sharding environment, so as to provide good expansibility and routing rules for the splitting of sharding of large-scale massive data under a distributed environment.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a method for generating form identifiers, a method for distributing forms, a device for generating form identifiers and a device for distributing forms. Background technique [0002] ID is an identifier, which can uniquely identify an object in a certain search field. In a relational database, in a single-database single-table environment, the auto_increment attribute or sequence object is generally used as a method to generate an ID to uniquely mark a record. This method can ensure the uniqueness of the ID in the single-database mode. However, when the scale of the system expands and a single database and single table cannot meet the growth requirements of business data, it is necessary to expand and transform the sub-database and sub-table, and each form of sub-database and sub-table also needs to generate a globally unique identification code ID. [0003] At prese...

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 Patents(China)
IPC IPC(8): G06F16/22
Inventor 熊中根
Owner ADVANCED NEW TECH CO LTD