Storage medium health assessment method of security equipment and related device

By obtaining actual service data and network throughput estimates to evaluate the performance status of the storage medium, and only reading the usage status parameters when performance is abnormal, solving the problem of frequent physical monitoring to increase the number of reads and writes, and extending the life of the storage medium.

CN119759279APending Publication Date: 2025-04-04MAIPU COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411853355.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

Frequent physical monitoring will increase the number of additional reads and writes, affecting the life of the disk.

Method used

By obtaining the actual service data written in the current evaluation cycle of the storage medium, the estimated network throughput is determined, and the actual performance status of the storage medium is determined based on the actual network throughput and the estimated value. If the performance status is abnormal, the usage status parameters are read and the health status is determined based on the preset health threshold.

Benefits of technology

Reduces the number of read and write times caused by physical monitoring and extends the life of the storage medium.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119759279A_ABST
    Figure CN119759279A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a storage medium health assessment method of security equipment and a related device, and relates to the technical field of storage medium monitoring, and the method comprises the following steps: obtaining actual service data written in a current assessment period of a storage medium, determining a network throughput estimated value of the storage medium according to the actual service data, and according to the actual network throughput and the network throughput estimated value, determining an actual performance state of the storage medium, if the actual performance state represents that the storage medium is abnormal, reading a use state parameter of the storage medium, and according to the use state parameter and a preset health threshold, judging a health state of the storage medium in a current evaluation period. The health state of the storage medium is comprehensively evaluated according to the use state parameter and the actual service data, and the health state of the storage medium is judged according to the use state parameter only when the performance state of the storage medium is abnormal, so that the read-write frequency caused by physical monitoring can be reduced, and the service life of the storage medium can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of storage medium monitoring, and in particular to a storage medium health assessment method and related apparatus for a security device. Background Art

[0002] With the rapid development of information technology, data security has become an increasingly important issue. Among many security devices, storage media, as a key hardware component, is responsible for storing a large amount of business data (such as Internet behavior logs, audit logs, etc.). In order to meet the growing demand for business data storage, security devices tend to be equipped with large-capacity storage media, which not only provides sufficient storage space, but also makes it possible to preserve business data for a long time. As storage needs increase, the management and monitoring requirements for storage media also increase to ensure the security and reliability of business data.

[0003] The latest technical specifications for security equipment stipulate that the retention period for relevant business data shall not be less than six months, which means that the configuration of large-capacity storage media will become the norm in the industry. In this context, the health monitoring of storage media is particularly important. Traditional disk monitoring technology mainly relies on SMART (Self-Monitoring Analysis and Report Technology), which evaluates the health of storage media by monitoring the usage status parameters of storage media. However, this monitoring method that relies solely on usage status parameters has limitations and lags. It may not be able to predict disk failures in a timely manner, and frequent physical monitoring will increase the number of additional read and write times, thereby affecting the life of the disk. Summary of the invention

[0004] The purpose of the present invention is to provide a storage medium health assessment method and related devices for a security device to solve the problem that frequent physical monitoring will increase the number of additional read and write times, thereby affecting the life of the disk.

[0005] In a first aspect, the present invention provides a storage medium health assessment method for a security device, which is applied to a security device, and the method comprises:

[0006] Obtain the actual business data written to the storage medium during the current evaluation period;

[0007] Determine an estimated network throughput value of the storage medium according to the actual service data;

[0008] Determining an actual performance state of the storage medium according to the actual network throughput and the estimated network throughput;

[0009] If the actual performance status indicates that the storage medium is abnormal, reading a usage status parameter of the storage medium;

[0010] The health status of the storage medium in the current evaluation period is determined according to the usage status parameter and a preset health threshold.

[0011] In an optional implementation manner, determining the estimated network throughput value of the storage medium according to the actual service data includes:

[0012] Acquire an actual data processing rate of the storage medium according to the actual business data;

[0013] An estimated network throughput of the storage medium is determined based on the actual data processing rate.

[0014] In an optional implementation manner, the actual data processing rate includes an actual data reading rate and an actual data writing rate; and acquiring the actual data processing rate of the storage medium according to the actual business data includes:

