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

A processing method and device in case of program abnormality

A program abnormality and program technology, applied in the direction of electronic digital data processing, detecting faulty computer hardware, instruments, etc., can solve program influence, memory read and write errors, memory unavailable or allocated to other programs by the operating system, etc. problems, to avoid read and write operations, reduce harm, and prevent impact

Active Publication Date: 2022-04-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the target application program with strong coupling with the PCI-e hardware device exits abnormally, the target application program usually cannot cancel the memory address registered on the PCI-e device in time, which may cause the current When other devices read and write data through the target application program, the PCI-e device will still read and write data to the original memory address, but this part of the memory may no longer be available or allocated to other programs by the operating system. Part of the memory to read and write data will cause serious memory read and write errors, or have a serious impact on other programs

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 processing method and device in case of program abnormality
  • A processing method and device in case of program abnormality

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0035] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such 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 embodiment of the present application discloses a processing method in the case of a program abnormality, which is applied to a processing system. The processing system includes a parent process monitoring module and a PCI-e device. The parent process monitoring module judges according to the exit signal sent by the operating system kernel. Whether the child process exits abnormally; in the case of determining that the child process exits abnormally, the parent process monitoring module cancels the PCI-e device according to the device number of the PCI-e device associated with the PCI-e device transmission data program and the memory address registered therein The memory address registered in the PCI‑e device associated with the transfer data program. As a result, memory read and write errors caused by the PCI-e device data transfer program using invalid memory addresses for read and write operations are avoided, and the impact on the operating system and other programs is prevented, thereby reducing the harm caused by abnormal program conditions.

Description

technical field [0001] The present application relates to the technical field of software system driver program design, in particular to a processing method and device in case of abnormal program. Background technique [0002] Currently, a computer can use a PCI-e (English: peripheral component interconnect express) device to exchange data with other devices. Specifically, an application program installed in a user space (English: user space) in a computer installed with a Linux operating system can perform data interaction with other devices when running. [0003] With the development of science and technology, new PCI-e devices can support direct access to memory in user space. Specifically, when the application program installed in the user space, such as the target application program, is running, it will pre-allocate read and write memory to store data generated during the running process of the target application program. Then register the pre-allocated read-write me...

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/22G06F13/42
CPCG06F11/221G06F13/4282
Inventor 李美欣
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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