Database access method with high concurrency service-oriented architecture (SOA) technology and system
A SOA and database technology, applied in the field of data processing, can solve problems such as deadlocks, and achieve the effect of increasing speed, enhancing user experience, and reducing pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053]Embodiment 1 of the present invention provides a method for accessing databases with high-concurrency SOA technology, and the steps are as follows figure 1 As shown, it specifically includes the following steps:
[0054] Step A: Calculate the data with high access hit rate according to the SOA access volume, and perform hashing and caching to obtain the cached data in JSON format.
[0055] When performing hash caching, the cache of the structure in JSON format is written. The format design of the cache data includes: table operation K-V pairs, table data condition K-V pairs, and return value data K-V pairs.
[0056] Among them, K is Key, which represents the attribute of the object, and V is Value, which represents the corresponding attribute value. K in the table operation K-V pair is the operation name, and V is the operation method, which is divided into adding data, deleting data, modifying data and querying data. In order to distinguish the cache content, a cache ...
Embodiment 2
[0074] In order to achieve the above purpose, Embodiment 2 of the present invention also provides a system for accessing databases with high concurrent SOA technology, the composition diagram is as follows image 3 shown, including:
[0075] A cache data acquisition module 310 , a cache operation module 320 , a persistence module 330 , a cache processing module 340 and a cache clearing module 350 .
[0076] The cache data acquisition module 310 is used to calculate and obtain data with a high access hit rate according to the SOA access volume, and perform hash cache to obtain cache data in JSON format.
[0077] The cache data acquisition module 310 includes: a first cache module 311 and a second cache module 312 .
[0078] The first caching module 311 is used for caching when the table structure changes, including adding data caching, deleting data caching and modifying data caching.
[0079] The second caching module 312 is used for caching table structure queries, that is,...
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