[0015] Reading the actual business data to obtain the actual data reading rate;

[0016] The actual data writing rate is determined according to the data volume corresponding to the actual business data.

[0017] In an optional implementation manner, determining the estimated network throughput of the storage medium according to the actual data processing rate includes:

[0018] According to the actual data processing rate and a pre-built processing capacity determination model, a network throughput estimation value is obtained; the processing capacity determination model represents the corresponding relationship between the data processing rate and the network throughput.

[0019] In an optional embodiment, the processing capacity determination model is a linear regression model, the data processing rate is the independent variable of the linear regression model, the network throughput is the dependent variable of the linear regression model, and the slope coefficient and intercept of the linear regression model are obtained based on multiple groups of historical data processing rates and corresponding historical network throughputs.

[0020] In an optional embodiment, the linear regression model further includes a dynamic deviation value, and the method further includes:

[0021] Obtaining the network throughput of the storage medium in the previous evaluation period and the amount of actual business data written;

[0022] The dynamic deviation value is determined according to the ratio of the network throughput in the previous evaluation cycle to the data volume of the actual business data written in the previous evaluation cycle.

[0023] In an optional implementation manner, determining the actual performance state of the storage medium according to the actual network throughput and the estimated network throughput includes:

[0024] If the difference between the actual network throughput and the estimated network throughput exceeds a preset normal range, it is determined that the actual performance status of the storage medium is abnormal.

[0025] In a second aspect, the present invention provides a storage medium health assessment device for a security device, which is applied to the security device, and the device includes:

[0026] An actual performance monitoring module is used to obtain actual business data written to the storage medium during the current evaluation period; determine an estimated network throughput value of the storage medium based on the actual business data; and determine an actual performance state of the storage medium based on the actual network throughput and the estimated network throughput value;

[0027] The physical characteristic monitoring module is used to read the usage status parameters of the storage medium if the actual performance status indicates that the storage medium is abnormal; and judge the health status of the storage medium in the current evaluation period based on the usage status parameters and a preset health threshold.

[0028] In a third aspect, the present invention provides a security device, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and the computer program executable by the processor is used to implement the storage medium health assessment method of the security device described in any of the aforementioned embodiments.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the storage medium health assessment method of a security device as described in any one of the aforementioned embodiments is implemented.

[0030] The storage medium health assessment method and related device of the security device provided by the embodiment of the present invention include: obtaining the actual business data written by the storage medium in the current assessment cycle, determining the estimated network throughput of the storage medium based on the actual business data, determining the actual performance status of the storage medium based on the actual network throughput and the estimated network throughput, and if the actual performance status indicates that the storage medium is abnormal, reading the usage status parameters of the storage medium, and judging the health status of the storage medium in the current assessment cycle based on the usage status parameters and the preset health threshold. By comprehensively evaluating the health status of the storage medium based on the usage status parameters and the actual business data, and judging the health status of the storage medium based on the usage status parameters only when the performance status of the storage medium is abnormal, the number of reads and writes caused by physical monitoring can be reduced, thereby increasing the life of the storage medium. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A schematic diagram of a process flow of a storage medium health assessment method for a security device provided by an embodiment of the present invention is shown;

[0033] Figure 2 Another schematic diagram of a process flow of a storage medium health assessment method for a security device provided by an embodiment of the present invention is shown;

[0034] Figure 3 A residual graph of a processing capability determination model provided by an embodiment of the present invention is shown;

[0035] Figure 4 A module block diagram of a storage medium health assessment device provided by an embodiment of the present invention is shown;

[0036] Figure 5 A block diagram of a security device provided by an embodiment of the present invention is shown.

[0037] Icons: 100 - security device; 110 - memory; 120 - processor; 130 - communication module; 200 - storage medium health assessment device of security device; 210 - actual performance monitoring module; 220 - physical characteristic monitoring module. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0039] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.

