Data Writing Method, Data Reading Method, Apparatus, Electronic Device, and Storage Medium
AssigneeHuawei Technologies Co., Ltd.
InventorsGeng Chen, Ming Fu, Jitang Lei, Jiawei Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsGeng Chen, Ming Fu, Jitang Lei, Jiawei Wang
Estimating the term…
A data writing method includes determining first data to be written into a circular storage queue; obtaining a global write pointer of the circular storage queue, where the circular storage queue includes a plurality of storage areas, each storage area includes a plurality of subareas, and the global write pointer points to a first storage area of the plurality of storage areas; obtaining a first write pointer of the first storage area, and determining a size of allocated space in the first storage area based on the first write pointer of the first storage area; if the size of the allocated space in the first storage area is less than a size of space of the first storage area, performing an FAA operation on the first storage area, to allocate a first subarea in the first storage area; and writing the first data into the first subarea.
A data writing method, applied to an electronic device, wherein the data writing method comprises:
A data reading method, applied to an electronic device, wherein the data reading method comprises:
An electronic device, comprising:
Dependencies are inferred from the claim text.