Data processing method and data processing device
A data processing and data technology, applied in the electronic field, can solve problems such as reducing data processing efficiency and consuming system resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] First, please refer to figure 1 , the data processing method in the embodiment of the present application includes the following content:
[0037] S101: Obtain a target key.
[0038] S102: Determine the key type to which the target key belongs, and determine a target index area corresponding to the key type of the target key.
[0039] S103: Obtain a target index item of the target key by querying the target index area.
[0040] S104: Obtain data corresponding to the target key in the data area according to the target index item.
[0041] In this embodiment of the application, the storage medium is stored in the form of Key-Value, in other words, multiple keys are stored in the storage medium, and multiple values corresponding to multiple keys are stored, wherein each value has a corresponding key.
[0042] In the technical field to which this application belongs, Key is called a key, also called a primary key; Value is a value corresponding to a key, and may also ...
Embodiment 2
[0109] Please refer to Figure 7 , the embodiment of the present application provides a data processing device, including:
[0110] Obtaining unit 101, configured to obtain the target key;
[0111] A determining unit 102, configured to determine the key type to which the target key belongs, and determine the target index area corresponding to the key type of the target key;
[0112] An obtaining unit 103, configured to obtain a target index item of the target key by querying the target index area;
[0113] The data obtaining unit 104 is configured to obtain data corresponding to the target key in the data area according to the target index item.
[0114] Further, the data processing device in the embodiment of the present application may also include:
[0115] An allocating unit, configured to allocate at least one key of the same type as the key to include the target index area before the obtaining unit obtains the target key.
[0116] The data writing unit is used to wri...
Embodiment 3
[0121] An embodiment of the present application provides a storage device. Figure 8 For the meanings and specific implementations of the terms involved in the storage device shown, please refer to the preceding Figure 1 to Figure 7 and descriptions of the examples.
[0122] Please refer to Figure 8 As shown, the storage device includes:
[0123] Interface 201, used to obtain the target key;
[0124] Processor 202, configured to determine the key type to which the target key belongs, and determine a target index area corresponding to the key type of the target key; obtain a target index item of the target key by querying the target index area; Obtain data corresponding to the target key in the data area according to the target index item.
[0125] Optionally, the processor 202 is also used for:
[0126] Before said obtaining the target key, allocate the target index area for at least one key of the same type as the key.
[0127] Optionally, the processor 202 is also us...
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