Patent ID: 11947829
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. The data writing method according to claim 7, wherein the determining, based on a statistical algorithm, whether the to-be-flushed data is the write-only data based on the historical access data comprises:
determining, based on the historical access data, the number of write requests for a data block corresponding to the to-be-flushed data in a plurality of time windows;
calculating a write-only probability of the data block corresponding to the to-be-flushed data according to the number of the write requests; the write-only probability being used for describing a probability that the data block stores the write-only data; and
determining whether the write-only probability is greater than a third preset value, if yes, determining that the to-be-flushed data is the write-only data, and if no, determining that the to-be-flushed data is ordinary data.