Unlock instant, AI-driven research and patent intelligence for your innovation.

Long transaction handling method and system, electronic equipment and storage medium

A processing method and technology for long transactions, applied in the computer field, can solve problems such as user rollback and damage to business data, and achieve the effect of facilitating upgrades

Pending Publication Date: 2021-10-19
深圳奥哲网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, these two solutions are not suitable for the upgrade of long transaction services, because long transaction services must be stateful services, and state services record the execution status of transactions or cache some business data. In this case, through the above two Upgrading in one of the ways may cause the user to perceive that the operation has been rolled back, and may also damage the cached business data

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
  • Long transaction handling method and system, electronic equipment and storage medium
  • Long transaction handling method and system, electronic equipment and storage medium
  • Long transaction handling method and system, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are only for explaining the present application, and should not be construed as limiting the present application.

[0031] It should be noted that the logical order is shown in the flow chart, but in some cases, the steps shown or described can be executed in a different order in the flow chart. If "several" is involved, it means more than one, if "multiple" is involved, it means two or more, and if "less than" is involved, it should be understood as including the original number. The use of any and all examples, or exemplary language ("such as," "such as," etc.) provided herein is intended merely to better illuminate embodiments of the a...

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 long transaction handling method and system, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of obtaining a long transaction request of a to-be-handled transaction through a preset service gateway, analyzing the long transaction request in a script operation environment to obtain a transaction number, determining a current operation state of the to-be-handled transaction according to the transaction number, determining that the long transaction request is handled by an initial service or a target service obtained by upgrading the initial service according to the current operation state, and if the to-be-handled transaction does not run in the initial service, forwarding the long transaction request to the target service for handling, so that data loss and user operation rollback can occur in the process of replacing an old version service with a new version service, and upgrading of the long transaction service is facilitated.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a long transaction processing method, system, electronic equipment and storage medium. Background technique [0002] In the microservice system, in the process of upgrading services, there are usually two ways to upgrade services. One is to start a new version of the service, so that the new version of the service and the old version of the service exist at the same time for a period of time. At this moment, the traffic is randomly forwarded to the old version. service or the new version service, and then the old version service will be offline in turn. The second is to start the new version of the service, and the traffic has not yet entered the new version of the service, directly modify the gateway configuration, so that all traffic enters the new version of the service, and then offline the old version of the service. [0003] However, these two solutions are not...

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): G06F9/46G06F8/656G06F8/71G06F11/14
CPCG06F9/466G06F8/656G06F8/71G06F11/1438
Inventor 饶阳王立
Owner 深圳奥哲网络科技有限公司