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

Method and system for accessing data under big data high concurrency

A technology for accessing data and big data. It is used in digital data processing, special data processing applications, instruments, etc. It can solve problems such as database access bottlenecks and paging query errors, and achieve the effect of avoiding data omissions and repeated queries.

Active Publication Date: 2018-09-28
武汉村助手科技有限公司
View PDF15 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method and system for accessing data under high concurrency of large data, which can well solve the bottleneck of database access in the case of high concurrency of large data, and the error of paging query caused by addition, deletion and modification of back-end data question

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
  • Method and system for accessing data under big data high concurrency
  • Method and system for accessing data under big data high concurrency
  • Method and system for accessing data under big data high concurrency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0040] like figure 1 and figure 2 As shown, a method for accessing data under high concurrency of large data includes the following steps,

[0041] S1, sending a request for accessing service data to the application interface of the service. Among them, if the application interface needs to implement the function of paging in the cache, instead of requesting the database for each query (there will be errors in requesting the database for each query), the application interface needs to implement the paging cache interface class IPageCache (IPageCache: a paging cache Interface class, which defines 4 interface methods, query paging data, add data objects to paging cache, delete data objects from paging cache, update...

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 relates to a method and a system for accessing data under big data high concurrency. The method comprises the following steps that: S1: sending a request for accessing business data to the application interface of service; S2: receiving the request by the application interface, checking whether paging data corresponding to the business is contained or not from a cache server, executing S3 if the paging data corresponding to the business is not contained, and executing S4 if the paging data corresponding to the business is contained; S3: inquiring business data corresponding to the business by the application interface in a database, initializing the inquired business data in the cache server, carrying out paging caching in the cache server, forming paging data, and executingS4; and S4: obtaining the paging data corresponding to the business by the application interface from the cache server, and returning the paging data. By use of the method, the cache server is combined, a data paging function is realized in the cache server, a phenomenon that a database has a bottleneck since the database is inquired for each request each time can be avoided, and the problems of data checking omission and repeated query since a query interface has errors are avoided.

Description

technical field [0001] The present invention relates to a method and system for data access, in particular to a method and system for accessing data under high concurrency of large data. Background technique [0002] In the case of large data and high concurrency, when the terminal sends paging data requests to the server, it will continue to request the database. When the amount of data is large and high concurrent access occurs, the database will be queried for each request, which will cause a bottleneck in the database. Moreover, there may be errors in the query interface. If there is new data in the next page of data to be queried, the duplicate data on the previous page will be queried; if the previous data is deleted in the next page of data to be queried, data will be missed Happening. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and system for accessing data under high concurrency of large da...

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/30
Inventor 王强
Owner 武汉村助手科技有限公司
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