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

Global routing system, electronic equipment and storage medium based on data sharding

A data sharding and routing technology, applied in the database field, can solve problems such as wasting server resources, horizontal expansion restrictions, and database connection number server file handles are limited, so as to save server resources, reduce avalanche problems, and reduce transaction hotspots Effect

Active Publication Date: 2020-08-07
北京江融信科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, if there is a problem with one or several database fragments, it is easy to cause a service avalanche, that is, normal fragments cannot provide services normally due to the impact of abnormal spread; in addition, because the database routing service layer needs to communicate with each Each database fragment remains connected, and the number of database connections and the number of server file handles are limited, so this method has certain limitations on horizontal expansion.
[0006] To sum up, the routing method of data sharding in the prior art has the following technical problems: waste of server resources, prone to transaction hotspots, easy to cause service avalanche, and certain limitations in horizontal expansion

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
  • Global routing system, electronic equipment and storage medium based on data sharding
  • Global routing system, electronic equipment and storage medium based on data sharding
  • Global routing system, electronic equipment and storage medium based on data sharding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 is a schematic structural diagram of a global routing system based on data fragmentation provided by an embodiment of the present invention, see figure 1 , the system includes a route management service unit, a shard node, a route registration mapping service unit, a route service unit and a route synchronization service unit; wherein,

[0027] The routing management service unit is used to configure the fragmentation information of the routing service, and write the fragmentation information into a database;

[0028] The fragmentation node divides the global routing application into multiple application service groups according to the fragmentation information, and each application service group includes multiple fragments and multiple application service nodes; in each application service group, each Sharding corresponds to multiple application service nodes;

[0029] The route registration mapping service unit is used to initialize the fragmentation inform...

Embodiment 2

[0066] An embodiment of the present invention provides an electronic device, such as Figure 6 As shown, the electronic device at least includes: a processor and a storage device; a computer program is stored on the storage device, and the processor implements the global routing system provided by any embodiment of the present invention when executing the computer program on the storage device.

[0067] The electronic equipment in the embodiment of the present invention may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, and the like. Figure 6 The illustrated electronic device is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present discl...

Embodiment 3

[0069] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, and when the program is executed by a processor, the global routing system provided by any embodiment of the present invention is implemented.

[0070] It should be noted that the computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portab...

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 present invention provides a global routing system based on data fragmentation, the system includes a routing management service unit, a fragmentation node, a routing registration mapping service unit and a routing service unit; the routing management service unit is used to configure fragmentation information of routing services, The fragmentation information is written into the database; the fragmentation node divides the global routing application into multiple application service groups according to the fragmentation information, and each application service group includes multiple fragments and multiple application service nodes; in each application In the service group, each fragment corresponds to multiple application service nodes; the routing registration mapping service unit is used to initialize the fragment information to establish a fragment mapping table; the routing service unit transfers the transaction The packet information of the data is routed to the application service group. Therefore, each application service group of the present invention has a certain isolation from each other, thereby saving server resources, reducing transaction hot spot problems and avalanche problems.

Description

technical field [0001] The invention belongs to the technical field of databases, and in particular relates to a global routing system based on data fragmentation, electronic equipment and a storage medium. Background technique [0002] In the field of database technology, when using relational databases to process massive data, database sharding is usually used for processing. In order to route transactions to the corresponding computer rooms and corresponding shards, a layer is generally added before the transaction entry and application services Global transaction routing service, which first distributes new basic data evenly to each physical shard, then forwards the received transaction information to different computer rooms according to the sharding strategy, and forwards it to the corresponding application group according to the preset rules. [0003] Routing methods for data fragmentation in the prior art mainly include the following: [0004] 1. Add a routing servi...

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/27G06F16/22G06Q40/04H04L12/24H04L29/08
CPCG06F16/278G06F16/2282G06Q40/04H04L41/0893H04L41/0836H04L67/51H04L67/63
Inventor 王树冠翁国海
Owner 北京江融信科技有限公司