Message queue-based request processing method and device, equipment, and storage medium
A message queue and request processing technology, applied in the Internet field, can solve problems such as database bottlenecks, business volumes that cannot be completed in time, and low processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] figure 1 It is a flow chart of the message queue-based request processing method provided by Embodiment 1 of the present invention. According to different requirements, the execution sequence in the flow chart can be changed, and some steps can be omitted.
[0056] S11: When receiving a user request, encapsulate the user request into a corresponding message according to a preset message format.
[0057] In this embodiment, the user may send a request through a device, and the device refers to an electronic device capable of data processing, such as a client computer.
[0058] User requests may include, but are not limited to: registration, login, uploading documents or applying for insurance, etc. After receiving the user request, the system encapsulates the user request into a corresponding message according to a preset message format. For example, after the system receives the user's registration request, it encapsulates the registration request into a correspondin...
Embodiment 2
[0110] figure 2 It is a functional block diagram of a preferred embodiment of the message queue-based request processing device of the present invention.
[0111] In some embodiments, the message queue-based request processing device 20 runs in a server. The message queue-based request processing device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the message queue-based request processing device 20 can be stored in a memory, and executed by at least one processor to execute (see for details figure 1 and its related description) method of request processing based on message queue.
[0112] In this embodiment, the message queue-based request processing device 20 may be divided into multiple functional modules according to the functions it performs. The functional modules may include: an encapsulation module 201 , a sending module 202 , a storage module 203 , a judgment module 204 , an execut...
Embodiment 3
[0165] image 3 It is a schematic diagram of the equipment provided in Embodiment 3 of the present invention.
[0166] Said device 3 comprises: a memory 31 , at least one processor 32 , a computer program 33 stored in said memory 31 and executable on said at least one processor 32 , and at least one communication bus 34 .
[0167] When the at least one processor 32 executes the computer program 33, the steps in the above embodiments of the message queue-based request processing method are implemented.
[0168] Exemplarily, the computer program 33 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the at least one processor 32 . The one or more modules / units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 33 in the device 3 .
[0169] The device 3 may be c...
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