CN105824667A - Management method, device and system for storage equipment - Google Patents

Management method, device and system for storage equipment Download PDF

Info

Publication number
CN105824667A
CN105824667A CN201610147592.9A CN201610147592A CN105824667A CN 105824667 A CN105824667 A CN 105824667A CN 201610147592 A CN201610147592 A CN 201610147592A CN 105824667 A CN105824667 A CN 105824667A
Authority
CN
China
Prior art keywords
storage device
status data
configuration information
management parameters
sends
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
CN201610147592.9A
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.)
SiliconGo Microelectronics Co Ltd
Original Assignee
SiliconGo Microelectronics 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 SiliconGo Microelectronics Co Ltd filed Critical SiliconGo Microelectronics Co Ltd
Priority to CN201610147592.9A priority Critical patent/CN105824667A/en
Publication of CN105824667A publication Critical patent/CN105824667A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a management method for storage equipment. The management method for the storage equipment comprises the following steps: when receiving status data sent by the storage equipment, analyzing whether configuration information of the storage equipment is required to be updated or not according to the status data; when the configuration information of the storage equipment is required to be updated, sending the status data to a server for the server to determine a corresponding management parameter according to the status data; when receiving the management parameter sent by the server, updating the configuration information of the storage equipment according to the management parameter. The invention also discloses a management device and system for the storage equipment. According to the method, the device and the system, the using efficiency of the storage equipment is improved.

Description

