Disk storage method and device, message pushing method and device and electronic equipment
A technology for storing messages and disk storage. It is used in electrical digital data processing, instruments, input/output to record carriers, etc. It can solve the problem that high concurrency scenarios cannot be deduplicated, and achieve the effect of efficient deduplication storage.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 2 It is a flowchart of an embodiment of the disk storage method provided by the present invention, and the execution body of the method may be the business system described in the above embodiments. Such as figure 2 As shown, the disk storage method includes the following steps:
[0035]S201. Acquire keywords of messages to be stored.
[0036] For different application scenarios, the business system can set different keywords based on one or several specific attributes of the message. When the business system receives a message to be stored, it obtains the keywords set in advance.
[0037] S202, according to the bitmap index of the stored message, use the Bloom filter to perform the heavy judgment operation based on the above keywords on the message to be stored and the stored message, wherein the stored message is stored in the disk, and the bitmap of the stored message Indexes are stored in memory.
[0038] In the embodiment of the present invention, it ...
Embodiment 2
[0044] image 3 It is a flow chart of another embodiment of the disk storage method provided by the present invention. Such as image 3 As shown, on the basis of the foregoing embodiments, the disk storage method provided in this embodiment may further include the following steps:
[0045] S301. Acquire keywords of messages to be stored.
[0046] S302, using a Bloom filter to perform a weight judgment operation based on the above keywords on the message to be stored and the stored message.
[0047] S303, judging the above weight judgment result, if it is repeated, execute step S304; if it is not repeated, execute step S306.
[0048] In the embodiment of the present invention, when the heavy judgment result is not repeated (that is, the keywords in the message to be stored and the stored message are not repeated), the message to be stored is written to the disk; when the heavy judgment result is repeated, because There is a misjudgment in the Bloom filter. At this time, the...
Embodiment 3
[0057] Figure 4 It is a flow chart of another embodiment of the disk storage method provided by the present invention. Such as Figure 4 As shown, the subject of execution of the method may be a business system capable of storing massive data in a high-concurrency scenario, and the disk storage method may include the following steps:
[0058] S401. Acquire keywords of messages to be stored.
[0059] S402. In the memory, perform a weight judgment operation based on the above-mentioned keywords on the message to be stored and the stored message.
[0060] S403, judging the above weight judgment result, if it is repeated, execute step S404; if it is not repeated, execute step S406.
[0061] In the embodiment of the present invention, when the heavy judgment result is not repeated (that is, the keywords in the message to be stored and the stored message are not repeated), the message to be stored is written to the disk; when the heavy judgment result is repeated, because There...
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