首页>
外国专利>
HARD DISK READ-WRITE CONTROL METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM
HARD DISK READ-WRITE CONTROL METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM
展开▼
机译:硬盘读写控制方法和装置,电子设备和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed are a hard disk read-write control method and apparatus, an electronic device and a storage medium. The method comprises: if the operating state of a computing node regarding a target hard disk is a disallowed state, acquiring a token depth of the target hard disk (S103); determining a magnitude relationship between the token depth of the target hard disk and a depth threshold value (S104); and if the token depth of the target hard disk is less than the depth threshold value, changing the operating state of the computing node regarding the target hard disk to an allowed state, and increasing the token depth of the target hard disk according to a pre-set depth increase rule (S105). According to the hard disk read-write control method, whether a computing node is still allowed to access a target hard disk is determined according to a token depth of the target hard disk, and when the token depth of the target hard disk is less than a depth threshold value, the computing node is allowed to carry out corresponding read-write operations on the target hard disk, so that a plurality of computing nodes can simultaneously access one hard disk, and the working efficiency of the computing nodes can be improved, thereby improving the overall running efficiency of a network.
展开▼