Designing method for computer CPU anti-interference

A design method and computer technology, applied in the field of computer CPU anti-interference design, can solve problems such as computer compatibility limitations, failure to record the "place" of program instructions, failure to solve instruction data interference, etc.

Inactive Publication Date: 2007-08-01
XIAN UNIV OF SCI & TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above analysis that the invention patent of "A Design Method for Anti-interference of CPU Program Counter" (Patent No. 99115776.1) still has the following shortcomings: 1. It only solves the situation when the program counter PC is disturbed, but fails to solve the problem. The problem of data interference during the transmission of instructions; 2. Due to the addition of hardware and corresponding software in this invention patent, the anti-interference to the program counter PC is more complicated, and the compatibility of the computer designed by it is limited; 3. Existing technology It is only to judge the system error, that is, to judge whether it is disturbed, but it cannot record the specific "location" when the program instruction is disturbed, and cannot recover to the "breakpoint" before the disturbance. Therefore, the system can only be realized after the disturbance is discovered. Reset, the method of interference processing is not scientific

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 Construction

[0011] Now take INTEL's 8031 ​​single-chip microcomputer as a model to illustrate the design method and working process of the anti-jamming computer:

[0012] Increase the original program counter PC into three identical counters to be the three-choice program counter CPC, increase the original instruction register IR into three identical registers to be the three-choice two instruction register CIR, and add the program tracking address register PTAR and the program tracking flag Register PTFR, non-mask interrupt source NSI, program interference flag register PIFR.

[0013] The program tracking address register PTAR is set to the first 16 bits and the last 16 bits. The first 16 bits are the address of the executed instruction, and the last 16 bits are based on the content of the program tracking flag register PTFR to determine whether the next instruction is relative to the address of the executed instruction. The offset or the address of the next instruction; at the same time...

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 relates to a designing method for anti-interference property of computer CPU, comprising adding program tracking address register (PTAR), program tracking flag register (PTFR) and program interference flag register (PIFR) and additionally adding three select two counter (CPC), three select two instruction register (ICR) and adding nonscreened interruption (NSI). And a computer designed by this method can both effectively monitor program counter (PC) interference and instruction interference and records the interference interruption point and restoration interruption of the program, therefore provided with the characters of stronger anti-interference property, more accurate and reliable interference judgment, more effective failure treatment as well as real-time property, repairability and scientificalness.

Description

technical field [0001] The invention relates to a computer CPU anti-interference design method. Background technique [0002] The anti-interference of computer control system is an important issue that must be considered in its software and hardware design, and the anti-interference problem of program counter PC, commonly known as "program runaway", is one of the main problems to be solved in the design. The existing common method to solve "program running away" is to set "Watchdog" monitor, although it can reset the system when the program is disturbed, enters an endless loop or hardware failure, but there is a problem that the CPU failure cannot be found in time; the program is complicated It is not easy to determine the location of the "Watchdog" instruction in the software; it cannot play a role when it enters an infinite loop; it is usually suitable for a series of defects such as small computer control systems; The design method of " (patent number is 99115776.1) has ...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 柴钰柴剑
Owner XIAN UNIV OF SCI & TECH
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