Server, disk equipment management method and device thereof, electronic equipment and medium
By using dynamic password library and two-way verification of BIOS and HDD devices in the server, the passwords are generated and updated, and the problems of server HDD device data security and legal user acquisition are solved, achieving strong protection and security of HDD device data.
Patent Information
- Application Number
- CN202410866662.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-30
- Publication Date
- 2024-11-01
AI Technical Summary
The prior art is difficult to ensure the security of the server HDD device without leaking data and prevent the problem that legitimate users cannot obtain data.
Generate and update dynamic passwords by two-way verification between write-protected sectors of BIOS and HDD devices, use the dynamic password library to generate new passwords when users enter errors until the user enters the correct password and writes the new password to all HDD devices The write-protected sector ensures that legitimate users can obtain data and perform high-intensity verification of illegal devices.
It realizes strong protection of server HDD device data to prevent data leakage and malicious trial and error from scrapping hard disks, ensuring that legitimate users can use data normally.
Smart Images

Figure CN118885111A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a method and device for managing a server and a disk device thereof, an electronic device and a non-volatile storage medium. Background Art
[0002] With the rapid development of data centers, servers are widely used in the network to provide computing or application services for other clients, ensuring data storage and external data information exchange for Internet users. HDD devices (Hard Disk Drive) are indispensable components of servers as the medium for storing data.
[0003] In order to meet the user's storage security needs, the relevant technology is based on software and firmware, and sets strong passwords as HDD device protection measures. In order to overcome the problem that simple passwords are easily trial-and-error and cracked, trial-and-error permission measures are added. During use, it is easy for legitimate operators to make mistakes or illegal intruders to make malicious trials and errors, causing the HDD device to lock and self-destruct. Although the data is not leaked, the user cannot obtain the data.
[0004] In view of this, it is a technical problem that those skilled in the art need to solve to achieve strong protection of the HDD device data of the server, so that the data will not be leaked and legitimate users can also obtain the data. It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present invention provides a method, device, electronic device and non-volatile storage medium for managing a server and its disk device, which can realize strong protection of the HDD device data of the server, and neither leak the HDD device data nor allow legitimate users to obtain the data.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] The present invention provides a disk device management method, comprising:
[0008] Generate original serial interlock authentication information in advance based on at least one unique identification information of the disk drive device in place, store it in the read-write storage area of the baseboard input-output system, and write it to the write-protected sectors of the disk drive in place through the baseboard input-output system;
[0009] Preliminarily constructing a dynamic password library and a corresponding password generation method in the read-write storage area, and writing them into the write-protected sectors of each in-place disk drive through the basic input and output system;
[0010] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up at the same time until the user enters the correct disk password;
[0011] The write-protected sector only provides permission to interact with the basic input / output system; the current serial interlock authentication information is serial interlock authentication information generated according to at least one unique identification information of the disk drive device detected during the current startup process of the server.
[0012] In a first exemplary implementation, the method of generating a new disk password based on the dynamic password library according to the password generation method and popping up a password verification window until the user enters the correct disk password includes:
[0013] Based on the dynamic password library, a new disk password is generated according to the password generation method, and the new disk password is written into the write-protected sector of each disk drive in place, and a password verification window for using each disk drive device is provided;
[0014] If the number of times the user enters an incorrect disk password is greater than a preset threshold, a new disk password is generated again according to the password generation method based on the dynamic password library, and the new disk password is written to the write-protected sector of each in-place disk drive, and the password verification window continues to be provided until the user enters the correct disk password.
[0015] In a second exemplary embodiment, if the current serial interlocking authentication information is inconsistent with the original serial interlocking authentication information, it includes:
[0016] Obtain the in-slot information, serial number device code, read device access timestamp, server field replaceable unit information and version information of all in-slot disk drive devices during server startup, and generate current serial interlock authentication information;
[0017] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is at least one hard disk drive device whose write protection sector does not have the original serial interlock authentication information, then the hard disk drive device that does not have the original serial interlock authentication information is a new device connected to the current server;
[0018] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and the original serial interlock authentication information exists in the write protection sector of the target hard disk drive device, the current server is a new server connected to the target hard disk drive device;
[0019] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is historical serial interlock authentication information in the write protection sector of the first hard disk drive device, then the first hard disk drive device is a historical disk drive device of the current server.
[0020] In a third exemplary embodiment, if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up until the user enters the correct disk password, including:
[0021] Pre-setting all disk drive devices corresponding to the original serial interlock authentication information as a hard disk interlock user group;
[0022] The baseboard input and output system generates current serial interlock authentication information according to at least one unique identification information of a currently in-place disk drive device detected during the current startup process of the server;
[0023] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the read-write storage area, and the server detects the presence of a new disk drive device, then exit the disk password-free mode;
[0024] The substrate input / output system generates a new disk password based on the dynamic password library according to the password generation method, writes the new disk password into the write-protected sector of each in-place disk drive, and provides a password verification window;
[0025] If the number of times the user enters an incorrect disk password exceeds a preset number threshold, the substrate input / output system generates a new disk password again according to the password generation method based on the dynamic password library, writes the new disk password to the write-protected sector of each in-place disk drive, and continues to provide a password verification window until the user enters the correct disk password;
[0026] If the user types the correct disk password, the baseboard input and output system will enroll the new disk drive device into the hard disk interlock user group, store the current serial interlock authentication information into the read-write storage area, and synchronously write it to the write-protected sectors of all disk drive devices to overwrite the original serial interconnection authentication information; and after the new disk drive device is enrolled into the hard disk interlock user group, the disk password-free mode is enabled.
[0027] In a fourth exemplary embodiment, if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window is popped up until the user enters the correct disk password, including:
[0028] Generate current serial interlock authentication information according to at least one unique identification information of a currently in-place disk drive device detected during the current startup process of the server;
[0029] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the target hard disk drive device, the target hard disk drive device calls the dynamic password library stored in its own target write-protected sector to generate a new disk password according to the corresponding password generation method, and pops up a password verification window at the same time;
[0030] If the correct disk password is entered, the target hard disk drive device provides the write permission of the target write-protected sector to the basic input and output system of the server;
[0031] The basic input and output system encodes the target hard disk drive device into its own current hard disk interlock user group, and at the same time writes the current serial interlock authentication information, the dynamic password library and its corresponding password generation method into the target write-protected sector in a data overwrite manner, and after the target disk drive device is encodes into the current hard disk interlock user group, enables the disk password-free mode.
[0032] In a fifth exemplary embodiment, the method further includes:
[0033] During the server startup process, the substrate input and output system detects that the first disk drive device's own write-protected sector stores the original serial interlocking authentication information, and the first disk drive device belongs to the original hard disk interlocking user group. It then enters the disk password-free mode and writes the new serial interlocking authentication information currently stored in the read-write storage area of the substrate input and output system to the first disk drive device's own write-protected sector.
[0034] Another aspect of the present invention provides a disk device management device, comprising:
[0035] The original interlock module is used to generate original serial interlock authentication information in advance according to at least one unique identification information of the disk drive device in place, store it in the read-write storage area of the base input-output system, and write it to the write protection sector of the disk drive in place through the base input-output system; wherein the write protection sector only provides the permission to interact with the basic input-output system;
[0036] A dynamic password generation module, used to construct a dynamic password library and a corresponding password generation method in the read-write storage area in advance, and write them into the write-protected sectors of each in-place disk drive through the basic input and output system;
[0037] The security protection module is used to generate a new disk password based on the dynamic password library and in accordance with the password generation method if the current serial interlocking authentication information is inconsistent with the original serial interlocking authentication information, or the disk password entered by the user is incorrect, and pop up a password verification window at the same time until the user enters the correct disk password; the current serial interlocking authentication information is the serial interlocking authentication information generated according to at least one unique identification information of the disk drive device detected during the current startup process of the server.
[0038] The present invention also provides an electronic device, comprising a processor, wherein the processor is used to implement the steps of the disk device management method as described in any of the preceding items when executing a computer program stored in a memory.
[0039] The present invention also provides a non-volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the disk device management method as described in any of the preceding items are implemented.
[0040] Finally, the present invention also provides a server for implementing any one of the steps of the disk device management method, comprising a basic input and output system and a plurality of hard disk drive devices;
[0041] The basic input-output system includes a read-write storage area, and the read-write storage area includes a dynamic password database; each hard disk drive device includes a write-protected sector, and the basic input-output system interacts with each hard disk drive device through the corresponding write-protected sector.
[0042] The technical solution provided by the present invention has the advantages that various unique information of multiple HDD devices is encoded to form an interlocking serial number that can be used to check whether there is a new device on the server. Through the two-way verification of the write protection sector of the hard disk and the read-write storage area of the BIOS, the security of the server hardware environment can be ensured, and the intruder can be effectively prevented from inserting a new device with the intention of stealing data when the current password is mastered, thereby protecting the security of the data stored inside the server. On this basis, the administrator sets the password group and refresh rule by himself. Each time the verification is abnormal, the new password of the hard disk will be refreshed to all current HDD devices. As long as the verification fails, the dynamic password overwrite of the dynamic password library is always enabled. While ensuring the convenient use of the legal holder, the illegal device is highly verified, further protecting the original data hard disk, and avoiding the problem of malicious trial and error scrapping all HDD devices, so as to achieve strong protection of the HDD device data of the server, and neither leaking data nor allowing legal users to obtain data.
[0043] In addition, the present invention also provides a corresponding implementation device, electronic device and non-volatile storage medium for the disk device management method, which further makes the method more practical, and the device, electronic device and non-volatile storage medium have corresponding advantages.
[0044] The technical features mentioned above, the technical features to be mentioned below, and the technical features shown separately in the drawings can be arbitrarily combined with each other, as long as the combined technical features are not contradictory. All feasible feature combinations are technical contents clearly recorded in this article. Any of the multiple sub-features contained in the same sentence can be applied independently, and does not have to be applied together with other sub-features. It should be understood that the above general description and the detailed description below are only exemplary and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A schematic diagram of a flow chart of a disk device management method provided by the present invention;
[0047] Figure 2 A schematic flow chart of another disk device management method provided by the present invention;
[0048] Figure 3 A schematic flow chart of another disk device management method provided by the present invention;
[0049] Figure 4 A schematic flow chart of another disk device management method provided by the present invention;
[0050] Figure 5 A structural diagram of an exemplary implementation of the disk device management device provided by the present invention;
[0051] Figure 6 A structural diagram of an exemplary embodiment of an electronic device provided by the present invention;
[0052] Figure 7 A structural diagram of an exemplary implementation of a server provided by the present invention. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Among them, the terms "first", "second", "third", "fourth", etc. in the specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations of the two are intended to cover non-exclusive inclusions. The term "exemplary" means "used as an example, embodiment or illustrative". Any embodiment described here as "exemplary" is not necessarily interpreted as being superior or better than other embodiments.
[0054] As an indispensable electronic device in all walks of life, servers have complete network security services to protect their external data exchange, but hardware-based internal data storage security measures are still not perfect. Take HDD as an example. After the server is illegally hacked, the HDD device data can be quickly copied offline; or after the server's HDD device is taken away by the thief, the hard disk password is cracked to obtain the HDD device data.
[0055] In order to protect the internal storage data of the server, the relevant technology is based on the Eagle Stream Platform (server platform name). When the server recognizes the existence of a new HDD device, the system will provide the administrator with the permission to manually set the password through HDDUser Password (user password) in the BIOS. After the password is set, the server will interrupt the shutdown process during the boot process and pop up the password verification window. If the current user fails to verify the password five times, the HDD device will prompt that it is locked, and the locked HDD device will be permanently unusable.
[0056] After the administrator manually sets the password for the server's hard disk in BIOS, access can only be intercepted for the HDD device with the password set, that is, the user can only enter the HDD device after typing the correct password. For the newly inserted unknown hard disk, it will not be automatically intercepted and password set. When the intruder knows the HDD hard disk device password of the existing administrator in advance and connects the new HDD device. Since the hard disk password is actively set by the administrator, the intruder can directly enter the data disk after entering the known password, and the intruder's new HDD will not be intercepted by the set password, so it can be used directly and copy the security data in other original data disks of the server. In addition, since the password of the HDD is fixed, if the original data disk is taken away directly, the password obtained in advance can also be used to verify the password on other illegal machines, and directly enter to obtain the data in the disk. Therefore, this related technology cannot achieve security protection of the internal data of the server. Furthermore, in order to improve the data protection function, the related technology sets a trial and error upper limit to ensure that it is not illegally tried and tested by the intruder. When the user enters the operating system of the target hard disk, a password box will pop up to intercept the user. The user can enter normally only after entering the correct password within the specified number of times. If the wrong password is entered and exceeds the current upper limit, the HDD device will be permanently locked and cannot be entered. The HDD will no longer have the ability to read and write. Although the original data stored is protected, it cannot be used again. If the administrator forgets the password, or an uninformed person makes a mistake, the HDD device will be locked, resulting in unnecessary loss of important data, causing irreversible losses and serious impact on users.
[0057] In view of this, in order to solve the technical problems existing in the related art of setting a fixed password for an in-place hard disk and permanently locking the hard disk after exceeding the upper limit of the password verification, the present invention sets a serial interlocking authentication function and a dynamic password verification function based on the BIOS (Basic Input Output System), and performs bidirectional verification and unidirectional write permission setting through the read-write storage area of the BIOS and the write-protected sector of the HDD device. While providing high-intensity password protection, there is no need to lock the HDD device to avoid the loss of important user data. After introducing the technical scheme of the present invention, various non-limiting embodiments of the present invention are described in detail below. In order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. Those skilled in the art should understand that the present invention can also be implemented without these specific details. In other examples, the methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present invention.
[0058] First see Figure 1 , Figure 1A flowchart of a disk device management method provided in this embodiment may include the following contents:
[0059] S101: Generate original serial interlock authentication information in advance based on at least one unique identification information of the in-place disk drive device, store it in the read-write storage area of the baseboard input-output system, and write it to the write-protected sectors of the in-place disk drive through the baseboard input-output system.
[0060] In this step, the BIOS of the server will collect the unique data of all HDD devices connected to the current server during each server startup process. This step is defined as unique identification information. These unique data can be used to uniquely identify the corresponding HHD device, including but not limited to the HDD device's in-slot information, SN (Serial Number) device code, read device access timestamp, server FRU (Field Replaceable Unit) information, and version information. Among them, the server FRU information includes but is not limited to manufacturer information, product model, product serial number, asset serial number, and production date. The unique identification information of each HDD collected is processed according to a preset protocol or data generation method. The data finally generated is defined as serial interlocking authentication information, which can be used for these HDD devices involved in the authentication generation process. For example, each disk drive device can be numbered first, such as HDD1, HDD2, ..., HDDn, and then each type of unique identification information is encoded into a different combination of numerical letters, such as in-slot information is in: slot number, SN device code is SN: number, read device access timestamp is T: time, server FRU information is: FRU: numbers and or letters, a set of unique identification information of a disk drive device is encoded as an element, and the elements corresponding to all disk drive devices form a vector. Of course, it can also be generated in other ways, which does not affect the implementation of the present invention. During each startup of the server, the unique identification information of all HDD devices detected during the startup process will be collected, and a serial interlock authentication information will be generated. For the convenience of distinction, the present invention defines the newly generated serial interlock authentication information as the current serial interlock authentication information. When generating new serial interlock authentication information, the serial interlock authentication information currently stored in the read-write storage area of BIOS is defined as the original serial interlock authentication information, and the original serial interlock authentication information is the most recently generated serial interlock authentication information that is different from the newly generated serial interlock authentication information.
[0061] In this step, in order to improve security, the generated serial interlock authentication information is not written directly to the on-site HDD device, but stored in the read-write storage area of BIOS. Then each on-site HHD device provides a storage area with open interactive permissions to BIOS. This step is defined as a write-protected sector. BIOS writes the serial interlock authentication information to the write-protected sector, which is equivalent to the initial verification password that can use each HDD.
[0062] S102: constructing a dynamic password library and a corresponding password generation method in the read-write storage area in advance, and writing them into the write-protected sectors of each in-place disk drive through the basic input and output system.
[0063] After the serial interlock authentication information of the HDD device that can verify the legality of the server is defined in the previous step, in order to further improve the security of the HDD device data, on the basis of the general Administrator Password and User Password hard disk passwords, in addition to the automatic interlock encryption protection measures for multiple HDD hard disk devices added in the previous step, the administrator can also customize a dynamic password library and set how to trigger the dynamic password library to generate dynamic passwords. The dynamic password library is set by the administrator himself, and the password generation method is how to punish the dynamic password library to generate dynamic passwords. For example, a string of symbols is generated as a dynamic password by randomly obtaining a 6-digit value + 3 uppercase and lowercase letters + other symbols other than numeric letters. The dynamic password is used as a lock for each HDD device, that is, as long as the conditions that require the user to provide a password are met, the dynamic password will be generated to lock the HDD device. In order to improve data security, a dynamic password update method will also be set. For example, after a dynamic password is generated, it will be counted whether an abnormality occurs. If the number of statistical abnormalities is greater than the preset threshold, a dynamic password will be generated again to overwrite the previous dynamic password. In other words, when you start using dynamic passwords to lock HDD devices, the changes in the number of connected devices and the number of password attempts will be recorded and sent to the BIOS dynamic password library. When the dynamic password trigger generation conditions are met, all devices will be overwritten with new passwords again to form a dynamic password, preventing intruders from inserting new devices with the intention of copying data when they know the current password, and also avoiding malicious trial and error to scrap all HDD hard disk devices.
[0064] In this step, similarly, in order to improve security, the dynamic password library and its password generation method are still stored in the read-write storage area, and then written to the write-protected sector of the HDD device by the BIOS through interactive permissions, through the serial interlocking authentication information of S101, and two-way verification by the BIOS and the storage area on the disk, and at the same time dynamically call the password in the administrator's password library, and automatically generate a set of strong protection data system for measures such as addition, reduction, and password trial and error. The administrator only needs to manage the password library and the password calling sequence to achieve strong protection of the server's internal data.
[0065] S103: If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is incorrect, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up until the user enters the correct disk password.
[0066] In this step, if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, including the inconsistency between the original serial interlock authentication information stored in the BIOS and the current serial interlock authentication information, and also including the inconsistency between the original serial interlock authentication information stored in the HDD device and the current serial interlock authentication information, no matter which case, it indicates that the HDD device and the server are currently in a situation where further correction is required. At this time, the HDD device needs to be locked, that is, it is necessary to use the dynamic password library to dynamically generate dynamic passwords for each HDD, and provide a password verification window, that is, the current user must enter the correct password in the password verification window before the HDD device is provided to the current user. In order to improve security, this step will also generate a new disk password based on the dynamic password library according to the password generation method after the user enters an incorrect disk password. In order to improve the user experience, the number of trial and error can be set, such as three times. That is to say, if the user enters three incorrect passwords in the password verification window, a new disk password will be generated again to update the previous disk password, and this process will be repeated until the user enters the correct disk password.
[0067] In the technical solution provided in this embodiment, various unique information of multiple HDD devices are encoded to form an interlocking serial number that can be used to check whether there is a new device on the server. Through the two-way verification of the write protection sector of the hard disk and the read-write storage area of the BIOS, the security of the server hardware environment can be ensured, and the intruder can be effectively prevented from inserting a new device with the intention of stealing data when the current password is mastered, thereby protecting the security of the data stored inside the server. On this basis, the administrator sets the password group and refresh rules by himself. Each time the verification is abnormal, the new password of the hard disk will be refreshed to all current HDD devices. As long as the verification fails, the dynamic password overwrite of the dynamic password library is always enabled. While ensuring the convenient use of the legal holder, the illegal device is highly verified, further protecting the original data hard disk, and avoiding the problem of malicious trial and error scrapping all HDD devices, so as to achieve strong protection of the HDD device data of the server, which will not leak data and legal users can also obtain data.
[0068] In order to further improve the security of data stored in the server, this embodiment also provides an exemplary generation process of a dynamic password, which may include the following contents:
[0069] Based on the dynamic password library, a new disk password is generated according to the password generation method, and the new disk password is written to the write-protected sector of each in-place disk drive, and a password verification window for using each disk drive device is provided; if the number of times the user enters an incorrect disk password is greater than a preset threshold, a new disk password is generated again according to the password generation method based on the dynamic password library, and the new disk password is written to the write-protected sector of each in-place disk drive, and the password verification window continues to be provided until the user enters the correct disk password.
[0070] In this embodiment, the preset number threshold is a preset value, such as 5 times, and the password verification window can be popped up by the BIOS or the HDD according to different scenarios, which does not affect the implementation of the present invention. By continuously using a new password to overwrite the previous password, the server can effectively defend against newly connected illegal HDD hard disk devices, and can also avoid the problem that the original HDD device password is locked and scrapped by malicious trial and error, and the user experience is good.
[0071] In order to improve the security of internal data of the server and apply to data protection in various application scenarios, the present invention also provides different protection methods for different scenarios, which may include the following:
[0072] The in-slot information, serial number device code, read device access timestamp, server field replaceable unit information and version information of all in-situ disk drive devices during the server startup process are obtained, and the current serial interlock authentication information is generated; if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is at least one hard disk drive device whose write protection sector does not have the original serial interlock authentication information, the hard disk drive device without the original serial interlock authentication information is a new device connected to the current server; if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is a target hard disk drive device whose write protection sector has the original serial interlock authentication information, the current server is a new server connected to the target hard disk drive device. If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is a first hard disk drive device whose write protection sector has the historical serial interlock authentication information, the first hard disk drive device is a historical disk drive device of the current server.
[0073] The historical serial interlock authentication information is a serial interlock authentication information previously stored in the read-write storage area of the BIOS of the current server. This embodiment can support new HDD devices connected to the server, old HDD devices connected to the new server, and reconnection of previously removed HDD devices. The scenario is determined based on the serial interlock authentication information of the read-write storage area, the serial interlock authentication information of the write-protected sector, and the current serial interlock authentication information, which is more practical.
[0074] For the scenario where a new HDD device is connected to a server: the new HDD device is not part of the original hard disk device interlock, and the device information is not entered into the original serial interlock authentication information. At this time, the BIOS will trigger the protection measures, print the number of exceptions on the verification interface, and send an exception signal to the dynamic password library. According to the password generation method, the new password in the dynamic password library is called to cover all HDD devices, and a password verification window is provided. The user enters the disk password in the password verification window. If it fails, the BIOS will read the new HDD hard disk device information and compile it into the serial interlock authentication information. At the same time, it will authenticate this device as a new legal HDD device connected by the administrator. After this verification, it will be open for password-free use, which may include the following:
[0075] All disk drive devices corresponding to the original serial interlock authentication information are pre-set as hard disk interlock user groups; the baseboard input and output system generates current serial interlock authentication information according to at least one unique identification information of the currently in-place disk drive device detected during the current startup process of the server; if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the read-write storage area, and the server detects the existence of a new disk drive device, the disk password-free mode is exited; the baseboard input and output system generates a new disk password based on the dynamic password library according to the password generation method, and writes the new disk password to the write-protected sector of each in-place disk drive, and provides a password verification window; if the user enters an incorrect password, the server will be If the number of incorrect disk passwords is greater than the preset threshold, the baseboard input and output system will generate a new disk password again according to the password generation method based on the dynamic password library, and write the new disk password to the write-protected sector of each in-place disk drive, and continue to provide a password verification window until the user enters the correct disk password; if the user enters the correct disk password, the baseboard input and output system will enroll the new disk drive device into the hard disk interlock user group, and store the current serial interlock authentication information in the read-write storage area, and synchronously write it to the write-protected sectors of all disk drive devices to overwrite the original serial interconnection authentication information; and after the new disk drive device is enrolled into the hard disk interlock user group, the disk password-free mode is enabled.
[0076] In this embodiment, the hard disk interlock user group is a combination of legal HDD devices that have been verified during the current server startup process. The HDD device has a write-protected fixed sector. The content of this sector only provides permission to interact with the BIOS and is used to store the serial interlock authentication information sent by the BIOS and the dynamic password library of the effectiveness rule. Figure 2 As shown, the verification process of the new HDD device includes:
[0077] A1: When the server is powered on and the server is booting, the BIOS reads the slot information, SN device code, device access timestamp, server FRU information, and version information of the currently installed HDD device, and generates the current serial interconnection authentication information.
[0078] A2: The BIOS determines whether the current new serial interconnection authentication information matches the original serial interconnection authentication information stored in the read-write storage area.
[0079] A3: Since a new HDD device is connected, the matching fails and the password-free mode is exited. The dynamic password library stored in the BIOS sets new passwords for all HDD hard disk devices in place according to the password generation method set by the administrator, and provides a password verification window with 5 trial and error permissions.
[0080] A4: If the password is entered incorrectly five times, the BIOS will receive an abnormal signal, call the dynamic password library again, reset the current new password, and record the number of abnormal verifications on the verification interface.
[0081] A5: If the password is entered correctly, the BIOS will encode the new HDD device into the hard disk interlock user group, store the current serial interconnection authentication information to the read-write storage area of the BIOS, and simultaneously write it to the write-protected sectors of all HDD devices.
[0082] A6: If the new HDD device has been included in the hard disk interlock user group, enable the password-free mode and use the new HDD device without a password in the future.
[0083] A7: Restart the server and repeat A1-A7.
[0084] As can be seen from the above, this embodiment provides a password-free use method for HDD devices that have been verified to be legal, thereby improving the usability of the server. For new HDD hard disk devices accessing the server, dynamic password control is adopted to prevent the intruder's illegal devices from being programmed into the interlocking system when the current password is known. At the same time, the current Locked technology is abandoned to prevent malicious trial and error from causing the original HDD hard disk device to be maliciously locked and scrapped.
[0085] For scenarios where old HDD devices are inserted into new servers, such as Figure 3 As shown, the verification process may include the following:
[0086] The current serial interlock authentication information is generated according to at least one unique identification information of the currently in-place disk drive device detected during the current startup process of the server; if the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the target hard disk drive device, the target hard disk drive device calls the dynamic password library stored in its own target write-protected sector to generate a new disk password according to the corresponding password generation method, and pops up a password verification window at the same time; if the correct disk password is entered, the target hard disk drive device provides the write permission of the target write-protected sector to the basic input and output system of the server; the basic input and output system encodes the target hard disk drive device into its own current hard disk interlock user group, and at the same time writes the current serial interlock authentication information, the dynamic password library and its corresponding password generation method to the target write-protected sector in a data overwrite manner, and after the target disk drive device is encode into the current hard disk interlock user group, the disk password-free mode is enabled.
[0087] In this embodiment, the hard disk interlock user group is a combination of legal HDD devices that have been verified during the current server startup process. The HDD device has a write-protected fixed sector. The content of this sector only provides permission to interact with the BIOS and is used to store the serial interlock authentication information sent by the BIOS and the dynamic password library of the effectiveness rule. When a legal administrator removes a verified legal HDD device and connects it to a new server, the HDD will read the serial interlock authentication information stored in its disk after the new machine is powered on. If it is inconsistent with the serial interlock authentication information stored in the current BIOS, the hard disk password mechanism will be triggered, and the next password in the dynamic password library stored in its own disk will be enabled. Five trial and error opportunities will be provided. After the correct input, the new machine BIOS will read the new device information, compose its own serial interlock authentication information, accept the new device and use it without password in the future. If an illegal person steals a verified HDD device and attempts to enter it on other devices, the HDD device will read the serial interlock authentication information stored in the disk after the new machine is powered on. If it is inconsistent with the serial interlock authentication information stored in the current BIOS, the hard disk password mechanism will be triggered, and the next password in the dynamic password library will be enabled. Five trial and error opportunities will be provided. After an error is entered, the next password in the password library will be used to overwrite it to form a dynamic password. Intruders cannot perform brute force cracking without knowing the password library and the password activation sequence, and the data of this HDD hard disk device cannot be stolen. An exemplary implementation method may include the following:
[0088] B1: When the server is powered on and the server is started, the BIOS reads the slot information, SN device code, device access timestamp, server FRU information, and version information of the currently installed HDD device, and generates the current serial interconnection authentication information.
[0089] B2: Since it is an old HDD device, the write protection sector of the target HDD device has been written with the serial interconnection authentication information and dynamic password library of the previous hard disk interlock user group. BIOS determines whether the current new serial interconnection authentication information matches the serial interconnection authentication information stored in the HDD device.
[0090] B3: If the match fails, the target HDD device calls its own dynamic password library, sets the hard disk password, and provides a password verification window with 5 trial and error permissions. At the same time, the number of abnormal verifications is recorded in the verification interface.
[0091] B4: If the password is entered incorrectly 5 times, an abnormal signal is obtained, and the dynamic password library is called again to reset the current new password.
[0092] B5: If the password is entered correctly and the verification is successful, the target HDD device will open the write permission of the write-protected sector to the new server BIOS. The BIOS will encode the target HDD device into its own hard disk interlock user group based on its current serial interconnection authentication information, and simultaneously write the current serial interconnection authentication information and dynamic password library into the write-protected sector of the target HDD device.
[0093] B6: If the target HDD device has been included in the hard disk interlock user group, enable the password-free mode and use the new HDD device without a password in the future.
[0094] B7: Restart the server and keep looping B1-B7.
[0095] From the above, it can be seen that the demand for HDD device replacement in this embodiment can ensure the ease of use of this function in the hands of legitimate administrators by rebinding after password protection, further improve the high confidentiality in illegal acquisition scenarios, avoid the direct theft of the original HDD device to other illegal machines for password deciphering, and improve the security of server storage data.
[0096] In the scenario of reconnecting to the original server after recovering the lost original HDD device or removing the HDD device for other reasons, the baseboard input and output system detects during the server startup process that the original serial interlocking authentication information is stored in the write-protected sector of the first disk drive device itself, and the first disk drive device belongs to the original hard disk interlocking user group. It then enters the disk password-free mode and writes the new serial interlocking authentication information currently stored in the read-write storage area of the baseboard input and output system to the write-protected sector of the first disk drive device itself.
[0097] In this embodiment, since the HDD device belongs to the original hard disk interlock user group of the server, as long as it has not been deciphered, by matching the previously stored interlock serial interlock authentication information, this hard disk is directly overwritten by the current password of the original machine and can be used without password in the original machine, thereby increasing ease of use. Figure 4 As shown, it may include the following:
[0098] C1: If the first HDD device has not been cracked, its write-protected sector still stores the original interlock serial interlock authentication information.
[0099] C1: The first HDD device is connected to the original server. During the boot process, the BIOS verifies that this device belongs to the historical hard disk interlock user group of the server, directly enters the password-free mode, and synchronizes the current password to the secondary device.
[0100] In this embodiment, when the old HDD device is reconnected to the original server, it can be directly unlocked and used through the previously stored interlocking serial interlocking authentication information. At the same time, the current password overwrite setting can effectively prevent the loss of important data, improve ease of use, and ensure data security.
[0101] It should be noted that there is no strict order of execution between the steps in the present invention. As long as they comply with the logical order, these steps can be executed simultaneously or in a certain preset order. Figure 1-Figure 4 This is just a schematic and does not mean that this is the only execution order.
[0102] Furthermore, on the basis of the above embodiments, for a server including a distributed file system and a data warehouse, in order to improve the security of server data, each HDD device stores the full amount of data, which can be distributed and evenly arranged. A distributed file system such as HDFS (file system) runs on a distributed HHD hard disk storage structure. The distributed file system includes a backup subsystem and a storage subsystem. Both the backup subsystem and the storage subsystem can interact with the user and product data stored in the data warehouse data. The data warehouse stores and manages data with an application data interface and an interactive client. The application data interface is directly user-oriented and includes data query tools, free reporting tools, data analysis tools, data mining tools and various application systems. The interactive client provides data services for the front end and applications and can directly obtain data from the data warehouse for use by the front-end application.
[0103] As can be seen from the above, this embodiment uses HHD hard disk to save all data, which can greatly reduce the cost of hardware use. Using a distributed file system and a data warehouse at the same time can not only ensure the security and non-loss of data, but also allow users to query the stored data through an application program interface or an interactive client.
[0104] The present invention also provides a corresponding device for the disk device management method, which further makes the method more practical. The device can be described from the perspective of functional modules and hardware. The disk device management device provided by the present invention is introduced below. The device is used to implement the disk device management method provided by the present invention. In this embodiment, the disk device management device may include or be divided into one or more program modules. The one or more program modules are stored in a storage medium and executed by one or more processors to complete the disk device management method disclosed in Example 1. The program module referred to in this embodiment refers to a series of computer program instruction segments that can complete specific functions, which is more suitable for describing the execution process of the disk device management device in the storage medium than the program itself. The following description will specifically introduce the functions of each program module of this embodiment. The disk device management device described below and the disk device management method described above can be referenced to each other.
[0105] From the perspective of functional modules, see Figure 5 , Figure 5 The structure diagram of the disk device management device provided in this embodiment under a specific implementation mode, the device may include:
[0106] The original interlock module 501 is used to generate original serial interlock authentication information in advance according to at least one unique identification information of the disk drive device in place, store it in the read-write storage area of the base input-output system, and write it to the write protection sector of the disk drive in place through the base input-output system; wherein the write protection sector only provides the permission to interact with the basic input-output system;
[0107] The dynamic password generation module 502 is used to construct a dynamic password library and a corresponding password generation method in the read-write storage area in advance, and write them to the write-protected sectors of each in-place disk drive through the basic input and output system;
[0108] The security protection module 503 is used to generate a new disk password based on the dynamic password library according to the password generation method if the current series interlocking authentication information is inconsistent with the original series interlocking authentication information, or the disk password entered by the user is incorrect, and pop up a password verification window at the same time until the user enters the correct disk password; the current series interlocking authentication information is the series interlocking authentication information generated according to at least one unique identification information of the disk drive device detected during the current startup process of the server.
[0109] Exemplarily, in some implementations of this embodiment, the security protection module 503 may also be used for:
[0110] Based on the dynamic password library, a new disk password is generated according to the password generation method, and the new disk password is written to the write-protected sector of each disk drive in place, and a password verification window for each disk drive device is provided;
[0111] If the number of times the user enters an incorrect disk password exceeds the preset threshold, a new disk password is generated again based on the dynamic password library according to the password generation method, and the new disk password is written to the write-protected sector of each in-place disk drive, and the password verification window continues to be provided until the user enters the correct disk password.
[0112] For example, in some other implementations of this embodiment, the security protection module 503 may also be used for:
[0113] Obtain the in-slot information, serial number device code, read device access timestamp, server field replaceable unit information and version information of all in-slot disk drive devices during server startup, and generate current serial interlock authentication information;
[0114] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is at least one hard disk drive device whose write protection sector does not have the original serial interlock authentication information, then the hard disk drive device that does not have the original serial interlock authentication information is a new device connected to the current server;
[0115] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and the write protection sector of the target hard disk drive device has the original serial interlock authentication information, the current server is a new server connected to the target hard disk drive device.
[0116] For example, in some other implementations of this embodiment, the security protection module 503 may also be used for:
[0117] All disk drive devices corresponding to the original serial interlock authentication information are set in advance as a hard disk interlock user group;
[0118] The baseboard input / output system generates current serial interlock authentication information according to at least one unique identification information of the currently in-place disk drive device detected during the current startup process of the server;
[0119] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the read-write storage area, and the server detects the presence of a new disk drive device, the disk password-free mode is exited;
[0120] The baseboard input and output system generates a new disk password based on the dynamic password library according to the password generation method, writes the new disk password to the write-protected sector of each disk drive in place, and provides a password verification window;
[0121] If the number of times the user enters an incorrect disk password exceeds the preset number threshold, the substrate input and output system generates a new disk password again according to the password generation method based on the dynamic password library, writes the new disk password to the write-protected sector of each disk drive in place, and continues to provide a password verification window until the user enters the correct disk password;
[0122] If the user types the correct disk password, the baseboard input and output system will enroll the new disk drive device into the hard disk interlock user group, store the current serial interlock authentication information into the read-write storage area, and synchronously write it to the write-protected sectors of all disk drive devices to overwrite the original serial interconnection authentication information; and after the new disk drive device is enrolled into the hard disk interlock user group, the disk password-free mode is enabled.
[0123] For example, in some other implementations of this embodiment, the security protection module 503 may also be used for:
[0124] Generate current serial interlock authentication information according to at least one unique identification information of a currently in-place disk drive device detected during the current startup process of the server;
[0125] If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the target hard disk drive device, the target hard disk drive device calls the dynamic password library stored in its own target write-protected sector to generate a new disk password according to the corresponding password generation method, and pops up a password verification window at the same time;
[0126] If the correct disk password is entered, the target hard disk drive device provides the write permission of the target write-protected sector to the basic input and output system of the server;
[0127] The basic input and output system encodes the target hard disk drive device into its own current hard disk interlock user group, and at the same time writes the current serial interlock authentication information, dynamic password library and its corresponding password generation method into the target write-protected sector by data overwriting, and after the target disk drive device is encodes into the current hard disk interlock user group, the disk password-free mode is enabled.
[0128] For example, in some other implementations of this embodiment, the security protection module 503 may also be used for:
[0129] During the server startup process, the substrate input and output system detects that the first disk drive device's own write-protected sector stores the original serial interlock authentication information, and the first disk drive device belongs to the original hard disk interlock user group. It then enters the disk password-free mode and writes the new serial interlock authentication information currently stored in the read-write storage area of the substrate input and output system to the first disk drive device's own write-protected sector.
[0130] The functions of the functional modules of the disk device management apparatus in this embodiment can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0131] As can be seen from the above, this embodiment can achieve strong protection of the HDD device data of the server, which will not leak the data stored inside the server and enable legitimate users to obtain the required data.
[0132] The disk device management apparatus mentioned above is described from the perspective of functional modules. Furthermore, the present invention also provides an electronic device, which is described from the perspective of hardware. Figure 6 The following is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention in one implementation manner. Figure 6 As shown, the electronic device includes a memory 60 for storing a computer program; and a processor 61 for implementing the steps of the disk device management method mentioned in any of the above embodiments when executing the computer program.
[0133] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 61 may also be a controller, a microcontroller, a microprocessor or other data processing chip. The processor 61 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0134] The memory 60 may include one or more computer non-volatile storage media, which may be non-transitory. The memory 60 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the memory 60 may be an internal storage unit of an electronic device, such as a hard disk of a server. In other embodiments, the memory 60 may also be an external storage device of an electronic device, such as a plug-in hard disk equipped on a server, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 60 may also include both an internal storage unit of an electronic device and an external storage device. The memory 60 may not only be used to store application software and various types of data installed in the electronic device, such as: the code of the program in the process of executing the disk device management method, but also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 60 is at least used to store the following computer program 601, wherein, after the computer program is loaded and executed by the processor 61, the relevant steps of the disk device management method disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, and the storage method may be temporary storage or permanent storage. The operating system 602 may include Windows, Unix, Linux, etc. The data 603 may include but is not limited to data corresponding to the disk device management result.
[0135] In some embodiments, the electronic device may further include a display screen 62, an input / output interface 63, a communication interface 64 or a network interface, a power supply 65 and a communication bus 66. Among them, the display screen 62 and the input / output interface 63 such as a keyboard belong to the user interface, and exemplary user interfaces may also include standard wired interfaces, wireless interfaces, etc. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface. The communication interface 64 may exemplarily include a wired interface and / or a wireless interface, such as a WI-FI interface, a Bluetooth interface, etc., which are generally used to establish a communication connection between the electronic device and other electronic devices. The communication bus 66 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0136] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure, for example, it may also include a sensor 67 to implement various functions.
[0137] The functions of the functional modules of the electronic device of this embodiment can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0138] As can be seen from the above, this embodiment can achieve strong protection of the HDD device data of the server, which will not leak the internal storage data of the server and enable legitimate users to obtain the required data.
[0139] It is understandable that if the disk device management in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes but is not limited to: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, removable disk, CD-ROM, magnetic disk or optical disk, etc. Various media that can store program codes. Based on this, the present invention also provides a non-volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of disk device management recorded in any of the above embodiments are performed.
[0140] It is understandable that if the disk device management in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, the computer software product does not need to be stored in a physical storage medium. For example, it can be directly transmitted to a computer or other device with information processing capabilities through a wired network or a wireless network to perform all or part of the steps of the methods of each embodiment of the present invention. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product. Based on this, the present invention also provides a computer program product that stores a computer program. When the computer program is executed by a processor, the steps of disk device management recorded in any of the above embodiments are performed.
[0141] Finally, the present invention further provides a server, which manages the connected HDD device according to the disk device management method recorded in any one of the above embodiments, see Figure 7 , which may include:
[0142] The server includes a basic input / output system 701 and multiple hard disk drive devices 702. The basic input / output system 701 includes a read / write storage area, and the read / write storage area includes a dynamic password database; each hard disk drive device 702 includes a write-protected sector, and the basic input / output system interacts with each hard disk drive device through the corresponding write-protected sector.
[0143] In this embodiment, the basic input and output system 701 provides a serial interlock authentication information generation function and a password library management function. The serial interlock authentication information generation function is switched on and off by the administrator. When this function is turned on, the unique identification information of the currently in-place HDD device can be read and the serial interlock authentication information can be formed and written into the read-write storage area. The password library management function supports the administrator to set his own dynamic password library and password generation method here. The password library management function and the serial interlock authentication information generation function are related functions and must be enabled at the same time to provide a highly confidential dynamic password function for the server. There is a write-protected sector in the HDD. The content of this sector only provides the permission to interact with the BIOS. The administrator can set the dynamic password library and password generation method through the BIOS option function in this sector. After the server is powered on, the serial interlock authentication information sent by the BIOS is entered, and the hard disk password currently covered by the BIOS to all HDD devices is synchronized, providing a verification basis for the next entry into the cycle process. This part automatically enables the password library dynamic password overwrite function only when it is detected that it is inconsistent with the serial interlock authentication information stored in the BIOS, and only after the verification is passed, the write permission of the serial interlock authentication information formed with the new server is provided.
[0144] On the basis of the hardware support provided by BIOS and each HDD device, the implementation logic of the server's disk management may include the following: after the new device is connected, the serial interlock authentication information of the BIOS read-write storage area and the current HDD device is read bidirectionally. Since the current situation is that a new device is connected, the comparison fails and the password-free service ends. At this time, a trigger signal is sent to the dynamic password library, and a verification window pops up. While printing the verification times on the verification interface, the scheme password previously set by the dynamic password library is overwritten to all HDD devices, and 5 verification permissions are provided. If the verification fails 5 times, the verification times + 1 will be printed to the verification window, and the new password in the dynamic password library will cover all devices again, and 5 verification permissions will be provided again, forming a cycle. If the verification is successful, the BIOS will identify the new HDD device as a hard disk interlock member, compile a new interlock serial number, write it to the hard disk sector and import it into the password library, and the password-free service will be activated at this time, and it can be used without password the next time you log in. Take the example of the original data device being connected to other interlocking systems. At this time, the original data HDD hard disk device sector has been written with the serial interlocking authentication information and password library. In the new server, a verification service is provided. If the verification passes, the device is programmed into the interlocking system user of the new server. If the verification fails, the password dynamic overwrite of the password library is always enabled to protect the original data hard disk. When the disk returns to the original server, since this disk belongs to the original interlocking system user, it can be used directly without password and the current BIOS password is synchronized.
[0145] Furthermore, the server may also include a buzzer 703, and pre-bind a client, such as a mobile phone APP. When the BIOS calls the dynamic password library, the password library call signal can be converted into a level signal. The level signal is used to trigger the buzzer to alarm, and send the intrusion information to the Internet of Things platform through the network card, and warn the client in real time. At the same time, the log is uploaded to the baseboard management controller platform. In this way, no matter whether the manager is in working state or not, he can obtain the alarm prompt information in real time through the BMC Web platform and the client.
[0146] The functions of the functional modules of the disk device management system described in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0147] As can be seen from the above, this embodiment can achieve strong protection of the HDD device data of the server, which will not leak the internal storage data of the server and can also enable legitimate users to obtain the storage data.
[0148] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the hardware disclosed in the embodiments, including devices and electronic devices, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part.
[0149] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0150] The above is a detailed introduction to a server and disk device management method, device, electronic device and non-volatile storage medium provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that based on the embodiments of the present invention, for ordinary technicians in this technical field, all other embodiments obtained without creative work are within the scope of protection of the present invention. Without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.
Claims
1. A disk device management method, It is characterized in that include: Generate original serial interlock authentication information in advance based on at least one unique identification information of the disk drive device in place, store it in the read-write storage area of the baseboard input-output system, and write it to the write-protected sectors of the disk drive in place through the baseboard input-output system; Preliminarily constructing a dynamic password library and a corresponding password generation method in the read-write storage area, and writing them into the write-protected sectors of each in-place disk drive through the basic input and output system; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up at the same time until the user enters the correct disk password; The write-protected sector only provides permission to interact with the basic input / output system; the current serial interlock authentication information is serial interlock authentication information generated according to at least one unique identification information of the disk drive device detected during the current startup process of the server.
2. The disk device management method according to claim 1, It is characterized in that The method of generating a new disk password based on the dynamic password library according to the password generation method and popping up a password verification window until the user enters the correct disk password includes: Based on the dynamic password library, a new disk password is generated according to the password generation method, and the new disk password is written into the write-protected sector of each disk drive in place, and a password verification window for using each disk drive device is provided; If the number of times the user enters an incorrect disk password is greater than a preset threshold, a new disk password is generated again according to the password generation method based on the dynamic password library, and the new disk password is written to the write-protected sector of each in-place disk drive, and the password verification window continues to be provided until the user enters the correct disk password.
3. The disk device management method according to claim 1, It is characterized in that If the current serial interlocking authentication information is inconsistent with the original serial interlocking authentication information, it includes: Obtain the in-slot information, serial number device code, read device access timestamp, server field replaceable unit information and version information of all in-slot disk drive devices during server startup, and generate current serial interlock authentication information; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is at least one hard disk drive device whose write protection sector does not have the original serial interlock authentication information, then the hard disk drive device that does not have the original serial interlock authentication information is a new device connected to the current server; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and the original serial interlock authentication information exists in the write protection sector of the target hard disk drive device, the current server is a new server connected to the target hard disk drive device; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, and there is historical serial interlock authentication information in the write protection sector of the first hard disk drive device, then the first hard disk drive device is a historical disk drive device of the current server.
4. The disk device management method according to claim 1, It is characterized in that If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up at the same time until the user enters the correct disk password, including: Pre-setting all disk drive devices corresponding to the original serial interlock authentication information as a hard disk interlock user group; The baseboard input and output system generates current serial interlock authentication information according to at least one unique identification information of a currently in-place disk drive device detected during the current startup process of the server; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the read-write storage area, and the server detects the presence of a new disk drive device, then exit the disk password-free mode; The substrate input / output system generates a new disk password based on the dynamic password library according to the password generation method, writes the new disk password into the write-protected sector of each in-place disk drive, and provides a password verification window; If the number of times the user enters an incorrect disk password exceeds a preset number threshold, the substrate input / output system generates a new disk password again according to the password generation method based on the dynamic password library, writes the new disk password to the write-protected sector of each in-place disk drive, and continues to provide a password verification window until the user enters the correct disk password; If the user types the correct disk password, the baseboard input and output system will enroll the new disk drive device into the hard disk interlock user group, store the current serial interlock authentication information into the read-write storage area, and synchronously write it to the write-protected sectors of all disk drive devices to overwrite the original serial interconnection authentication information; and after the new disk drive device is enrolled into the hard disk interlock user group, the disk password-free mode is enabled.
5. The disk device management method according to claim 1, It is characterized in that If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information, or the disk password entered by the user is wrong, a new disk password is generated based on the dynamic password library according to the password generation method, and a password verification window pops up at the same time until the user enters the correct disk password, including: Generate current serial interlock authentication information according to at least one unique identification information of a currently in-place disk drive device detected during the current startup process of the server; If the current serial interlock authentication information is inconsistent with the original serial interlock authentication information currently stored in the target hard disk drive device, the target hard disk drive device calls the dynamic password library stored in its own target write-protected sector to generate a new disk password according to the corresponding password generation method, and pops up a password verification window at the same time; If the correct disk password is entered, the target hard disk drive device provides the write permission of the target write-protected sector to the basic input and output system of the server; The basic input and output system encodes the target hard disk drive device into its own current hard disk interlock user group, and at the same time writes the current serial interlock authentication information, the dynamic password library and its corresponding password generation method into the target write-protected sector in a data overwrite manner, and after the target disk drive device is encodes into the current hard disk interlock user group, enables the disk password-free mode.
6. The disk device management method according to any one of claims 1 to 5, It is characterized in that Also includes: During the server startup process, the substrate input and output system detects that the first disk drive device's own write-protected sector stores the original serial interlocking authentication information, and the first disk drive device belongs to the original hard disk interlocking user group. It then enters the disk password-free mode and writes the new serial interlocking authentication information currently stored in the read-write storage area of the substrate input and output system to the first disk drive device's own write-protected sector.
7. A disk device management device, It is characterized in that include: The original interlock module is used to generate original serial interlock authentication information in advance according to at least one unique identification information of the disk drive device in place, store it in the read-write storage area of the base input-output system, and write it to the write protection sector of the disk drive in place through the base input-output system; wherein the write protection sector only provides the permission to interact with the basic input-output system; A dynamic password generation module, used to construct a dynamic password library and a corresponding password generation method in the read-write storage area in advance, and write them into the write-protected sectors of each in-place disk drive through the basic input and output system; The security protection module is used to generate a new disk password based on the dynamic password library and in accordance with the password generation method if the current serial interlocking authentication information is inconsistent with the original serial interlocking authentication information, or the disk password entered by the user is incorrect, and pop up a password verification window at the same time until the user enters the correct disk password; the current serial interlocking authentication information is the serial interlocking authentication information generated according to at least one unique identification information of the disk drive device detected during the current startup process of the server.
8. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the processor is used to implement the steps of the disk device management method according to any one of claims 1 to 6 when executing a computer program stored in the memory.
9. A non-volatile storage medium, It is characterized in that The non-volatile storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the disk device management method according to any one of claims 1 to 6 are implemented.
10. A server implementing the disk device management method according to any one of claims 1 to 6, It is characterized in that Includes basic input and output systems and multiple hard drive devices; The basic input-output system includes a read-write storage area, and the read-write storage area includes a dynamic password database; each hard disk drive device includes a write-protected sector, and the basic input-output system interacts with each hard disk drive device through the corresponding write-protected sector.
