Exponentiation processing method, device and equipment and storage medium

A processing method and storage unit technology, applied in the computer field, can solve problems such as occupation of business system resources, high pressure on business interfaces, inconvenient adjustment, etc., and achieve the effect of simple configuration and debugging process, easy utilization, and reduced code error rate

Pending Publication Date: 2020-09-04
TAIKANG LIFE INSURANCE CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, it is necessary to configure an idempotent processing mechanism for the business interface of each business. The business interface is under great pressure, occu

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
  • Exponentiation processing method, device and equipment and storage medium
  • Exponentiation processing method, device and equipment and storage medium
  • Exponentiation processing method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. . Based on the embodiments in 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 embodiments of the present invention.

[0064] In the existing technology, it is necessary to configure an idempotent processing mechanism for the business interface of each business separately. The business interface is under great pressure, takes up business system resources, and requires repeated development, and it is not easy to adjust. Once a development error occurs, subsequent business will have a big impact. Therefore, in the embodiment o...

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 invention provides an idempotent processing method and device, equipment and a storage medium, and the method comprises the steps: receiving a business request, sent by a user, of any business, and the business request comprises business related parameters; performing idempotent judgment on the service request according to a preset idempotent judgment strategy corresponding to the service; if not, sending the service request to a service processor through a service interface corresponding to the service; and if the request belongs to the repeated request, returning a result to the user according to a preset idempotent return strategy corresponding to the service. The idempotent processing process is decoupled from the service, so that the pressure of a back-end service interface is reduced, and resources of a service processor can be better utilized; the idempotent processing processes of multiple services are uniformly processed, diversified idempotent judgment strategies are supported, only the idempotent judgment strategies need to be configured and debugged in idempotent processing equipment, the influence of idempotent development process errors on subsequent services is avoided, idempotent judgment strategy configuration and debugging are simple and rapid, and the code error rate and repeated labor cost of developers are reduced.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to an idempotent processing method, device, device, and storage medium. Background technique [0002] The concept of idempotence comes from abstract algebra. For example, for unary functions, if the following conditions are met: f(f(x))=f(x), it can be called idempotency. In computer science, an operation is idempotent if it is executed multiple times and has the same impact as a single execution. In a distributed system, when the service consumer calls the interface of the service provider, the result of multiple calls should be the same as the result of one call, which is exactly the semantics of idempotence in a distributed environment. In a distributed environment, the service call generally adopts the http protocol or rpc, that is, the two parties need to communicate through the network, and because of network failure or message timeout, the servic...

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): G06F9/448
CPCG06F9/448
Inventor 袁天亮
Owner TAIKANG LIFE INSURANCE CO LTD
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