Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Anti-jamming method for computer central processing unit

A central processing unit and computer technology, applied in the direction of software testing/debugging, etc., can solve the problems of not being able to detect program interference in time, not being able to monitor program running status in real time, and unreasonable methods of dealing with interference, etc., to achieve less steps and real-time performance Strong, easy-to-use effect

Inactive Publication Date: 2011-10-05
XIAN UNIV OF SCI & TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above method can reset the system when the program is disturbed, enters an endless loop or hardware failure, the following main problems exist in the above, that is, the running status of the program cannot be monitored in real time, resulting in the inability to detect the interference of the program in time and deal with the interference accordingly method is also unreasonable
[0003] Invention patent application CN1677363 published on October 5, 2005 discloses a computer CPU anti-interference design method, although the operation of the program can be monitored in real time through this method, the interference of the program can be found in time and the interference can be dealt with in a reasonable way. However, the hardware implementation of this method is more complicated

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

[0020] Taking the 8031 ​​single-chip microcomputer of INTEL company as example, the anti-jamming method of computer central processing unit described in the present invention comprises the following steps:

[0021] Step 1. When the central processing unit of the computer is the CPU initialization, write the maximum address occupied by its program into an additional program maximum address register PCMAX, and the program maximum address register PCMAX and the program counter PC have the same number of digits and are N bits.

[0022] In this embodiment, a program maximum address register PCMAX is added on the basis of the existing CPU, and the number of bits of the program maximum address register PCMAX and the program counter PC are the same and both are 16 bits.

[0023] Step 2. Before the CPU fetches the instruction code according to the contents of the program counter PC, input the contents of the program counter PC and the program maximum address register PCMAX into an addi...

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 an anti-jamming method for a computer central processor, which comprises the following steps: 1, during the initialization of computer CPU, the maximum address occupied by the program thereof is read into an additional program maximum address register PCMAX; and 2, before the CPU fetches order codes according to the content of a program counter PC, the contents of the program counter PC and the program maximum address register PCMAX are input into an additional program address comparator PCP for comparison, wherein, when the former is equal to or smaller than the latter, the CPU executes normally, if not, the program address comparator PCP outputs an interruption signal to an additional non-maskable interruption source USINT to allow the non-maskable interruption source USINT to produce interruption and to lead the CPU into the interruption service program. The invention has a simple hardware design, less steps, is simple and convenient to be operated, and provides a simple solution to the problem that program interferes with a blank program storage area and an idle program storage area.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to an anti-jamming method for a computer central processing unit. Background technique [0002] The anti-interference of computer control system is an important issue that must be considered in the design of computer software and hardware, and the anti-interference of program counter PC is commonly known as the "program runaway" problem, and it is one of the main problems that need to be solved in the design. Existing common methods to solve "program runaway" include setting a "Watchdog" monitor, setting a program pointer trap, or using a reset command, etc. Although the above method can reset the system when the program is disturbed, enters an endless loop or hardware failure, the following main problems exist in the above, that is, the running status of the program cannot be monitored in real time, resulting in the inability to detect the interference of the program ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products