Storage device identification method based on data security, electronic device and storage medium
By conducting security screening and feature acquisition of storage devices, combined with the difference analysis and processing of twin storage devices, the problem of single identification methods and easy identification codes in the prior art is solved, and the security and efficiency of storage device identification are improved.
Patent Information
- Application Number
- CN202411882998.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-19
AI Technical Summary
The existing storage device identification methods have the problem of single identification methods and easy to crack in the identification code, resulting in low recognition security.
By performing security screening on the data in the storage device, security device features and storage features are obtained, pre-identified and identified and backed up, and differentiated parameters are obtained by using the difference analysis and processing of twin storage devices to perform security screening and identification.
It improves the security and efficiency of storage device identification, prevents safety hazards caused by the single identification method during the identification process, and ensures the accuracy and uniqueness of the identification results.
Smart Images

Figure CN119806414A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device identification, and in particular to a storage device identification method based on data security, an electronic device and a storage medium. Background Art
[0002] Storage device identification refers to the process of computer systems identifying and confirming storage devices, including identification at the hardware level, identification at the operating system level, and identification at the device management software level; identification at the hardware level means that the chipset and BIOS on the server motherboard are responsible for identifying and managing storage devices; identification at the operating system level means that once the hardware level identification is completed, the server's operating system will further identify and manage the storage device; identification at the device management software level means that in some large server environments, storage devices are further identified and managed through device management software.
[0003] Existing improvements in storage device identification are usually used to solve the identification method of storage devices in multiple access states, such as storing the identification information of the target storage device in the shortcut, and comparing the representation information of the connected storage device with the identification information stored in the shortcut, so as to identify the storage device. Although this improved method can effectively identify the storage device in multiple access states of the storage device, the identification method can only compare and identify through the identification information, and when performing device identification, a shortcut needs to be established and the identification information needs to be stored in the shortcut. The identification method is relatively complicated, resulting in the problem of slow identification efficiency and low identification security. For example, in the patent application No. CN111198830A, The patent application discloses a method, apparatus, electronic device and storage medium for identifying a mobile storage device. The solution is to receive an operation that triggers a shortcut icon so that when the access status of the target mobile storage device changes, the target mobile storage device can still be identified, so that the shortcut icon can be used normally. Other improvements for storage device identification usually obtain the corresponding identification code based on the basic information of the storage device and perform corresponding identification. This improved method still has the problem that the identification method is relatively simple and the identification code corresponding to the storage device is easy to be cracked, resulting in security risks in the identification process and low identification security. In view of this, it is necessary to improve the existing storage device identification method. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent. By proposing a storage device identification method, an electronic device and a storage medium based on data security, the present invention is used to solve the problem that the existing storage device identification method is relatively simple and the identification code corresponding to the storage device is easy to crack, resulting in security risks in the identification process and low identification security.
[0005] To achieve the above objectives, in a first aspect, the present application provides a storage device identification method based on data security, comprising the following steps:
[0006] Perform security screening on existing data in the storage device and obtain security device characteristics during the security screening; pre-identify the storage device based on the security device characteristics and obtain storage characteristics of the security device based on the pre-identification results;
[0007] Use security device features and storage features to identify and back up storage devices, and obtain twin storage devices based on the backup results; perform difference analysis on the twin storage devices, and obtain distinguishing parameters of storage devices containing twin storage devices based on the processing results;
[0008] When a storage device is identified, a security screening is performed on the storage device to be identified based on data security, and the storage device is identified based on the distinguishing parameters.
[0009] Furthermore, the existing data in the storage device is security screened, and the security device features obtained during the security screening include:
[0010] The storage hard disks in the storage device are respectively denoted as device hard disk SY1 to device hard disk SY n ; Obtain existing data security screening software, and use the data security screening software to screen the device hard disk SY1 to the device hard disk SY n Perform security screening; for any device hard disk SY c , SY the device hard disk c The capacity of the device hard disk is recorded as the total capacity of the hard disk. c The capacity occupied by the data in the disk is recorded as the total data capacity, and the value of the total data capacity divided by the total hard disk capacity is recorded as the data ratio;
[0011] A plane rectangular coordinate system is established, which is recorded as the screening analysis coordinate system. The unit of the X-axis of the screening analysis coordinate system is time, and the Y-axis is the number axis and the corresponding value is G0 is the data security screening software for the device hard disk SY c When conducting security screening, the ratio of the amount of data screened to the total data capacity is G1, which is the data ratio.
[0012] Furthermore, performing security screening on the existing data in the storage device and obtaining security device features during the security screening also includes:
[0013] When the data security screening software starts to SY the device hard disk c After data screening, draw the corresponding curve in the screening analysis coordinate system based on real-time data until the device hard disk SY cAfter the screening is completed, the obtained curve is recorded as the screening curve SQ c ;
[0014] The screening curve SQ c The highest point and the lowest point in the slope are recorded as the fastest screening point and the slowest screening point respectively. Connect the fastest screening point and the slowest screening point, and connect the connecting line with the screening curve SQ c The intersection of is recorded as the screening fluctuation point, and the number of screening fluctuation points is recorded as the number of screening fluctuation points; the fluctuation feature algorithm is used to obtain the device hard disk SY c The corresponding secure hard disk feature and fluctuation feature algorithm are: Among them, F1 is the safe hard disk feature, m is the screening fluctuation point, and f i is the slope corresponding to the i-th screening fluctuation point, X i is the horizontal coordinate of the i-th screening fluctuation point.
[0015] Furthermore, performing security screening on the existing data in the storage device and obtaining security device features during the security screening also includes:
[0016] Get all device hard disk SY c The corresponding secure hard disk features are obtained by using the hard disk comprehensive algorithm to obtain the secure device features of the storage device. The disk comprehensive algorithm is: Among them, F2 is the safety device feature, H j is the secure hard disk feature of the j-th device hard disk SY, It is the average value of the secure hard disk characteristics of all device hard disks SY.
[0017] Further, pre-identifying the storage device based on the security device feature, and acquiring the storage feature of the security device based on the pre-identification result includes:
[0018] Obtaining and recording security device features of all identifiable storage devices; setting the pre-identification standard of the recorded storage device as the security device feature corresponding to the storage device;
[0019] For any recorded storage device: input data α to all device hard disks SY of the storage device at the same time, and record the average value of the instantaneous read and write rates of all device hard disks SY when data input starts as the input storage mean value; after data α is input to all device hard disks SY, record the average value of the time for all device hard disks SY to input data α as the input time mean value, and all device hard disks SY output data α;
[0020] The average value of the instantaneous read and write rates of all device hard disks SY at the start of data output is recorded as the output storage mean value. After data α is output by all device hard disks SY, the average value of the time for all device hard disks to output data α is recorded as the output time mean value. Denoted as the storage characteristics of the storage device, where t1 is the input time mean, t2 is the output time mean, v1 is the input storage mean, and v2 is the output storage mean;
[0021] Get the storage characteristics corresponding to all recorded storage devices.
[0022] Furthermore, the storage device is identified and backed up using the security device features and the storage features, and a twin storage device is obtained based on the backup result; a difference analysis process is performed on the twin storage device, and the distinguishing parameters of the storage device containing the twin storage device are obtained based on the processing result, including:
[0023] A table of R rows × 3 columns is established, which is recorded as an identification backup table, wherein the top row of the identification backup table is filled with security device features and storage features in sequence except the first cell, and the leftmost column is filled with the names of all recorded storage devices in sequence except the top cell;
[0024] Fill in the security device features and storage features of all recorded storage devices into the identification backup table; when the security device feature of any storage device β in the identification backup table is the same as the security device feature of the storage device γ, the storage device γ is recorded as the twin storage device of the storage device β;
[0025] Perform a difference analysis process on the storage device γ; the difference analysis process is: when the storage characteristics of the storage device γ are different from the storage characteristics of all storage devices except the storage device γ, record the storage characteristics of the storage device γ as the distinguishing parameter of the storage device β.
[0026] Furthermore, performing difference analysis processing on the twin storage devices and obtaining distinguishing parameters of the storage device containing the twin storage device based on the processing result also includes:
[0027] When the storage characteristics of any storage device other than the storage device γ are the same as the storage characteristics of the storage device γ, the storage device with the same storage characteristics as the storage device γ is recorded as the anchor device, and the sum of the security device characteristics of the storage device γ and the security device characteristics of all anchor devices is recorded as the distinguishing parameter of the storage device β, where the storage device β may have multiple distinguishing parameters;
[0028] Get the distinguishing parameters corresponding to all storage devices containing twin storage devices in the identification backup table.
[0029] Furthermore, when identifying a storage device, security screening is performed on the storage device to be identified based on data security, and the storage device is identified based on the distinguishing parameters, including:
[0030] When identifying a storage device, the storage device to be identified is recorded as a device to be identified; based on the storage feature acquisition method, the storage feature of the device to be identified is obtained and recorded as the identification storage feature; the storage device whose storage feature in the identification backup table is equal to the identification storage feature is recorded as a device to be confirmed;
[0031] When the number of devices to be confirmed is 1: use data security screening software to perform security screening on the devices to be identified, and obtain the security device features of the devices to be identified during the security screening based on the method for obtaining security device features; when the security device features of the devices to be identified are equal to the security device features of the devices to be confirmed, identify the devices to be identified as devices to be confirmed; when the security device features of the devices to be identified are not equal to the security device features of the devices to be confirmed, identify the devices to be identified as unrecorded devices;
[0032] When the number of devices to be confirmed is greater than 1: use data security screening software to perform security screening on the devices to be identified, and obtain the security device features of the devices to be identified during the security screening based on the method for obtaining security device features; the sum of the security device features of all devices to be confirmed is recorded as the parameter to be confirmed; when the distinguishing parameter of any device to be confirmed Ω is equal to the stored feature or the parameter to be confirmed of the device to be identified, the device to be identified is identified as the device to be confirmed Ω;
[0033] When the distinguishing parameters of all the devices to be confirmed are not equal to the stored features or the parameters to be confirmed of the device to be identified, the device to be identified is identified as an unrecorded device.
[0034] In a second aspect, the present application provides an electronic device, including a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are performed.
[0035] In a third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.
[0036] Beneficial effects of the present invention: The present application first performs a security screening on the existing data in the storage device, and obtains the security device features during the security screening; pre-identifies the storage device based on the security device features, and obtains the storage features of the security device based on the pre-identification results. The advantage of this is that by obtaining the security device features and the storage features, the features that can be extracted from the storage device when it is subject to security screening and the features that can be extracted when it fails to be security screened can be obtained respectively, so as to ensure that when the storage device is identified, it can be identified based on the security device features in the case where security screening can be performed, and can be identified based on the storage features when security screening cannot be performed. At the same time, the acquired security identification features and device features are parameters that are more unique and conform to the actual features of the storage device compared with other storage devices, so as to ensure that the identification process of the storage device will not be easily cracked due to the relatively single identification method during the identification process. In addition, because the security device features are obtained during the security screening, when the storage device is identified, the identification can be completed during the security screening period, so as to ensure that there are no security risks in the identification process and the security screening is combined with the device identification, so as to improve the identification efficiency and the identification security.
[0037] The present application also uses security device characteristics and storage characteristics to identify and back up storage devices, and obtains twin storage devices based on the backup results; performs differential analysis on the twin storage devices, and obtains distinguishing parameters of the storage devices containing the twin storage devices based on the processing results; finally, when the storage device is identified, the storage device to be identified is security screened based on data security, and the storage device is identified based on the distinguishing parameters. The advantage of this is that by obtaining twin storage devices and performing differential analysis to obtain distinguishing parameters, storage devices with the same security device characteristics can be effectively distinguished, thereby preventing identification errors caused by the same security device characteristics during identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flow chart of the steps of the method of the present invention;
[0039] Figure 2 It is a schematic diagram of the screening curve SQ of the present invention;
[0040] Figure 3 It is a schematic diagram of the structure of the electronic device of the present invention;
[0041] Figure 4 This is a flow chart of identifying a device to be identified according to the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] Example 1, please refer to Figure 1 As shown, the present application provides a storage device identification method based on data security, comprising the following steps:
[0044] Step S1, security screening is performed on the existing data in the storage device, and security device characteristics are obtained during the security screening; the storage device is pre-identified based on the security device characteristics, and storage characteristics of the security device are obtained based on the pre-identification results;
[0045] Step S1 includes: Step S101, recording the storage hard disks in the storage device as device hard disk SY1 to device hard disk SY n ; Obtain existing data security screening software, and use the data security screening software to screen the device hard disk SY1 to the device hard disk SY n Perform security screening; for any device hard disk SY c , SY the device hard disk c The capacity of the device hard disk is recorded as the total capacity of the hard disk. c The capacity occupied by the data in the disk is recorded as the total data capacity, and the value of the total data capacity divided by the total hard disk capacity is recorded as the data ratio;
[0046] In the specific implementation process, in the actual process of obtaining the device hard disk SY, it can be obtained according to the independent hard disk in the storage device. For example, the hard disk in the storage device may include a mechanical hard disk, a solid-state hard disk, a hybrid hard disk and a network hard disk; then the mutually opposed mechanical hard disk and solid-state hard disk can be respectively recorded as two device hard disks SY;
[0047] Step S102, establish a plane rectangular coordinate system, recorded as the screening analysis coordinate system, wherein the unit of the X-axis of the screening analysis coordinate system is time, and the Y-axis is the number axis and the corresponding value is G0 is the data security screening software for the device hard disk SY c When conducting security screening, the ratio of the amount of data screened to the total data capacity, G1 is the data ratio;
[0048] In the specific implementation process, for example, in a data processing, the total data capacity corresponding to a device hard disk SY is 100T, and the total hard disk capacity is 200T. Then, through calculation, it can be obtained that the data ratio is 0.5; at the same time, the screening curve SQ is obtained as follows Figure 2As shown, curve SQ is the screening curve SQ, point MI is the slowest screening point, and point MA is the fastest screening point. Figure 2 The line obtained by connecting point MI and point MA does not intersect with the screening curve SQ, that is, the screening fluctuation point number is 0, and the fluctuation feature algorithm cannot be calculated at this time. Therefore, in this embodiment, when the screening fluctuation point number is 0, the secure hard disk feature is set to 0;
[0049] Step S103, when the data security screening software starts to SY the device hard disk c After data screening, draw the corresponding curve in the screening analysis coordinate system based on real-time data until the device hard disk SY c After the screening is completed, the obtained curve is recorded as the screening curve SQ c ;
[0050] Step S104: Screening curve SQ c The highest point and the lowest point in the slope are recorded as the fastest screening point and the slowest screening point respectively. Connect the fastest screening point and the slowest screening point, and connect the connecting line with the screening curve SQ c The intersection of is recorded as the screening fluctuation point, and the number of screening fluctuation points is recorded as the number of screening fluctuation points; the fluctuation feature algorithm is used to obtain the device hard disk SY c The corresponding secure hard disk feature and fluctuation feature algorithm are: Among them, F1 is the safe hard disk feature, m is the screening fluctuation point, and f i is the slope corresponding to the i-th screening fluctuation point, X i is the horizontal coordinate of the i-th screening fluctuation point;
[0051] For example, in one data processing, the number of screening fluctuation points obtained is 1, and the coordinates of the screening fluctuation points are (20, 3), and the slope of the screening fluctuation points is 2, then the number of screening fluctuation points is 1, and the security hard disk feature can be obtained by calculation as 2 / 3; by obtaining the security hard disk feature, the feature corresponding to each device hard disk can be obtained based on the speed at which each device hard disk is securely screened, thereby ensuring that the obtained security device feature can match the status of all device hard disks in the security device feature;
[0052] Step S105, obtain all device hard disk SY c The corresponding secure hard disk features are obtained by using the hard disk comprehensive algorithm to obtain the secure device features of the storage device. The disk comprehensive algorithm is: Among them, F2 is the safety device feature, H j is the secure hard disk feature of the j-th device hard disk SY, is the average value of the secure hard disk characteristics of all device hard disks SY;
[0053] In the specific implementation process, for example, in a data processing, the secure hard disk characteristics of all device hard disks of the device are 0.5, 1, 1, 0.5 and 2 respectively, then the calculation can be obtained is 1, and F2 is 0.3; therefore, the security device characteristic of the storage device can be set to 0.3;
[0054] Step S106, obtaining and recording the security device characteristics of all identifiable storage devices; setting the pre-identification standard of the recorded storage device as the security device characteristic corresponding to the storage device;
[0055] Step S107, for any recorded storage device: input data α to all device hard disks SY of the storage device at the same time, and record the average value of the instantaneous read / write rates of all device hard disks SY when data input starts as the input storage average value; after data α is input to all device hard disks SY, record the average value of the time for all device hard disks SY to input data α as the input time average value, and all device hard disks SY output data α;
[0056] Step S108, record the average value of the instantaneous read and write rates of all device hard disks SY when data output starts as the output storage average value, and after data α is output by all device hard disks SY, record the average value of the time for all device hard disks to output data α as the output time average value, and Denoted as the storage characteristics of the storage device, where t1 is the input time mean, t2 is the output time mean, v1 is the input storage mean, and v2 is the output storage mean;
[0057] In the specific implementation process, data α is only used to obtain storage characteristics. Data α can be set according to actual conditions. At the same time, it should be ensured that when the storage characteristics of the storage device are subsequently obtained, the data for data input and data output are all data α; for example, in the process of obtaining storage characteristics once, the input storage average is 2mb / s, the output storage average is 4mb / s, the input time average is 20s, and the output time average is 10s. Then, by calculation, the storage characteristic of the storage device can be obtained as 1.5;
[0058] Step S109, obtaining storage characteristics corresponding to all recorded storage devices.
[0059] Step S2: Use the security device features and storage features to identify and back up the storage device, and obtain the twin storage device based on the backup result; perform difference analysis on the twin storage device, and obtain the distinguishing parameters of the storage device containing the twin storage device based on the processing result;
[0060] Step S2 includes: Step S201, establishing a table of R rows×3 columns, recorded as an identification backup table, wherein the top row of the identification backup table except the first cell is filled with security device features and storage features in sequence, and the leftmost column except the top cell is filled with the names of all recorded storage devices in sequence;
[0061] Step S202, fill the security device characteristics and storage characteristics of all recorded storage devices into the identification backup table; when the security device characteristics of any storage device β in the identification backup table are the same as the security device characteristics of the storage device γ, the storage device γ is recorded as the twin storage device of the storage device β;
[0062] In a specific implementation process, the value of R is the value corresponding to the number of storage devices plus 1. For example, when the number of storage devices analyzed in one analysis is 10, the value of R should be 11. For example, the identification backup table established after one data analysis is shown in Table 1: Identification backup table. Then, through analysis, it can be obtained that the security device features of storage device A and storage device C are the same. Storage device A can be recorded as a twin storage device of storage device C, and storage device C can also be recorded as a twin storage device of storage device A.
[0063] Table 1: Identify backup tables
[0064] Safety equipment features Storage characteristics Storage device A 0.5 2 Storage device B 0.3 1.4 Storage device C 0.5 1.6 Storage device D 1.3 5
[0065] The purpose of obtaining twin storage devices is to effectively distinguish storage devices with the same security device characteristics, so as to prevent the problem of identification errors caused by the same security device characteristics during identification;
[0066] Step S203, performing a difference analysis process on the storage device γ; the difference analysis process is: when the storage characteristics of the storage device γ are different from the storage characteristics of all storage devices except the storage device γ, the storage characteristics of the storage device γ are recorded as the distinguishing parameters of the storage device β;
[0067] In the specific implementation process, for example, during a data processing, the identification backup table obtained is shown in Table 1. For the twin storage devices: storage device A, since the storage characteristics of storage device A are different from the storage characteristics of all other storage devices, 2 can be set as the distinguishing parameter of storage device C;
[0068] Step S204, when the storage characteristics of any storage device other than the storage device γ are the same as the storage characteristics of the storage device γ, the storage device having the same storage characteristics as the storage device γ is recorded as an anchor device, and the sum of the security device characteristics of the storage device γ and the security device characteristics of all anchor devices is recorded as a distinguishing parameter of the storage device β, where the storage device β may have multiple distinguishing parameters;
[0069] Step S205, obtaining the distinguishing parameters corresponding to all storage devices containing twin storage devices in the identification backup table.
[0070] Step S3, when identifying a storage device, security screening is performed on the storage device to be identified based on data security, and the storage device is identified based on the distinguishing parameters;
[0071] Step S301, when identifying the storage device, refer to Figure 4 As shown, the storage device to be identified is recorded as the device to be identified; the storage characteristics of the device to be identified are obtained based on the storage characteristic acquisition method, and recorded as the identification storage characteristics; the storage device whose storage characteristics in the identification backup table are equal to the identification storage characteristics is recorded as the device to be confirmed;
[0072] Step S302, when the number of devices to be confirmed is 1: use data security screening software to perform security screening on the devices to be identified, and obtain security device features of the devices to be identified during the security screening based on the method for obtaining security device features; when the security device features of the devices to be identified are equal to the security device features of the devices to be confirmed, identify the devices to be identified as devices to be confirmed; when the security device features of the devices to be identified are not equal to the security device features of the devices to be confirmed, identify the devices to be identified as unrecorded devices;
[0073] In a specific implementation, when the number of devices to be confirmed is 1, it means that only one of the recorded storage devices has the same storage characteristics as the storage characteristics of the device to be identified, so identification can be performed only by comparing the characteristics of the security device;
[0074] Step S303, when the number of devices to be confirmed is greater than 1: use data security screening software to perform security screening on the devices to be identified, and obtain security device features of the devices to be identified during the security screening based on the method for obtaining security device features; the sum of the security device features of all devices to be confirmed is recorded as the parameter to be confirmed; when the distinguishing parameter of any device to be confirmed Ω is equal to the stored feature or the parameter to be confirmed of the device to be identified, the device to be identified is identified as the device to be confirmed Ω;
[0075] Step S304: When the distinguishing parameters of all the devices to be confirmed are not equal to the stored features or the parameters to be confirmed of the device to be identified, the device to be identified is identified as an unrecorded device.
[0076] Example 2, please refer to Figure 3 As shown, Figure 3The structural diagram of an electronic device is illustrated, and the electronic device may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in the storage device identification method based on data security are executed to achieve the following functions: first, the existing data in the storage device is security screened, and the security device characteristics are obtained during the security screening; the storage device is pre-identified based on the security device characteristics, and the storage characteristics of the security device are obtained based on the pre-identification results, and the storage device is also identified and backed up using the security device characteristics and the storage characteristics, and a twin storage device is obtained based on the backup results; the twin storage device is subjected to difference analysis processing, and the distinguishing parameters of the storage device containing the twin storage device are obtained based on the processing results; finally, when the storage device is identified, the storage device to be identified is security screened based on data security, and the storage device is identified based on the distinguishing parameters.
[0077] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0078] Embodiment 3. The present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the storage device identification method based on data security provided by the above methods, the method including: first, performing a security screening on the existing data in the storage device, and obtaining the security device characteristics during the security screening; pre-identifying the storage device based on the security device characteristics, and obtaining the storage characteristics of the security device based on the pre-identification result, and also using the security device characteristics and storage characteristics to identify and back up the storage device, and obtain a twin storage device based on the backup result; performing difference analysis processing on the twin storage devices, and obtaining the distinguishing parameters of the storage device containing the twin storage device based on the processing results; finally, when identifying the storage device, performing a security screening on the storage device to be identified based on data security, and identifying the storage device based on the distinguishing parameters.
[0079] Embodiment 4, the present application also provides a computer-readable storage medium, the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by the processor, the steps in the storage device identification method based on data security are executed to achieve the following functions: first, the existing data in the storage device is security screened, and the security device characteristics are obtained during the security screening; the storage device is pre-identified based on the security device characteristics, and the storage characteristics of the security device are obtained based on the pre-identification results. The storage device is also identified and backed up using the security device characteristics and storage characteristics, and a twin storage device is obtained based on the backup results; the twin storage devices are differentially analyzed and processed, and the distinguishing parameters of the storage device containing the twin storage device are obtained based on the processing results; finally, when the storage device is identified, the storage device to be identified is security screened based on data security, and the storage device is identified based on the distinguishing parameters.
[0080] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0081] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A storage device identification method based on data security, characterized in that: The steps include: Perform security screening on existing data in the storage device and obtain security device characteristics during the security screening; pre-identify the storage device based on the security device characteristics and obtain storage characteristics of the security device based on the pre-identification results; Use security device features and storage features to identify and back up storage devices, and obtain twin storage devices based on the backup results; Performing difference analysis processing on the twin storage devices, and obtaining distinguishing parameters of the storage device containing the twin storage device based on the processing result; When a storage device is identified, a security screening is performed on the storage device to be identified based on data security, and the storage device is identified based on the distinguishing parameters.
2. The storage device identification method based on data security according to claim 1, characterized in that: Perform security screening on the data already in the storage device and obtain security device features during the security screening, including: The storage hard disks in the storage device are respectively denoted as device hard disk SY1 to device hard disk SY n ; Obtain existing data security screening software, and use the data security screening software to screen the device hard disk SY1 to the device hard disk SY n Perform security screening; for any device hard disk SY c , SY the device hard disk c The capacity of the device hard disk is recorded as the total capacity of the hard disk. c The capacity occupied by the data in the disk is recorded as the total data capacity, and the value of the total data capacity divided by the total hard disk capacity is recorded as the data ratio; A plane rectangular coordinate system is established, which is recorded as the screening analysis coordinate system. The unit of the X-axis of the screening analysis coordinate system is time, and the Y-axis is the number axis and the corresponding value is G0 is the data security screening software for the device hard disk SY c When conducting security screening, the ratio of the amount of data screened to the total data capacity is G1, which is the data ratio.
3. The method for identifying a storage device based on data security according to claim 2, characterized in that: Performing security screening on the data already in the storage device and obtaining security device characteristics during the security screening also includes: When the data security screening software starts to SY the device hard disk c After data screening, draw the corresponding curve in the screening analysis coordinate system based on real-time data until the device hard disk SY c After the screening is completed, the obtained curve is recorded as the screening curve SQ c ; The screening curve SQ c The highest point and the lowest point in the slope are recorded as the fastest screening point and the slowest screening point respectively. Connect the fastest screening point and the slowest screening point, and connect the connecting line with the screening curve SQ c The intersection of is recorded as the screening fluctuation point, and the number of screening fluctuation points is recorded as the number of screening fluctuation points; the fluctuation feature algorithm is used to obtain the device hard disk SY c The corresponding secure hard disk feature and fluctuation feature algorithm are: Among them, F1 is the safe hard disk feature, m is the screening fluctuation point, and f i is the slope corresponding to the i-th screening fluctuation point, X i is the horizontal coordinate of the i-th screening fluctuation point.
4. The method for identifying a storage device based on data security according to claim 3, characterized in that: Performing security screening on the data already in the storage device and obtaining security device characteristics during the security screening also includes: Get all device hard disk SY c The corresponding secure hard disk features are obtained by using the hard disk comprehensive algorithm to obtain the secure device features of the storage device. The disk comprehensive algorithm is: Among them, F2 is the safety device feature, H j is the secure hard disk feature of the j-th device hard disk SY, It is the average value of the secure hard disk characteristics of all device hard disks SY.
5. The method for identifying a storage device based on data security according to claim 4, characterized in that: Pre-identifying the storage device based on the security device feature and obtaining the storage feature of the security device based on the pre-identification result includes: Obtaining and recording security device features of all identifiable storage devices; setting the pre-identification standard of the recorded storage device as the security device feature corresponding to the storage device; For any recorded storage device: input data α to all device hard disks SY of the storage device at the same time, and record the average value of the instantaneous read and write rates of all device hard disks SY when data input starts as the input storage mean value; after data α is input to all device hard disks SY, record the average value of the time for all device hard disks SY to input data α as the input time mean value, and all device hard disks SY output data α; The average value of the instantaneous read and write rates of all device hard disks SY at the start of data output is recorded as the output storage mean value. After data α is output by all device hard disks SY, the average value of the time for all device hard disks to output data α is recorded as the output time mean value. Denoted as the storage characteristics of the storage device, where t1 is the input time mean, t2 is the output time mean, v1 is the input storage mean, and v2 is the output storage mean; Get the storage characteristics corresponding to all recorded storage devices.
6. The storage device identification method based on data security according to claim 1, characterized in that: Use security device features and storage features to identify and back up storage devices, and obtain twin storage devices based on the backup results; Performing difference analysis on the twin storage devices and obtaining distinguishing parameters of the storage device containing the twin storage device based on the processing results include: A table of R rows × 3 columns is established, which is recorded as an identification backup table, wherein the top row of the identification backup table is filled with security device features and storage features in sequence except the first cell, and the leftmost column is filled with the names of all recorded storage devices in sequence except the top cell; Fill in the security device features and storage features of all recorded storage devices into the identification backup table; when the security device feature of any storage device β in the identification backup table is the same as the security device feature of the storage device γ, the storage device γ is recorded as the twin storage device of the storage device β; Perform a difference analysis process on the storage device γ; the difference analysis process is: when the storage characteristics of the storage device γ are different from the storage characteristics of all storage devices except the storage device γ, record the storage characteristics of the storage device γ as the distinguishing parameter of the storage device β.
7. The method for identifying a storage device based on data security according to claim 6, characterized in that: Performing difference analysis on the twin storage devices and obtaining distinguishing parameters of the storage device containing the twin storage device based on the processing result also includes: When the storage characteristics of any storage device other than the storage device γ are the same as the storage characteristics of the storage device γ, the storage device with the same storage characteristics as the storage device γ is recorded as the anchor device, and the sum of the security device characteristics of the storage device γ and the security device characteristics of all anchor devices is recorded as the distinguishing parameter of the storage device β, where the storage device β may have multiple distinguishing parameters; Get the distinguishing parameters corresponding to all storage devices containing twin storage devices in the identification backup table.
8. The method for identifying a storage device based on data security according to claim 7, characterized in that: When identifying a storage device, security screening is performed on the storage device to be identified based on data security, and the storage device is identified based on distinguishing parameters including: When identifying a storage device, the storage device to be identified is recorded as a device to be identified; based on the storage feature acquisition method, the storage feature of the device to be identified is obtained and recorded as the identification storage feature; the storage device whose storage feature in the identification backup table is equal to the identification storage feature is recorded as a device to be confirmed; When the number of devices to be confirmed is 1: use data security screening software to perform security screening on the devices to be identified, and obtain the security device features of the devices to be identified during the security screening based on the method for obtaining security device features; when the security device features of the devices to be identified are equal to the security device features of the devices to be confirmed, identify the devices to be identified as devices to be confirmed; when the security device features of the devices to be identified are not equal to the security device features of the devices to be confirmed, identify the devices to be identified as unrecorded devices; When the number of devices to be confirmed is greater than 1: use data security screening software to perform security screening on the devices to be identified, and obtain the security device features of the devices to be identified during the security screening based on the method for obtaining security device features; the sum of the security device features of all devices to be confirmed is recorded as the parameter to be confirmed; when the distinguishing parameter of any device to be confirmed Ω is equal to the stored feature or the parameter to be confirmed of the device to be identified, the device to be identified is identified as the device to be confirmed Ω; When the distinguishing parameters of all the devices to be confirmed are not equal to the stored features or the parameters to be confirmed of the device to be identified, the device to be identified is identified as an unrecorded device.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 8 are executed.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
Equipment identification method and device
CN109800560A
Equipment type identification method and device
CN111625807A
Equipment state management method and device, equipment and storage medium
CN117541169A
Device, system, method and program for equipment identification
JP2013214814A
Device identification apparatus, device identification system, device identification method and program
JP2014052825A