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

Middleware-based main and standby node working method and device, and electronic equipment

A working method and middleware technology, applied in the computer field, can solve problems such as increasing system complexity and deploying operation and maintenance costs, and achieve the effect of avoiding data contention and competition problems and reducing operation and maintenance costs

Active Publication Date: 2021-03-09
北京轻松怡康信息技术有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problems of usability and data competition at the same time, the mainstream solution is to introduce open source middleware such as ETCD or Zookeeper, but such middleware requires multi-node deployment, which increases the complexity of the system and the cost of deployment and maintenance

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
  • Middleware-based main and standby node working method and device, and electronic equipment
  • Middleware-based main and standby node working method and device, and electronic equipment
  • Middleware-based main and standby node working method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0042] Like numbers and letters denote similar items in the following figures, so that once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0043] Please refer to figure 1 , which is a schematic structural diagram of the electronic device 100 provided in the embodiment of the present application. The electronic device 100 includes: one or more processors 120 , and one or more memories 104 storing instructions executable by the processors 120 . Wherein, the processor 120 is configured to execute the middleware-based active ...

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 middleware-based main and standby node working method and device and electronic equipment, the method is executed by a service node, and the method comprises the following steps: calling middleware to initiate service registration; executing an obtaining operation of an atomic lock of the middleware; when the atomic lock is obtained, determining that the current node is amain node; and if the current node is the main node, generating a main node indication signal and sending out the main node indication signal. According to the technical scheme provided by the invention, the problems of data competition and competition between nodes caused by a multi-node operation mode are avoided, and the operation and maintenance cost of system node deployment is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a middleware-based active and standby node working method and device, electronic equipment, and a computer-readable storage medium. Background technique [0002] Services are deployed and run in multiple nodes, which can ensure the availability of the system, but the multi-node operation mode will cause multiple nodes to compete for data and process the same data at the same time, that is, the problem of data competition. [0003] In order to solve the problems of usability and data competition at the same time, the mainstream solution is to introduce open source middleware such as ETCD or Zookeeper, but such middleware requires multi-node deployment, which increases the complexity of the system and the cost of deployment and operation and maintenance. Contents of the invention [0004] The embodiment of the present application provides a middleware-based working m...

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): G06F9/54G06F9/50H04L29/08
CPCG06F9/547G06F9/5027G06F2209/5018H04L67/562
Inventor 张轩铭
Owner 北京轻松怡康信息技术有限公司