Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data access method and device

A data access and database technology, applied in data processing applications, electronic digital data processing, digital data information retrieval, etc., can solve problems such as the inability to guarantee normal data access.

Pending Publication Date: 2020-04-07
BANK OF CHINA
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a data access method and device, the purpose of which is to solve the problem that in the prior art, when it is necessary to increase or modify the cache mode or the cache is abnormal, the system developer needs to re-develop the code due to the need to issue a business closure notice. After the code development is completed, the application service needs to be restarted to realize the normal access to the data, and thus cannot guarantee the normal access to the data

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 access method and device
  • Data access method and device
  • Data access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The present application provides a data access method and device, which are applied to application services of overseas core systems. In order to meet the query requirements of different data access types, it is necessary for system developers to uniformly develop code for different types of caching methods to generate application services. After caching the code corresponding to the method, start the application service to access the data.

[0048]The purpose of the invention of the present application is to solve the problem in the prior art that in the system transaction process, when a cache method needs to be added, a cache method modified, or an exception occurs in the cache, the system developer needs to re-develop the code due to the need to issue a business closure announcement. After the code development is completed, the application service needs to be restarted to realize the normal access to the data, so the normal access of the data cannot be guaranteed.

...

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 access method and device. A data access class, a cache configuration parameter and a corresponding relationship of a corresponding cache strategy class is stored in a preset cache configuration parameter area, wherein the cache configuration parameter comprises a cache table identifier configuration item, a cache type configuration item, an application service initialization loading configuration item, a query option configuration item and a cache data initialization configuration item; in this way, when a data access request sent by a user is received, the data access request is attached with the data access class of the cache annotation, a cache table identifier to which a data access class belongs can be obtained; a cache configuration parameter corresponding to the cache table identifier is searched from a preset cache configuration parameter area, and the cache strategy class corresponding to the cache type configuration item in the cache configuration parameter is calle to execute the data query operation, and the data query result is fed back to the user. Through the method and the device, the development process can be simplified, the normal access of the data can be ensured when the cache is abnormal, and the release of a shutdown announcement is avoided.

Description

technical field [0001] The present application relates to the technical field of data caching, and in particular, to a data access method and device. Background technique [0002] Bank of China's overseas core system provides services for all overseas peripheral systems in the form of distributed services, including: loan, deposit, payment, batch, debit card, teller and other application modules. The transactions are complex and the data is huge, and the access to the database is very frequent. This affects the transaction processing performance of overseas core systems. [0003] At present, the problem of transaction processing performance caused by frequent database access is mainly solved by caching technology. For complex systems, due to the large number of data access scenarios involved, different data access scenarios may require different caching methods. For example, for system parameters with a small amount of data and infrequent changes, use fast and efficient mem...

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
IPC IPC(8): G06F16/2455G06Q40/02
CPCG06F16/24552G06Q40/02Y02D10/00
Inventor 余庆丹钟艳辉吴捷雄安宏伟
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products