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

Method and device for realizing service enhancement

A business method and business technology, applied in the computer field, can solve problems such as high risk, cumbersome operation, and waste of time, and achieve the effect of reducing the risk of human error and avoiding cumbersome operations

Pending Publication Date: 2020-03-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because the exception is unpredictable, that is, it is impossible to determine where or which method is abnormal, so the code can only be modified repeatedly after the exception occurs, and it goes online repeatedly. After the exception is eliminated, the new business logic needs to be deleted or commented out. At this time, it needs to be re-written Modify the code to go online, the operation is cumbersome, time-consuming, it is easy to cause human error, and the risk is high

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
  • Method and device for realizing service enhancement
  • Method and device for realizing service enhancement
  • Method and device for realizing service enhancement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] figure 1 is a schematic diagram of the main flow of a method for implementing service enhancement according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0036] Step S101: receiving a download notification from the monitoring server;

[0037] Step S102: According to the download notification, down...

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 method and a device for realizing service enhancement, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: receiving a download notification from a monitoring server; downloading a corresponding jar packet according to the downloading notification, the jar packet at least comprising an implementation class for implementing service enhancement; and dynamically loading the implementation class in the jar packet through a dynamic loading mechanism so as to realize service enhancement. According to the method, the execution code can be dynamically replaced to achieve a service enhancement function. According to the implementation mode, logic operation of the execution process is replaced under the condition of not interrupting or stopping service, the method can be used for input and output check or other function enhancement of online abnormal execution, the risk of human errors caused by manual codemodification is reduced, and tedious operation of repeatedly publishing service codes is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for realizing service enhancement. Background technique [0002] In the process of development and online product maintenance, we often encounter some difficult problems. For example, microservices are becoming more and more popular. One operation may call the service chain of multiple services, and data exceptions may occur. The input and output parameters of the service method make it very painful to confirm and debug the abnormal location. At present, for similar scenarios, the commonly used solution is to stop or interrupt the service, modify the code, add new business logic to the code, and put the modified code online to achieve business enhancement, that is, to determine the exception. After the exception is eliminated, it needs to be deleted or Comment out the new business logic, and you need to modify the code again to go online. Among them, the e...

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
IPC IPC(8): G06F8/656G06F9/445
CPCG06F8/656G06F9/44521
Inventor 谷东波
Owner BEIJING JINGDONG SHANGKE 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