Cold and hot data storage method and device and electronic device
A technology of hot and cold data and hot data, applied in the field of cold and hot data storage method and device, and electronic equipment, can solve the problem of high data storage cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] The implementation environment of the present invention may be an electronic device, such as a smart phone, a tablet computer, or a desktop computer.
[0056] figure 1 It is a structural schematic diagram of a device disclosed in an embodiment of the present invention. The apparatus 100 may be the above-mentioned electronic equipment. Such as figure 1As shown, apparatus 100 may include one or more of the following components: processing component 102 , memory 104 , power component 106 , multimedia component 108 , audio component 110 , sensor component 114 , and communication component 116 .
[0057] The processing component 102 generally controls the overall operations of the device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations, among others. The processing component 102 may include one or more processors 118 to execute instructions to complete all or part of the steps of the methods des...
Embodiment 2
[0066] see figure 2 , figure 2 It is a schematic flowchart of a cold and hot data storage method disclosed in the embodiment of the present invention. Such as figure 2 The cold and hot data storage method shown may include the following steps:
[0067] 201. Back up the hot data in the hot database to the cold database; wherein, the hot database is used to store hot data, and the cold database is used to store cold data; the hot data is data whose data access frequency within the target duration is greater than or equal to the preset access frequency , cold data refers to the data whose data access frequency within the target time period is less than the preset access frequency.
[0068] In the embodiment of the present invention, the hot database can be used to store hot data with high access frequency (such as online data), which needs to deal with complex query, insert, update and delete operations, and, in order to give priority to ensuring the high efficiency of read...
Embodiment 3
[0089] see image 3 , image 3 It is a schematic flowchart of another cold and hot data storage method disclosed in the embodiment of the present invention. Such as image 3 As shown, the hot and cold data storage method may include the following steps:
[0090] 301 . Determine whether there is duplicate cold data in the cold database that is the same as any hot data in the hot database. If there is duplicate cold data, perform step 302 ; if there is no duplicate cold data, perform step 303 .
[0091] 302 . Delete the duplicated hot data identical to the duplicated cold data from the hot database, and back up the remaining hot data in the hot database after deleting the duplicated hot data to the cold database, and directly execute step 304 .
[0092] In the embodiment of the present invention, if it is determined that there is cold data identical to any hot data in the hot database in the cold database, then it is determined that the cold data is repeated cold data, and th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com