[0040] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0041] See also Figure 1 , Figure 1 A schematic diagram of a process flow of a storage medium health assessment method for a security device provided by an embodiment of the present invention is shown. The storage medium health assessment method can be applied to a security device. The following takes a security device as an example to illustrate the specific process of this embodiment. Figure 1 The process shown is described in detail, and the storage medium health assessment method may specifically include the following steps:

[0042] Step 110: Acquire actual business data written to the storage medium during the current evaluation period.

[0043] The storage medium may be a hard disk, a magnetic disk, etc., which is not limited here.

[0044] In some embodiments, a security device executing the storage medium health assessment method of the present invention may periodically obtain actual business data written to its own storage medium in each assessment period, so as to periodically monitor the actual performance status of the storage medium.

[0045] Step 120: Determine an estimated network throughput of the storage medium based on actual service data.

[0046] In some implementations, the security device of the present invention can analyze actual business data and determine the estimated network throughput of the storage medium based on the analysis results. The analysis results may include the data processing rate, data transmission rate, read-write data ratio, and bandwidth utilization of the storage medium.

[0047] Step 130: Determine the actual performance status of the storage medium according to the actual network throughput and the estimated network throughput.

[0048] In some embodiments, if the difference between the actual network throughput and the estimated network throughput exceeds a preset normal range, the actual performance status of the storage medium is determined to be abnormal; if the difference between the actual network throughput and the estimated network throughput does not exceed the preset normal range, the actual performance status of the storage medium is determined to be normal.

[0049] For example, the preset normal range is (0-5]. Assuming that the actual network throughput is 120MB / s and the predicted network is 122MB / s, the difference between the actual network throughput 120MB / s and the estimated network throughput 122MB / s is 2MB / s, which does not exceed the preset normal range (0-5]. It is determined that the actual performance status of the storage medium is normal; assuming that the actual network throughput is 120MB / s and the predicted network is 130MB / s, the difference between the actual network throughput 120MB / s and the estimated network throughput 130MB / s is 10MB / s, which does not exceed the preset normal range (0-5). It is determined that the actual performance status of the storage medium is abnormal.

[0050] The actual network throughput may be the actual throughput obtained after the security device collects statistics on the size and rate of all network packets passing through the device according to the physical transmission interface.

[0051] Step 140: If the actual performance status indicates that the storage medium is abnormal, then read the usage status parameter of the storage medium.

[0052] The usage status parameters may include parameters such as the number of starts / stops of the storage medium, the read / write error rate, the bad track ratio, and the erased / written times ratio.

[0053] Step 150: Determine the health status of the storage medium in the current evaluation period according to the usage status parameter and the preset health threshold.

[0054] In some embodiments, a preset health threshold is pre-configured and stored in the security device. If the usage status parameter is greater than or equal to the preset health threshold, the health status of the storage medium is determined to be abnormal; if the usage status parameter is less than the preset health threshold, the health status of the storage medium in the current evaluation cycle is determined to be normal.

[0055] For example, if the usage status parameter is a read / write error rate of 30%, the preset health threshold corresponding to the read / write error rate is 20%, and the read / write error rate of 30% is greater than the preset health threshold of 20%, then the health status of the storage medium is determined to be abnormal.

[0056] In some implementations, the security device may save the evaluation results of the storage medium health status obtained in each evaluation cycle for the user to view at any time. When the security device determines that the health status of the storage medium is abnormal based on the usage status parameter, it may also generate an alarm message to prompt the user that the storage medium is abnormal.

[0057] The storage medium health assessment method provided by the embodiment of the present invention obtains the actual business data written to the storage medium in the current assessment cycle, determines the estimated network throughput of the storage medium based on the actual business data, determines the actual performance status of the storage medium based on the actual network throughput and the estimated network throughput, and if the actual performance status indicates that the storage medium is abnormal, reads the usage status parameters of the storage medium, and judges the health status of the storage medium in the current assessment cycle based on the usage status parameters and the preset health threshold. By comprehensively evaluating the health status of the storage medium based on the usage status parameters and the actual business data, and only judging the health status of the storage medium based on the usage status parameters when the performance status of the storage medium is abnormal, the number of reads and writes caused by physical monitoring can be reduced, thereby increasing the life of the storage medium.

