DATA PROCESSING METHOD, device, APPARATUS AND MEDIUM
A data processing and data technology, applied in other database indexing, other database retrieval, other database query, etc., can solve the problem of high operating overhead of subject names, achieve the effect of improving processing performance and saving memory usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 It is a flowchart of a data processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of processing theme data. The method can be executed by a data processing device, and the device can be realized by software and / or hardware. see figure 1 , the data processing method provided in this embodiment includes:
[0044] S110. Receive a theme data access instruction including a target theme ID.
[0045] Specifically, before receiving the subject data access instruction including the target subject ID, it also includes:
[0046] Get the target topic ID;
[0047] Generate a data access instruction of the target subject according to the acquired target subject ID.
[0048] Wherein, the target topic ID refers to the topic ID of the topic to be processed. The topic ID can be any identifier smaller than the data volume of the topic's name string. Typically, it can be a fixed-length integer number, for example, th...
Embodiment 2
[0061] figure 2 It is a flowchart of a data processing method provided in Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see figure 2 , the data processing method provided in this embodiment includes:
[0062] S210. Obtain the name string of each theme during the initialization process.
[0063] Because the name string of a topic usually consists of multiple module names for data communication of the topic, the name string of a topic is usually longer and takes up more storage space.
[0064] S220. Using a preset hashing algorithm, hash the name string of each topic into a fixed-length topic ID.
[0065] Wherein, the preset hash algorithm (also called a hash function) may be any algorithm for converting the subject name string into a subject ID with a small amount of data, which may be specifically set according to actual needs. The setting length of the topic ID can also be set accordin...
Embodiment 3
[0075] image 3 It is a schematic structural diagram of a data processing device provided in Embodiment 3 of the present invention. see image 3 , the data processing device provided in this embodiment includes: an instruction receiving module 10 and a data search module 20.
[0076] Wherein, the instruction receiving module 10 is used to receive the theme data access instruction including the target theme ID identity;
[0077] The data search module 20 is used to search for the data of the target theme by using the target theme ID as an index in the pre-built theme data index list, wherein the theme data index list uses the theme ID as the key and the data of the theme as the key value The index table of the subject ID is obtained by hashing the name string of the subject.
[0078] In the technical solution of the embodiment of the present invention, the topic name string is converted into a topic ID, because the topic ID occupies less memory than the topic name string, 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