Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and device based on a persistent layer framework

A data query device and data query technology, applied in the field of data processing, can solve the problems affecting the processing performance of the system, and achieve the effect of improving the processing performance

Inactive Publication Date: 2019-04-19
BANK OF CHINA
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of tight database connection resources, even if the cached data is hit, the processing performance of the system will be affected due to the slow connection acquisition

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
  • Data query method and device based on a persistent layer framework
  • Data query method and device based on a persistent layer framework
  • Data query method and device based on a persistent layer framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.

[0022] Before introducing the embodiments of the present invention, the technical names involved in the embodiments of the present invention are first introduced.

[0023] 1. IBATIS: The word IBATS comes from the combination of "internet" and "abatis". It is an open source project initiated by Clinton Begin in 2002. Hosted by Google on June 16, 2010 and renamed as MyBatis, it is a persistence layer framework that supports JAVA and .NET based on SQL mapping. Therefore, the present invention is also applicable to MyBatis, and at the same time, the implementation principle of the present...

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 provides a data query method and device based on a persistent layer framework, and the method comprises the steps: receiving a query request initiated by a user in an application of thepersistent layer framework; Determining whether the to-be-queried data hits the cache data according to the query request; When the to-be-queried data hits the cached data, returning the hits cached data as a query result; And when the to-be-queried data does not hit the cached data, performing a database query operation, and returning the data obtained from the database as a query result. According to the technical scheme, the processing performance of the system is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data query method and device based on a persistence layer framework. Background technique [0002] In a high-concurrency application scenario that requires the use of a database, in order to reduce database operations, the query of some infrequently changing data tables is often cached. For app applications that use persistence layer frameworks such as ibatis framework, the caching mechanism provided by ibatis is generally used, but the caching mechanism of ibatis is implemented in the mapping layer (refer to the implementation of ibatis source code CachingStatement), which will also occupy database connections, but reduce database to perform operations. In the case of tight database connection resources, even if the cached data is hit, the processing performance of the system will be affected due to the slow connection acquisition. SUMMARY OF THE INVENTION [0003]...

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): G06F16/2455
Inventor 苗海柱
Owner BANK OF CHINA