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

Program exception processing system and method

A technology for handling programs and exceptions, applied in the field of system program management systems, which can solve problems such as affecting the subsequent operation of the main program, delaying processing time, and interface suspended animation, and achieving the effect of preventing normal operation.

Inactive Publication Date: 2014-06-18
深圳金阳海网络智能科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] A program that loops through multiple processing records. Usually, when processing each record, the main program needs to call a third-party component. When the third-party component is abnormal during the calling process or an event that the main program cannot predict occurs, the main program often cannot Catching such an exception causes the main program to be stuck or the interface to appear suspended animation, which affects the subsequent operation of the main program
In the end, other pending records have been in a waiting state, delaying processing time

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] like figure 1 Shown is the operating environment diagram of the preferred embodiment of the system for handling program exceptions in the present invention. The system 10 for handling program exceptions runs in a main server 1, and the main server 1 is connected to at least one backup server 2 through a network. In this embodiment, a backup server 2 is taken as an example to illustrate the present invention.

[0016] Both the main server 1 and the backup server 2 include a main program 11, and the main program 11 includes a plurality of records to be processed, and each record to be processed corresponds to a preset processing time and is sorted according to the preset processing time. When executing the main program 11 in the main server 1, under normal circumstances, each record to be processed in the main program 11 should arrive at the preset processing time corresponding to the record to be processed when the system time of the main server 1 arrives. Execute the ...

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

A program exception processing system comprises a closing module, an executing module and a starting module, wherein the closing module is used for closing a main program when system time of a main server exceeds preset processing time corresponding to an early to-be-processed record in the main program of the main server; the executing module is used for re-executing the main program when the number of execution times of the main program in the main server does not exceed the number of preset times; the starting module is used for starting the main program in a backup server when the number of execution times of the main program in the main server exceeds the number of preset times. The invention further provides a program exception processing method. By means of the program exception processing system and method, exceptions in a main program execution process can be processed.

Description

technical field [0001] The invention relates to a system and method for system program management, in particular to a system and method for handling program exceptions. Background technique [0002] A program that loops through multiple processing records. Usually, when processing each record, the main program needs to call a third-party component. When the third-party component is abnormal during the calling process or an event that the main program cannot predict occurs, the main program often cannot Catching such an exception causes the main program to get stuck or the interface to appear suspended animation, which affects the subsequent operation of the main program. In the end, other pending records are always in a waiting state, which delays the processing time. Contents of the invention [0003] In view of the above, it is necessary to provide a system for handling program exceptions, which can deal with abnormal situations in program operation. [0004] It is als...

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/07
CPCH04L41/0668G06F11/14H04L69/40G06F11/0706G06F11/0757G06F11/1438G06F11/2023G06F11/2038
Inventor 李忠一谢德意陶帅军易志强姚俊超
Owner 深圳金阳海网络智能科技有限公司
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