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

Service updating method and system for server

A server and newly registered technology, applied in the Internet field, can solve problems such as system crash, downtime, inability to share configuration or service discovery, and affect the operation of distributed systems, so as to maintain stable operation and avoid interruption of functions and services.

Inactive Publication Date: 2017-03-08
TVM BEIJING TECH
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, the above method cannot effectively deal with the occurrence of background server downtime and service interruption
In a distributed system architecture, a large number of servers will experience system crashes and downtime due to the processing of huge amounts of computing and data interaction, and the interruption of server services will result in the inability to share configuration or service discovery, affecting the entire distribution operation of the system

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
  • Service updating method and system for server
  • Service updating method and system for server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0039] figure 1 It is a flow chart of the server service update method in Embodiment 1 of the present invention. Such as figure 1 As shown, the process includes the following steps:

[0040] Step 101, the background server registers with the ETCD server.

[0041] Step 102, the etcd server sets the TTL value for the background server;

[0042] After step A, the etcd server sets the TTL value for the newly registered background server;

[0043] The etcd server sets different TTL values ​​for different background servers;

[0044] ETCD only sets a TTL value for each server, and uses the TTL value set during registration when each server connects to the ETCD server...

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 service updating method and system for a server. The method comprises the following steps that: A, a background server registers for an ETCD server; B, the ETCD server sets a TTL (Time to Live) value specific to the background server; C, the background server updates the TTL value and transmits the updated TTL value to the ETCD server; D, the ETCD server monitors the TTL value transmitted by the background server, if the TTL value is monitored, the step C is performed, and if the TTL value is not monitored within time of the TTL value, a step E is performed; and E, the background server is restarted, and the step A is returned. According to the technical scheme, a running condition of the background server can be monitored; a running state of the server is effectively monitored; a service interrupt condition of the server is found rapidly; a service is restarted rapidly by a recovery measure; and the stable running of a distributed server system is ensured effectively.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and system for updating server services. Background technique [0002] In the era of cloud computing, how to quickly and transparently connect services to computing clusters, how to make shared configuration information quickly discovered by all machines in the cluster, and more importantly, how to build such a set of highly available, secure, and easy-to-deploy And a service cluster with fast response has become an urgent problem to be solved. ETCD provides an effective solution to such problems. The key / value storage service applied by ETCD in a distributed environment is a highly available key-value storage system, mainly used for shared configuration and service discovery. Using the characteristics of ETCD, applications can share information, configuration or service discovery in the cluster, and ETCD will replicate the data in each node of the cluster and ens...

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): H04L12/24
Inventor 张鹏鹏
Owner TVM BEIJING TECH