Method for enhancing reliability of program of multi-replica contrast mechanism based on code segment

A code segment and multi-copy technology, applied in the computer field, can solve problems such as hardware transient failure, power supply voltage frequency increase, code segment change, etc., to achieve simple implementation, prevent program crashes, and improve reliability

Inactive Publication Date: 2010-12-01
XI AN JIAOTONG UNIV +1
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) Cannot detect code segment changes due to transient faults
[0005] The virtual memory protection mechanism provided by the processor can only detect abnormalities caused by illegal reading and writing of code segments by the program, but cannot detect the reading and writing of code segments caused by transient faults.
Code segment changes such as memory cell bit inversions due to processor overheating are undetectable
[0006] 2) The impact of the development of hardware technology on computer systems is not considered
[0007] In rec

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 for enhancing reliability of program of multi-replica contrast mechanism based on code segment
  • Method for enhancing reliability of program of multi-replica contrast mechanism based on code segment
  • Method for enhancing reliability of program of multi-replica contrast mechanism based on code segment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0031] Such as figure 1 As shown, the method for improving program reliability based on the multi-copy comparison mechanism of code segments includes the following steps:

[0032] (1) Start a kernel thread in the operating system as an initialization thread. The initialization thread extracts the code segment information that needs to protect the program through the memory information descriptor mm_struct in the process descriptor task_struct. The code segment information includes the code segment size and the initial logical address , end logical address;

[0033] (2) The initialization thread sets up two copies of the code segment that need to protect the process according to the code segment information extracted in the step (1), one is called the primary copy, and the other is called the secondary copy;

[0034] (3) The initialization process divides th...

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 for enhancing the reliability of a program of a multi-replica contrast mechanism based on a code segment. In the method, an kernel thread is started as an initialization thread, the initialization thread obtains a process memory information, two replicas of a process code segment are stored in a physical memory, the process code segment is also divided into memory domains with the fixed size, the kernel threads with a corresponding amount are started as a consistency maintenance thread to maintain the consistency of a process code domain and a replica thereof in real time according to a division result, and program code segment errors caused by various software and hardware faults are discovered and recovered in time. The invention is simple to realize, is transparent to a protected process and can efficiently detect the program code segment errors, thereby preventing program crash and even system invalidation caused by the code segment errors and improving the operation reliability of the program.

Description

technical field [0001] The invention belongs to the field of computers and relates to computer fault-tolerant technology, in particular to a method for improving program reliability based on a multi-copy comparison mechanism of code segments. Background technique [0002] With the development of the Internet and the continuous popularization and deepening of computer applications, various industries and applications have higher and higher requirements for the reliability of computer systems. In particular, there are more and more high-end and business-critical applications, and system reliability issues have become increasingly prominent. In modern businesses, server downtime is one of the leading causes of lost profits. It can be seen that how to ensure the reliability of business systems is very important for organizations that need to provide users with uninterrupted services or need to ensure information security. Fault-tolerant computers and related technologies emerg...

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
IPC IPC(8): G06F11/14
Inventor 张兴军董小社雷济凯郑豪刘鹏飞王恩东胡雷钧张东伍卫国
Owner XI AN JIAOTONG UNIV
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