[0058] In some embodiments, Figure 2 As shown, step 120 specifically also includes:

[0059] Step S121: Acquire the actual data processing rate of the storage medium according to the actual business data.

[0060] In some embodiments, the actual data processing rate includes an actual data reading rate and an actual data writing rate. The security device can read the actual business data to obtain the actual data reading rate, and determine the actual data writing rate based on the data volume corresponding to the actual business data.

[0061] For security devices, business data generally refers to log data. The data volume in each time period is counted according to the time periods with the largest log writing volume in the evaluation period, and then the data writing rate of the corresponding time period is calculated. The highest value is taken as the actual data writing rate of the security device in the evaluation period. Among them, log data can include application logs, page browsing logs, and Internet behavior logs, etc., which are not limited here.

[0062] In some implementations, the security device is pre-configured and stored with preset reading conditions, and the number of preset reading conditions can be multiple or one, which is not limited here. The security device reads the log data according to the preset reading conditions to obtain an actual data reading rate.

[0063] As an implementation mode, when the preset reading condition is one, the security device reads the log data according to the preset reading condition to obtain the actual data reading rate. For example, when the preset reading condition is the data in the time period from 12:00 to 12:10, the security device reads the data in the time period from 12:00 to 12:10 in the log data and obtains 100 data, the actual data reading rate can be 0.167 (100 / 600≈0.167) data / second.

[0064] As another implementation, when there are multiple preset reading conditions, the security device reads the log data according to each preset reading condition, obtains the data reading rate corresponding to each preset reading condition, calculates the average of all data reading rates, and obtains the actual data reading rate. For example, the first preset reading condition is web page access data, the second preset reading condition is financial transaction data, the security device reads the web page access data in the log data, and obtains a data reading rate of 10 items / second, the security device reads the financial transaction data in the log data, and obtains a data reading rate of 12 items / second, then the actual data reading rate is 11 items / second ((10+12) / 2=11).

[0065] In some implementations, the security device pre-configures an evaluation period, searches the log data for the amount of data in the evaluation period, and determines the actual data write rate based on the amount of data in the evaluation period. For example, the evaluation period is 1 hour, the current evaluation period is 13:00-14:00, and the amount of data in the period between 13:00-14:00 is searched in the log data. If the amount of data in the period between 13:00-14:00 is 1000, then the actual data write rate is 0.278 (1000 / 3600≈0.278) items / second.

[0066] Step S122: Determine an estimated network throughput of the storage medium according to the actual data processing rate.

[0067] In some implementations, a network throughput estimate is obtained based on an actual data processing rate and a pre-built processing capacity determination model; the processing capacity determination model characterizes the corresponding relationship between the data processing rate and the network throughput.

[0068] In some embodiments, the processing capacity determination model is a linear regression model, the data processing rate is the independent variable of the linear regression model, the network throughput is the dependent variable of the linear regression model, and the slope coefficient and intercept of the linear regression model are obtained based on multiple sets of historical data processing rates and corresponding historical network throughputs.

[0069] The processing capacity determination model may be the following model:

[0070] Y=α+β1x1+β2x2

[0071] Wherein, Y represents the network throughput, α represents the initial throughput, β1 represents the read rate coefficient, x1 represents the data read rate, β2 represents the write rate coefficient, and x2 represents the data write rate.

[0072] The read rate coefficient β1 and the write rate coefficient β2 are slope coefficients of the linear regression model, and the initial throughput α is the intercept of the linear regression model.

[0073] In order to improve the accuracy of storage medium health assessment, the linear regression model also includes a dynamic deviation value. The specific steps for determining the dynamic deviation value are as follows: obtain the network throughput of the storage medium in the previous evaluation cycle and the amount of actual business data written; determine the dynamic deviation value based on the ratio of the network throughput in the previous evaluation cycle to the amount of actual business data written in the previous evaluation cycle. The processing capacity determination model after the introduction of the dynamic deviation value can be expressed as:

[0074] Y=α+β1x1+β2x2+ε

