Asynchronous service processing method and server

A service processing and asynchronous technology, applied in the computer field, can solve the problems of low processing efficiency, data inconsistency, high labor cost, etc., and achieve the effect of improving processing efficiency and reducing labor cost

Active Publication Date: 2017-08-11
ALIBABA GRP HLDG LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the process of the application server polling the third-party server, if the application server cannot connect to the third-party server due to failure or upgrade release shutdown or network abnormality, the polling will stop and the database will not be updated, resulting in the request in the third-party server The result data is inconsistent with the data in the database, and the user cannot know the accurate request result data
[0005] In order to ensure that the request result data in the third-party server is consistent with the data in the database, and to ensure that users know the accurate request result data, in the prior art, operation and maintenance personnel manually query whether the data in the database is consistent with the data in the third-party server, To determine the data of the incomplete polling operation, and manually correct the incomplete polling operation data in the database to restore the data, but because of the post-processing, it is impossible to guarantee that the user will know the accurate request result data in time, and the labor cost is high, processing less efficient

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
  • Asynchronous service processing method and server
  • Asynchronous service processing method and server
  • Asynchronous service processing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] image 3 It is a schematic flowchart of an embodiment of the asynchronous service processing method provided by the present invention. The asynchronous service processing method of the embodiment of the present invention can be applied to an asynchronous service requester, for example figure 2 In the application server in the shown asynchronous service system, it is the data recovery process of the asynchronous service system. Such as image 3 As shown, the asynchronous service processing method in the embodiment of the present invention may specifically include:

[0031] S301. According to the recorded processing details of each service request, acquire a service request that needs to re-request result data from a service provider as a target service request.

[0032] S302. For the target service request, resend a polling request to the service provider to request to obtain result data of the target service request.

[0033] S303. Receive and record the result dat...

Embodiment approach

[0037] Figure 4 It is a schematic flowchart of another embodiment of the asynchronous service processing method provided by the present invention. The asynchronous service processing method of the embodiment of the present invention can be applied to an asynchronous service requester, for example figure 2 In the application server in the shown asynchronous service system, it is the data recovery process of the asynchronous service system. Such as Figure 4 As shown, the asynchronous service processing method of the embodiment of the present invention is image 3 A possible implementation of the asynchronous service processing method in the illustrated embodiment may specifically include:

[0038] image 3 In step S301 in the illustrated embodiment, the detailed processing information of each service request may specifically include the receiving time and execution status of each service request, and the execution status may specifically include the status of "successfull...

Embodiment 3

[0076] Figure 7 It is a schematic flowchart of another embodiment of the asynchronous service processing method provided by the present invention. The asynchronous service processing method of the embodiment of the present invention can be applied to an asynchronous service requester, for example figure 2 In the application server in the asynchronous service system shown, it is the main process of the asynchronous service system, which can be compared with Figure 3-Figure 5 The data recovery processes of the asynchronous service processing methods shown are implemented in combination, or may be implemented separately. Such as Figure 7 As shown, the asynchronous service processing method in the embodiment of the present invention may specifically include:

[0077] S701. Execute an asynchronous service processing flow for the service request.

[0078] S702. During the process of executing the asynchronous service processing flow, record the processing detailed informatio...

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 provides an asynchronous service processing method and a server. The method comprises the following steps: obtaining a service request needing to request result data from a service provider again according to processing detail information of recorded service requests to serve as a target service request; in view of the target service request, sending a polling request of the service provider again to request to obtain the result data of the target service request; and receiving and recording the result data of the target service request returned by the service provider. By adoption of the asynchronous service processing method and the server provided by the invention, the consistency of the result data in the service provider and the data recorded in the service requester is guaranteed, the user is guaranteed to obtain the request result data accurately in time, and no manpower participation in the process, thereby reducing the labor cost and improving the processing efficiency.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an asynchronous service processing method and server. Background technique [0002] At present, in order to ensure high reliability, some network (web) service systems often use multi-host redundant systems to provide services. The main architecture is as follows: figure 1 As shown, including one forwarding server (in order to prevent single point of failure, there are usually two or more active and standby forwarding servers, if the current active forwarding server fails, it will automatically switch to the standby forwarding server, but usually there is only one forwarding server at the same time The forwarding server is put into use), multiple identical application servers (each application server provides exactly the same service and runs simultaneously) and a database. Its working principle is as follows: the user sends a service request to the forwarding server, and the ...

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): H04L29/08
CPCH04L67/10H04L67/566H04L67/60H04L65/40
Inventor 黄梅龙
Owner ALIBABA GRP HLDG 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