The management method of storage device, Apparatus and system
Technical field
The present invention relates to storage device technical field, particularly relate to the management method of a kind of storage device, Apparatus and system.
Background technology
Along with electronic technology, the development of computer technology, the storage device such as USB flash disk, SSD (SolidStateDrives, solid state hard disc), SD (SecureDigitalMemoryCard, mobile phone memory card) is widely applied.In prior art, owing to the use state of storage device not detected and carrying out corresponding attended operation, when storage device is after being used for multiple times, it is possible that configuration information corresponding to storage device no longer adapts to the problem of the current use state of storage device, the service efficiency causing storage device is the highest.
Summary of the invention
Present invention is primarily targeted at and propose the management method of a kind of storage device, Apparatus and system, it is intended to solve the technical problem that the service efficiency of existing storage device is the highest.
For achieving the above object, the present invention provides the management method of a kind of storage device, the management method of described storage device to comprise the following steps:
When receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
When described storage device needs to update configuration information, send described status data to server, determine the management parameters of correspondence for described server according to described status data;
When receiving the described management parameters that described server sends, update the configuration information of described storage device according to described management parameters.
Preferably, described when receiving the status data that storage device sends, analyze described storage device according to described status data and include the need of the step updating configuration information:
When receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
When described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;
When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
Preferably, described when receiving the described management parameters that described server sends, include according to the step of the configuration information of the described management parameters described storage device of renewal:
When receiving the management parameters that described server sends, obtain the Wear-leveling algorithms comprised in described management parameters;
According to described Wear-leveling algorithms, the memory block of described storage device is carried out abrasion equilibration process.
Additionally, for achieving the above object, the present invention also proposes the managing device of a kind of storage device, and the managing device of described storage device includes:
Analyze module, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
Communication module, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Processing module, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters.
Preferably, described analysis module includes:
Comparing unit, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
Preferably, described processing module includes:
Acquiring unit, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
Additionally, for achieving the above object, the present invention also proposes the management system of a kind of storage device, and the management system of described storage device includes storage device, monitoring device and server, wherein:
Described monitoring device includes:
Analyze module, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
Communication module, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Processing module, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters;
Described server includes:
Determine module, for when receiving the status data that monitoring device sends, determine the management parameters of correspondence according to described status data;
First sending module, for sending described management parameters to described monitoring device, updates the configuration information of described storage device for described monitoring device according to described management parameters.
Preferably, described analysis module includes:
Comparing unit, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
Preferably, described processing module includes:
Acquiring unit, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
Preferably, described storage device includes:
Detection module, is used for detecting whether described storage device is in idle condition;
Second sending module, for when described storage device is in idle condition, sends the status data of described storage device to monitoring device.
The management method of the storage device that the present invention proposes, Apparatus and system, monitoring device according to the status data of storage device analyze storage device need update configuration information time, namely when the use state that the most adaptive storage device of configuration information of storage device is current, this status data is sent to server by monitoring device, server determines the management parameters of correspondence according to this status data and is fed back to monitoring device, the configuration information of storage device is updated by monitoring device according to management parameters, so that the adaptive current use state of the configuration information of storage device, improve the service efficiency of storage device.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the management method first embodiment of storage device of the present invention;
Fig. 2 be storage device of the present invention management method the second embodiment according to described status data analyze described storage device the need of update configuration information refinement schematic flow sheet;
Fig. 3 is the high-level schematic functional block diagram of the managing device first embodiment of storage device of the present invention;
Fig. 4 be storage device of the present invention managing device the second embodiment in analyze the refinement high-level schematic functional block diagram of module;
Fig. 5 be storage device of the present invention managing device the second embodiment in the refinement high-level schematic functional block diagram of processing module;
Fig. 6 is the structural framing schematic diagram of the management system first embodiment of storage device of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides the management method of a kind of storage device, with reference to the schematic flow sheet of the management method first embodiment that Fig. 1, Fig. 1 are storage device of the present invention.
In the present embodiment, the management method of this storage device comprises the following steps:
Step S10, when receiving the status data that storage device sends, analyzes described storage device the need of updating configuration information according to described status data;
In the present embodiment, the storage device that user uses connects monitoring device, it is preferable that by the I/O module of the main control module of described storage device with described monitoring device being connected, and sets up described storage device and connects described monitoring device.Wherein, described storage device includes but not limited to USB flash disk, emmc (EmbeddedMultiMediaCard, embedded memory), SSD (SolidStateDrives, solid state hard disc), SD (SecureDigitalMemoryCard, mobile phone memory card) card etc..Described storage device, after performing the operations such as read-write data, records the status data of storage device every time.Such as, described storage device after performing operation every time, and by the status data that storage device described in the main control module record of described storage device is current, described main control module is preferably control chip.Wherein, described status data includes that the memory block of described storage device reads number of times, abrasion number of times, retry number etc..When described storage device is in idle condition, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.
Such as, described storage device is previously provided with an enumerator, and the threshold value that default enumerator is corresponding.When described storage device is at the end of performing operation, and the main control module of described storage device starts described enumerator and starts counting up.When the count value of described enumerator arrives the described threshold value preset, then judge that described storage device is in idle condition.Now, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.If described enumerator performs the operations such as read-write data during counting, then described enumerator zero setting is counted again.
Described monitoring device is when receiving the status data that described storage device sends, analyze described storage device the need of updating configuration information according to described status data, namely judge the use state that the current the most adaptive described storage device of configuration information of described storage device is current.Described configuration information includes the mapping table etc. of the retaining space threshold value of described storage device, memory block physical address and logical address.Such as, if the current available retaining space of described storage device is less than retaining space threshold value, the available retaining space deficiency that described storage device is current is then described, the use state that the current the most adaptive described storage device of configuration information of described storage device is current, needs to update the configuration information of described storage device.
Step S20, when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Judge that described storage device needs to update configuration information in described monitoring device according to described status data, namely when judging the current use state of the current the most adaptive described storage device of configuration information of described storage device, described status data is sent to corresponding server by described monitoring device.Preferably, described monitoring device is set up wireless network by mixed-media network modules mixed-media with described server and is connected.Described status data, when receiving described status data, is analyzed by described server, determines the management parameters of correspondence according to described status data, namely determines the management parameters that the current use state of described storage device is corresponding.Such as, arranging corresponding memory block is reserved block, thus increases available retaining space.After the management parameters determining correspondence, described management parameters is sent to described monitoring device by described server.
Step S30, when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters.
In the present embodiment, when described monitoring device receives the described management parameters that described server sends, described storage device is safeguarded by described monitoring device according to described management parameters, is updated by configuration information current for described storage device.Such as, according to what described management parameters comprised, reserved block is set, corresponding memory block is set to reserved block, thus increases the available retaining space that described memory block is current, make the use state that the adaptive described memory module of the configuration information after the renewal of described memory module is current.
The scheme that the present embodiment provides, monitoring device according to the status data that storage device sends analyze storage device need update configuration information time, namely when the use state that the most adaptive storage device of configuration information of storage device is current, this status data is sent to server by monitoring device, server determines the management parameters of correspondence according to this status data and is fed back to monitoring device, the configuration information of storage device is updated by monitoring device according to management parameters, so that the adaptive current use state of the configuration information of storage device, improve the service efficiency of storage device.
Further, as in figure 2 it is shown, propose management method second embodiment of storage device of the present invention based on first embodiment.In the present embodiment, described step S10 includes:
Step S11, when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;The most then perform step S12;If it is not, then perform step S13;
Step S12, it is judged that described storage device needs to update configuration information;
Step S13, it is judged that described storage device need not update configuration information.
In the present embodiment, described monitoring device is previously stored with preset state data threshold.Such as, described monitoring device is previously stored with the abrasion frequency threshold value of memory block, retry frequency threshold value etc..When described monitoring device receives the status data that described storage device sends, the preset state data threshold that described status data and described monitoring device store is compared by described monitoring device, it is judged that whether described status data is more than described preset state data threshold.When the described status data received is more than described preset state data threshold, then judge that described storage device needs to update configuration information.Now, described status data is sent to described server by described monitoring device.When described status data is less than or equal to described preset state data threshold, then judge that described storage device need not update configuration information.Now, described monitoring device does not carry out response process, namely does not send described status data to described server.
Such as, the memory block abrasion number of times in the described status data that described monitoring device will receive is compared with abrasion frequency threshold value, it is judged that whether the memory block abrasion number of times received is more than described abrasion frequency threshold value.When the described memory block abrasion number of times received is more than described abrasion frequency threshold value, namely explanation memory block is worn and torn terribly, and now, the described status data comprising memory block abrasion number of times received is sent to server by described monitoring device.
Described server, when receiving the described status data that described monitoring device sends, determines the management parameters of correspondence according to described status data.Such as, described server, according to the memory block abrasion number of times in described status data, determines the Wear-leveling algorithms that storage device is corresponding.
Further, in the present embodiment, described step S30 includes:
Step a, when receiving the management parameters that described server sends, obtains the Wear-leveling algorithms comprised in described management parameters;
Step b, carries out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
When described monitoring device receives the management parameters that described server sends, as a example by the above-mentioned example enumerated, described management parameters comprises the Wear-leveling algorithms that storage device is corresponding, described monitoring device obtains the described Wear-leveling algorithms comprised in described management parameters, then according to described Wear-leveling algorithms, the memory block of described storage device is carried out abrasion equilibration process so that storage device reaches abrasion equilibration.Such as, the physical address of memory block that abrasion is severe is changed with the physical address of the memory block of light abrasion, and exchanges the storage data in memory block, meanwhile, corresponding change memory block physical address and the mapping table of logical address.By the currently used state according to storage device, storage device is optimized process, improves expiry date and the reliability of storage device work.Further, TLC (Trinary-LevelCell, multiple field stores) block severe for abrasion is converted to SLC (Single-LevelCell, single-layer type stores) block, owing to the life-span of SLC block is far longer than the life-span of TLC block, added the life-span of memory block by conversion.
Further, in the present embodiment, described status data, when receiving the status data that described monitoring device sends, is preserved by described server.Existing configuration information, by inquiring about the status data of various types of storage devices that described server preserves, can be improved when production inventory equipment by production firm with reference to described status data.
The scheme that the present embodiment provides, monitoring device is according to the Wear-leveling algorithms comprised in the management parameters received, the memory block of storage device is carried out abrasion equilibration process, by optimizing the abrasion equilibration of storage device, improve working life and the reliability of storage device, thus improve Consumer's Experience.
The present invention further provides the managing device of a kind of storage device, as it is shown on figure 3, the high-level schematic functional block diagram of the managing device first embodiment that Fig. 3 is storage device of the present invention.
In the present embodiment, the managing device of this storage device includes:
Analyze module 10, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
In the present embodiment, the storage device that user uses connects monitoring device, it is preferable that by the I/O module of the main control module of described storage device with described monitoring device being connected, and sets up described storage device and connects described monitoring device.Wherein, described storage device includes but not limited to USB flash disk, emmc (EmbeddedMultiMediaCard, embedded memory), SSD (SolidStateDrives, solid state hard disc), SD (SecureDigitalMemoryCard, mobile phone memory card) card etc..Described monitoring device includes the managing device of storage device.Described storage device, after performing the operations such as read-write data, records the status data of storage device every time.Such as, described storage device after performing operation every time, and by the status data that storage device described in the main control module record of described storage device is current, described main control module is preferably control chip.Wherein, described status data includes that the memory block of described storage device reads number of times, abrasion number of times, retry number etc..When described storage device is in idle condition, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.
Such as, described storage device is previously provided with an enumerator, and the threshold value that default enumerator is corresponding.When described storage device is at the end of performing operation, and the main control module of described storage device starts described enumerator and starts counting up.When the count value of described enumerator arrives the described threshold value preset, then judge that described storage device is in idle condition.Now, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.If described enumerator performs the operations such as read-write data during counting, then described enumerator zero setting is counted again.
Described monitoring device is when receiving the status data that described storage device sends, analyze module 10 and analyze described storage device the need of updating configuration information according to described status data, namely judge the use state that the current the most adaptive described storage device of configuration information of described storage device is current.Described configuration information includes the mapping table etc. of the retaining space threshold value of described storage device, memory block physical address and logical address.Such as, if the current available retaining space of described storage device is less than retaining space threshold value, the available retaining space deficiency that described storage device is current is then described, analyze the use state that module 10 judges that the current the most adaptive described storage device of configuration information of described storage device is current, need to update the configuration information of described storage device.
Communication module 20, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Judge that described storage device needs to update configuration information analyzing module 10 according to described status data, namely when judging the current use state of the current the most adaptive described storage device of configuration information of described storage device, described status data is sent to corresponding server by communication module 20.Described status data, when receiving described status data, is analyzed by described server, determines the management parameters of correspondence according to described status data, namely determines the management parameters that the current use state of described storage device is corresponding.Such as, arranging corresponding memory block is reserved block, thus increases available retaining space.After the management parameters determining correspondence, described management parameters is sent to described monitoring device by described server.
Processing module 30, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters.
In the present embodiment, when described monitoring device receives the described management parameters that described server sends, described storage device is safeguarded by processing module 30 according to described management parameters, is updated by configuration information current for described storage device.Such as, according to what described management parameters comprised, reserved block is set, corresponding memory block is set to reserved block, thus increases the available retaining space that described memory block is current, make the use state that the adaptive described memory module of the configuration information after the renewal of described memory module is current.
The scheme that the present embodiment provides, analyze module 10 according to the status data that storage device sends analyze storage device need renewal configuration information time, namely when the use state that the most adaptive storage device of configuration information of storage device is current, this status data is sent to server by communication module 20, server determines the management parameters of correspondence according to this status data and is fed back to monitoring device, the configuration information of storage device is updated by processing module 30 according to management parameters, so that the adaptive current use state of the configuration information of storage device, improve the service efficiency of storage device.
Further, as shown in Figure 4, managing device second embodiment of storage device of the present invention is proposed based on first embodiment.In the present embodiment, described analysis module 10 includes:
Comparing unit 11, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit 12, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
In the present embodiment, described monitoring device is previously stored with preset state data threshold.Such as, described monitoring device is previously stored with the abrasion frequency threshold value of memory block, retry frequency threshold value etc..When described monitoring device receives the status data that described storage device sends, the preset state data threshold that described status data and described monitoring device store is compared by comparing unit 11, it is judged that whether described status data is more than described preset state data threshold.When the described status data received is more than described preset state data threshold, then judging unit 12 judges that described storage device needs to update configuration information.Now, described status data is sent to described server by communication module 20.When described status data is less than or equal to described preset state data threshold, then judging unit 12 judges that described storage device need not update configuration information.Now, communication module 20 does not carry out response process, namely does not send described status data to described server.
Such as, the memory block abrasion number of times in the described status data that comparing unit 11 will receive is compared with abrasion frequency threshold value, it is judged that whether the memory block abrasion number of times received is more than described abrasion frequency threshold value.When the described memory block abrasion number of times received is more than described abrasion frequency threshold value, namely illustrate that memory block is worn and torn terribly, judging unit 12 judges that described storage device needs to update configuration information, now, the described status data comprising memory block abrasion number of times received is sent to server by communication module 20.
Described server, when receiving the described status data that described monitoring device sends, determines the management parameters of correspondence according to described status data.Such as, described server, according to the memory block abrasion number of times in described status data, determines the Wear-leveling algorithms that storage device is corresponding.
Further, as it is shown in figure 5, in the present embodiment, described processing module 30 includes:
Acquiring unit 31, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit 32, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
When described monitoring device receives the management parameters that described server sends, as a example by the above-mentioned example enumerated, described management parameters comprises the Wear-leveling algorithms that storage device is corresponding, acquiring unit 31 obtains the described Wear-leveling algorithms comprised in described management parameters, then processing unit 32 carries out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device so that storage device reaches abrasion equilibration.Such as, the physical address of memory block that abrasion is severe is changed with the physical address of the memory block of light abrasion, and exchanges the storage data in memory block, meanwhile, corresponding change memory block physical address and the mapping table of logical address.By the currently used state according to storage device, storage device is optimized process, improves expiry date and the reliability of storage device work.Further, TLC (Trinary-LevelCell, multiple field stores) block severe for abrasion is converted to SLC (Single-LevelCell, single-layer type stores) block, owing to the life-span of SLC block is far longer than the life-span of TLC block, added the life-span of memory block by conversion.
Further, in the present embodiment, described status data, when receiving the status data that described monitoring device sends, is preserved by described server.Existing configuration information, by inquiring about the status data of various types of storage devices that described server preserves, can be improved when production inventory equipment by production firm with reference to described status data.
The scheme that the present embodiment provides, processing unit 32 is according to the Wear-leveling algorithms comprised in the management parameters received, the memory block of storage device is carried out abrasion equilibration process, by optimizing the abrasion equilibration of storage device, improve working life and the reliability of storage device, thus improve Consumer's Experience.
The present invention further provides the management system of a kind of storage device, with reference to the structural framing schematic diagram of the management system first embodiment that Fig. 6, Fig. 6 are storage device of the present invention.
In the present embodiment, the management system of this storage device includes storage device, monitoring device and server, wherein:
Described monitoring device includes:
Analyze module, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
Communication module, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Processing module, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters;
Described server includes:
Determine module, for when receiving the status data that monitoring device sends, determine the management parameters of correspondence according to described status data;
First sending module, for sending described management parameters to described monitoring device, updates the configuration information of described storage device for described monitoring device according to described management parameters.
In the present embodiment, the management system of storage device includes storage device, monitoring device and server.Described storage device is connected with described monitoring device, and described monitoring device is also connected with described server.Preferably, described storage device is connected with the I/O module of described monitoring device by main control module, sets up described storage device and connects described monitoring device;Described monitoring device sets up wireless connections by mixed-media network modules mixed-media and described server.Wherein, described storage device includes but not limited to USB flash disk, emmc (EmbeddedMultiMediaCard, embedded memory), SSD (SolidStateDrives, solid state hard disc), SD (SecureDigitalMemoryCard, mobile phone memory card) card etc..
Described storage device, after performing the operations such as read-write data, records the status data of storage device every time.Such as, described storage device after performing operation every time, and by the status data that storage device described in the main control module record of described storage device is current, described main control module is preferably control chip.Wherein, described status data includes that the memory block of described storage device reads number of times, abrasion number of times, retry number etc..When described storage device is in idle condition, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.
Such as, described storage device is previously provided with an enumerator, and the threshold value that default enumerator is corresponding.When described storage device is at the end of performing operation, and the main control module of described storage device starts described enumerator and starts counting up.When the count value of described enumerator arrives the described threshold value preset, then judge that described storage device is in idle condition.Now, the current status data of the described storage device of record is sent to described monitoring device by described storage device by described main control module.If described enumerator performs the operations such as read-write data during counting, then described enumerator zero setting is counted again.
Described monitoring device is when receiving the status data that described storage device sends, analyze module and analyze described storage device the need of updating configuration information according to described status data, namely judge the use state that the current the most adaptive described storage device of configuration information of described storage device is current.Described configuration information includes the mapping table etc. of the retaining space threshold value of described storage device, memory block physical address and logical address.Such as, if the current available retaining space of described storage device is less than retaining space threshold value, the available retaining space deficiency that described storage device is current is then described, analyze the use state that module judges that the current the most adaptive described storage device of configuration information of described storage device is current, need to update the configuration information of described storage device.
Judge that described storage device needs to update configuration information analyzing module according to described status data, namely when judging the current use state of the current the most adaptive described storage device of configuration information of described storage device, described status data is sent to described server by communication module.Described server, when receiving described status data, determines that described status data is analyzed by module, determines the management parameters of correspondence according to described status data, namely determines the management parameters that the current use state of described storage device is corresponding.Such as, arranging corresponding memory block is reserved block, thus increases available retaining space.After determining the management parameters that module determines correspondence, described management parameters is sent to described monitoring device by the first sending module.
When described monitoring device receives the described management parameters that the first sending module sends, described storage device is safeguarded by processing module according to described management parameters, is updated by configuration information current for described storage device.Such as, according to what described management parameters comprised, reserved block is set, corresponding memory block is set to reserved block, thus increases the available retaining space that described memory block is current, make the use state that the adaptive described memory module of the configuration information after the renewal of described memory module is current.
The scheme that the present embodiment provides, analyze module according to the status data that storage device sends analyze storage device need renewal configuration information time, namely when the use state that the most adaptive storage device of configuration information of storage device is current, this status data is sent to server by communication module, determine that module determines the management parameters of correspondence according to this status data, and fed back to monitoring device by the first sending module, the configuration information of storage device is updated by processing module according to management parameters, so that the adaptive current use state of the configuration information of storage device, improve the service efficiency of storage device.
Further, management system second embodiment of storage device of the present invention is proposed based on first embodiment.In the present embodiment, described analysis module includes:
Comparing unit, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
In the present embodiment, described monitoring device is previously stored with preset state data threshold.Such as, described monitoring device is previously stored with the abrasion frequency threshold value of memory block, retry frequency threshold value etc..When described monitoring device receives the status data that described storage device sends, the preset state data threshold that described status data and described monitoring device store is compared by comparing unit, it is judged that whether described status data is more than described preset state data threshold.When the described status data received is more than described preset state data threshold, then judging unit judges that described storage device needs to update configuration information.Now, described status data is sent to described server by communication module.When described status data is less than or equal to described preset state data threshold, then judging unit judges that described storage device need not update configuration information.Now, communication module does not carry out response process, namely does not send described status data to described server.
Such as, the memory block abrasion number of times in the described status data that comparing unit will receive is compared with abrasion frequency threshold value, it is judged that whether the memory block abrasion number of times received is more than described abrasion frequency threshold value.When the described memory block abrasion number of times received is more than described abrasion frequency threshold value, namely illustrate that memory block is worn and torn terribly, judging unit judges that described storage device needs to update configuration information, now, the described status data comprising memory block abrasion number of times received is sent to server by communication module.
Described server, when receiving the described status data that described monitoring device sends, determines that module determines the management parameters of correspondence according to described status data.Such as, determine that module, according to the memory block abrasion number of times in described status data, determines the Wear-leveling algorithms that storage device is corresponding.
Further, in the present embodiment, described processing module includes:
Acquiring unit, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
When described monitoring device receives the management parameters that described server sends, as a example by the above-mentioned example enumerated, described management parameters comprises the Wear-leveling algorithms that storage device is corresponding, acquiring unit obtains the described Wear-leveling algorithms comprised in described management parameters, then processing unit carries out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device so that storage device reaches abrasion equilibration.Such as, the physical address of memory block that abrasion is severe is changed with the physical address of the memory block of light abrasion, and exchanges the storage data in memory block, meanwhile, corresponding change memory block physical address and the mapping table of logical address.By the currently used state according to storage device, storage device is optimized process, improves expiry date and the reliability of storage device work.Further, TLC (Trinary-LevelCell, multiple field stores) block severe for abrasion is converted to SLC (Single-LevelCell, single-layer type stores) block, owing to the life-span of SLC block is far longer than the life-span of TLC block, added the life-span of memory block by conversion.
Further, in the present embodiment, described storage device includes:
Detection module, is used for detecting whether described storage device is in idle condition;
Second sending module, for when described storage device is in idle condition, sends the status data of described storage device to monitoring device.
In the present embodiment, described storage device, after performing the operations such as read-write data, records the status data of storage device every time.Preferably, by status data that storage device described in the main control module record of described storage device is current.Recording after the current status data of described storage device completes, detection module detects whether described storage device is in idle condition.Such as, described storage device is previously provided with an enumerator, and the threshold value that default enumerator is corresponding.When described storage device is at the end of performing operation, and the main control module of described storage device starts described enumerator and starts counting up.When the count value of described enumerator arrives the described threshold value preset, then detection module judges that described storage device is in idle condition.When the described storage device of detection module detection is in idle condition, the current status data of the described storage device of record is sent to described monitoring device by the second sending module.
Further, in the present embodiment, described status data, when receiving the status data that described monitoring device sends, is preserved by described server.Existing configuration information, by inquiring about the status data of various types of storage devices that described server preserves, can be improved when production inventory equipment by production firm with reference to described status data.
The scheme that the present embodiment provides, processing unit is according to the Wear-leveling algorithms comprised in the management parameters received, the memory block of storage device is carried out abrasion equilibration process, by optimizing the abrasion equilibration of storage device, improve working life and the reliability of storage device, thus improve Consumer's Experience.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (10)

