Storage Controller Startup Sequencing for Accurate Drive Letters
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The allocation of drive letters during the startup of an electronic device's operation system is challenging due to the multithreaded execution of system and data disk storage controllers, leading to potential misidentification of drive letters and resulting in data storage exceptions or damage to the operation system.
Innovation Solution
A method involving updating the driver configuration and mirror files, rebooting the system, and restarting controllers in a specific sequence to ensure correct drive letter allocation by separating the startup of system and data disk storage controllers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multithreaded execution of storage controller drivers is used to improve system parallelism and speed, then system productivity is improved, but drive letter allocation accuracy deteriorates due to indeterminate execution sequence
Solution Approach 1:
The patent applies preliminary action by introducing a mechanism that determines and locks the execution sequence of storage controller drivers before drive letter allocation occurs. The system pre-establishes which driver (system disk or data disk) should execute first, ensuring that drive letter 'C:' is correctly assigned to the system disk before any data disk operations begin. This preliminary sequencing resolves the indeterminate execution order problem while maintaining multithreaded parallelism benefits.
2Device complexity
If drive letter allocation is performed during system startup without sequence control, then system complexity is reduced, but data storage reliability deteriorates due to potential misidentification of drive letters
Solution Approach 1:
The patent introduces an intermediary mechanism that mediates between the multithreaded driver execution and drive letter allocation processes. This intermediary component monitors and controls the execution sequence, ensuring that the system disk driver executes before the data disk driver, thereby correctly allocating drive letters. This intermediary layer adds minimal complexity while significantly improving data storage reliability by preventing misidentification errors.
3Speed
If the first drive letter is automatically assigned to the first scanned disk, then allocation speed is improved, but system stability deteriorates when the first scanned disk is the data disk instead of system disk
Solution Approach 1:
The patent applies preliminary anti-action by implementing a preventive mechanism that stops the automatic first-scan-first-assign rule from causing harm. The system pre-determines the correct execution sequence of drivers, ensuring that even if the data disk is scanned first, its driver will not execute before the system disk driver. This preliminary countermeasure prevents the harmful scenario where the system disk might be incorrectly identified, thereby maintaining operation system stability while preserving fast allocation speeds.
Data Source
AI summary
A method for managing storage controllers of an electronic device comprises updates a driver configuration file of a data disk storage controller. A driver image file of a virtual file system is updated according to the driver configuration file. An operation system of the electronic device is rebooted. A driver of a system disk storage controller is started according to the driver image file while starting the virtual file system. A driver of the data disk storage controller is started while starting a root file system. A first driver letter is allocated to a system disk based on the updated drier image. An electronic device and a computer readable storage medium applying the method are also disclosed.


