Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Server service method, system and device based on database Neo4j and storage medium

A service method and storage medium technology, applied in database distribution/replication, structured data retrieval, electronic digital data processing, etc., can solve problems such as difficult to effectively carry out multi-party business

Pending Publication Date: 2020-06-30
CHINA CITIC BANK
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above problems, the present invention designs a server service method, system, equipment and storage medium based on the database Neo4j, which solves the problem that it is difficult to effectively carry out multi-party business based on application restart and manual switching in the prior art

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
  • Server service method, system and device based on database Neo4j and storage medium
  • Server service method, system and device based on database Neo4j and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0055]According to an embodiment of the present invention, the server service method based on the Neo4j database of the present invention can be used, for example, to perform related blood relationship queries in a blood relationship system.

[0056] figure 2 It schematically represents a framework diagram of a server service method based on database Neo4j according to an embodiment of the present invention. Such as figure 2 As shown, in this embodiment, a Virtual ip address: 28.4.192.41, a master server ip: 28.4.192.237, and a slave server ip: 28.4.192.238 are established, and related installation, data import and data synchronization of the graph database Neo4j are performed to ensure The data consistency between the Neo4j graph database of the master server and the Neo4j graph database of the slave server ensures the uniqueness of the query results even if blood relationship queries are switched to different servers.

[0057] In this embodiment, nginx and keepalived can...

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 provides a server service method, system and device based on databases Neo4j and a storage medium, and the service method comprises the steps: S1, respectively building Neo4j databases on at least two servers, and carrying out the importing of the same data for each Neo4j database; S2, installing an nginx service and a keepalived service for each Neo4j database, and configuring conffiles of the nginx service and the keepalived service; S3, compiling a heartbeat detection script file, detecting an nginx running state in one server, and judging whether to switch the servers or notaccording to the nginx running state; and S4, performing server configuration verification, and detecting a service operation state. According to the scheme of the invention, the high-availability strategy of the Neo4j service is realized through nginx + keepalived, and the master database and the slave database are set, so that the master database can be automatically downtime and automaticallyadjusted to the slave database node, and the service can be continuously carried out.

Description

technical field [0001] The present invention relates to the technical field of server processing, in particular to a server service method, system, device and storage medium based on database Neo4j. Background technique [0002] In the prior art, the high-availability strategy is usually to restart the application or manually switch to the corresponding standby database. [0003] If the existing technology uses application restart, it will inevitably cause a period of downtime. Manually switching to the standby database, one is the question of whether the data is synchronized, and the other is the need to stop the service during the middle switch. Contents of the invention [0004] In view of the above problems, the present invention designs a server service method, system, device and storage medium based on Neo4j database, which solves the problem that it is difficult to effectively carry out multi-party business based on application restart and manual switching in the p...

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/27G06F9/455G06F9/50
CPCG06F16/27G06F9/45558G06F9/5088G06F2009/45595
Inventor 钱昊聂文真
Owner CHINA CITIC BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products