1. the management method of a storage device, it is characterised in that the management method of described storage device comprises the following steps:
When receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
When described storage device needs to update configuration information, send described status data to server, determine the management parameters of correspondence for described server according to described status data;
When receiving the described management parameters that described server sends, update the configuration information of described storage device according to described management parameters.
2. the management method of storage device as claimed in claim 1, it is characterised in that described when receiving the status data that storage device sends, analyzes described storage device according to described status data and includes the need of the step updating configuration information:
When receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
When described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;
When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
3. the management method of storage device as claimed in claim 1 or 2, it is characterised in that described when receiving the described management parameters that described server sends, includes according to the step of the configuration information of the described management parameters described storage device of renewal:
When receiving the management parameters that described server sends, obtain the Wear-leveling algorithms comprised in described management parameters;
According to described Wear-leveling algorithms, the memory block of described storage device is carried out abrasion equilibration process.
4. the managing device of a storage device, it is characterised in that the managing device of described storage device includes:
Analyze module, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
Communication module, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Processing module, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters.
5. the managing device of storage device as claimed in claim 4, it is characterised in that described analysis module includes:
Comparing unit, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
6. the managing device of the storage device as described in claim 4 or 5, it is characterised in that described processing module includes:
Acquiring unit, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
7. the management system of a storage device, it is characterised in that the management system of described storage device includes storage device, monitoring device and server, wherein:
Described monitoring device includes:
Analyze module, for when receiving the status data that storage device sends, analyze described storage device the need of updating configuration information according to described status data;
Communication module, for when described storage device needs to update configuration information, sends described status data to server, determines the management parameters of correspondence for described server according to described status data;
Processing module, for when receiving the described management parameters that described server sends, updates the configuration information of described storage device according to described management parameters;
Described server includes:
Determine module, for when receiving the status data that monitoring device sends, determine the management parameters of correspondence according to described status data;
First sending module, for sending described management parameters to described monitoring device, updates the configuration information of described storage device for described monitoring device according to described management parameters.
8. the management system of storage device as claimed in claim 7, it is characterised in that described analysis module includes:
Comparing unit, for when receiving the status data that storage device sends, whether status data described in comparison is more than preset state data threshold;
Judging unit, for when described status data is more than described preset state data threshold, it is judged that described storage device needs to update configuration information;When described status data is less than or equal to described preset state data threshold, it is judged that described storage device need not update configuration information.
9. the management system of storage device as claimed in claim 7, it is characterised in that described processing module includes:
Acquiring unit, for when receiving the management parameters that described server sends, obtaining the Wear-leveling algorithms comprised in described management parameters;
Processing unit, for carrying out abrasion equilibration process according to described Wear-leveling algorithms to the memory block of described storage device.
10. the management system of the storage device as described in any one of claim 7-9, it is characterised in that described storage device includes:
Detection module, is used for detecting whether described storage device is in idle condition;
Second sending module, for when described storage device is in idle condition, sends the status data of described storage device to monitoring device.
CN201610147592.9A 2016-03-15 2016-03-15 Management method, device and system for storage equipment Pending CN105824667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610147592.9A CN105824667A (en) 2016-03-15 2016-03-15 Management method, device and system for storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610147592.9A CN105824667A (en) 2016-03-15 2016-03-15 Management method, device and system for storage equipment

