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

Program exception processing method and system

An exception handling and program exception technology, applied in the field of electronic information, can solve problems such as unresolved abnormal operation

Pending Publication Date: 2021-11-16
XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiments of the present disclosure provide a method and system for handling program exceptions, which can solve the problem that the abnormal operation cannot be solved when the software program runs abnormally

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
  • Program exception processing method and system
  • Program exception processing method and system
  • Program exception processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0098] Based on the above figure 1 The program exception handling methods described in the corresponding embodiments, the following are the system embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.

[0099] The embodiment of the present disclosure provides a program exception handling system, such as figure 2 As shown, the program exception handling system 20 includes: a program module 201 and an exception handling module 202 .

[0100] Such as Figure 2a As shown, the program module runs a software program, such as a C++ program. A structured exception capture module 2011 is deployed in the program module 201, and the structured exception capture module is used to capture the operation exception of the software program.

[0101] The program module 201 is used for activating the structured exception capture module 2012 after detecting that the software program 2011 starts;

[0102] When the structured exc...

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 provides a program exception handling method and system, relates to the technical field of electronic information, and can solve the problem that when a software program runs abnormally, the program directly exits, and consequently the running exception cannot be handled. According to the specific technical scheme, a structured exception capture module is deployed in a software program, when the software program runs abnormally, the structured exception capture module intercepts the running exception and generates exception information, and a control strategy matched with the running exception is found according to the exception information. The invention is applied to process exceptions in software programs.

Description

technical field [0001] The present disclosure relates to the field of electronic information technology, and in particular to a method and system for handling program exceptions. Background technique [0002] With the continuous development of technology, the application of programming software also increases. For example, because of the characteristics of high efficiency, flexibility and easy transplantation of C++, there are more and more applications based on C++ technology. While bringing great convenience to users, it also brings inconvenience to users because of its efficient data operation: when the program is abnormal in the C++ software, it will crash and exit directly, such as: memory overflow, null pointer, etc. The operation causes the application to crash suddenly; because the program exits directly, and there is a lack of measures to deal with the aftermath of the abnormality, the user cannot know the cause of the abnormal operation of the software, so that the...

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 Applications(China)
IPC IPC(8): G06F11/07G06F9/48
CPCG06F11/0793G06F9/485
Inventor 刘雨果
Owner XIAN WANXIANG ELECTRONICS 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