CN107301023A - A kind of solid-state disk configuration information management method and device - Google Patents

A kind of solid-state disk configuration information management method and device Download PDF

Info

Publication number
CN107301023A
CN107301023A CN201710517177.2A CN201710517177A CN107301023A CN 107301023 A CN107301023 A CN 107301023A CN 201710517177 A CN201710517177 A CN 201710517177A CN 107301023 A CN107301023 A CN 107301023A
Authority
CN
China
Prior art keywords
logic subregion
configuration information
subregion
internal logic
user data
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
CN201710517177.2A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710517177.2A priority Critical patent/CN107301023A/en
Publication of CN107301023A publication Critical patent/CN107301023A/en
Pending legal-status Critical Current

Links

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
    • 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/0644Management of space entities, e.g. partitions, extents, pools
    • 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)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A kind of solid-state disk configuration information management method of disclosure and device.The user data that the configuration information of the solid-state disk got and user issue is respectively stored in solid-state disk and pre-established in internal logic subregion and external logic subregion by this method, and carries out unified addressing to internal logical partition and external logic subregion.So, user can be managed collectively based on addressing address to configuration information and user data.

Description

A kind of solid-state disk configuration information management method and device
Technical field
The application is related to computer realm, more specifically to a kind of solid-state disk configuration information management method and device.
Background technology
Different from disk of the tradition based on hard disk, solid-state disk uses NandFlash media, and observes NVMe agreements, by In the requirement of the characteristic and NVMe agreements of Flash media, solid-state disk, which needs to store, includes Flash configuration informations, Namespace letters Breath, LBA range information, ErrorLog information, SMART information, firmware FW information, and other miscellaneous informations etc..Above- mentioned information Need not stop read-write in solid-state disk running, how effectively to manage these configuration informations, solution is needed badly as those skilled in the art Certainly the problem of.
The content of the invention
In view of this, the application provides a kind of solid-state disk configuration information management method and device, and solid-state disk is matched somebody with somebody with realizing The management of confidence breath.
To achieve these goals, it is proposed that scheme it is as follows:
A kind of solid-state disk configuration information management method, including:
The user data that the configuration information and user for obtaining solid-state disk are issued;
Internal logic subregion and external logic subregion are set up in the solid-state disk, and to the internal logic subregion and institute State external logic subregion and carry out unified addressing;
Wherein, the internal logic subregion is externally invisible, and the external logic subregion is externally visible;
The configuration information is stored in the internal logic subregion, the user data is stored in the external logic Subregion, to realize the unified management to the configuration information and the user data.
It is preferred that, the internal logic subregion and the external logic subregion carry out unified addressing, including:
Determine the initial address and length of the internal logic subregion;
According to the initial address and length of the internal logic subregion, the initial address of the external logic subregion is calculated;
Wherein, the initial address of the external logic subregion be equal to the internal logic subregion initial address with it is described interior The sum of portion's logical partition length.
It is preferred that, it is described to set up internal logic subregion and external logic subregion in the solid-state disk, including:
Calculate the size of the configuration information and the size of the user data;
The length of the internal logic subregion is determined according to the size of the configuration information, according to the big of the user data The small size for determining the external logic subregion, to set up the internal logic subregion and the external logic subregion.
A kind of solid-state disk configuration information management device, including:
Information acquisition unit, the user data that configuration information and user for obtaining solid-state disk are issued;
Logical partition sets up unit, for setting up internal logic subregion and external logic subregion in the solid-state disk, and Unified addressing is carried out to the internal logic subregion and the external logic subregion;
Wherein, the internal logic subregion is externally invisible, and the external logic subregion is externally visible;
Memory cell, for the configuration information to be stored in into the internal logic subregion, the user data is stored In the external logic subregion, to realize the unified management to the configuration information and the user data.
It is preferred that, the logical partition, which sets up unit, to be included:
Computing module, for calculating the size of the configuration information and the size of the user data;
Logical partition length determination modul, is used for, for determining the internal logic according to the size of the configuration information The length of subregion, the size of the external logic subregion is determined according to the size of the user data;
First starting address determination module, the initial address for determining the internal logic subregion;
Second initial address determining module, for the initial address and length according to the internal logic subregion, calculates institute State the initial address of external logic subregion;
Wherein, the initial address of the external logic subregion be equal to the internal logic subregion initial address with it is described interior The sum of portion's logical partition length.
Through as shown from the above technical solution, a kind of solid-state disk configuration information management method of disclosure and device.The party The user data that the configuration information of the solid-state disk got and user issue is respectively stored in solid-state disk and built in advance by method In vertical internal logic subregion and external logic subregion, and unified addressing is carried out to internal logical partition and external logic subregion.This Sample, user can be managed collectively based on addressing address to configuration information and user data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 shows a kind of flow signal of solid-state disk configuration information management method disclosed in one embodiment of the invention Figure;
Fig. 2 shows that a kind of structure of internal logic subregion and external logic subregion is shown disclosed in one embodiment of the invention It is intended to;
Fig. 3 shows a kind of structural representation of solid-state disk configuration information management device disclosed in another embodiment of the present invention Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Show that a kind of flow of solid-state disk configuration information management method is shown disclosed in one embodiment of the invention referring to Fig. 1 It is intended to.
As shown in Figure 1, the present invention includes:
S101:The user data that the configuration information and user for obtaining solid-state disk are issued.
Solid-state disk Typical Disposition information includes namespace information, LBA range information, ErrorLog information, SMART letters Breath, firmware information, and other miscellaneous informations.
S102:Internal logic subregion and external logic subregion are set up in the solid-state disk, and to the internal logic point Area and the external logic subregion carry out unified addressing.
Specifically, the size of configuration information and user data is calculated first, to determine internal logic subregion and external logic The length of subregion.And the size of the user data;
And then, the initial address of internal logic subregion is determined, and patrol according to the initial address and inside of internal logic subregion The length for collecting subregion determines the initial address of external logic subregion.
Wherein, the initial address of the external logic subregion be equal to the internal logic subregion initial address with it is described interior The sum of portion's logical partition length.A kind of internal logic subregion disclosed by the invention and external logic subregion are shown referring to Fig. 2 Structural representation.As shown in Figure 2, the termination address of the internal logic subregion is the initial address of external logic subregion, that is, is realized The unified addressing of internal logic subregion and external logic subregion.
It should be noted that the internal logic subregion is the invisible logical partition of user in the present embodiment, outside is patrolled It is the visible logical partition of user to collect subregion.
S103:The configuration information is stored in the internal logic subregion, the user data is stored in described outer Portion's logical partition, to realize the unified management to the configuration information and the user data.
Through as shown from the above technical solution, a kind of solid-state disk configuration information management method of disclosure.This method will be obtained The user data that the configuration information for the solid-state disk got and user issue, which is respectively stored in solid-state disk, pre-establishes inside In logical partition and external logic subregion, and unified addressing is carried out to internal logical partition and external logic subregion.So, user Configuration information and user data can be managed collectively based on addressing address.
A kind of structure of solid-state disk configuration information management device disclosed in another embodiment of the present invention is shown referring to Fig. 3 Schematic diagram.
The device includes:Information acquisition unit 1, logical partition set up unit 2 and memory cell 3.
Wherein, information acquisition unit 1.The user data issued for the configuration information and user that obtain solid-state disk.
Logical partition sets up unit 2, for setting up internal logic subregion and external logic subregion in the solid-state disk, and Unified addressing is carried out to the internal logic subregion and the external logic subregion.
Include specifically, the logical partition sets up unit:Computing module 21, logical partition length determination modul 22, The one starting initial address determining module 24 of address determination module 23 and second.
Wherein, computing module 21, for calculating the size of the configuration information and the size of the user data.
Logical partition length determination modul 22 is used to determine the internal logic subregion according to the size of the configuration information Length, the size of the external logic subregion is determined according to the size of the user data.
First starting address determination module 23 is used for the initial address for determining the internal logic subregion.
Further, the second initial address determining module 24 is according to the initial address and length of the internal logic subregion, meter Calculate the initial address of the external logic subregion.
Wherein, the initial address of the external logic subregion be equal to the internal logic subregion initial address with it is described interior The sum of portion's logical partition length.
Wherein, the internal logic subregion is externally invisible, and the external logic subregion is externally visible.
Memory cell 3, for the configuration information to be stored in into the internal logic subregion, the user data is stored In the external logic subregion, to realize the unified management to the configuration information and the user data.
It should be noted that the system embodiment is corresponding with embodiment of the method, its implementation procedure is identical with principle is performed, Therefore not to repeat here.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other Between the difference of embodiment, each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (5)