Publications (1)

Publication Number Publication Date
CN105824667A true CN105824667A (en) 2016-08-03

Family

ID=56987303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610147592.9A Pending CN105824667A (en) 2016-03-15 2016-03-15 Management method, device and system for storage equipment

Country Status (1)

Country Link
CN (1) CN105824667A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918526A (en) * 2016-10-05 2018-04-17 三星电子株式会社 Electronic device including observation circuit and the storage device being included in it
CN108595117A (en) * 2018-03-29 2018-09-28 记忆科技(深圳)有限公司 The smooth method of safety during a kind of adjustment of dynamic capacity
CN109358811A (en) * 2018-09-30 2019-02-19 深圳市得微电子有限责任公司 Storage device management method and device and readable storage medium
CN109407986A (en) * 2018-10-17 2019-03-01 深圳市硅格半导体有限公司 Method, system, server and the storage medium of real-time update equipment operating parameter
CN116166194A (en) * 2023-01-16 2023-05-26 广州辰创科技发展有限公司 Equipment guarantee maintenance and management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064795A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Control method of memory device and relevant device
CN105204784A (en) * 2015-10-16 2015-12-30 联想(北京)有限公司 Monitoring method and electronic equipment
CN105335100A (en) * 2015-09-29 2016-02-17 华为技术有限公司 Method and device for processing data, and flash memory device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064795A (en) * 2012-12-31 2013-04-24 华为技术有限公司 Control method of memory device and relevant device
CN105335100A (en) * 2015-09-29 2016-02-17 华为技术有限公司 Method and device for processing data, and flash memory device
CN105204784A (en) * 2015-10-16 2015-12-30 联想(北京)有限公司 Monitoring method and electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918526A (en) * 2016-10-05 2018-04-17 三星电子株式会社 Electronic device including observation circuit and the storage device being included in it
CN108595117A (en) * 2018-03-29 2018-09-28 记忆科技(深圳)有限公司 The smooth method of safety during a kind of adjustment of dynamic capacity
CN108595117B (en) * 2018-03-29 2021-04-23 记忆科技(深圳)有限公司 Method for safety and smoothness in dynamic capacity adjustment process
CN109358811A (en) * 2018-09-30 2019-02-19 深圳市得微电子有限责任公司 Storage device management method and device and readable storage medium
CN109407986A (en) * 2018-10-17 2019-03-01 深圳市硅格半导体有限公司 Method, system, server and the storage medium of real-time update equipment operating parameter
CN109407986B (en) * 2018-10-17 2021-09-10 深圳市硅格半导体有限公司 Method, system, server and storage medium for updating equipment operation parameters in real time
CN116166194A (en) * 2023-01-16 2023-05-26 广州辰创科技发展有限公司 Equipment guarantee maintenance and management method and system
CN116166194B (en) * 2023-01-16 2023-11-03 广州辰创科技发展有限公司 Equipment guarantee maintenance and management method and system

