The application discloses a unified file transparent
access method and device based on heterogeneous backend segmented mapping and a storage medium, and relates to the technical field of
data processing. The method segments a logical file according to a segmented configuration rule and sets a capacity threshold, specifies a main segment, creates a main file carrying a logical file identifier in a corresponding backend of the main segment, generates a physical file name with unique pointing based on an
inode number of the main file, a backend path of a subsequent segment and a segment serial number, and determines a logical offset interval according to the capacity threshold of each segment, thereby establishing a mapping relationship between a
logical address space and a physical storage segment. When a vector read / write request is received, the logical file identifier and the pre-constructed segmented mapping relationship can be directly used to accurately locate the segment where target data is located and the corresponding heterogeneous backend, and when a non-vector read / write request is received,
metadata in the main file is directly operated, so that the access response efficiency is improved.