Method for recovering main and standby systems of gateway server

A technology of gateway server and active/standby system, which is applied in the recovery field of gateway server active/standby system, which can solve problems such as the system has not been upgraded, the system cannot be started normally, affecting the cash register of the place, checking inventory, and finding member systems, etc.

Active Publication Date: 2019-11-08
成都千立网络科技有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The simplest example is a home wireless router, which is the main back-end device for surfing the Internet. Once the system fails to start normally, it will cause the home network to fail to work normally.
High requirements such as network equipment in commercial places, once the network is interrupted, it will affect the production activities such as cash register, inventory check, and membership system search, and the loss is immeasurable
[0003] The existing system is a single uboot and a single kernel, so the problem is that if the user accidentally cuts off the power during the upgrade process, the system cannot be started normally because the system has not been upgraded.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] The embodiment of the present invention adopts the dual uboot boot program, dual core + file system mode, that is to say, the uboot boot program, kernel and file system all have a spare tire. In this example, the main uboot boot program is represented by uboot.img , The standby uboot bootloader is represented by uboot-bk.img, the main kernel is represented by kernel.img, and the standby kernel is represented by kernel-bk.img.

[0027] In this embodiment, the purpose of successfully booting the standby system even when the primary system is damaged is to make the system work normally. First of all:

[0028] The main uboot.img cannot be upgraded, and the flash is read-only;

[0029] Backup uboot-bk.img can be upgraded;

[0030] Main kernel.img+main file system: can be upgraded

[0031] Standby kernel.img+standby file system: can be upgraded.

[0032] In actual application:

[0033] 1. If the backup uboot-bk.img is being upgraded, and the device is powered off, the no...

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 method for recovering main and standby systems of a gateway server, and belongs to the field of system upgrading. The method is characterized by comprising the steps that a main uboot program and a standby uboot program are set, meanwhile, a main kernel and a main file system corresponding to the main uboot program are set, and a standby kernel and a standby file system corresponding to the standby uboot program are set; wherein the main uboot program is set to be unable to be upgraded, the flash is read-only, and the standby uboot program, the main kernel, the main file system, the standby kernel and the standby file system are all set to be able to be upgraded. According to the method and the device, the problem that the system cannot be restarted due to incomplete system on the flash caused by accidental power failure or other accidents in the upgrading process can be prevented.

Description

technical field [0001] The invention relates to a system upgrade technology, in particular to a recovery method of a gateway server master and standby system. Background technique [0002] In the context of the Internet age, any place needs to be connected to the Internet. The simplest example is a home wireless router, which is the main back-end device for accessing the Internet. Once the system cannot be started normally, the home network will not be able to work normally. For network equipment with high requirements, such as commercial premises, once the network is interrupted, production activities such as cash register, inventory check, and member system search will be affected, and the loss is immeasurable. [0003] The existing system is a single uboot and a single kernel, so the problem is that if the user accidentally cuts off the power during the upgrade process, the system cannot be started normally because the system has not been upgraded. Contents of the inve...

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/14G06F9/4401G06F8/654G06F9/445H04L12/24
CPCG06F11/1469G06F11/1433G06F11/1438G06F9/4401G06F8/654G06F9/44521H04L41/0663
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