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

Data query and storage method and system

A data storage system and data storage technology, applied in database indexing, data processing applications, structured data retrieval, etc., can solve the problems of large data volume, reduced query efficiency, and reduced throughput.

Inactive Publication Date: 2020-02-21
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the traditional solution, a check-in record corresponds to a piece of data (such as a record in a database, or a line of data in a log file), and this piece of data includes information such as the identity of the check-in person, check-in time, etc., resulting in a large amount of data , which not only wastes storage space, but also causes too much data to be loaded during query, which reduces query efficiency and concurrent throughput.

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 and storage method and system
  • Data query and storage method and system
  • Data query and storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that the technical solutions claimed in this application can be realized even without these technical details and various changes and modifications based on the following implementation modes.

[0056] Explanation of some concepts:

[0057] Bitmap: Bitmap refers to a data structure that is a collection of multiple bits.

[0058] Subject: The entity around which the calculation is based. All calculations are based on the subject, such as user ID, product ID, policy ID, etc.

[0059]Continuous operator: An operator used to count the continuous situations in which the subject executes or triggers an action, we call it a continuous operator. For example, in the example of asking for the maximum number of consecutive days a user has logged in, the subject is the user ID, and the triggered action ...

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 data query and storage method and system. The data storage method comprises the steps that when an agreed event is triggered, a bitmap is read from a storage device, each bitmap is used for storing information that the agreed event is triggered within a period of time, and each bit in the bitmap corresponds to whether the agreed event is triggered or not within an agreedtime; the position of a bit needing to be operated in the bitmap is calculated according to the time when the agreed event is triggered, and the bit of the position in the bitmap is set as a value representing that the agreed event is triggered; and the modified bitmap is written back to the storage device to replace the bitmap before modification.

Description

technical field [0001] This specification relates to computer data storage technology. Background technique [0002] At present, in order to increase the daily activity of products and enhance user stickiness, the following application scenarios are often encountered: merchants need to collect information about users’ continuous execution of a certain action, and then formulate different strategies for promotion or marketing based on the statistical information. For example: according to the number of consecutive logins of the user, a different number of points will be presented. Users who log in for 7 consecutive days can obtain VIP trial privileges, and users who log in for 10 consecutive days can obtain discount coupons for a certain product, etc. [0003] However, in the traditional solution, a check-in record corresponds to a piece of data (such as a record in a database, or a line of data in a log file), and this piece of data includes information such as the identity ...

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): G06Q30/02G06F16/22G06F16/248
CPCG06Q30/0224G06Q30/0226G06F16/2246G06F16/248
Inventor 黄文华王帅周家英连文珑
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
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