Multi-database routing method and system
A database and routing technology, applied in database indexing, database design/maintenance, electronic digital data processing, etc., can solve the problems of low query efficiency, uneven routing of faulty databases, poor business processing capability of a single database, etc., to improve business processing. Ability, simple implementation method, and the effect of solving uneven routing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The embodiment of the present invention provides a multi-database routing method, which is mainly to realize the routing scheme in the case of multiple databases, and how to realize the uniform routing problem of the database more easily when the database fails, and can quickly query the data in each database. Locate the database where the data is located, reduce unnecessary queries, and improve the efficiency of database operations. Routing in the embodiment of the present invention refers to the process in which a router receives a data packet from an interface, directs it according to the destination address of the data packet and forwards it to another interface. The main difference between routing and bridging is that bridging occurs in OSI The second layer (data link layer) of the reference model, while routing occurs at the third layer (network layer), this difference makes the two use different information in the process of transmitting information, thus completi...
Embodiment 2
[0073] An embodiment of the present invention provides a multi-database routing system, such as Figure 4 shown, including:
[0074] The receiving module 1 is used to receive a transaction request, and the transaction request carries the unique identification information of the transaction operation; this module executes the method described in step S1 in Embodiment 1, which will not be repeated here.
[0075] The first processing module 3 is configured to determine the first database according to the unique identification information; this module executes the method described in step S3 in Embodiment 1, which will not be repeated here.
[0076] The second processing module 5 is used to re-determine the first database according to the unique identification information and the preset character string in the case of a failure of the first database until the re-determined first database is normal; this module executes the method in Embodiment 1 The method described in step S5 wi...
Embodiment 3
[0080] An embodiment of the present invention provides an electronic device, such as Figure 5 As shown, it includes: at least one processor 401 , such as a CPU (Central Processing Unit, central processing unit), at least one communication interface 403 , memory 404 , and at least one communication bus 402 . Wherein, the communication bus 402 is used to realize connection and communication between these components. Wherein, the communication interface 403 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 403 may also include a standard wired interface and a wireless interface. The memory 404 may be a high-speed RAM memory (Ramdom Access Memory, volatile random access memory), or a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 404 may also be at least one storage device located away from the aforementioned processor 401 . The processor 401 may execute the multi-datab...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