1. a kind of solid-state disk configuration information management method, it is characterised in that including:
The user data that the configuration information and user for obtaining solid-state disk are issued;
Set up internal logic subregion and external logic subregion in the solid-state disk, and to the internal logic subregion and described outer Portion's logical partition carries out unified addressing;
Wherein, the internal logic subregion is externally invisible, and the external logic subregion is externally visible;
The configuration information is stored in the internal logic subregion, the user data is stored in the external logic point Area, to realize the unified management to the configuration information and the user data.
2. according to the method described in claim 1, it is characterised in that the internal logic subregion and the external logic subregion enter Row unified addressing, including:
Determine the initial address and length of the internal logic subregion;
According to the initial address and length of the internal logic subregion, the initial address of the external logic subregion is calculated;
Wherein, the initial address of the external logic subregion is patrolled equal to the initial address of the internal logic subregion with the inside Collect the sum of partition length.
3. according to the method described in claim 1, it is characterised in that it is described set up in the solid-state disk internal logic subregion and External logic subregion, including:
Calculate the size of the configuration information and the size of the user data;
The length of the internal logic subregion is determined according to the size of the configuration information, it is true according to the size of the user data The size of the fixed external logic subregion, to set up the internal logic subregion and the external logic subregion.
4. a kind of solid-state disk configuration information management device, it is characterised in that including:
Information acquisition unit, the user data that configuration information and user for obtaining solid-state disk are issued;
Logical partition sets up unit, for setting up internal logic subregion and external logic subregion in the solid-state disk, and to institute State internal logic subregion and the external logic subregion carries out unified addressing;
Wherein, the internal logic subregion is externally invisible, and the external logic subregion is externally visible;
Memory cell, for the configuration information to be stored in into the internal logic subregion, institute is stored in by the user data External logic subregion is stated, to realize the unified management to the configuration information and the user data.
5. device according to claim 4, it is characterised in that the logical partition, which sets up unit, to be included:
Computing module, for calculating the size of the configuration information and the size of the user data;
Logical partition length determination modul, is used for, for determining the internal logic subregion according to the size of the configuration information Length, the size of the external logic subregion is determined according to the size of the user data;
First starting address determination module, the initial address for determining the internal logic subregion;
Second initial address determining module, for the initial address and length according to the internal logic subregion, calculates described outer The initial address of portion's logical partition;
Wherein, the initial address of the external logic subregion is patrolled equal to the initial address of the internal logic subregion with the inside Collect the sum of partition length.
CN201710517177.2A 2017-06-29 2017-06-29 A kind of solid-state disk configuration information management method and device Pending CN107301023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710517177.2A CN107301023A (en) 2017-06-29 2017-06-29 A kind of solid-state disk configuration information management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710517177.2A CN107301023A (en) 2017-06-29 2017-06-29 A kind of solid-state disk configuration information management method and device

