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

Inactive Publication Date: 2013-05-22
OPZOON TECH
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of the above defects, the technical problem to be solved in the present invention is how to solve the problem of data deadlock caused by high-concurrency SOA technology access to the database, and avoid the performance consumption caused by the high-performance access data of the system, and improve the effective hit rate of the cache

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
  • Database access method with high concurrency service-oriented architecture (SOA) technology and system
  • Database access method with high concurrency service-oriented architecture (SOA) technology and system
  • Database access method with high concurrency service-oriented architecture (SOA) technology and system

Examples

Experimental program
Comparison scheme
Effect test

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,...

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 discloses a database access method with a high concurrency service-oriented architecture (SOA) technology and a system. According to SOA page view, access hit rate high incidence data are calculated to obtain and cached in a hash mode, java script object notiation (JSON) format cache data are obtained and stored in a MAP assemble in a hash method, the MAP assemble is stored in an internal storage or a hard disk, the cache data operated by modifying data in the MAP assemble are stored in a cache mode, the cache data operated by the modifying data are persisted to a database, the cache data are inquired whether to exist or not in the internal storage according to a table name and inquiring conditions when the SOA technology is used for invoking services, if the cache data exist, a cache technology is used for modifying data operations, data processing needed to be modified is taken into a cache, and the cache is eliminated. The database access method with the high concurrency SOA technology and the system can flexibly and effectively perform adding, deleting and modifying operations for data, the data deadlock problem caused by the SOA method high concurrency access database does not need to be worried, the cache further can be eliminated according to the conditions, and the effective hit rate of the cache can be improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and a system for accessing databases with high concurrent SOA technology. Background technique [0002] SOA (Service-Oriented Architecture, Service-Oriented Architecture) is a component model that links different functional units (called services) of an application through well-defined interfaces and contracts between these services. SOA is a popular solution in the industry for cloud computing to access and process data, and it aims to process decentralized data in business. If there is no need for large-scale traversal according to the calculation of SOA visits, the CPU load is very small. Data in JSON format can be written using the hash method. JSON (JavaScript Object Notion) is a lightweight data exchange format that is easy for humans to read and write, but also easy for machines to parse and generate. [0003] In the prior art, a client system is used t...

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): G06F17/30G06F12/08
Inventor 马晓超
Owner OPZOON TECH
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