[0075] Wherein, Y represents the network throughput, α represents the initial throughput, β1 represents the read rate coefficient, x1 represents the data read rate, β2 represents the write rate coefficient, x2 represents the data write rate, and ε represents the dynamic deviation value.

[0076] It can be understood that the dynamic deviation value in the processing capacity determination model used in the current evaluation cycle is determined by the network throughput in the previous evaluation cycle and the amount of actual business data written. By dynamically adjusting the deviation value based on the data in the previous evaluation cycle, the processing capacity determination model can be made more accurate and efficient.

[0077] like Figure 3 As shown, Figure 3The residual graph of the processing capacity determination model is shown. The vertical axis is the difference (residual) between the actual network throughput and the estimated network throughput, and the horizontal axis is the estimated network throughput calculated by the processing capacity determination model based on the data reading rate and the data writing rate. Figure 3 The effectiveness of the processing capacity determination model can be evaluated and the processing capacity determination model can be adjusted to improve the accuracy of the network throughput estimation.

[0078] In order to execute the corresponding steps in the above embodiments and various possible methods, the following is an implementation method of a storage medium health assessment device for a security device. Figure 4 , the figure is a functional module diagram of a storage medium health assessment device of a security device provided in an embodiment of the present invention. It should be noted that the basic principle and technical effect of the storage medium health assessment device of the security device provided in this embodiment are the same as those of the above-mentioned embodiments. For the sake of brief description, for the parts not mentioned in this embodiment, please refer to the corresponding contents in the above-mentioned embodiments. The storage medium health assessment device 200 of the security device includes: an actual performance monitoring module 210 and a physical feature monitoring module 220, wherein:

[0079] The actual performance monitoring module 210 is used to obtain the actual business data written to the storage medium during the current evaluation period; determine the network throughput estimate of the storage medium based on the actual business data; and determine the actual performance status of the storage medium based on the actual network throughput and the network throughput estimate.

[0080] The physical characteristic monitoring module 220 is used to read the usage status parameters of the storage medium if the actual performance status indicates that the storage medium is abnormal; and determine the health status of the storage medium in the current evaluation period based on the usage status parameters and a preset health threshold.

[0081] Furthermore, the actual performance monitoring module 210 is specifically used to obtain the actual data processing rate of the storage medium according to the actual business data; and determine the estimated network throughput of the storage medium according to the actual data processing rate.

[0082] Furthermore, the actual data processing rate includes an actual data reading rate and an actual data writing rate. The actual performance monitoring module 210 is specifically used to read the actual business data to obtain the actual data reading rate; and determine the actual data writing rate based on the data volume corresponding to the actual business data.

[0083] Furthermore, the actual performance monitoring module 210 is specifically used to obtain a network throughput estimate based on the actual data processing rate and a pre-built processing capacity determination model; the processing capacity determination model represents the corresponding relationship between the data processing rate and the network throughput.

[0084] Furthermore, the processing capacity determination model is a linear regression model, the data processing rate is the independent variable of the linear regression model, the network throughput is the dependent variable of the linear regression model, and the slope coefficient and intercept of the linear regression model are obtained by solving the multiple sets of historical data processing rates and the corresponding historical network throughput. The linear regression model also includes a dynamic deviation value, and the actual performance monitoring module 210 is specifically used to obtain the network throughput of the storage medium in the previous evaluation cycle and the data volume of the actual business data written; the dynamic deviation value is determined according to the ratio of the network throughput in the previous evaluation cycle to the data volume of the actual business data written in the previous evaluation cycle.

[0085] Furthermore, the actual performance monitoring module 210 is specifically configured to determine that the actual performance status of the storage medium is abnormal if the difference between the actual network throughput and the estimated network throughput exceeds a preset normal range.

[0086] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0087] In several embodiments provided by the present invention, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0088] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.

[0089] Please refer to Figure 5 , is a block diagram of a security device 100 provided in an embodiment of the present invention. The security device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120, and the communication module 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0090] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0091] The processor 120 is used to read / write data or programs stored in the memory and execute corresponding functions. For example, when the computer program stored in the memory 110 is executed by the processor 120, the storage medium health assessment method of the security device disclosed in the above embodiments can be implemented.

