CN113986123A - SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment - Google Patents

SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment Download PDF

Info

Publication number
CN113986123A
CN113986123A CN202111234920.6A CN202111234920A CN113986123A CN 113986123 A CN113986123 A CN 113986123A CN 202111234920 A CN202111234920 A CN 202111234920A CN 113986123 A CN113986123 A CN 113986123A
Authority
CN
China
Prior art keywords
ssd
behavior
monitoring
module
behaviors
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.)
Pending
Application number
CN202111234920.6A
Other languages
Chinese (zh)
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.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System 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 Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN202111234920.6A priority Critical patent/CN113986123A/en
Publication of CN113986123A publication Critical patent/CN113986123A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a method and a device for optimizing and managing an SSD (solid State disk) based on behavior monitoring, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring an SSD optimization management request based on behavior monitoring; constructing a monitoring module at a host end according to concerned contents and objects of the SSD, wherein the objects monitored by the monitoring module comprise system behaviors, application program behaviors and file access behaviors; analyzing system behaviors, application program behaviors and file access behaviors through the monitoring module, and sending an analysis result to the SSD receiving module; after the receiving module obtains the analysis result, judging the working state of the current SSD; and the receiving module carries out demand distribution or shielding according to the working state of the current SSD. The invention changes the management mode of passively receiving the command by the SSD, brings the upper-layer behavior related to the SSD into monitoring and actively transmits the behavior to the SSD end, and can optimize at different angles according to different objects of the SSD, thereby improving the working capacity of the SSD system.

Description

SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment
Technical Field
The invention relates to the technical field of storage systems, in particular to an SSD (solid State disk) optimization management method and device based on behavior monitoring, computer equipment and a storage medium.
Background
The SSD, as an independent storage device, communicates with the host according to a standard protocol (data interaction), and completes various commands sent from the host end system. At present, the SSD research and development direction is mostly developed around the SSD itself or an internal design, such as PCIe/NAND flash iterative update, controller/firmware design optimization, in order to obtain higher read-write access speed, performance response, achieve power consumption adjustment, temperature control, and the like.
On the other hand, the host is also more concerned about interaction with the SSD on the operating system and the application itself, and mainly focuses on pure data read-write access except some general system behaviors (such as reset, shutdown, etc.). Which stores associations of data with upper-level systems or applications and is not passed to the storage device. Therefore, in the prior art, the SSD is basically in a management mode of passively receiving commands, cannot request upper layer sources, and does not establish effective communication with upper layer behaviors.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method and an apparatus for SSD optimization management based on behavior monitoring, a computer device and a storage medium.
A method for SSD optimization management based on behavior monitoring, the method comprising:
acquiring an SSD optimization management request based on behavior monitoring;
constructing a monitoring module at a host end according to concerned contents and objects of the SSD, wherein the objects monitored by the monitoring module comprise system behaviors, application program behaviors and file access behaviors;
analyzing system behaviors, application program behaviors and file access behaviors through the monitoring module, and sending an analysis result to the SSD receiving module;
after the receiving module obtains the analysis result, judging the working state of the current SSD;
and the receiving module carries out demand distribution or shielding according to the working state of the current SSD.
In one embodiment, the step of constructing a monitoring module at the host according to the SSD concerned content and objects, where the objects monitored by the monitoring module include system behavior, application behavior, and file access behavior further includes:
the system behaviors comprise shutdown, restart, modeln standby and hibernation behaviors of the current operating system;
the application program behavior comprises monitoring whether a specific program is operated or not, and informing the SSD to avoid entering a low power consumption state once the specific program is started;
the file access behavior comprises the steps of analyzing the file access frequency, and optimizing the storage position of data in the NAND flash or improving a mapping management method for files with high access degree to improve the loading speed.
In one embodiment, the analyzing, by the monitoring module, the system behavior, the application behavior, and the file access behavior, and sending the analysis result to the SSD receiving module further includes:
defining collection and tracking events according to a pre-designed focus through the monitoring module, and recording the events according to the safety requirement of the system;
intelligently analyzing the acquired information through the monitoring module, and analyzing the historical events to obtain expression information with characteristics so as to provide SSD optimization reference information;
accumulating the use conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of a user use scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and sending information to a receiving module through the monitoring module according to an appointed communication mode.
In one embodiment, the method further comprises:
according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
An SSD optimization management apparatus based on behavior monitoring, the apparatus comprising:
an obtaining module, configured to obtain an SSD optimization management request based on behavior monitoring;
the building module is used for building a monitoring module at the host end according to the concerned content and the concerned object of the SSD;
the monitoring module is used for monitoring objects including system behaviors, application program behaviors and file access behaviors; the monitoring module is also used for analyzing the system behavior, the application program behavior and the file access behavior and sending the analysis result to the SSD receiving module;
after the receiving module obtains the analysis result, judging the working state of the current SSD; the receiving module is further used for carrying out demand distribution or shielding according to the working state of the current SSD.
In one embodiment, the system behavior, the application behavior, and the file access behavior monitored by the monitoring module include:
shutdown, restart, modern standby and hibernation behaviors of the current operating system;
monitoring whether a specific program is operated, and informing the SSD to avoid entering a low power consumption state once the specific program is started;
analyzing the file access frequency, and improving the loading speed by optimizing the storage position of data in the NAND flash or improving a mapping management method for files with high access degree.
In one embodiment, the monitoring module is further configured to:
defining collection and tracking events according to a pre-designed focus through the monitoring module, and recording the events according to the safety requirement of the system;
intelligently analyzing the acquired information through the monitoring module, and analyzing the historical events to obtain expression information with characteristics so as to provide SSD optimization reference information;
accumulating the use conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of a user use scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and sending information to a receiving module through the monitoring module according to an appointed communication mode.
In one embodiment, the receiving module is further configured to:
according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods described above.
The SSD optimization management method and device based on behavior monitoring, the computer equipment and the storage medium construct an interactive system of an upper layer system and a bottom layer SSD device, the monitoring module is arranged at the host end, and can actively monitor behaviors and actions influencing an SSD policy and timely transmit the behaviors and actions to the SSD receiving module, and further can process according to the internal working state of the SSD so as to realize the optimization of the internal algorithm and the policy of the SSD. The invention changes the management mode of passively accepting the command by the SSD, incorporates the upper-layer behavior related to the SSD into the monitoring and actively transmits the upper-layer behavior to the SSD end, the monitoring range can comprise the behavior of an operating system, the behavior of an application program, the behavior or the state of a file and the like, the SSD can be optimized at different angles according to different objects, and the working capacity of the SSD system is improved.
Drawings
FIG. 1 is a diagram of the inventive concept of an SSD optimization management method based on behavior monitoring in the present invention;
FIG. 2 is a flow diagram of a method for SSD optimization management based on behavior monitoring in one embodiment;
FIG. 3 is a flow diagram of an SSD optimization management method based on behavior monitoring in another embodiment;
FIG. 4 is a schematic flow chart of an SSD optimization management method based on behavior monitoring in yet another embodiment;
FIG. 5 is a functional diagram of a monitor module in one embodiment;
FIG. 6 is a diagram illustrating an embodiment of a monitoring module in communication with a receiving module;
FIG. 7 is a block diagram of an SSD optimization management apparatus based on behavior monitoring in one embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
At present, in the prior art, the SSD is basically in a management mode of passively receiving a command, cannot request an upper layer source, and does not establish effective communication with an upper layer behavior.
Based on the method, the invention provides an SSD optimization management method based on behavior monitoring. Specifically, refer to the inventive concept diagram of the SSD optimization management method based on behavior monitoring shown in fig. 1. The upper layer is a device platform and an application layer, the device can be a PC or a server, and a corresponding operating system is loaded and contains an application program. The lower layer is SSD, and the operating system and the SSD carry out command transmission according to a standard protocol. The method is used for cooperating the host end and the SSD end.
Specifically, a monitoring module is constructed at the host end according to the concerned content and object of the SSD, and the monitoring module can collect and analyze behaviors including a system and an application program, perform extraction analysis, and send the extracted behaviors to a receiving module at the SSD end. And after the receiving module obtains the information, judging the working state of the SSD at the moment to carry out demand distribution or shielding. From the design consideration, the system aims at real-time response, so that the receiving module can select to terminate the requirement or send the requirement to an SSD internal sub-module for immediate processing to realize algorithm and strategy optimization according to the upper-layer behavior requirement/SSD end working state.
In one embodiment, as shown in fig. 2, there is provided a method for SSD optimization management based on behavior monitoring, the method comprising:
step 202, acquiring an SSD optimization management request based on behavior monitoring;
step 204, constructing a monitoring module at a host end according to the concerned content and the concerned object of the SSD, wherein the object monitored by the monitoring module comprises a system behavior, an application program behavior and a file access behavior;
step 206, analyzing the system behavior, the application program behavior and the file access behavior through the monitoring module, and sending an analysis result to the SSD receiving module;
step 208, after the receiving module obtains the analysis result, judging the working state of the current SSD;
step 210, the receiving module performs demand distribution or shielding according to the current working state of the SSD.
In this embodiment, a method for SSD optimization management based on behavior monitoring is provided, and the specific implementation process of the method is as follows:
first, an SSD optimization management request based on behavior monitoring is acquired. The request may include the content and objects of interest to the SSD, the target to be optimized, etc. And then, constructing a monitoring module at the host end according to the concerned content and the concerned object of the SSD, wherein the object monitored by the monitoring module comprises a system behavior, an application program behavior and a file access behavior.
Specifically, the main objects of observation of the monitoring module include, but are not limited to: system behaviors, such as shutdown, restart, modern standby, hibernation, etc., of the current operating system are notified to the SSD; application behavior, such as whether a particular program (game program) is being run or not may be monitored; file access behavior, such as analyzing file access frequency.
And then, analyzing the system behavior, the application program behavior and the file access behavior through the monitoring module, and sending an analysis result to the SSD receiving module. Specifically, the monitoring module can perform recording analysis on events besides monitoring specific information events, extract expression information with characteristics from historical events, and provide information with SSD optimization reference.
Finally, after the receiving module obtains the analysis result, the working state of the current SSD is judged; and the receiving module carries out demand distribution or shielding according to the working state of the current SSD.
According to different optimization targets, the monitoring event can relate to power consumption, temperature control, storage data management and the like, and the monitoring event is transmitted to the SSD to complete corresponding optimization or strategy adjustment through analyzing related behaviors of the upper layer system and the application software. The following are several typical application scenarios:
in the first scenario, the working state of the computer is monitored on the premise of permission of a user, and SSD optimization is carried out according to different scenarios. For example, operations such as monitoring user screen locking or closing a notebook cover are allowed, which means that the user does not need to use a computer temporarily, and the current implementation in the industry needs to wait until an operating system automatically determines a power consumption requirement and then send an instruction to an SSD for corresponding processing. If a mechanism of direct communication between the upper layer and the lower layer is established, the power consumption adjustment requirement can be rapidly sent to the SSD, the SSD power management module is prompted to actively carry out data transient maintenance, and the SSD power management module enters a low power consumption mode, so that the SSD power management module can rapidly respond.
And secondly, monitoring the use conditions of the system and the application software on the premise of permission of the user, determining the user characteristics such as the use frequency and duration of different types of software, the characteristics of software data access and the like, and adjusting the working mode or the data management mode by the SSD. The demand on the storage device is different for users with different preferences. For example, game users tend to respond quickly and do not pay attention to system power consumption; the system monitoring module can inform the SSD not to enter a low power consumption mode during the time when the user starts the game in real time, so that the fastest data reading response is ensured; when the game data is loaded to the system memory, the SSD enters a normal working state. And for daily office users, the cold and hot conditions of data access can be analyzed at the upper layer according to the data access condition of the users, and the logical address information of the data is recorded and sent to the SSD. The SSD can be designed with a proper cold and hot data management mode, and the storage area of the cold and hot data can be adjusted by the background.
And a third scenario, utilizing a system interaction channel to realize state synchronization, such as time, running state and the like, so that the SSD effectively realizes internal optimization according to the upper state. Of course, the management of the method needs to be compatible with the consideration of user data safety and privacy, and the behavior monitoring of the system and the application software does not relate to the user data content.
In one embodiment, the method further comprises: according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
Specifically, as shown in fig. 6, the functions of the receiving module include information reception and event response processing. And receiving information refers to receiving information from an upper monitoring module. And event response processing refers to performing coordination judgment on SSD state tracking and upper layer event processing according to the working state of the SSD internal firmware and the priority of upper layer information, and determining task distribution on the premise of ensuring that the SSD works orderly. For the task with high priority, timely distributing; conversely, the requirements that are contrary to the current processing inside the SSD may also be discarded and fed back to the monitoring module.
In this embodiment, an interactive system of an upper layer system and a bottom layer SSD device is constructed, a monitoring module is established at a host, and the monitoring module can actively monitor behaviors and actions affecting the SSD policy and transmit the behaviors and actions to the SSD receiving module in time, so as to perform processing according to the internal working state of the SSD, thereby optimizing the internal algorithm and policy of the SSD. The scheme changes the management mode that the SSD passively receives the command, incorporates the upper-layer behaviors related to the SSD into monitoring and actively transmits the upper-layer behaviors to the SSD end, the monitoring range can comprise the behaviors of an operating system, the behaviors of an application program, the behaviors or the states of files and the like, the SSD can be optimized at different angles according to different objects, and the working capacity of the SSD system is improved.
In one embodiment, as shown in fig. 3, a method for SSD optimization management based on behavior monitoring is provided, in which a monitoring module is constructed at a host according to the content and the object concerned by the SSD, and the step of monitoring the object by the monitoring module includes system behavior, application behavior, and file access behavior, and further includes:
step 302, the system behaviors include shutdown, restart, modeln standby and hibernation behaviors of the current operating system;
step 304, the application program behavior includes monitoring whether a specific program is executed, and when the specific program is started, notifying the SSD to avoid entering a low power consumption state;
and step 306, the file access behavior comprises analyzing the file access frequency, and for the file with high access degree, optimizing the storage position of the data in the NAND flash or improving the mapping management method to improve the loading speed.
In this embodiment, the main observation objects of the monitoring module include, but are not limited to:
system behavior: currently, the SSD is notified of the shutdown, restart, modern standby, hibernation, etc. of the operating system. Monitoring requirements are introduced by analyzing the optimization space of the SSD under the operation of the corresponding system.
Application behavior: such as whether the program is being run. For example, a game user has a very high requirement on the response speed, the monitoring game software is started, and once the monitoring game software is started, the SSD can be informed to avoid entering a low power consumption state;
file access behavior: such as analyzing file access frequency. For files with high access degree, the storage position of data in the NAND flash is optimized, or a mapping management method is improved, the loading speed is increased, and the like.
In an embodiment, as shown in fig. 4, a method for SSD optimization management based on behavior monitoring is provided, where the method analyzes system behavior, application behavior, and file access behavior through a monitoring module, and sends an analysis result to an SSD receiving module, and the method further includes:
402, defining collection and tracking events according to a pre-designed focus through a monitoring module, and recording the events according to the safety requirement of a system;
step 404, intelligently analyzing the collected information through a monitoring module, and analyzing expression information with characteristics from historical events so as to provide SSD optimization reference information;
step 406, accumulating the service conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of the user service scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and step 408, sending information to the receiving module through the monitoring module according to the appointed communication mode.
In this embodiment, referring to fig. 5, the functions of the monitoring module include:
acquisition of typical events: according to the designed concern points in advance, the collection and tracking events are defined, and the event recording is carried out according to the system security requirements (namely, the protection requirements of the OS layer on the security and the privacy of the user are accepted).
Event monitoring and analysis: the collected information is intelligently analyzed, single events or multiple events can be performed, expression information with characteristics can be mined and abstracted from historical events, and information with SSD optimization reference is provided.
And (3) classifying user behavior patterns: the using conditions of the system or the application are accumulated, the characteristics and the preference of the using scene of the user are analyzed, and a complete user portrait is formed, so that the input can be provided for the SSD, and a proper SSD data management and response mode is constructed.
And (3) information notification: and sending the information to a receiving module according to a convention communication mode.
It should be understood that although the various steps in the flow charts of fig. 1-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided an SSD optimization management apparatus 700 based on behavior monitoring, the apparatus comprising:
an obtaining module 701, configured to obtain an SSD optimization management request based on behavior monitoring;
a building module 702, configured to build a monitoring module at a host according to the SSD concerned content and object;
the monitoring module 703 is configured to monitor objects including system behaviors, application behaviors, and file access behaviors; the monitoring module 703 is further configured to analyze a system behavior, an application behavior, and a file access behavior, and send an analysis result to the SSD receiving module 704;
after the receiving module 704 obtains the analysis result, the working state of the current SSD is determined; the receiving module 704 is further configured to perform demand distribution or masking according to the current operating state of the SSD.
In one embodiment, the system behavior, application behavior, and file access behavior monitored by the monitoring module 703 include:
shutdown, restart, modern standby and hibernation behaviors of the current operating system;
monitoring whether a specific program is operated, and informing the SSD to avoid entering a low power consumption state once the specific program is started;
analyzing the file access frequency, and improving the loading speed by optimizing the storage position of data in the NAND flash or improving a mapping management method for files with high access degree.
In one embodiment, the monitoring module 703 is further configured to:
defining collection and tracking events according to a pre-designed focus through the monitoring module, and recording the events according to the safety requirement of the system;
intelligently analyzing the acquired information through the monitoring module, and analyzing the historical events to obtain expression information with characteristics so as to provide SSD optimization reference information;
accumulating the use conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of a user use scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and sending information to a receiving module through the monitoring module according to an appointed communication mode.
In one embodiment, the receiving module 704 is further configured to:
according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
For specific limitations of the SSD optimal management device based on behavior monitoring, refer to the above limitations of the SSD optimal management method based on behavior monitoring, which are not described herein again.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 8. The computer apparatus includes a processor, a memory, and a network interface connected by a device bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation device in the nonvolatile storage medium and the execution of the computer program. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of SSD optimization management based on behavior monitoring.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above respective method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An SSD optimization management method based on behavior monitoring is characterized by comprising the following steps:
acquiring an SSD optimization management request based on behavior monitoring;
constructing a monitoring module at a host end according to concerned contents and objects of the SSD, wherein the objects monitored by the monitoring module comprise system behaviors, application program behaviors and file access behaviors;
analyzing system behaviors, application program behaviors and file access behaviors through the monitoring module, and sending an analysis result to the SSD receiving module;
after the receiving module obtains the analysis result, judging the working state of the current SSD;
and the receiving module carries out demand distribution or shielding according to the working state of the current SSD.
2. The method for optimizing management of an SSD based on behavior monitoring as claimed in claim 1, wherein the step of constructing a monitoring module at the host according to the concerned content and object of the SSD, the object monitored by the monitoring module including system behavior, application behavior and file access behavior further comprises:
the system behaviors comprise shutdown, restart, modeln standby and hibernation behaviors of the current operating system;
the application program behavior comprises monitoring whether a specific program is operated or not, and informing the SSD to avoid entering a low power consumption state once the specific program is started;
the file access behavior comprises the steps of analyzing the file access frequency, and optimizing the storage position of data in the NAND flash or improving a mapping management method for files with high access degree to improve the loading speed.
3. The method for SSD optimization management based on behavior monitoring of claim 2, wherein the step of analyzing the system behavior, the application behavior and the file access behavior by the monitoring module and sending the analysis result to the SSD reception module further comprises:
defining collection and tracking events according to a pre-designed focus through the monitoring module, and recording the events according to the safety requirement of the system;
intelligently analyzing the acquired information through the monitoring module, and analyzing the historical events to obtain expression information with characteristics so as to provide SSD optimization reference information;
accumulating the use conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of a user use scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and sending information to a receiving module through the monitoring module according to an appointed communication mode.
4. A method for SSD optimization management based on behavior monitoring according to any of claims 1-3, characterized in that the method further comprises:
according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
5. An SSD optimization management apparatus based on behavior monitoring, the apparatus comprising:
an obtaining module, configured to obtain an SSD optimization management request based on behavior monitoring;
the building module is used for building a monitoring module at the host end according to the concerned content and the concerned object of the SSD;
the monitoring module is used for monitoring objects including system behaviors, application program behaviors and file access behaviors; the monitoring module is also used for analyzing the system behavior, the application program behavior and the file access behavior and sending the analysis result to the SSD receiving module;
after the receiving module obtains the analysis result, judging the working state of the current SSD; the receiving module is further used for carrying out demand distribution or shielding according to the working state of the current SSD.
6. The device for SSD optimization management based on behavior monitoring of claim 5, wherein the system behavior, the application behavior and the file access behavior monitored by the monitoring module comprise:
shutdown, restart, modern standby and hibernation behaviors of the current operating system;
monitoring whether a specific program is operated, and informing the SSD to avoid entering a low power consumption state once the specific program is started;
analyzing the file access frequency, and improving the loading speed by optimizing the storage position of data in the NAND flash or improving a mapping management method for files with high access degree.
7. The device for SSD optimization management based on behavior monitoring as claimed in claim 6, wherein the monitoring module is further configured to:
defining collection and tracking events according to a pre-designed focus through the monitoring module, and recording the events according to the safety requirement of the system;
intelligently analyzing the acquired information through the monitoring module, and analyzing the historical events to obtain expression information with characteristics so as to provide SSD optimization reference information;
accumulating the use conditions of the system and the application through the monitoring module, and analyzing the characteristics and the preference of a user use scene to form a complete user portrait so as to construct a proper SSD data management and response mode;
and sending information to a receiving module through the monitoring module according to an appointed communication mode.
8. The device for SSD optimization management based on behavior monitoring according to any of claims 5-7, wherein the receiving module is further configured to:
according to the upper-layer behavior requirement and the current working state of the SSD, the receiving module can select a termination requirement or send the termination requirement to an SSD internal sub-module for immediate processing so as to realize algorithm and strategy optimization.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202111234920.6A 2021-10-22 2021-10-22 SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment Pending CN113986123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111234920.6A CN113986123A (en) 2021-10-22 2021-10-22 SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111234920.6A CN113986123A (en) 2021-10-22 2021-10-22 SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment

Publications (1)

Publication Number Publication Date
CN113986123A true CN113986123A (en) 2022-01-28

Family

ID=79740559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111234920.6A Pending CN113986123A (en) 2021-10-22 2021-10-22 SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment

Country Status (1)

Country Link
CN (1) CN113986123A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870205A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Method and device for storage control and information processing method and device
CN105511799A (en) * 2014-09-26 2016-04-20 先智云端数据股份有限公司 System and method for optimizing configuration of storage equipment
CN107357408A (en) * 2017-06-30 2017-11-17 郑州云海信息技术有限公司 A kind of NVMe JOBF power-economizing methods, system and data center
CN107870869A (en) * 2016-09-28 2018-04-03 三星电子株式会社 Include the computing system of the storage device by host computer control
CN110895445A (en) * 2018-09-12 2020-03-20 华为技术有限公司 Data processing method and system
CN111914249A (en) * 2020-08-11 2020-11-10 北京珞安科技有限责任公司 Program white list generation method, program updating method and device
CN112116931A (en) * 2019-06-20 2020-12-22 西部数据技术公司 Intelligent power saving mode for Solid State Drive (SSD) systems
CN112650446A (en) * 2020-12-18 2021-04-13 济南华芯算古信息科技有限公司 Intelligent storage method, device and equipment of NVMe full flash memory system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870205A (en) * 2012-12-11 2014-06-18 联想(北京)有限公司 Method and device for storage control and information processing method and device
CN105511799A (en) * 2014-09-26 2016-04-20 先智云端数据股份有限公司 System and method for optimizing configuration of storage equipment
CN107870869A (en) * 2016-09-28 2018-04-03 三星电子株式会社 Include the computing system of the storage device by host computer control
CN107357408A (en) * 2017-06-30 2017-11-17 郑州云海信息技术有限公司 A kind of NVMe JOBF power-economizing methods, system and data center
CN110895445A (en) * 2018-09-12 2020-03-20 华为技术有限公司 Data processing method and system
CN112116931A (en) * 2019-06-20 2020-12-22 西部数据技术公司 Intelligent power saving mode for Solid State Drive (SSD) systems
CN111914249A (en) * 2020-08-11 2020-11-10 北京珞安科技有限责任公司 Program white list generation method, program updating method and device
CN112650446A (en) * 2020-12-18 2021-04-13 济南华芯算古信息科技有限公司 Intelligent storage method, device and equipment of NVMe full flash memory system

