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

A method for interrupt location, processor and terminal equipment

A processor and interrupt information technology, applied in electrical digital data processing, instruments, and response error generation, etc., can solve the problems of difficulty in interrupt positioning, time-consuming, complicated operation, etc., and achieve the effect of fast and effective positioning

Active Publication Date: 2022-01-25
PAX COMP TECH SHENZHEN
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, an embodiment of the present invention provides an interrupt location method, a processor, and a terminal device to solve the problems of difficult interrupt location, complicated operation, and long time-consuming in the prior art

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
  • A method for interrupt location, processor and terminal equipment
  • A method for interrupt location, processor and terminal equipment
  • A method for interrupt location, processor and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It shows the implementation process of a method for interrupt location provided by an embodiment of the present invention. The subject of execution of the process in this embodiment may be a processor, and the process is described in detail as follows:

[0032] Step S101 , calling a periodic sampling output function each time the IRQ interrupt service routine is executed, wherein the periodic sampling output function is used to periodically sample and output IRQ interrupt information.

[0033] Step S102, by calling the periodic sampling output function, to obtain the IRQ interrupt information of the processor.

[0034] In step S103, an abnormal interrupt event is determined according to the IRQ interrupt information.

[0035] In the processor, each time the IRQ interrupt service program is executed, the IRQ interrupt information will be generated. However, in the present embodiment, the IRQ interrupt information is not collected every time the interrupt is int...

Embodiment 2

[0108] Such as image 3 As shown, an embodiment of the present invention provides a processor 100 for executing figure 1 The method step in the corresponding embodiment, it comprises:

[0109] The function calling module 110 is used to call the periodic sampling output function each time the IRQ interrupt service program is executed, wherein the periodic sampling output function is used to periodically sample and output IRQ interrupt information.

[0110] The function execution module 120 is configured to obtain the IRQ interrupt information of the processor by calling the periodic sampling output function.

[0111] The interrupt location module 130 is configured to determine an abnormal interrupt event according to the IRQ interrupt information.

[0112] In one embodiment of the present invention, the processor 100 also includes:

[0113] The interface calling module is used for inserting the calling interface of the periodic sampling output function at the entrance of the...

Embodiment 3

[0127] Figure 5 It is a schematic diagram of a terminal device provided by an embodiment of the present invention. Such as Figure 5 As shown, the terminal device in this embodiment includes: a processor 100 , a memory 200 , and a computer program 300 stored in the memory 200 and operable on the processor 100 . When the processor 100 executes the computer program 300, it realizes the steps in each embodiment as described in Embodiment 1, for example figure 1 Steps S101 to S103 are shown. Alternatively, when the processor 100 executes the computer program 300, it realizes the functions of each module / unit in each system embodiment as described in Embodiment 2, for example image 3 The functions of modules 110 to 130 are shown.

[0128] The terminal equipment refers to terminals with data processing capabilities, including but not limited to computers, workstations, servers, and even smart phones with excellent performance, palmtop computers, tablet computers, personal digi...

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 present invention provides a method for interrupt positioning, a processor and a terminal device, wherein the method includes: calling the periodic sampling output function each time the IRQ interrupt service program is executed, thereby periodically sampling and outputting the IRQ interrupt information, and then according to The IRQ interrupt information determines an abnormal interrupt event. The invention can quickly and effectively locate abnormal interrupts.

Description

technical field [0001] The invention belongs to the technical field of embedded systems, and in particular relates to a method for interrupt positioning, a processor and a terminal device. Background technique [0002] ARM is the abbreviation of Advanced RISC Machine, referring to ARM company and its CPU products. The ARM platform refers to an embedded system that uses the CPU (processor) of the ARM system as the main CPU. IRQ is the abbreviation of INTERRUPT REQUEST, which is the general term for interrupts corresponding to all peripheral modules of the ARM system CPU. On the ARM system CPU, the interrupts of all peripheral modules share the same general entry of the IRQ interrupt service routine. [0003] During the development, debugging or operation of the underlying software of the embedded system, there may be a crash problem caused by interrupts being triggered continuously. The system crash problem caused by the non-stop triggering of IRQ interrupt is a possible f...

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/07
CPCG06F11/0736G06F11/0772
Inventor 董时舫覃刊闵权
Owner PAX COMP TECH SHENZHEN
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