[0092] The communication module 130 is used to establish a communication connection between the security device 100 and the server through the network, and to send and receive data through the network.

[0093] It should be understood that Figure 5 The structure shown is only a schematic diagram of the structure of the safety device. The safety device may also include Figure 5 More or fewer components may be shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0094] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program can be executed by a processor, the storage medium health assessment method of the security device described in the above method embodiment is implemented.

[0095] The computer readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a storage medium, or a ROM. Optionally, the computer readable storage medium includes a non-transitory computer-readable storage medium. The computer readable storage medium has storage space for program codes that execute any of the method steps in the above method. These program codes may be read from or written to one or more computer program products. The program code may be compressed, for example, in an appropriate form.

[0096] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for 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 methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile storage medium, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0098] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A storage medium health assessment method for a security device, characterized in that: Applied to a security device, the method comprises: Obtain the actual business data written to the storage medium during the current evaluation period; Determine an estimated network throughput value of the storage medium according to the actual service data; Determining an actual performance state of the storage medium according to the actual network throughput and the estimated network throughput; If the actual performance status indicates that the storage medium is abnormal, reading a usage status parameter of the storage medium; The health status of the storage medium in the current evaluation period is determined according to the usage status parameter and a preset health threshold.

2. The method according to claim 1, characterized in that The determining, according to the actual service data, an estimated network throughput value of the storage medium includes: Acquire an actual data processing rate of the storage medium according to the actual business data; An estimated network throughput of the storage medium is determined based on the actual data processing rate.

3. The method according to claim 2, characterized in that The actual data processing rate includes an actual data reading rate and an actual data writing rate; and obtaining the actual data processing rate of the storage medium according to the actual business data includes: Reading the actual business data to obtain the actual data reading rate; The actual data writing rate is determined according to the data volume corresponding to the actual business data.

4. The method according to claim 2, characterized in that: The determining, according to the actual data processing rate, an estimated network throughput value of the storage medium comprises: According to the actual data processing rate and a pre-built processing capacity determination model, a network throughput estimation value is obtained; the processing capacity determination model represents the corresponding relationship between the data processing rate and the network throughput.

5. The method according to claim 4, characterized in that The processing capacity determination model is a linear regression model, the data processing rate is the independent variable of the linear regression model, the network throughput is the dependent variable of the linear regression model, and the slope coefficient and intercept of the linear regression model are obtained based on multiple groups of historical data processing rates and corresponding historical network throughputs.

6. The method according to claim 5, characterized in that The linear regression model also includes a dynamic deviation value, and the method further includes: Obtaining the network throughput of the storage medium in the previous evaluation period and the amount of actual business data written; The dynamic deviation value is determined according to the ratio of the network throughput in the previous evaluation cycle to the data volume of the actual business data written in the previous evaluation cycle.

7. The method according to claim 1, characterized in that The determining the actual performance state of the storage medium according to the actual network throughput and the estimated network throughput includes: If the difference between the actual network throughput and the estimated network throughput exceeds a preset normal range, it is determined that the actual performance status of the storage medium is abnormal.

8. A storage medium health assessment device for a security device, characterized in that: Applied to safety equipment, the device comprises: An actual performance monitoring module is used to obtain actual business data written to the storage medium during the current evaluation period; determine an estimated network throughput value of the storage medium based on the actual business data; and determine an actual performance state of the storage medium based on the actual network throughput and the estimated network throughput value; The physical characteristic monitoring module is used to read the usage status parameters of the storage medium if the actual performance status indicates that the storage medium is abnormal; and judge the health status of the storage medium in the current evaluation period based on the usage status parameters and a preset health threshold.

9. A safety device, characterized in that: It includes a processor and a memory, the memory stores a computer program that can be executed by the processor, and the computer program executable by the processor is used to implement the storage medium health assessment method of the security device described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the storage medium health assessment method of a security device according to any one of claims 1 to 7 is implemented.