Data storage method and device, equipment and medium
A data storage and data technology, applied in the field of data processing, can solve the problem that a single data storage mode can not meet the needs of rapid iterative update of business needs, and achieve the effect of decoupling
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Figure 1A It is a flowchart of a data storage method provided according to the first embodiment of the present invention. This embodiment can be applied to the situation of how to store data. Since it is applicable to the situation of how to store data in the field of construction machinery, the method can be executed by a data storage device, and the device can use hardware and / or software. It can be realized in the form of Kafka, and can be integrated into electronic equipment carrying data storage functions, such as a big data platform, specifically a platform that uses a high-throughput distributed publish-subscribe message system such as Kafka. like Figure 1A As shown, the data storage method of this embodiment may include:
[0029] S110. In the case where the storage mode subscription service is enabled, if the consumption of the target data by the data consumer is monitored, select the target storage mode associated with the target data from the candidate storag
Embodiment 2
[0044] figure 2 It is a flowchart of a data storage method provided according to the second embodiment of the present invention. On the basis of the above-mentioned embodiment, this embodiment further optimizes the "storage of target data by using the target storage mode", and provides an optional implementation solution. like figure 2 As shown, the data storage method of this embodiment may include:
[0045] S210. In the case where the storage mode subscription service is enabled, if the consumption of the target data by the data consumer is monitored, select the target storage mode associated with the target data from the candidate storage modes.
[0046] S220. Cache the target data in the memory queue.
[0047] In this embodiment, the target data is cached in the memory queue.
[0048] S230 , batch processing the target data according to a preset memory queue consumption policy.
[0049] In this embodiment, the memory queue consumption policy may include the number of c
Embodiment 3
[0057] image 3 It is a schematic structural diagram of a data storage device according to Embodiment 3 of the present invention. The embodiment can be applied to the situation of how to store data. Since it is applicable to the situation of how to store data in the field of construction machinery, the device can be implemented in the form of hardware and / or software, and can be integrated to carry a data storage function. electronic devices, such as servers. like image 3 As shown, the data storage device of this embodiment may include:
[0058] The target storage mode determination module 310 is configured to select the target storage mode associated with the target data from the candidate storage modes if the data consumer is monitored to consume the target data when the storage mode subscription service is enabled;
[0059] The target data storage module 320 is used for storing target data in a target storage mode.
[0060] According to the technical solution of the emb
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap