Statistical method and device of database
A statistical method and database technology, applied in the field of data processing in financial technology, can solve the problems of single statistical method of in-memory database and inability to meet the needs of business statistics.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0136] The statistical scenario of the specific embodiment 1 is to count the number of logins of user B, and the statistical request is a counting request, and the specific process includes:
[0137] The counting interface receives the counting request, and the counting request includes the user ID of user B.
[0138] According to the counting request, the counting interface determines that the data structure corresponding to the operation interface of the Redis database is a String (character string), then generates a counting operation instruction corresponding to the String, and the counting operation instruction includes the user ID.
[0139] The counting interface sends counting operation instructions to the operation interface of the Redis database.
[0140] After the Redis database receives the counting operation command, it searches the corresponding Value (value) in the database according to the statistical key (key), that is, the user ID, and automatically increases ...
specific Embodiment 2
[0143] The statistical scenario of the second specific embodiment is to count the accumulated payment amount of user C, and the statistical request is an accumulation request, and the specific process includes:
[0144] The accumulation interface receives the accumulation request, and the accumulation request includes the user ID of user C.
[0145] According to the accumulation request, the accumulation interface determines that the data structure corresponding to the operation interface of the Redis database is a String (character string), and generates an accumulation operation instruction corresponding to the String, and the accumulation operation instruction includes the user ID.
[0146] The accumulation interface sends the accumulation operation instruction to the operation interface of the Redis database.
[0147] After the Redis database receives the accumulation operation command, it searches the corresponding Value in the database, that is, the payment amount, accor...
specific Embodiment 3
[0150] The statistical scenario of the specific embodiment three is how many users have logged in on the statistical device D, and the statistical request is a deduplication counting request. The specific process includes:
[0151] The de-duplication counting interface receives the de-duplication counting request, and the accumulation request includes the device ID of the device D.
[0152] According to the de-duplication counting request, the de-duplication counting interface determines that the data structure corresponding to the operation interface of the Redis database is a Set (collection), and generates a de-duplication counting operation instruction corresponding to the Set, which includes a device ID.
[0153] The deduplication counting interface sends deduplication counting operation instructions to the operation interface of the Redis database.
[0154] After the Redis database receives the deduplication counting operation command, it searches the corresponding Value...
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