Supercharge Your Innovation With Domain-Expert AI Agents!

A data storage structure, data storage query method, terminal and medium

A technology of data storage and query method, which is applied in the direction of electronic digital data processing, digital data information retrieval, special data processing applications, etc., and can solve problems such as high storage cost, resource waste cost, and low frequency of Internet users

Active Publication Date: 2021-09-14
吉浦斯信息咨询(深圳)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to speed up the response efficiency of the API, we generally store data in memory, which of course also results in very high storage costs
Through observation, it is found that some of the devices will no longer appear on the Internet due to reasons such as the replacement of mobile phone devices by netizens, and the frequency of some netizens surfing the Internet is relatively low. If we keep storing this part of data in memory, it will cause resources waste and cost increase

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
  • A data storage structure, data storage query method, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Embodiment 1 provides a data storage structure, including hard disk cold data clusters, memory hot data clusters and memory ID collection clusters;

[0037] The cold data cluster is used to store several pieces of equipment data, and each piece of equipment data includes a equipment ID;

[0038] The hot data cluster is used to store active data, and the active data is device data that is repeatedly queried within the set time threshold T;

[0039] The ID collection cluster is used to store device IDs.

[0040] As we all know, the access speed of memory is very fast and can withstand high throughput. In contrast, the access speed of SSD is much slower than that of memory, and the throughput is much lower. In the data cluster, the entire cluster may be overwhelmed. Therefore, this technical solution allows some requests to hit the hot data cluster of the memory, and another part of the requests to hit the cold data cluster of the hard disk.

[0041] The hot data cluste...

Embodiment 2

[0044] Embodiment 2 provides a data storage query method based on the data storage structure described in the first aspect, such as figure 1 shown, including the following steps:

[0045] S1. Obtain device data, store the device data in the cold data cluster, and store the device ID in the ID collection cluster.

[0046] S2, obtaining an advertisement request, and obtaining a device ID according to the advertisement request;

[0047] S3, query ID collection cluster;

[0048] S4, determine whether the ID collection cluster stores the device ID, if so, query the hot data cluster, if not, feed back the advertisement request to the advertisement bidding unit;

[0049] S5, judging whether the hot data cluster stores device data related to the device ID, if so, feeding back the device data to the advertising bidding unit, if not, querying the cold data cluster;

[0050] S6, feeding back the device data queried from the cold data cluster to the advertising bidding unit, and updati...

Embodiment 3

[0068] This embodiment provides a terminal, including a processor and a memory connected to the processor, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the program described in the second embodiment. described method.

[0069] It should be understood that in this embodiment, the so-called processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0070] The memory, which can include read only memory and random access memory, p...

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 belongs to the technical field of data storage, and specifically relates to a data storage structure, a data storage query method, a terminal and a medium, including a cold data cluster of a hard disk, a hot data cluster of a memory, and an ID collection cluster of a memory; the cold data cluster, Used to store several device data, each device data includes a device ID; the hot data cluster is used to store active data, and the active data is device data that is repeatedly queried within the set time threshold T; the ID collection cluster , used to store the device ID. The present invention distinguishes the hot and cold data of the advertising crowd data, stores the device data that frequently appears on the Internet in the hot data cluster of the memory, and stores the device data that does not appear on the Internet for a period of time in the cold data cluster of the hard disk with low cost In this way, resources are fully utilized and storage costs are saved.

Description

technical field [0001] The invention belongs to the technical field of data storage, and in particular relates to a data storage structure, a data storage query method, a terminal and a medium. Background technique [0002] Advertising programmatic transactions have very high real-time requirements for API requests. Most ADX (advertising exchange platforms) require DSPs to complete the response to requests within 100ms. The frequency of requests is very high, and the amount of requested data is very large. The amount of crowd data that needs to be cached in the memory for advertisements is often very large. As the cost of memory rises, the resource consumption of this part has also become a major resource overhead for programmatic advertising transaction services. [0003] In the bidding traffic of programmatic advertising transactions, the program logic generally obtains the device data of the device through the device ID in the advertising traffic. The device data is a rel...

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 Patents(China)
IPC IPC(8): G06F16/2457G06F16/2458G06Q30/02
CPCG06Q30/0275G06F16/2457G06F16/2471
Inventor 谢泽帆张清元蔡俊涛罗伟东
Owner 吉浦斯信息咨询(深圳)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More