Data searching method, data saving method and related equipment
A data search and data technology, which is applied in the computer field, can solve problems such as performance bottlenecks and query performance degradation, and achieve the effects of ensuring query speed, improving query speed, and ensuring data query speed and effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] In order to improve the query speed and overcome the performance bottleneck stored in the existing relational database management system (RelationalDatabaseManagementSystem, RDBMS), in the present invention, the Redis memory database is used to assist the RDBMS to retrieve the content data of the user's attention circle topic through the high-speed read and write characteristics of the Redis database .
[0103] In the present invention, the Redis doubly-linked list is used as the storage structure of each topic node, and the persistence of the user-generated content data is still stored using RDBMS. In the present invention, the generated content may be related to the business logic to be implemented, for example, the user-generated content may be the post content sent by the user to the circle, etc. At the same time, the number of storage elements can be limited in the bidirectional linked list, and the data beyond the display range can be directly deleted according to...
Embodiment 2
[0126] In the present invention, the speed of data retrieval can be effectively improved through the Redis database. The Redis database is an open-source, log-type, Key-Value database that is written in ANSIC language, supports the network, can be memory-based or persistent, and provides APIs in multiple languages.
[0127] Redis is a key-value storage system. Similar to Memcached, it supports relatively more value types for storage, including string (string), list (linked list), set (collection), zset (sortedset-ordered set) and hash (hash type). These data types support push / pop, add / remove, intersection, union, difference and richer operations, and these operations are atomic. On this basis, Redis supports sorting in various ways. Like memcached, data is cached in memory to ensure efficiency. The difference is that redis will periodically write updated data to disk or write modification operations to additional record files, and on this basis, master-slave (master-slave)...
Embodiment 3
[0155] Such as Figure 6 As shown, this embodiment provides a data search device, which is set on a terminal device, and the device includes:
[0156] An acquisition module 11, configured to acquire a list of content concerned by the user according to the acquired user identifier;
[0157] A generating module 12, configured to generate keywords according to the identification of content in the content list;
[0158] Finding module 13, is used for searching data in memory database by described keyword;
[0159] In one embodiment,
[0160] The search module 13 includes a first search sub-module 131;
[0161] The first search submodule 131 is used to search data in the memory database through the keyword; it is also used to search the found data when the keyword exists in the memory database and the search result is not empty. The data is deserialized.
[0162] The search module 13 includes a second search sub-module 132;
[0163] The second search sub-module 132 is used to s...
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