Method for realizing service callback based on message queue and search engine
A message queue and search engine technology, applied in the field of service callback based on message queue and search engine
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] attached figure 1 As shown, the method for implementing service callback based on message queue and search engine of the present invention is to combine API service and callback service to form a function package; the function package is used to describe the services required to complete a type of business collaboration , the smallest unit accessed by the user is the function; at the same time, the effective rules of the callback service are formulated. When the server initiates a callback, the correct callback API service is called back according to the parameter rules; the details are as follows:
[0065] S1. The client initiates a service function request;
[0066] S2. The business background decides to request the server to initiate a callback service according to the business function request;
[0067] S3. The server initiates a callback service request, and the request information enters the RabbitMq message queue;
[0068] S4. Request information to be persiste...
Embodiment 2
[0096] The method for implementing service callback based on message queue and search engine of the present invention is as follows:
[0097] (1) The client initiates an HTTP request to enter the unified service gateway;
[0098] (2) After passing the service gateway authority verification, a globally unique identification ID is generated; wherein, the ID is based on the link traceId and serves as the monitoring basis for the entire service link flow process;
[0099] (3) Request information to be persisted to the Elasticsearch search engine (at this time, the data status is persisted and not sent);
[0100] (4) Send the request ID and API URL to the RabbitMq message queue at the same time;
[0101] (5) By monitoring the confirmation callback interface of RabbitMq, update the status of the messages that have been received by the Broker (the data status is updated to have been sent and not processed);
[0102] (6) The consumer (the processing end of the specific request) pull...
Embodiment 3
[0107] An embodiment of the present invention further provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are loaded by a processor to cause the processor to execute the service callback based on a message queue and a search engine in any embodiment of the present invention. method. Specifically, it is possible to provide a system or device equipped with a storage medium on which software program codes for implementing the functions of any of the above-described embodiments are stored, and which enables a computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com