Publications (1)

Publication Number Publication Date
CN107301023A true CN107301023A (en) 2017-10-27

Family

ID=60136017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710517177.2A Pending CN107301023A (en) 2017-06-29 2017-06-29 A kind of solid-state disk configuration information management method and device

Country Status (1)

Country Link
CN (1) CN107301023A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446921A (en) * 2008-12-23 2009-06-03 青岛海信宽带多媒体技术股份有限公司 Dynamic storage method of Flash memory
CN102722516A (en) * 2012-01-17 2012-10-10 晨星软件研发(深圳)有限公司 NAND Flash writing file-orientated generating method and corresponding device
CN102968389A (en) * 2012-10-30 2013-03-13 记忆科技(深圳)有限公司 Storage device and storage method based on multi-level flash memory cell
CN103473321A (en) * 2013-09-12 2013-12-25 华为技术有限公司 Database management method and system
CN103530578A (en) * 2013-10-18 2014-01-22 武汉大学 Method for constructing STPM of android system
CN103530236A (en) * 2013-10-21 2014-01-22 华为技术有限公司 Method and device for obtaining hybrid hard disk
US20150022544A1 (en) * 2013-07-16 2015-01-22 Mckesson Financial Holdings Method, apparatus, and computer program product for dynamically displaying graphical and textual overlays on geospatial arrangements
CN105138292A (en) * 2015-09-07 2015-12-09 四川神琥科技有限公司 Disk data reading method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446921A (en) * 2008-12-23 2009-06-03 青岛海信宽带多媒体技术股份有限公司 Dynamic storage method of Flash memory
CN102722516A (en) * 2012-01-17 2012-10-10 晨星软件研发(深圳)有限公司 NAND Flash writing file-orientated generating method and corresponding device
CN102968389A (en) * 2012-10-30 2013-03-13 记忆科技(深圳)有限公司 Storage device and storage method based on multi-level flash memory cell
US20150022544A1 (en) * 2013-07-16 2015-01-22 Mckesson Financial Holdings Method, apparatus, and computer program product for dynamically displaying graphical and textual overlays on geospatial arrangements
CN103473321A (en) * 2013-09-12 2013-12-25 华为技术有限公司 Database management method and system
CN103530578A (en) * 2013-10-18 2014-01-22 武汉大学 Method for constructing STPM of android system
CN103530236A (en) * 2013-10-21 2014-01-22 华为技术有限公司 Method and device for obtaining hybrid hard disk
CN105138292A (en) * 2015-09-07 2015-12-09 四川神琥科技有限公司 Disk data reading method

