High-speed data query platform based on shared memory

A technology of shared memory and high-speed data, which is applied in database indexing, database update, electronic digital data processing, etc. It can solve problems such as inability to achieve concurrent access, powerlessness, high cost, etc., and achieve the effect of improving data query efficiency

Pending Publication Date: 2020-05-12
江苏未来智慧信息科技有限公司
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous development of informatization, the speed of data generation is increasing, and the amount of data that needs to be processed is rapidly expanding. The era of big data is coming. The so-called big data refers to the huge amount of data involved, so that it cannot be processed in a reasonable way by mainstream software. In the face of massive data, although traditional relational databases have the advantages of supporting integrity constraints and supporting transactions, they are powerless in the face of large-scale massive data. Traditional relational databases mainly have the following problems. Data format conversion and storage cannot meet the performance requirements of massive data processing; second, it cannot meet the requirements of dynamic expansion and high availability; third, traditional large-scale relational databases usually run on large equipment, which is expensive, and the storage of data by big data How to effectively store, query and analyze these large-scale data has become an urgent problem to be solved
[0003] In terms of high-speed data storage and retrieval, there are currently many open source products on the market, which can provide relatively high-speed data storage and retrieval efficiency and relatively high concurrent visits, but all products currently on the market are basically based on the network. In the service mode, the query efficiency of data will inevitably be affected by protocol codec conversion and the delay of network communication itself. Even the in-memory database service known for its performance, the number of interactions per second for a single client frame is only one at most. At the same time, for requests from different clients, the server needs to queue up for processing, which cannot achieve concurrent access in the actual sense. In some occasions that require very high-speed access to data, for example, the application client needs frequent When requesting data and the client has strict requirements on the delay of calling and accessing the data interface, these products appear to be powerless

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
  • High-speed data query platform based on shared memory
  • High-speed data query platform based on shared memory
  • High-speed data query platform based on shared memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] The invention provides a high-speed data query platform based on shared memory, including a console tool, the connection end of the console tool is provided with a shared memory, the connection end of the shared memory is provided with a data channel, and the connection end of the shared memory is provided with a data channel. The input terminal is connected to the client through the API;

[0027] The console tool is used to control platform establishment, initialization, formatting, data removal and memory analysis functions;

[0028] The shared memory is used as a data storage carrier, and a database is stored inside the shared memory;

[0029] The data channel is used for data communication and data application;

[0030] After the client connects to the database and the data channel through the API, operations such as adding, deleting, modifying and checking can be implemented to complete the invocation of business logic.

[0031] The number of the data channels ne...

Embodiment 2

[0039] The present invention provides a high-speed data access mode, the program flow is as follows figure 1 Shown:

[0040] Data access opens two data channels for active and standby processing, that is, when one data channel provides normal data access, the other data channel is used as a backup channel for background data preparation when data is updated.

[0041] There is a service process in the system dedicated to data preparation and notification, and data channel switching. The specific work process is as follows:

[0042] S1. When the service process finds that the data needs to be updated (a new data file appears in a specific directory), it will make the system switch to the data preparation state, read the data file into the memory according to the rules and load it into the backup data channel of the shared memory;

[0043] S2. After the loading is completed, the service process sends a switching flag update to notify all client processes connected to it that the...

Embodiment 3

[0049] Such as figure 2 As shown, with the present invention as the core, the parameter access mode is opened to the network, a json-based general data access interface is provided, and network data query services are provided for all clients in the system that require high-speed data access.

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 high-speed data query platform based on a shared memory, and particularly relates to the field of computer data storage and retrieval. The high-speed data query platform comprises a console tool, the connecting end of the console tool is provided with the shared memory, the connecting end of the shared memory is provided with a data channel, and the input end of the shared memory is connected with a client through an API. The shared memory is used as a storage carrier; after data loading completion, the API provided by the platform is directly used for accessing the data on the shared memory according to a set algorithm; for an occasion requiring frequent data query in a project, the data query efficiency of the application program is greatly improved, the pressure problem of database data access does not need to be considered during application program programming, the data is cached to a local memory and then managed, and a real high-speed data query serviceis provided for an application client.

Description

technical field [0001] The invention relates to the field of computer data storage and retrieval, more specifically, the invention relates to a high-speed data query platform based on shared memory. Background technique [0002] With the continuous development of informatization, the speed of data generation is increasing, and the amount of data that needs to be processed is rapidly expanding. The era of big data is coming. The so-called big data refers to the huge amount of data involved, so that it cannot be processed in a reasonable way by mainstream software. In the face of massive data, although traditional relational databases have the advantages of supporting integrity constraints and supporting transactions, they are powerless in the face of large-scale massive data. Traditional relational databases mainly have the following problems. Data format conversion and storage cannot meet the performance requirements of massive data processing; second, it cannot meet the req...

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/22G06F16/23G06F16/2455
CPCG06F16/2228G06F16/2308G06F16/24552
Inventor 时春王锋平王志华王凤雷
Owner 江苏未来智慧信息科技有限公司
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