Unified exception processing method for micro-service development framework

A technology for exception handling and development framework, applied in digital data processing, generation of response errors, instruments, etc., can solve problems such as maintenance troubles in the later stage of the engine, achieve convenient and unified maintenance, promote application value, and ensure stable functions

Inactive Publication Date: 2018-10-12
INSPUR QILU SOFTWARE IND
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The entire development cycle, cost and personnel capacity requirements are very high, and it is also very troublesome for different engine post-maintenance

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
  • Unified exception processing method for micro-service development framework
  • Unified exception processing method for micro-service development framework
  • Unified exception processing method for micro-service development framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the present invention will be further described in detail below in conjunction with specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The technical problem to be solved by the present invention is, on the one hand, to unify the handling of various exceptions in Web application development, and provide a general exception page suitable for different template engines; Automatic configuration is done, which saves developers from the extremely tedious configuration work and makes the program more streamlined and efficient.

[0029] The present invention relates to m...

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 unified exception processing method for a micro-service development framework. The method is implemented by the steps of firstly packaging exception pom dependency for automatically loading and finishing exception processing; selecting a development environment and a development tool, and establishing a Maven project; and adding the packaged exception pom dependency in the established Maven project, and performing unified processing on various business exceptions: jumping to an exception page of default mapping, performing interception, and performing output to a browser. Compared with the prior art, the unified exception processing method for the micro-service development framework has the advantages that the unified exception page is provided and adapts to different template engines, so that the work of repeated development of developers for different engines is reduced; self-defined exception page development is supported, so that the exception processing flexibility is improved; Spring Boot framework-based automatic configuration improves the usability of a program while ensuring the functional stability; the exception processing configuration is conciser and more convenient; and the method is high in practicality and wide in application range, and has very high popularization and application values.

Description

technical field [0001] The invention relates to the technical field of Web application development under microservices, in particular to a unified exception handling method of a microservice development framework. Background technique [0002] With the development of Internet technology, lightweight, efficient, and scalable development frameworks have become the mainstream model. The rapid development, construction, and packaging of the SpringBoot microservice framework make Web application development convenient and fast. Spring Boot makes default automatic configuration for environment configuration and jar package dependencies in different development scenarios, saving a lot of time spent on environment configuration for project development. [0003] In the traditional business development process, the exception handling is generally left to the developer to select the exception type according to the exception that may exist in the business logic. This requires develope...

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/07G06F8/30
CPCG06F8/315G06F11/0796
Inventor 李阳吴玉雁肖雪王建华
Owner INSPUR QILU SOFTWARE IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products