Method and system for self-repairing down of network server

A network server, self-repair technology, applied in the direction of responding to the generation of errors, redundant data in the calculation, etc., can solve the problems of increased cost, long time, slow speed, etc., and achieve low cost and fast repair fast effect

Inactive Publication Date: 2012-02-22
东莞市正欣科技有限公司
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for today's distributed architecture, due to the increasingly large scale of server clusters, if each server is equipped with a backup server, the cost will be greatly increased, and the speed of using disk data log backup to restore data is relatively slow. Slow, it takes a long time to complete the repair, it is difficult to restore the service in a short time

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
  • Method and system for self-repairing down of network server
  • Method and system for self-repairing down of network server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0027] Please refer to figure 1 As shown, it shows the overall flow of a method for self-recovery of a network server downtime according to the present invention. In step (a), the web server is started in normal mode. A web server started in normal mode does not load data from shared memory in order to serve clients as quickly as possible.

[0028] Proceed to step (b), the network server starts to provide services, and stores the data in the shared memory, while monitoring whether the service is normal, if the service is normal, continue monitoring, otherwise, proceed to step c, in this step, whether the monitoring service is normal can be It can be realized in two ways: the first is to monitor the service by setting up a daemon; the second is to hook the thread of the service. Both of these two implementation methods are relatively mature ex...

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 method and system for self-repairing down of a network server. The method comprises the following steps that: a, the server is started in a normal mode; b, the server starts to provide service, stores data to a shared memory, and simultaneously monitors whether the service is normal or not, if so, monitoring is carried out continuously, or otherwise, a step c is carried out; c, a restart script is called, and the server is started in a repair mode; d, the server uploads data from the shared memory and carries out data repair; and e, after the completion of repair, back to the step b. Due to the adoption of the method or system, a spare machine has no need to be configured for the server, so that the cost is low; when the server uploads data from the shared memory and carries out data repair, the repair speed is fast, the repair can be completed in a very short time, and further the service is recovered; and in addition, when the service needs to be migrated to other servers, reliable base guarantee for data replication can be provided, the data is transmitted to the other servers through reading the data of the shared memory, same service is started, so that working migration can be completed.

Description

[0001] technical field [0002] The invention relates to a data processing technology for a network server downtime, in particular to a method and system for self-recovery of a network server downtime. [0003] Background technique [0004] With the development of network technology, the number of Internet users has exploded exponentially. Various instant messaging tools and online game platforms are facing the test of millions or even tens of millions of loads, and will be accompanied by increasingly frequent Network attack, in this situation, the network server will inevitably encounter the downtime problem. In the early days, the way people solved the downtime was to let the faulty server restart to restore the service, without considering the loss of data The problem is that the result of this is the reversion of data due to data loss. For the field of online games, the consequences are particularly serious: data reversion means that a large number of players' labor res...

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): G06F11/14
Inventor 丘亿昊邓超祁亨年
Owner 东莞市正欣科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products