Similar Documents

Publication Publication Date Title
US10229129B2 (en) Method and apparatus for managing time series database
CN104298680B (en) Data statistical approach and data statistics device
US20160283129A1 (en) Method, apparatus, and system for calculating identification threshold to distinguish cold data and hot data
CN103902004B (en) Charging remaining time calculation method and device and mobile equipment
US20130073787A1 (en) Faster tree flattening for a system having non-volatile memory
CN104182176B (en) A kind of rapid volume-expanding method of RAID RAID5
CN104182508A (en) Data processing method and data processing device
CN101963912A (en) Implementation method for storing and checking hardware configuration information of system
WO2024046213A1 (en) Method and apparatus for caching blocks of redundant array of independent disks, and device and readable medium
CN103383690A (en) Distributed data storage method and system
CN104699424A (en) Page hot degree based heterogeneous memory management method
CN109521962A (en) A kind of metadata query method, apparatus, equipment and computer readable storage medium
CN106131641A (en) A kind of barrage control method, system and Android intelligent television
CN107315657A (en) A kind of method and device of data backup
Li et al. Efficient implementation of a multi-dimensional index structure over flash memory storage systems
CN103473268A (en) Linear element spatial index construction method and system and retrieval method and system thereof
CN107301023A (en) A kind of solid-state disk configuration information management method and device
CN107678977A (en) The reading/writing method and device of a kind of counter
CN104536962A (en) Data query method and data query device used in embedded system
CN103176753B (en) Storing device and data managing method thereof
CN103116640B (en) FAT file system format method and device
CN103209212B (en) Based on the data cache method in the Web network management client of RIA and system
CN105095478B (en) The method and device of the creation time of file in a kind of acquisition distributed file system
CN108280028B (en) Method for realizing load record of intelligent electric energy meter based on dynamic allocation
CN102306247A (en) Network customer service and pass management system based on doctor on-line interaction

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171027