Method and device for storing and reading/writing composite document
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsLibo Deng, Yi Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsLibo Deng, Yi Chen
Estimating the term…
A method and device for storing and reading/writing a composite document are disclosed. The method includes: an initial storing area is pre-allocated for an inner controlling stream of the composite document and the initial storing area is continuous sectors or sector clusters; the inner controlling stream is stored in the initial storing area. The patches of a user data stream and the inner controlling stream in the composite document are reduced using the method or device. Correspondingly, pre-allocating storing area makes the probability of continuously storing the user data stream and the inner controlling stream in the composite document increased. The I/O can be optimized by introducing a strategy of reading cache and writing in a batch size, which can improve the efficiency of reading and writing.
A method for storing a composite document implemented by a processor, the method comprising:
A device for storing a composite document, comprising a processor coupled to a memory storing instructions, for executing by the processor, configured to:
Dependencies are inferred from the claim text.