• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

DBDAA:一种具有优化时间复杂度的实时动态银行家死锁避免算法。

DBDAA: A real-time approach to Dynamic Banker's Deadlock Avoidance Algorithm with optimized time complexity.

机构信息

Computer Science and Engineering, Bangladesh Army International University of Science and Technology, Cumilla, Bangladesh.

Computer Science and Engineering, International University of Business Agriculture and Technology, Dhaka, Bangladesh.

出版信息

PLoS One. 2024 Sep 20;19(9):e0310807. doi: 10.1371/journal.pone.0310807. eCollection 2024.

DOI:10.1371/journal.pone.0310807
PMID:39302952
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC11414889/
Abstract

Effective resource allocation is crucial in operating systems to prevent deadlocks, especially when resources are limited and non-shareable. Traditional methods like the Banker's algorithm provide solutions but suffer from limitations such as static process handling, high time complexity, and a lack of real-time adaptability. To address these challenges, we propose the Dynamic Banker's Deadlock Avoidance Algorithm (DBDAA). The DBDAA introduces real-time processing for safety checks, significantly improving system efficiency and reducing the risk of deadlocks. Unlike conventional methods, the DBDAA dynamically includes processes in safety checks, considerably decreasing the number of comparisons required to determine safe states. This optimization reduces the time complexity to O(n) in the best-case and O(nd) in the average and worst-case scenarios, compared to the O(n2d) complexity of the original Banker's algorithm. The integration of real-time processing ensures that all processes can immediately engage in safety checks, improving system responsiveness and making the DBDAA suitable for dynamic and time-sensitive applications. Additionally, the DBDAA introduces a primary unsafe sequence mechanism that enhances the acceptability and efficiency of the algorithm by allowing processes to participate in safety checks repeatedly after a predetermined amount of system-defined time. Experimental comparisons with existing algorithms demonstrate the superiority of the DBDAA in terms of reduced safe state prediction time and increased efficiency, making it a robust solution for deadlock avoidance in real-time systems.

摘要

有效的资源分配在操作系统中至关重要,可以防止死锁,特别是在资源有限且不可共享的情况下。传统的方法,如银行家算法,提供了解决方案,但存在一些局限性,如静态进程处理、高时间复杂度和缺乏实时适应性。为了解决这些挑战,我们提出了动态银行家死锁避免算法(DBDAA)。DBDAA 为安全检查引入了实时处理,显著提高了系统效率并降低了死锁的风险。与传统方法不同,DBDAA 在安全检查中动态包含进程,大大减少了确定安全状态所需的比较次数。这种优化将时间复杂度从原始银行家算法的 O(n2d)降低到最佳情况下的 O(n)和平均情况下及最坏情况下的 O(nd)。实时处理的集成确保所有进程都可以立即进行安全检查,提高了系统的响应能力,使 DBDAA 适用于动态和时间敏感的应用程序。此外,DBDAA 引入了主要不安全序列机制,通过允许进程在系统定义的时间后重复参与安全检查,提高了算法的可接受性和效率。与现有算法的实验比较表明,DBDAA 在减少安全状态预测时间和提高效率方面具有优越性,是实时系统中避免死锁的一种强大解决方案。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/e49fde8811e3/pone.0310807.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/1a4a8681b21c/pone.0310807.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/8412e79bb41f/pone.0310807.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/fbc6a2908cf6/pone.0310807.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/26d4da99bfb8/pone.0310807.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/34861a1dac14/pone.0310807.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/9cb87ab428e9/pone.0310807.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/e49fde8811e3/pone.0310807.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/1a4a8681b21c/pone.0310807.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/8412e79bb41f/pone.0310807.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/fbc6a2908cf6/pone.0310807.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/26d4da99bfb8/pone.0310807.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/34861a1dac14/pone.0310807.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/9cb87ab428e9/pone.0310807.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1035/11414889/e49fde8811e3/pone.0310807.g007.jpg

相似文献

1
DBDAA: A real-time approach to Dynamic Banker's Deadlock Avoidance Algorithm with optimized time complexity.DBDAA:一种具有优化时间复杂度的实时动态银行家死锁避免算法。
PLoS One. 2024 Sep 20;19(9):e0310807. doi: 10.1371/journal.pone.0310807. eCollection 2024.
2
A novel resource management technique for deadlock-free systems.一种用于无死锁系统的新型资源管理技术。
Int J Inf Technol. 2022;14(2):627-635. doi: 10.1007/s41870-021-00670-6. Epub 2021 May 10.
3
Virtual Control Policy for Binary Ordered Resources Petri Net Class.二元有序资源Petri网类的虚拟控制策略
Sensors (Basel). 2016 Aug 18;16(8):1307. doi: 10.3390/s16081307.
4
A dynamic yard space reservation algorithm based on reward-penalty mechanism.一种基于奖惩机制的动态堆场空间预留算法。
Heliyon. 2024 Sep 11;10(18):e37817. doi: 10.1016/j.heliyon.2024.e37817. eCollection 2024 Sep 30.
5
An Efficient Nondominated Sorting Algorithm for Large Number of Fronts.一种用于处理大量前端的高效非支配排序算法。
IEEE Trans Cybern. 2019 Mar;49(3):859-869. doi: 10.1109/TCYB.2017.2789158. Epub 2018 Jan 12.
6
Intelligent Optimization Algorithm-Based Path Planning for a Mobile Robot.基于智能优化算法的移动机器人路径规划。
Comput Intell Neurosci. 2021 Sep 29;2021:8025730. doi: 10.1155/2021/8025730. eCollection 2021.
7
Deadlock-free genetic scheduling algorithm for automated manufacturing systems based on deadlock control policy.基于死锁控制策略的自动化制造系统无死锁遗传调度算法
IEEE Trans Syst Man Cybern B Cybern. 2012 Jun;42(3):603-15. doi: 10.1109/TSMCB.2011.2170678. Epub 2011 Nov 16.
8
Accelerated robust optimization algorithm for proton therapy treatment planning.用于质子治疗计划的加速稳健优化算法。
Med Phys. 2020 Jul;47(7):2746-2754. doi: 10.1002/mp.14132. Epub 2020 Mar 31.
9
Bobcat Optimization Algorithm: an effective bio-inspired metaheuristic algorithm for solving supply chain optimization problems.山猫优化算法:一种用于解决供应链优化问题的有效的受生物启发的元启发式算法。
Sci Rep. 2024 Aug 29;14(1):20099. doi: 10.1038/s41598-024-70497-1.
10
Estate planning and management--a banker's viewpoint.遗产规划与管理——银行家的视角
J Am Dent Assoc. 1960 Mar;60:358-62. doi: 10.14219/jada.archive.1960.0048.

本文引用的文献

1
An enhanced round robin using dynamic time quantum for real-time asymmetric burst length processes in cloud computing environment.云计算环境中用于实时非对称突发长度进程的增强型循环动态时间量子。
PLoS One. 2024 Aug 15;19(8):e0304517. doi: 10.1371/journal.pone.0304517. eCollection 2024.
2
Computer-aided diagnosis of skin cancer based on soft computing techniques.基于软计算技术的皮肤癌计算机辅助诊断
Open Med (Wars). 2020 Sep 8;15(1):860-871. doi: 10.1515/med-2020-0131. eCollection 2020.
3
A Hybrid Neural Network - World Cup Optimization Algorithm for Melanoma Detection.
一种用于黑色素瘤检测的混合神经网络 - 世界杯优化算法
Open Med (Wars). 2018 Mar 15;13:9-16. doi: 10.1515/med-2018-0002. eCollection 2018.