Method for storing transaction message based on MongoDB database
A transaction message and database technology, applied in database indexing, database management systems, data processing applications, etc., can solve the problems of limited maximum history lookback period of transaction messages, limited configuration disk space, etc., to improve data retrieval efficiency and The effect of message checking accuracy and expanding the storage time range
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] see figure 1 , in the embodiment of the present invention, a kind of method based on MongoDB database storage transaction message is characterized in that, MongoDB database storage transaction message is made up of gateway layer and MongoDB;
[0025] The main function of the gateway layer is to receive the transaction request sent by the client, generate a unique serial number for the request, and temporarily store the request serial number in the context of the transaction request at the gateway layer, and the context environment obtains the request message and the response message , and then the gateway layer obtains the request message and the temporarily stored request serial number through the context of the transaction request and encapsulates it into the Java object ExchangeData;
[0026] The unique serial number generated by the gateway layer adopts the snowflake algorithm, and the specific generation method is as follows:
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