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

Data partitioning method for data routing

A technology of data partitioning and data routing, applied in database distribution/replication, structured data retrieval, special data processing applications, etc. uneven effect

Active Publication Date: 2020-08-07
北京思特奇信息技术股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] Aiming at at least one of the above problems, the present invention provides a data partition method for data routing, by using the user service number to generate a corresponding user unique identifier to identify the database and data partition where the corresponding data is located, Therefore, in the process of data routing, according to the user's unique identifier or user service number carried by the routing value, the corresponding database and data partition can be calculated without conversion, which speeds up the data routing speed, and furthermore, the data of the same city can be routed to different The data instance of the data partition solves the problem of unbalanced database instances

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 partitioning method for data routing
  • Data partitioning method for data routing
  • Data partitioning method for data routing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] Below in conjunction with accompanying drawing, the present invention is described in further detail:

[0025] Such as figure 1 with figure 2 As shown, a data partitioning method for data routing provided by the present invention includes: using a user service number to generate a corresponding user unique identifier, and the user u...

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 data partitioning method for data routing. The method comprises the following steps: generating a corresponding user unique identifier through a user service number, and using the user unique identificer for identifying a database where corresponding data is located and a data partition through employing different segmented sequences; storing the corresponding data in thecorresponding database and data partition according to the user service number or the user unique identifier; and in the data routing process, according to the user service number or the user uniqueidentifier carried in the routing value, calculating to obtain the database and the data partition where the corresponding data is located. According to the technical scheme, the corresponding database and data partition can be obtained through calculation without conversion, so the data routing speed is increased, the data of the same city can be further routed to the data instances of differentdata partitions, and the problem that the database instances are unbalanced is solved.

Description

technical field [0001] The invention relates to the technical field of data routing, in particular to a data partitioning method for data routing. Background technique [0002] The commonly used data partitioning algorithms are as follows: [0003] 1. Partition by range, the partition field is generally an integer. [0004] 2. Partition according to the enumeration value, each enumeration value is an independent partition. [0005] 3. Partition according to hash, do hash for a certain field, and then partition according to the enumeration value obtained by hash. [0006] With the development of business and technology, a certain partition or routing technology alone cannot meet the needs of the business. Here is a mobile business scenario: [0007] Generally, a mobile province is an independent system, and due to factors such as the population and business development of various cities, the amount of business carried out is uneven. Generally, the economy of the provincial...

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
IPC IPC(8): G06F16/27
CPCG06F16/278
Inventor 张伟明
Owner 北京思特奇信息技术股份有限公司