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

On-line testing method of cpu based on grey box

An online testing and gray box technology, applied in the field of software algorithms, can solve the problems of untrustworthy CPU detection results, affecting the work of security systems and real-time response capabilities, and unpredictability, and achieve the effect of improving portability and readability.

Active Publication Date: 2016-05-04
SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Due to the increasing integration of CPUs and the increasingly complex internal structure, operations inside the CPU may bring unpredictable risks.
[0005] 2. It is often necessary to turn off interrupts for CPU testing during system operation, which affects the normal work and real-time response capabilities of the security system
[0006] 3. The test results of the CPU itself are unreliable. If the CPU itself fails, the test results need to be judged by yourself, which is unpredictable.
[0007] 4. CPU test cases are usually implemented with low-level assembly code. Due to the need to consider CPUs with different architectures, the portability is poor, and different test programs need to be written on different CPUs.

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
  • On-line testing method of cpu based on grey box
  • On-line testing method of cpu based on grey box
  • On-line testing method of cpu based on grey box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The invention provides a CPU online testing method based on gray box testing, and the algorithm can be applied to fields including but not limited to safety signal systems, industrial control systems and the like. The present invention makes a higher-level algorithm improvement to the above algorithm, overcomes the shortcomings of the prior art, and can achieve the purpose of covering CPU function failures.

[0019] Gray Box (GrayBox) is a device in which the working process on a program or system is partially recognized. Gray box testing, also known as gray box analysis, is a software debugging method based on limited knowledge of the internal details of the program. Testers may know how system components interact with each other, but lack detailed knowledge of internal program functions and operations. For internal processes, gray box testing treats the program as a black box that must be analyzed from the outside.

[0020] Gray box testing does not require testers ...

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 CPU on-line testing method based on a grey box. The method includes the following steps that a safe computer language code rule is set; a minimum language subset related to CPU functions is extracted; a CPU functional test case is generated; an object code is generated; the object code operates on a tested CPU, and a test result is produced; results are compared on another CPU; an expected result is stored on another CPU; whether the test result is identical with the expected result or not is judged; if the test result is identical with the expected result, CPU functions are judged as normal, and operation continues; if the test result is not identical with the expected result, system failure processing is judged. Advanced computer languages are utilized to achieve on-line testing on the CPU functions, transportability and readability of a test code are improved, a CPU functional layer, truly used commands and complete coverage of a register are considered, a CPU does not need to be shut off or interrupted, preservation and recovery of the internal state of the CPU before and after self-testing are not needed, and the current state of the CPU cannot be damaged.

Description

technical field [0001] The invention belongs to the field of software algorithms and is used for online detection of the correctness of CPU execution functions. Background technique [0002] In industrial control systems and safety signal systems (applied to avionics, railway signals, nuclear power and other industries), the central processing unit CPU has established the core control position and plays an extremely important role in ensuring the safety and reliability of the system. In order to ensure that the CPU can perform functional tasks correctly, the CPU must be periodically monitored. When an abnormality is found, the fault management mechanism should be activated, and safety measures should be taken in time to avoid more serious accidents. In the security field, CPU detection has always been a difficult point in the industry. The usual methods are as follows: figure 1 shown. [0003] The existing method is to detect the internal resources of the CPU, such as reg...

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 SHANGHAI FUXIN INTELLIGENT TRANSPORTATION SOLUTIONS
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