CN111835593B - Detection method based on nonvolatile storage medium, storage medium and electronic equipment - Google Patents

Detection method based on nonvolatile storage medium, storage medium and electronic equipment Download PDF

Info

Publication number
CN111835593B
CN111835593B CN202010674737.7A CN202010674737A CN111835593B CN 111835593 B CN111835593 B CN 111835593B CN 202010674737 A CN202010674737 A CN 202010674737A CN 111835593 B CN111835593 B CN 111835593B
Authority
CN
China
Prior art keywords
parameter item
preset parameter
preset
item
storage medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010674737.7A
Other languages
Chinese (zh)
Other versions
CN111835593A (en
Inventor
张宏海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010674737.7A priority Critical patent/CN111835593B/en
Publication of CN111835593A publication Critical patent/CN111835593A/en
Application granted granted Critical
Publication of CN111835593B publication Critical patent/CN111835593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the application provides a detection method based on a nonvolatile storage medium, the storage medium and electronic equipment, wherein a non-user space of the storage medium comprises an internet of things information storage area, internet of things information is stored in the internet of things information storage area, and the internet of things information comprises preset parameter items of designated hardware in the internet of things where the storage medium is located; acquiring the operating parameters of each preset parameter item of the appointed hardware according to a preset detection period; and obtaining the health state of the designated hardware based on the operation parameters of the preset parameter items. The health state of the designated hardware is determined through the operation parameters, and the health state detection of the designated hardware in the Internet of things is realized.

Description

Detection method based on nonvolatile storage medium, storage medium and electronic equipment
Technical Field
The present application relates to the field of data storage technologies, and in particular, to a detection method based on a nonvolatile storage medium, a storage medium, and an electronic device.
Background
The Internet of Things (IoT) is an extended and expanded network based on the Internet, and combines various information sensing devices with the Internet to form a huge network, thereby realizing the intercommunication of people, machines and objects at any time and any place. The Internet of things is an important component of a new generation of information technology, the core and the foundation of the Internet of things are still the Internet, and the Internet of things is an extended and expanded network on the basis of the Internet; the user end extends and expands to any article to perform information exchange and communication. Therefore, the definition of the internet of things is a network which connects any article with the internet according to an agreed protocol through information sensing equipment such as radio frequency identification, infrared sensors, global positioning systems, laser scanners and the like, and performs information exchange and communication so as to realize intelligent identification, positioning, tracking, monitoring and management of the article.
In the related art, devices in the internet of things are generally configured with a nonvolatile storage medium for storing data, where the nonvolatile storage medium is a storage medium whose data is not lost after power failure, and may be a magnetic disk, a solid state disk, a U disk, or Flash (Flash memory) storage. The abnormality of hardware such as a nonvolatile storage medium in the internet of things can cause the abnormality of the internet of things and even affect the normal work of the whole internet of things, so that the detection of the hardware of the internet of things is expected.
Disclosure of Invention
An object of the embodiment of the application is to provide a detection method based on a nonvolatile storage medium, a storage medium and an electronic device, so as to realize detection of hardware of the internet of things. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a detection method based on a nonvolatile storage medium, where a non-user space of the storage medium includes an internet of things information storage area, the internet of things information storage area stores internet of things information, the internet of things information includes preset parameter items of designated hardware in an internet of things where the storage medium is located, and the method includes:
acquiring the operating parameters of all preset parameter items of the specified hardware according to a preset detection period;
and obtaining the health state of the designated hardware based on the operation parameters of the preset parameter items.
In a possible implementation manner, after the obtaining, according to a preset detection period, the operation parameter of each preset parameter item of the designated hardware, the method further includes:
and storing the operation parameters of each preset parameter item acquired in the current detection period into the Internet of things information storage area by using a preset special instruction, wherein the preset special instruction is an instruction different from a general instruction used by a user for reading and writing a storage medium.
In a possible implementation manner, the obtaining the health state of the designated hardware based on the operation parameters of each preset parameter item includes:
respectively determining the state performance indexes of the preset parameter items in the current detection period according to the operation parameters of the preset parameter items;
aiming at any preset parameter item, calculating the item score of the preset parameter item according to each state performance index of the preset parameter item, wherein the item score of the preset parameter item represents the performance of the specified hardware under the preset parameter item index of any preset parameter item;
and obtaining the health state of the appointed hardware according to the item scores of the preset parameter items.
In a possible implementation manner, after the determining the state performance index of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item, the method further includes:
and storing the state performance indexes of all preset parameter items in the current detection period into the Internet of things information storage area by using a preset special instruction.
In a possible implementation manner, the determining, according to the operation parameter of each preset parameter item, the state performance index of each preset parameter item in the current detection cycle respectively includes:
respectively determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item;
and aiming at any preset parameter item, generating a state performance index of the preset parameter item according to a detection result of the current detection period of the preset parameter item and a detection result of a last detection period of the preset parameter item.
In a possible implementation, the health status is a total health status score, and after the obtaining the health status of the designated hardware according to the item scores of the preset parameter items, the method further includes:
determining a preset scoring interval to which the total score of the health state belongs as a target preset scoring interval, wherein each preset scoring interval corresponds to the remaining available days;
and taking the remaining available days corresponding to the target preset scoring interval as the remaining available days of the specified hardware.
In one possible embodiment, the state performance indicator is an alarm event; the Internet of things information comprises alarm threshold values of all preset parameter items; each preset parameter item comprises an accumulated parameter item, wherein the parameter of the accumulated parameter item is obtained by accumulating the data of each detection period;
the determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item includes:
aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold value of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period;
the generating of the state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item aiming at any preset parameter item includes:
and aiming at any accumulated parameter item, when the detection result of the current detection period of the accumulated parameter item indicates that the operation parameter is greater than the alarm threshold value and the detection result of the last detection period of the accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold value, generating an alarm event of the accumulated parameter item.
In one possible embodiment, the state performance indicator is an alarm event or an alarm recovery event; the Internet of things information comprises alarm threshold values of all preset parameter items; each preset parameter item comprises a non-accumulative parameter item, wherein the parameters of the non-accumulative parameter items are obtained through data of a single detection period;
the determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item includes:
aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold value of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period;
the generating of the state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item aiming at any preset parameter item includes:
aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is greater than the alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is not greater than the alarm threshold value, generating an alarm event of the accumulative parameter item;
and aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is not more than the alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is more than the alarm threshold value, generating an alarm recovery event of the accumulative parameter item.
In a possible implementation, the internet of things information further includes: at least one of the parameters of the storage medium, the parameters of the device where the storage medium is located, the parameters of other storage media in the device where the storage medium is located, and the parameters of the group where the storage medium is located.
In one possible implementation, each storage medium in the device mounting the storage medium comprises a respective internet of things information storage area.
In one possible implementation, the internet of things information storage area is independent of other storage areas in the storage medium.
In a second aspect, an embodiment of the present application provides a nonvolatile storage medium, where a non-user space of the nonvolatile storage medium includes an internet of things information storage area, the internet of things information storage area stores internet of things information, and the internet of things information includes preset parameter items of designated hardware in the internet of things where the storage medium is located.
In a possible implementation, the internet of things information further includes: at least one of the parameters of the storage medium, the parameters of the device where the storage medium is located, the parameters of other storage media in the device where the storage medium is located, and the parameters of the group where the storage medium is located.
In one possible implementation, each storage medium in the device mounting the storage medium comprises a respective internet of things information storage area.
In one possible implementation, the internet of things information storage area is independent of other storage areas in the storage medium.
In a third aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program, when executed by a processor, implements any one of the above-mentioned detection methods based on a non-volatile storage medium.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to implement any of the above detection methods based on a nonvolatile storage medium when executing the program stored in the memory.
According to the detection method based on the nonvolatile storage medium, the storage medium and the electronic device, the non-user space of the storage medium comprises an internet of things information storage area, internet of things information is stored in the internet of things information storage area, and the internet of things information comprises preset parameter items of designated hardware in the internet of things where the storage medium is located; acquiring the operating parameters of each preset parameter item of the appointed hardware according to a preset detection period; and obtaining the health state of the designated hardware based on the operation parameters of the preset parameter items. The health state of the designated hardware is determined through the operation parameters, and the health state detection of the designated hardware in the Internet of things is realized. Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a first flowchart illustrating a detection method based on a non-volatile storage medium according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a storage medium disposed in a device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a space division of a storage medium according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating one implementation of step S12 in the embodiment shown in FIG. 1;
FIG. 5 is a flowchart illustrating an implementation manner of step S121 in the embodiment shown in FIG. 4
FIG. 6 is a flowchart illustrating a first implementation manner of step S1211 in the embodiment shown in FIG. 5;
FIG. 7 is a second flowchart illustrating a nonvolatile storage medium based detection method according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating a second implementation manner of step S1211 in the embodiment shown in FIG. 5;
FIG. 9 is a third flowchart illustrating a detection method based on a non-volatile storage medium according to an embodiment of the present application;
fig. 10 is a fourth flowchart illustrating a detection method based on a non-volatile storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the related art, a nonvolatile storage medium, for example, an HDD (Hard Disk Drive), an SSD (Solid State Disk), a USB (Universal Serial Bus), etc., may store service data of a user and data of a vendor, where the data of the vendor includes log data, power failure data recovery, etc., and a remapped sector management area and a cache area may also be reserved. However, the nonvolatile storage medium in the related art lacks storage and management for data of the internet of things, and detection for components in the internet of things is inconvenient.
In view of this, an embodiment of the present application provides a detection method based on a non-volatile storage medium, where a non-user space of the storage medium includes an internet of things information storage area, where internet of things information is stored in the internet of things information storage area, where the internet of things information includes preset parameter items of specified hardware in an internet of things where the storage medium is located, and with reference to fig. 1, the method includes:
and S11, acquiring the operation parameters of the preset parameter items of the appointed hardware according to a preset detection period.
The detection method based on the nonvolatile storage medium in the embodiment of the application can be realized by a device where the nonvolatile storage medium is located, and specifically, the device where the nonvolatile storage medium is located can be a video camera, a hard disk video recorder, a storage server, or the like. The nonvolatile storage medium (hereinafter referred to as a storage medium) in the embodiments of the present application refers to a storage medium whose data is not lost after power failure, and may be a magnetic disk, a solid state disk, a U disk, or Flash storage. In a possible implementation manner, each storage medium in the device on which the storage medium is mounted comprises a respective internet of things information storage area. One deployment manner of the storage medium in a device (e.g., a storage server) is shown in fig. 2, where one device corresponds to multiple storage media, and each storage medium includes a respective information storage area of the internet of things.
The storage medium may include a general storage space and a management space, where the management space is a storage space divided by the storage medium when the storage medium leaves a factory, is used as a remap sector management area, a storage attribute parameter, and the like, and is a management space of a storage medium manufacturer; the general storage space is a storage space which is visible and can be operated by a user, and the user stores data of the user. The non-user space may be a block of storage area in the management space, or may be a block of storage area different from the general storage space and the management space. For the user, the non-user space is not displayed in the storage medium, and the user cannot operate on the non-user space. In one possible implementation, such as shown in fig. 3, the non-user space is a block of storage area distinguished from the general storage space and the management space.
Optionally, the internet of things information storage area is independent of other storage areas in the storage medium; namely, the information storage area of the internet of things is a space independent of the storage space and the management space. The information storage area of the internet of things can be separated from the storage medium in a hardware or software mode, for example, the information storage area of the internet of things can be separated from the storage medium in a partition mode, so that when other areas except the information storage area of the internet of things in the storage medium are damaged, data in the information storage area of the internet of things can still be recovered. In a possible practical manner, the information storage area of the internet of things may be composed of one or more log _ page areas, for example, for a Serial Advanced Technology Attachment Hard Disk (SATA Disk), the storage medium may be composed of one or more log _ page areas of 256K; for SAS disks (Serial Attached SCSI), the storage medium may be composed of one or more 16K log _ page regions.
The designated hardware may be any hardware in the internet of things where the storage medium is located or a group consisting of a plurality of pieces of hardware, for example, for the internet of things in the security field, the designated hardware may be the storage medium itself, or may be a hard disk video recorder or a video camera, or may be a storage server cluster consisting of storage servers. The storage medium may store the internet of things information of one designated hardware, or may store the internet of things information of a plurality of designated hardware, which are all within the protection scope of the embodiment of the present application.
In a possible implementation manner, the internet of things information further includes: at least one of a parameter of the storage medium itself, a parameter of the device in which the storage medium is located, a parameter of another storage medium in the device in which the storage medium is located, and a parameter of a group in which the storage medium is located. For example, the internet of things information may include parameters of the storage medium, parameters of the device in which the storage medium is located, parameters of other storage media in the device in which the storage medium is located, and parameters of the group in which the storage medium is located. Optionally, specific content of the information of the internet of things may be as shown in table 1.
TABLE 1
Serial number Content providing method and apparatus
1 Storing the specification parameter information of the medium itself and various alarm thresholds
2 Specification parameter information of device in which storage medium is located
3 Basic information and alarm information of neighbor storage medium of storage medium in equipment where storage medium is located
4 Basic information of service group where storage medium is located
5 Historical event record information and historical behavior rule record information of storage medium
The parameters of the storage medium may include specification parameter information of the storage medium itself and various alarm thresholds, and may also include historical event record information, historical behavior rule record information, etc. of the storage medium. The historical event record information of the storage medium may include historical status of the storage medium, e.g., whether the storage medium is marked as a bad disk, whether the storage medium is marked as partially read-only or fully read-only, etc. The basic information of the service group where the storage medium is located may include a binding relationship between the storage medium and the management device thereof, a slot in which the storage medium is mounted, and the like.
Optionally, the content of the specification parameter information of the storage medium itself and each alarm threshold may be specifically as shown in table 2.
TABLE 2
Serial number Content providing method and apparatus
1 Model number, serial number, capacity, read-write performance, manufacturer information, date of manufacture, weight
2 Working temperature range, working humidity range, working altitude,
3 the impact threshold, the vibration threshold,
4 upper limit of cumulative write, upper limit of cumulative erase/write times
5 Total number of reserved remapped areas
Alternatively, the contents of the historical event record information and the historical behavior law record information of the storage medium may be specifically as shown in table 3.
TABLE 3
Serial number Content providing method and apparatus
1 The working temperature exceeds the threshold value, the working humidity exceeds the threshold value, and the working altitude exceeds the threshold value
2 The impact exceeds a threshold value and the vibration exceeds a threshold value
3 The accumulated writing amount exceeds the threshold, and the accumulated erasing times exceeds the threshold
4 The remapped area reaches the total reserved amount of 90%
5 The read and write response time becomes slow and exceeds the threshold value
6 The detection results of the previous times
Alternatively, the content of the specification parameter information of the device in which the storage medium is located may be specifically as shown in table 4.
TABLE 4
Serial number Content providing method and apparatus
1 Model number, serial number, manufacturer information, date of manufacture, weight
2 The number of memory components that are allowed to be inserted,
3 processor model, memory capacity, storage controller chip
4 Working temperature range, working humidity range and working altitude
5 Geographical location information of the device
6 In which slot of the apparatus the memory component is
Optionally, the content of the basic information and the alarm information of the storage medium in the neighboring storage medium in the device may be specifically as shown in table 5.
TABLE 5
Figure BDA0002583633560000091
Figure BDA0002583633560000101
Optionally, the content of the basic information of the service group where the storage medium is located may be specifically as shown in table 6.
TABLE 6
Serial number Content providing method and apparatus
1 Which neighbor storage media belong to the same service group
2 Business read and write performance requirements
3 Redundancy ratio (how many memory components are allowed to be replaced offline)
4 Total write capacity requirement of traffic
The preset detection period can be customized according to actual conditions, for example, the duration of one detection period can be set to be 30 minutes, 1 hour, 6 hours or 1 day, etc. Each preset parameter item of the designated hardware may be set in a self-defined manner according to an actual situation, for example, when the designated hardware is a storage medium, the preset parameter item may be a temperature, an average IO (Input/Output) delay, an IO error frequency, or the like of the storage medium, and for example, when the designated hardware is a camera, the preset parameter item may be a temperature, an Output code rate, an image quality, or the like of the camera.
And S12, obtaining the health state of the appointed hardware based on the operation parameters of the preset parameter items.
The health state of the specified hardware represents the high and low of the performance of the specified hardware; the specific content of the health state can be set in a self-defined manner according to the actual situation, different health state levels can be set, for example, the health state can be represented by excellent, good, bad, damaged and the like, and the health state can also be represented by a total score, wherein the higher the performance of the designated hardware is, the higher the total score of the health state of the designated hardware is. The level of the performance of the designated hardware is related to the operation parameters of the preset parameter items, for example, when the designated hardware is a hard disk, the higher the actual operating temperature is higher than the temperature threshold value, the lower the performance of the hard disk is indicated, and the like. The health state of the designated hardware can be determined by integrating the operating parameters of the preset parameter items, and the health state of the designated hardware can also be obtained by scoring the preset parameter items according to the operating parameters of the preset parameter items and then scoring the preset parameter items.
In the embodiment of the application, the health state of the designated hardware is determined through the operation parameters, and the detection of the health state of the designated hardware in the Internet of things is realized. A storage area is selected from the outside of the visible general storage space of the user and serves as an internet of things information storage area for storing and managing internet of things information, the internet of things information is stored conveniently, the condition that the user tampers the internet of things information can be effectively reduced, authenticity and effectiveness of the internet of things information are guaranteed, and subsequent analysis and evidence collection based on the internet of things information are facilitated.
The operation parameters of the preset parameter items can be stored in the internet of things information storage area for subsequent evidence obtaining and analysis. In a possible implementation manner, after the obtaining, according to a preset detection period, the operation parameter of each preset parameter item of the designated hardware, the method further includes:
and storing the operation parameters of each preset parameter item acquired in the current detection period into the Internet of things information storage area by using a preset special instruction, wherein the preset special instruction is an instruction different from a general instruction used by a user for reading and writing a storage medium.
The instruction used by the user to operate the storage medium is referred to as a general instruction, for example, an instruction used by the user to read and write to a general storage space. The preset special instruction is an instruction different from the general instruction, namely the preset special instruction is different from the general instruction used by the user for reading and writing the storage medium, so that the user is prevented from operating the information storage area of the internet of things. The running parameters of the preset parameter items can be stored in the information storage area of the Internet of things by using the preset special instruction. The internet of things information in the internet of things information storage area, including the operation parameters, can be stored in a plaintext manner, and also can be stored in a ciphertext manner, all being within the protection scope of the present application. Optionally, besides the operation parameters, the acquisition time information of the operation parameters may be stored in the information storage area of the internet of things by using a preset special instruction.
After the storage medium is powered on for the first time or the storage medium is formatted/initialized, the position of a write pointer in an information storage area of the Internet of things can be acquired, when new operation parameters are written, the operation parameters are recorded at the position of the write pointer, and the write pointer is increased by one. The Internet of things information storage area can adopt a circular covering mode, and after the Internet of things information storage area is full, covering storage can be continuously started from the initial position of the write pointer, so that the situation that new state performance indexes cannot be recorded after the space is full is avoided.
In the embodiment of the application, a storage area is selected from the general storage space visible to a user and serves as an internet of things information storage area for storing and managing internet of things information and recording operation parameters, so that subsequent analysis and evidence obtaining can be conveniently carried out according to the operation parameters in the internet of things information storage area.
In a possible implementation manner, referring to fig. 4, the obtaining the health state of the designated hardware based on the operation parameters of each preset parameter item includes:
and S121, respectively determining the state performance indexes of the preset parameter items in the current detection period according to the operation parameters of the preset parameter items.
The state performance index of the preset parameter item can be represented by a score, a self-defined state parameter or a self-defined event. Taking a self-defined event as an example, aiming at any preset parameter item, judging whether the operation parameter of the preset parameter item meets the alarm rule of the preset parameter item, and if so, generating the state performance index of the preset parameter item. For example, it may be determined whether the operating parameter of each preset parameter item is within a corresponding normal range, so as to obtain the state performance index of the preset parameter item in the current detection period. Or calculating the operation parameters of the preset parameter items through a preset algorithm, for example, scoring the operation parameters of the preset parameter items by using a preset scoring algorithm, and taking the state performance indexes corresponding to the scoring as the state performance indexes of the preset parameter items in the current detection period.
And S122, aiming at any preset parameter item, calculating the item score of the preset parameter item according to each state performance index of the preset parameter item, wherein aiming at any preset parameter item, the item score of the preset parameter item represents the performance of the specified hardware under the preset parameter item index.
For example, for any accumulated parameter item, when there is a state performance index of the accumulated parameter item, the item score of the accumulated parameter item is 0; and when the state performance index of the accumulated parameter item does not exist, the item score of the accumulated parameter item is full score. For example, for any non-accumulated parameter item, determining the total duration of the state performance indexes of the non-accumulated parameter item, when the total duration of the state performance indexes of the non-accumulated parameter item is greater than a time threshold corresponding to the non-accumulated parameter item, determining that the item score of the non-accumulated parameter item is 0, otherwise, determining that the item score of the non-accumulated parameter item is full.
The total duration of the state performance indexes of the non-accumulative parameter items can be calculated according to the state performance indexes of the non-accumulative parameter items and the alarm recovery events, and the duration between any one state performance index of the non-accumulative parameter item and the first alarm recovery event behind the state performance index is taken as the duration of the state performance index aiming at any one non-accumulative parameter item; and if no alarm recovery event exists after the state performance index, taking the duration between the state performance index and the current time as the duration of the state performance index. And regarding any non-accumulated parameter item, taking the sum of the duration of all alarm events in the non-accumulated parameter item as the total duration of the state performance indexes of the non-accumulated parameter item.
In a possible implementation manner, taking the specific hardware as a storage medium as an example, the item scoring rule of each preset parameter item may be as shown in table 7.
TABLE 7
Figure BDA0002583633560000131
And S123, obtaining the health state of the specified hardware according to the item scores of the preset parameter items.
The grades corresponding to the item scores of the preset parameter items can be analyzed and determined according to the corresponding relation between the preset item scores and the grades, and the lowest grade is selected from the grades corresponding to the preset parameter items to serve as the health state of the designated hardware. For example, the designated hardware corresponds to three preset parameter items, the grades corresponding to the three preset parameter items are classified as good, good and bad, and the bad with the lowest grade is selected as the health state of the designated hardware. In addition, the average score or weighted average score of each item score can be calculated to be used as the health state of the designated hardware and the like.
In the embodiment of the application, each health state of the designated hardware is obtained according to the item score of each preset parameter item, and the health condition detection of the designated hardware in the Internet of things is realized.
The state performance indexes of the preset parameter items can be stored in an internet of things information storage area for subsequent evidence obtaining and analysis. In a possible implementation manner, after the determining the state performance index of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item, the method further includes:
and storing the state performance indexes of all preset parameter items in the current detection period into the Internet of things information storage area by using a preset special instruction.
The state performance index of the designated hardware can be stored in the information storage area of the Internet of things by using a preset special instruction. The internet of things information in the internet of things information storage area comprises state performance indexes and the like, and can be stored in a plaintext mode or a ciphertext mode, and the internet of things information storage area is within the protection scope of the application.
Optionally, in addition to the state performance index, time information corresponding to the state performance index may be stored in the information storage area of the internet of things by using a preset special instruction, where the time information corresponding to the state performance index may be generation time of the state performance index, or the time information corresponding to the state performance index may be acquisition time of an operation parameter corresponding to the state performance index, or the time information corresponding to the state performance index may be time corresponding to a current detection period, and the like.
After the storage medium is powered on for the first time or the storage medium is formatted/initialized, the position of a write pointer in an information storage area of the Internet of things can be acquired, when a new state performance index is written, the state performance index is recorded at the position of the write pointer, and the write pointer is increased by one. The Internet of things information storage area can adopt a circular covering mode, and after the Internet of things information storage area is full, covering storage can be continuously started from the initial position of the write pointer so as to avoid that new state performance indexes can not be recorded after the space is full; all state performance indexes of the appointed hardware in the information storage area of the Internet of things can be read, and the state performance indexes can be displayed, so that whether the appointed hardware has a hidden danger disk or is damaged or not is judged.
In the embodiment of the application, the state performance index is determined through the operation parameters, so that the hardware of the Internet of things is detected, and the alarm of the hardware of the Internet of things is realized. A storage area is selected from the outside of the visible general storage space of the user and serves as an internet of things information storage area for storing and managing internet of things information and recording the state performance indexes of designated hardware, and subsequent analysis and evidence obtaining are conveniently carried out according to the state performance indexes in the internet of things information storage area.
In a possible implementation manner, referring to fig. 5, the determining the state performance index of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item respectively includes:
s1211, determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item.
For example, it may be determined whether the operation parameter of each preset parameter item is within a corresponding normal range, so as to obtain a detection result of the preset parameter item in the current detection period. Or calculating the operation parameters of the preset parameter items through a preset algorithm, for example, using a preset scoring algorithm to score the operation parameters of the preset parameter items, so as to determine the detection result of the preset parameter items in the current detection period.
S1212, for any preset parameter item, generating a state performance index of the preset parameter item according to a detection result of a current detection period of the preset parameter item and a detection result of a previous detection period of the preset parameter item.
And aiming at any preset parameter item, obtaining a detection result of the current detection period of the preset parameter item and a detection result of the last detection period of the preset parameter item, and generating a state performance index of the preset parameter item according to the detection result of the current detection period of the preset parameter item and the detection result of the last detection period of the preset parameter item. For example, when the difference between the detection result of the current detection period and the detection result of the previous detection period is greater than the threshold, a state performance index when the fluctuation of the corresponding preset parameter item is large is generated; or when the detection result of the current detection period is different from the detection result of the previous detection period, generating a state performance index of the change of the detection result of the corresponding preset parameter item, and the like. Optionally, the data amount of the state performance index is smaller than the data amount of the operation parameter. The state performance indexes are generated according to the detection results of two adjacent detection periods, and compared with the operation parameters for storing the two detection periods, the stored state performance indexes can reduce the consumption of the storage space of the information storage area of the Internet of things.
The detection result of the preset parameter item of each detection period can be stored in the information storage area of the internet of things, and can also be stored in other areas of the storage medium except the information storage area of the internet of things, which are all within the protection scope of the embodiment of the application.
In the embodiment of the application, the state performance index of the preset parameter item is generated according to the detection result of the current detection period of the preset parameter item and the detection result of the last detection period of the preset parameter item, so that the abnormity of each preset parameter item is conveniently and timely found.
In one possible embodiment, the state performance indicator is an alarm event; the Internet of things information comprises alarm threshold values of all preset parameter items; each preset parameter item comprises an accumulated parameter item, wherein the parameter of the accumulated parameter item is obtained by accumulating data of each detection period.
Referring to fig. 6, the determining the detection result of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item includes:
s12111, aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold value of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period.
The above generating a state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item for any preset parameter item includes:
s12121, aiming at any accumulated parameter item, when the detection result of the current detection period of the accumulated parameter item indicates that the operation parameter is greater than the alarm threshold value and the detection result of the last detection period of the accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold value, generating the alarm event of the accumulated parameter item.
The internet of things information may include alarm thresholds of the preset parameter items, and the alarm thresholds of the preset parameter items are set according to actual requirements of the preset parameter items, for example, the designated hardware is a storage medium, the preset parameter items are accumulated power-on time, and when the average available time measured by the storage medium is C, the alarm threshold corresponding to the accumulated power-on time may be set to C; for example, the designated hardware is a storage medium, the preset parameter item is an accumulated IO write amount, and when the average maximum accumulated IO write amount measured by the storage medium is D, the alarm threshold corresponding to the accumulated IO write amount may be set to D.
The parameters of the accumulated parameter items are obtained by accumulating data of each detection period, for example, when the designated hardware is a storage medium, the accumulated parameter items may include the number of risk sectors to be processed, the number of bad sectors, the number of Error reports of a communication link, the number of Error Correction Codes (ECC), the accumulated IO write amount, the accumulated power-on time, the accumulated NAND erasing times, and the like.
For any accumulated parameter item, when the detection result of the current detection period of the accumulated parameter item indicates that the operation parameter is greater than the alarm threshold of the accumulated parameter item, and the detection result of the last detection period of the accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold of the accumulated parameter item, the operation parameter of the accumulated parameter item is more than the alarm threshold of the accumulated parameter item in the current detection period, so that the alarm event of the accumulated parameter item is generated.
For any accumulated parameter item, when the detection result of the current detection period of the accumulated parameter item indicates that the operation parameter is greater than the alarm threshold of the accumulated parameter item, and the detection result of the last detection period of the accumulated parameter item indicates that the operation parameter is also greater than the alarm threshold of the accumulated parameter item, the operation parameter of the accumulated parameter item already exceeds the alarm threshold of the accumulated parameter item in the previous detection period, and the alarm event of the accumulated parameter item has already been generated before, so that the alarm event of the accumulated parameter item can not be generated.
In one possible implementation, referring to fig. 7, the alarm event generation process of the accumulated parameter item is illustrated by taking the accumulated IO write volume as an example: counting the accumulated IO write-in quantity every n hours; judging whether the current counted accumulated IO write-in quantity is larger than a corresponding alarm threshold value or not; if the current counted accumulated IO write-in quantity is not larger than the corresponding alarm threshold value, ending the operation; if the current counted accumulated IO write-in quantity is larger than the corresponding alarm threshold, judging whether the counted accumulated IO write-in quantity at the last time is larger than the corresponding alarm threshold; if the accumulated IO write-in quantity counted last time is larger than the corresponding alarm threshold value, ending the operation; and if the accumulated IO write-in quantity counted last time is not greater than the corresponding alarm threshold value, generating an alarm event indicating that the accumulated IO write-in quantity is not greater than the corresponding alarm threshold value, and recording the alarm event into the information storage area of the Internet of things. Other types of alarm event generation processes for accumulated parameter items are also possible and will not be described herein.
In a possible embodiment, the state performance indicator is an alarm event or an alarm recovery event; the internet of things information comprises alarm threshold values of all preset parameter items; each of the preset parameter items includes a non-accumulated parameter item, wherein a parameter of the non-accumulated parameter item is obtained from data of a single detection period.
Referring to fig. 8, the determining the detection result of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item includes:
s12111, aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period;
the above generating a state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item for any preset parameter item includes:
s12122, for any non-accumulated parameter item, when the detection result of the current detection period of the non-accumulated parameter item indicates that the operation parameter is greater than the alarm threshold and the detection result of the last detection period of the non-accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold, generating an alarm event of the accumulated parameter item;
s12123, aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is not more than the alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is more than the alarm threshold value, an alarm recovery event of the accumulative parameter item is generated.
The internet of things information may include alarm thresholds of the preset parameter items, and the alarm thresholds of the preset parameter items are set according to actual requirements of the preset parameter items, for example, hardware is designated as a storage medium, the preset parameter items are temperatures, and when the normal working temperature of the storage medium does not exceed a, the alarm threshold corresponding to the accumulated power-on time length may be set to a; for example, the designated hardware is a storage medium, the preset parameter item is an average IO delay, and when the storage medium measures that the average IO delay does not exceed B in normal operation, an alarm threshold corresponding to the average IO delay may be set to B.
The parameters of the non-accumulated parameter items are obtained through data of a single detection period, for example, when the designated hardware is a storage medium, the non-accumulated parameter items may include temperature, humidity, vibration, impact, average IO delay, IO error times, and the like.
And aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is greater than the non-accumulative parameter alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is not greater than the non-accumulative parameter alarm threshold value, generating an alarm event of the accumulative parameter item.
And aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is not more than the non-accumulative parameter alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is more than the non-accumulative parameter alarm threshold value, generating an alarm recovery event of the accumulative parameter item.
For any non-accumulated parameter item, when the detection result of the current detection period of the non-accumulated parameter item indicates that the operation parameter is greater than the non-accumulated parameter alarm threshold value, and the detection result of the last detection period of the non-accumulated parameter item indicates that the operation parameter is greater than the non-accumulated parameter alarm threshold value, it indicates that the alarm event of the non-accumulated parameter item has been generated before, and the alarm recovery event of the non-accumulated parameter item is not generated, so that the alarm event of the non-accumulated parameter item may not be generated at this time.
In one possible embodiment, referring to fig. 9, the alarm event generation process for non-cumulative parameter terms is illustrated by taking temperature as an example: counting the temperature of the storage medium once every n hours; judging whether the current counted temperature is greater than a temperature alarm threshold corresponding to the type of storage medium or not; if the current statistical temperature is not greater than the corresponding temperature alarm threshold, judging whether the last statistical temperature is greater than the temperature alarm threshold; if the current statistical temperature and the last statistical temperature are not greater than the corresponding temperature alarm threshold, ending the operation; if the current counted temperature is not greater than the corresponding temperature alarm threshold value and the last counted temperature is greater than the corresponding temperature alarm threshold value, generating an alarm recovery event aiming at the temperature of the storage medium; if the current statistical temperature is larger than the corresponding temperature alarm threshold, judging whether the last statistical temperature is larger than the temperature alarm threshold; if the current statistical temperature and the last statistical temperature are both greater than the corresponding temperature alarm threshold, ending the operation; and if the current counted temperature is greater than the corresponding temperature alarm threshold value and the last counted temperature is not greater than the corresponding temperature alarm threshold value, generating an alarm event aiming at the temperature of the storage medium. The generation process of the alarm event and the alarm recovery event of other types of non-accumulative parameter items is also the same, and is not described herein again.
After the health status is obtained, the remaining available days corresponding to the health status can be determined as the remaining available days of the designated hardware according to the preset corresponding relationship between the health status and the remaining available days of the designated hardware. And determining the remaining available days corresponding to the health state of the designated hardware as the remaining available days of the designated hardware. For example, when the designated hardware is a hard disk, the hard disk with the total health state score smaller than a first preset score threshold and larger than a second preset score threshold may be defined as a hidden trouble disk, and replacement within k days is recommended; hard disks with a total health status score less than the second preset score valve can be defined as bad disks, and immediate replacement is recommended. For example, when the hardware is designated as a hard disk, the hard disk with poor health state is recommended to be replaced within k days; and for the hard disk with a damaged health state, immediate replacement is recommended, and the like.
The corresponding relation between the health state and the remaining available days can be the corresponding relation between each preset scoring interval and the remaining available days; in a possible implementation, the health status is a total health status score, and referring to fig. 10, after the obtaining the health status of the designated hardware according to the item score of each preset parameter item, the method further includes:
and S13, determining a preset scoring interval to which the total score of the health state belongs as a target preset scoring interval, wherein each preset scoring interval corresponds to the remaining available days.
And S14, taking the remaining available days corresponding to the target preset scoring interval as the remaining available days of the designated hardware.
In the embodiment of the application, the item scores of all the preset parameter items are calculated based on the state performance indexes of all the preset parameter items of the appointed hardware in the information storage area of the internet of things, so that the total health state score of the appointed hardware is obtained. And evaluating the remaining available days of the specified hardware based on the total health state score of the specified hardware, so as to remind a user to replace the specified hardware before the specified hardware is completely damaged, thereby reducing the condition that the work of the whole Internet of things is influenced due to the damage of the specified hardware.
The embodiment of the application provides a nonvolatile storage medium, wherein a non-user space of the nonvolatile storage medium comprises an internet of things information storage area, internet of things information is stored in the internet of things information storage area, and the internet of things information comprises preset parameter items of designated hardware in the internet of things where the storage medium is located.
In a possible implementation manner, the internet of things information further includes: at least one of a parameter of the storage medium itself, a parameter of the device in which the storage medium is located, and a parameter of the group in which the storage medium is located.
In a possible implementation manner, each storage medium in the device on which the storage medium is mounted comprises a respective internet of things information storage area.
In a possible implementation manner, the internet of things information storage area is independent of other storage areas in the storage medium.
The embodiment of the application provides a computer-readable storage medium, a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the detection method based on the nonvolatile storage medium is implemented.
The embodiment of the application provides electronic equipment, which comprises a processor and a memory;
the memory is used for storing computer programs;
the processor is configured to implement any one of the above-described detection methods based on a nonvolatile storage medium when executing the program stored in the memory.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, the technical features in the various alternatives can be combined to form the scheme as long as the technical features are not contradictory, and the scheme is within the scope of the disclosure of the present application. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the electronic device and the storage medium, since they are substantially similar to the method embodiments, the description is simple, and for the relevant points, reference may be made to part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (13)

1. A detection method based on a nonvolatile storage medium is characterized in that a non-user space of the storage medium comprises an Internet of things information storage area, the Internet of things information storage area is independent of other storage areas in the storage medium, Internet of things information is stored in the Internet of things information storage area and comprises preset parameter items of specified hardware in the Internet of things where the storage medium is located, and the method comprises the following steps:
acquiring the operating parameters of all preset parameter items of the specified hardware according to a preset detection period, wherein the operating parameters of the preset parameter items are related to the performance of the specified hardware;
and obtaining the health state of the designated hardware based on the operation parameters of the preset parameter items.
2. The method according to claim 1, wherein after the obtaining of the operation parameters of the preset parameter items of the designated hardware according to the preset detection period, the method further comprises:
and storing the operation parameters of each preset parameter item acquired in the current detection period into the Internet of things information storage area by using a preset special instruction, wherein the preset special instruction is an instruction different from a general instruction used by a user for reading and writing a storage medium.
3. The method according to claim 1, wherein the obtaining the health status of the designated hardware based on the operating parameters of each preset parameter item comprises:
respectively determining the state performance index of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item;
aiming at any preset parameter item, calculating the item score of the preset parameter item according to each state performance index of the preset parameter item, wherein the item score of the preset parameter item represents the performance of the specified hardware under the preset parameter item index of any preset parameter item;
and obtaining the health state of the appointed hardware according to the item scores of the preset parameter items.
4. The method according to claim 3, wherein after the determining the state performance index of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item, respectively, the method further comprises:
and storing the state performance indexes of all preset parameter items in the current detection period into the Internet of things information storage area by using a preset special instruction.
5. The method according to claim 3, wherein the determining the state performance index of each preset parameter item in the current detection cycle according to the operation parameter of each preset parameter item comprises:
respectively determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item;
and aiming at any preset parameter item, generating a state performance index of the preset parameter item according to a detection result of the current detection period of the preset parameter item and a detection result of a last detection period of the preset parameter item.
6. The method of claim 3, wherein the health status is a total health status score, and after the health status of the designated hardware is obtained according to the item scores of the preset parameter items, the method further comprises:
determining a preset scoring interval to which the total score of the health state belongs as a target preset scoring interval, wherein each preset scoring interval corresponds to the remaining available days;
and taking the remaining available days corresponding to the target preset scoring interval as the remaining available days of the specified hardware.
7. The method of claim 5, wherein the state performance indicator is an alarm event; the Internet of things information comprises alarm threshold values of all preset parameter items; each preset parameter item comprises an accumulated parameter item, wherein the parameter of the accumulated parameter item is obtained by accumulating data of each detection period;
the determining the detection result of each preset parameter item in the current detection period according to the operation parameter of each preset parameter item includes:
aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold value of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period;
the generating of the state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item aiming at any preset parameter item includes:
and aiming at any accumulated parameter item, when the detection result of the current detection period of the accumulated parameter item indicates that the operation parameter is greater than the alarm threshold value and the detection result of the last detection period of the accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold value, generating an alarm event of the accumulated parameter item.
8. The method of claim 5, wherein the state performance indicator is an alarm event or an alarm recovery event; the information of the Internet of things comprises alarm threshold values of all preset parameter items; each preset parameter item comprises a non-accumulative parameter item, wherein the parameters of the non-accumulative parameter items are obtained through data of a single detection period;
the determining the detection result of each preset parameter item in the current detection cycle respectively according to the operation parameter of each preset parameter item includes:
aiming at any preset parameter item, comparing the operation parameter of the preset parameter item with the alarm threshold value of the preset parameter item to obtain the detection result of each preset parameter item in the current detection period;
the generating of the state performance index of the preset parameter item according to the detection result of the current detection cycle of the preset parameter item and the detection result of the last detection cycle of the preset parameter item aiming at any preset parameter item includes:
aiming at any non-accumulative parameter item, when the detection result of the current detection period of the non-accumulative parameter item indicates that the operation parameter is greater than the alarm threshold value and the detection result of the last detection period of the non-accumulative parameter item indicates that the operation parameter is not greater than the alarm threshold value, generating an alarm event of the accumulative parameter item;
and aiming at any non-accumulated parameter item, when the detection result of the current detection period of the non-accumulated parameter item indicates that the operation parameter is not greater than the alarm threshold value and the detection result of the last detection period of the non-accumulated parameter item indicates that the operation parameter is greater than the alarm threshold value, generating an alarm recovery event of the accumulated parameter item.
9. The method of claim 1, wherein the internet of things information further comprises: at least one of the parameters of the storage medium, the parameters of the device where the storage medium is located, the parameters of other storage media in the device where the storage medium is located, and the parameters of the group where the storage medium is located.
10. The method of claim 1, wherein each of the devices mounting the storage medium comprises a respective internet of things information storage area.
11. The nonvolatile storage medium is characterized in that a non-user space of the nonvolatile storage medium comprises an internet of things information storage area, the internet of things information storage area is independent of other storage areas in the storage medium, internet of things information is stored in the internet of things information storage area and comprises preset parameter items of appointed hardware in the internet of things where the storage medium is located, and operating parameters of the preset parameter items are related to the performance of the appointed hardware.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 10.
13. An electronic device comprising a processor and a memory;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method of any of claims 1-10.
CN202010674737.7A 2020-07-14 2020-07-14 Detection method based on nonvolatile storage medium, storage medium and electronic equipment Active CN111835593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010674737.7A CN111835593B (en) 2020-07-14 2020-07-14 Detection method based on nonvolatile storage medium, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010674737.7A CN111835593B (en) 2020-07-14 2020-07-14 Detection method based on nonvolatile storage medium, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111835593A CN111835593A (en) 2020-10-27
CN111835593B true CN111835593B (en) 2022-06-03

Family

ID=72924185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010674737.7A Active CN111835593B (en) 2020-07-14 2020-07-14 Detection method based on nonvolatile storage medium, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111835593B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379832B (en) * 2020-11-05 2023-04-25 杭州海康威视数字技术股份有限公司 Storage medium detection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130084396A (en) * 2012-01-17 2013-07-25 엠디에스테크놀로지 주식회사 Method for hardware-software co-verification by hybrid synchronization based on control
CN105260279A (en) * 2015-11-04 2016-01-20 四川效率源信息安全技术股份有限公司 Method and device of dynamically diagnosing hard disk failure based on S.M.A.R.T (Self-Monitoring Analysis and Reporting Technology) data
CN110399257A (en) * 2019-07-04 2019-11-01 上海创功通讯技术有限公司 Detection method, electronic equipment and the computer readable storage medium of memory
CN111274098A (en) * 2018-12-05 2020-06-12 杭州海康威视数字技术股份有限公司 IoT-based storage device alarm method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808444B (en) * 2015-01-19 2019-01-01 东芝存储器株式会社 The control method of storage device and nonvolatile memory
KR101910826B1 (en) * 2016-07-21 2018-10-24 경희대학교 산학협력단 Method and apparatus for security of internet of things devices
CN110086853B (en) * 2019-03-28 2021-08-06 浙江明度智控科技有限公司 Industrial Internet of things information visualization method, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130084396A (en) * 2012-01-17 2013-07-25 엠디에스테크놀로지 주식회사 Method for hardware-software co-verification by hybrid synchronization based on control
CN105260279A (en) * 2015-11-04 2016-01-20 四川效率源信息安全技术股份有限公司 Method and device of dynamically diagnosing hard disk failure based on S.M.A.R.T (Self-Monitoring Analysis and Reporting Technology) data
CN111274098A (en) * 2018-12-05 2020-06-12 杭州海康威视数字技术股份有限公司 IoT-based storage device alarm method and device
CN110399257A (en) * 2019-07-04 2019-11-01 上海创功通讯技术有限公司 Detection method, electronic equipment and the computer readable storage medium of memory

Also Published As

Publication number Publication date
CN111835593A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US11693568B2 (en) Workload-adaptive overprovisioning in solid state storage drive arrays
US8078918B2 (en) Solid state storage subsystem that maintains and provides access to data reflective of a failure risk
US7962807B2 (en) Semiconductor storage apparatus managing system, semiconductor storage apparatus, host apparatus, program and method of managing semiconductor storage apparatus
EP2021852B1 (en) Systems and methods for measuring the useful life of solid-state storage devices
US9189309B1 (en) System and method for predicting single-disk failures
US9141457B1 (en) System and method for predicting multiple-disk failures
US7992061B2 (en) Method for testing reliability of solid-state storage medium
US6405329B1 (en) Method and apparatus for HDD time stamp benchmark and installation identification
CN111045881A (en) Slow disk detection method and system
CN101826367A (en) Method and device for monitoring reliability of semiconductor storage device
US10324648B1 (en) Wear-based access optimization
CN108628718B (en) SSD (solid State disk) management method for reducing temperature influence and SSD
CN105893168A (en) Health condition analysis method and device for hard disk
CN111835593B (en) Detection method based on nonvolatile storage medium, storage medium and electronic equipment
CN111813585A (en) Prediction and processing of slow discs
CN116775362A (en) Method and system for processing path blocking of redundant array of independent disks
WO2019160529A2 (en) Hard disk drive lifetime forecasting
US10783042B2 (en) System and method of assessing and managing storage device degradation
CN115237334A (en) Hard disk management method and device and electronic equipment
CN112650446A (en) Intelligent storage method, device and equipment of NVMe full flash memory system
CN114328282A (en) Machine learning optimization and application method for SSD flash memory management
CN111897692A (en) File recording method and device, electronic equipment and storage medium
JP2880701B2 (en) Disk subsystem
CN114116374A (en) Hard disk monitoring method, system, device and medium
CN112199258A (en) Method and device for monitoring magnetic disk, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant