首页> 外国专利> 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.
机译:公开了一种硬盘读写控制方法和装置,电子设备和存储介质。该方法包括:如果计算节点关于目标硬盘的操作状态是不允许的状态,则获取目标硬盘的令牌深度(S103);以及确定目标硬盘的令牌深度与深度阈值之间的大小关系(S104);如果所述目标硬盘的令牌深度小于深度阈值,则将所述目标硬盘的计算节点的运行状态改变为允许状态,并根据-设定深度增加规则(S105)。根据硬盘读写控制方法,根据目标硬盘的令牌深度,以及当目标硬盘的令牌深度小于或等于目标深度时,确定是否仍允许计算节点访问目标硬盘。深度阈值,允许计算节点对目标硬盘进行相应的读写操作,使得多个计算节点可以同时访问一个硬盘,提高了计算节点的工作效率;从而提高了网络的整体运行效率。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号