Similar Documents

Publication Publication Date Title
CN105824667A (en) Management method, device and system for storage equipment
CN103646208B (en) Monitoring method and device of eMMC
CN109240886B (en) Exception handling method, exception handling device, computer equipment and storage medium
WO2017101606A1 (en) System and method for collecting and analyzing data
CN110661863B (en) Request processing method and device, electronic equipment and storage medium
CN104850301A (en) Method and system for classifying application icons on system desktop
CN109002424B (en) File format conversion method and device, computer equipment and storage medium
US20150121344A1 (en) Method, apparatus and computer readable medium for automatic debugging and error prevention
CN103268183A (en) Processing method and device for information report
CN108228339B (en) Memory recovery method and device, terminal equipment and computer readable storage medium
CN106980402B (en) Method and device for judging reset calibration and terminal
CN108667740A (en) The method, apparatus and system of flow control
US9916220B2 (en) Smart logging of trace data for storage systems
CN101510156A (en) Information system resource recovery method and device
CN105848114A (en) Multimedia message processing method and mobile terminal
CN105893150B (en) Interface calling frequency control method and device and interface calling request processing method and device
CN108388616A (en) Transacter, method, system and computer readable storage medium
CN104268231B (en) A kind of file access method, device and Intelligent File System
CN105208516A (en) Bluetooth paging method and device
CN105224217A (en) A kind of transmission method of data and terminal thereof
CN106411579A (en) Run-time error information processing method, terminal and system
CN100561953C (en) A kind of method of recording and diagnosing data
CN111176568B (en) Data analysis method and device
CN109598525A (en) Data processing method and device
CN107111762A (en) Fingerprint identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Units 05-2 and 06-08, 6th floor, Changhong Science and Technology Building, 18 Science and Technology South 12 Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen SiliconGo Semiconductor Co., Ltd.

Address before: Units 05-2 and 06-08, 6th floor, Changhong Science and Technology Building, 18 Science and Technology South 12 Road, Nanshan District, Shenzhen City, Guangdong Province, 518000

Applicant before: SILICONGO MICROELECTRONICS CO., LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803

RJ01 Rejection of invention patent application after publication