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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com

