Financial data storage method and device based on HBase and storage medium
A financial data and storage system technology, applied in finance, data processing applications, structured data retrieval, etc., can solve the problems of inability to achieve reasonable storage of massive financial data, high-frequency query and fast calculation, etc., and achieve the effect of not being easily lost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] According to this embodiment, a method embodiment of an HBase-based financial data storage method is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0022] The method embodiment provided in this embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device. figure 1 It shows a hardware structural block diagram of a computer terminal (or mobile device) for realizing the HBase-based financial data storage method. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor 102 may include but not limited to a mic...
Embodiment 2
[0066] Figure 6 The HBase-based financial data storage device 600 according to this embodiment is shown, and the device 600 corresponds to the method according to the first aspect of Embodiment 1. refer to Figure 6 As shown, the device 600 includes: a calling module 610, used to call a financial data file; a first generating module 620, used to generate row keys according to the parameter values of multiple attributes included in the financial data file, wherein multiple The attributes include at least any one of the following: stock code, stock type, transaction date and transaction time; and an import module 630, configured to import the financial data in the financial data file into the HBase storage system according to the row key.
[0067] Optionally, the first generating module 620 includes: a first determining submodule, configured to determine the serial number of the trading day, where the serial number of the trading day is used to indicate the order in which th...
Embodiment 3
[0077] Figure 7 The HBase-based financial data storage device 700 according to this embodiment is shown, and the device 700 corresponds to the method according to the first aspect of Embodiment 1. refer to Figure 7 As shown, the device 700 includes: a processor 710; and a memory 720, connected to the processor 710, used to provide the processor 710 with instructions for processing the following processing steps: call the financial data file; The parameter value of attribute, generate row key, wherein multiple attributes include at least any one of following: stock code, stock type, transaction date and transaction time; And according to row key, the financial data in the financial data file is imported into HBase storage system .
[0078] Optionally, according to the parameter values of multiple attributes included in the financial data file, the operation of generating the row key includes: determining the serial number of the transaction date, wherein the serial number...
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