Similar Documents

Publication Publication Date Title
CN108683604B (en) Concurrent access control method, terminal device, and medium
US10868673B2 (en) Network access control based on distributed ledger
CN101976209B (en) Adapting configuration for incompatible application programs
US20230418637A1 (en) Cloud native virtual machine runtime protection
CN103309740B (en) Program starts method, device and equipment
WO2021227677A1 (en) Scene pushing method, scene executing method, scene pushing device, scene executing device, terminal, server, and system
US8370613B1 (en) Method and apparatus for automatically optimizing a startup sequence to improve system boot time
CN108449237B (en) Network performance monitoring method and device, computer equipment and storage medium
CN103581187A (en) Method and system for controlling access rights
US11544255B2 (en) Blockchain data recording method and apparatus thereof
CN108205474B (en) Memory management method, terminal device, computer apparatus, and readable storage medium
CN109413153B (en) Data crawling method and device, computer equipment and storage medium
US10838798B2 (en) Processing system for performing predictive error resolution and dynamic system configuration control
CA3128540C (en) Cache system hotspot data access method, apparatus, computer device and storage medium
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN111125688B (en) Process control method and device, electronic equipment and storage medium
CN110704095A (en) Workflow-based configuration processing method and device, computer equipment and storage medium
CN109359092B (en) File management method, desktop display method, device, terminal and medium
KR20160104668A (en) Method and system for extracting characteristic information
CN114189559A (en) Interface repeat request processing method and system based on Axios
CN113986123A (en) SSD (solid State disk) optimization management method and device based on behavior monitoring and computer equipment
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN109936528B (en) Monitoring method, device, equipment and system
CN109495432B (en) Authentication method of anonymous account and server
EP4044039A1 (en) Data access method and apparatus, and storage 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220128

RJ01 Rejection of invention patent application after publication