CN105159843A - Multichannel management method and system based on super block - Google Patents
Multichannel management method and system based on super block Download PDFInfo
- Publication number
- CN105159843A CN105159843A CN201510680618.1A CN201510680618A CN105159843A CN 105159843 A CN105159843 A CN 105159843A CN 201510680618 A CN201510680618 A CN 201510680618A CN 105159843 A CN105159843 A CN 105159843A
- Authority
- CN
- China
- Prior art keywords
- block
- physical block
- physical
- logical block
- logical
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a multichannel management method and system based on a super block. The method comprises: binding corresponding physical blocks on various channels at the same position as a logic block, and obtaining various logic blocks corresponding to positions, respectively; and distributing the physical blocks from the logic blocks according to a preset rule as responding to a physical block acquisition instruction. The physical blocks on all the channels at the same position are bound as one logic block; the management unit of the blocks is based on the logic block rather than the physical block; during scheduling, in the units of the logic blocks, the various physical blocks in each logic block are distributed; the hardware resource needed by multichannel management is a fixed value, and although the number of NandFlash channels is increased, the cost is not increased; as a result, multichannel behaviors can be managed at a low cost and high efficiency.
Description
Technical field
The present invention relates to embedded memory field, particularly relate to a kind of hyperchannel based on superblock management method and system.
Background technology
EMMC (EmbeddedMultiMediaCard) ordered by MMC association, mainly for the embedded memory standard specification of the product such as mobile phone or panel computer.A clear superiority of EMMC is integrated with a controller in a package, and it provides standard interface and manages flash memory, makes cell phone manufacturer just can be absorbed in the other parts of product development, and shorten the time releasing product to market.Along with the development of EMMC technology, the speed goes of EMMC interface is fast, and up-to-date EMMC5.1 readwrite performance reaches 400MB/s.Due to the lifting of EMMC interface rate, the framework of EMMC is more and more partial to use and is supported that multichannel NandFlash is to improve the bandwidth of overall NandFlash.
Now general algorithm is: block-based management algorithm.The core thinking of total algorithm is manage separately each physical block of each passage.But along with the increase of NandFlash port number, in order to manage the behavior of the NandFlash of each passage, the firmware management cost of EMMC also just increases thereupon.And in order to enable hyperchannel NandFlash walk abreast, need to use multiclass to be similar to the pattern of multitask to manage the NandFlash of each passage, this measure can increase the firmware management burden of EMMC undoubtedly further.With this simultaneously, the physical block due to NandFlash becomes many, equally also needs more resources of chip to manage the information of various physical block, cannot the multichannel NandFlash behavior of low-cost high-efficiency ground management.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of hyperchannel based on superblock to manage method and system, can the multichannel NandFlash behavior of low-cost high-efficiency ground management.
For achieving the above object, the invention provides a kind of hyperchannel management method based on superblock, comprising:
Physical block on each passage corresponding for same position is bound a logical block, obtains each logical block corresponding with position respectively;
Response physical block obtains instruction, distributes physical block according to preset rules from logical block.
Preferably, from logical block, distribute physical block according to preset rules to comprise:
Steps A: judge whether also have empty physical block in current logic block, if so, then enter step C, otherwise enter step B;
Step B: obtain an empty logical block;
Step C: obtain next physical block in current logic block;
Step D: judge whether the described physical block got is bad block, if so, then enters step C, otherwise enters step e;
Step e: the described physical block got is distributed.
Present invention also offers a kind of hyperchannel management system based on superblock, comprising:
Physical block binding module, the physical block on each passage that same position is corresponding binds a logical block, obtains each logical block corresponding with position respectively;
Physical block distribution module, obtaining instruction for responding physical block, distributing physical block according to preset rules from logical block.
Apply a kind of management of the hyperchannel based on superblock method and system provided by the invention, the physical block on each passage corresponding for same position is bound a logical block, obtains each logical block corresponding with position respectively; Response physical block obtains instruction, distributes physical block according to preset rules from logical block.The physical block of same position on all passages is bound a logical block, management unit's logic-based block of block instead of physical block, during scheduling, in units of logical block, each physical block in logical tiles, managing required hardware resource to hyperchannel is a fixed value, increases NandFlash port number and does not increase cost, can the behavior of low-cost high-efficiency ground management hyperchannel.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is the process flow diagram of a kind of management of the hyperchannel based on superblock of the present invention embodiment of the method;
Fig. 2 is the detailed schematic schematic diagram of a kind of management of the hyperchannel based on superblock of the present invention embodiment of the method;
Fig. 3 is the detail flowchart of a kind of management of the hyperchannel based on superblock of the present invention embodiment of the method;
Fig. 4 is the structural representation of a kind of management of the hyperchannel based on superblock of the present invention system embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention provides a kind of hyperchannel management method based on superblock, Fig. 1 shows the process flow diagram of the hyperchannel management embodiment of the method that the present invention is based on superblock, comprising:
Step S101: the physical block on each passage corresponding for same position is bound a logical block, obtains each logical block corresponding with position respectively;
Each logical block has all physical blocks of same position on each passage to combine, and as shown in Figure 2, this step is the management of block.
Step S102: response physical block obtains instruction, distributes physical block according to preset rules from logical block.
This step is the distribution of block, and as shown in Figure 3, particularly, step S102 comprises:
Step 1, the application of FTL flash translation layer (FTL) obtains a new physical block.
Step 2, judges to be the physical block whether this logical block is also free enter step 4, otherwise to enter step 3.
Step 3, obtains an empty logical block.
Step 4, obtains next physical block in logical block.
Step 5, judges whether the physical block obtained is bad block, is enter step 4, otherwise enters step 6.
Step 6, distributes the physical block of acquisition to FTL.
A kind of hyperchannel management method based on superblock that application the present embodiment provides, binds a logical block by the physical block on each passage corresponding for same position, obtains each logical block corresponding with position respectively; Response physical block obtains instruction, distributes physical block according to preset rules from logical block.The physical block of same position on all passages is bound a logical block, management unit's logic-based block of block instead of physical block, during scheduling, in units of logical block, each physical block in logical tiles, managing required hardware resource to hyperchannel is a fixed value, increases NandFlash port number and does not increase cost, can the behavior of low-cost high-efficiency ground management hyperchannel.
Present invention also offers a kind of hyperchannel management system based on superblock, Fig. 4 shows the structural representation of the hyperchannel management system that the present invention is based on superblock, comprising:
Physical block binding module 101, the physical block on each passage that same position is corresponding binds a logical block, obtains each logical block corresponding with position respectively;
Physical block distribution module 102, obtaining instruction for responding physical block, distributing physical block according to preset rules from logical block.
A kind of hyperchannel management system based on superblock that application the present embodiment provides, binds a logical block by the physical block on each passage corresponding for same position, obtains each logical block corresponding with position respectively; Response physical block obtains instruction, distributes physical block according to preset rules from logical block.The physical block of same position on all passages is bound a logical block, management unit's logic-based block of block instead of physical block, during scheduling, in units of logical block, each physical block in logical tiles, managing required hardware resource to hyperchannel is a fixed value, increases NandFlash port number and does not increase cost, can the behavior of low-cost high-efficiency ground management hyperchannel.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For system class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Be described in detail method and system provided by the present invention above, apply specific case herein and set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (3)
1., based on a hyperchannel management method for superblock, it is characterized in that, comprising:
Physical block on each passage corresponding for same position is bound a logical block, obtains each logical block corresponding with position respectively;
Response physical block obtains instruction, distributes physical block according to preset rules from logical block.
2. the hyperchannel management method based on superblock according to claim 1, is characterized in that, distributes physical block comprise according to preset rules from logical block:
Steps A: judge whether also have empty physical block in current logic block, if so, then enter step C, otherwise enter step B;
Step B: obtain an empty logical block;
Step C: obtain next physical block in current logic block;
Step D: judge whether the described physical block got is bad block, if so, then enters step C, otherwise enters step e;
Step e: the described physical block got is distributed.
3., based on a hyperchannel management system for superblock, it is characterized in that, comprising:
Physical block binding module, the physical block on each passage that same position is corresponding binds a logical block, obtains each logical block corresponding with position respectively;
Physical block distribution module, obtaining instruction for responding physical block, distributing physical block according to preset rules from logical block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510680618.1A CN105159843B (en) | 2015-10-19 | 2015-10-19 | A kind of multichannel management method and system based on superblock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510680618.1A CN105159843B (en) | 2015-10-19 | 2015-10-19 | A kind of multichannel management method and system based on superblock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159843A true CN105159843A (en) | 2015-12-16 |
CN105159843B CN105159843B (en) | 2018-07-31 |
Family
ID=54800705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510680618.1A Active CN105159843B (en) | 2015-10-19 | 2015-10-19 | A kind of multichannel management method and system based on superblock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159843B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786407A (en) * | 2016-02-26 | 2016-07-20 | 湖南国科微电子股份有限公司 | Multi-CE NAND Flash dynamic block model based on multi-channel master control and bad block processing method |
CN106528443A (en) * | 2016-11-09 | 2017-03-22 | 上海微小卫星工程中心 | FLASH management system and method suitable for satellite-borne data management |
CN109117319A (en) * | 2017-06-23 | 2019-01-01 | 爱思开海力士有限公司 | Storage system and its operating method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080235468A1 (en) * | 2007-03-19 | 2008-09-25 | A-Data Technology Co., Ltd. | Hybrid density memory storage device |
US20090222613A1 (en) * | 2008-02-29 | 2009-09-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and nonvolatile semiconductor memory drive |
CN101727295A (en) * | 2008-10-31 | 2010-06-09 | 西安奇维测控科技有限公司 | Method for writing in and reading out data based on virtual block flash memory address mapping |
CN102341793A (en) * | 2009-03-04 | 2012-02-01 | 美光科技公司 | Memory block selection |
CN102656567A (en) * | 2009-12-17 | 2012-09-05 | 国际商业机器公司 | Data management in solid state storage devices |
CN103026346A (en) * | 2010-07-27 | 2013-04-03 | 国际商业机器公司 | Logical to physical address mapping in storage systems comprising solid state memory devices |
-
2015
- 2015-10-19 CN CN201510680618.1A patent/CN105159843B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080235468A1 (en) * | 2007-03-19 | 2008-09-25 | A-Data Technology Co., Ltd. | Hybrid density memory storage device |
US20090222613A1 (en) * | 2008-02-29 | 2009-09-03 | Kabushiki Kaisha Toshiba | Information processing apparatus and nonvolatile semiconductor memory drive |
CN101727295A (en) * | 2008-10-31 | 2010-06-09 | 西安奇维测控科技有限公司 | Method for writing in and reading out data based on virtual block flash memory address mapping |
CN102341793A (en) * | 2009-03-04 | 2012-02-01 | 美光科技公司 | Memory block selection |
CN102656567A (en) * | 2009-12-17 | 2012-09-05 | 国际商业机器公司 | Data management in solid state storage devices |
CN103026346A (en) * | 2010-07-27 | 2013-04-03 | 国际商业机器公司 | Logical to physical address mapping in storage systems comprising solid state memory devices |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786407A (en) * | 2016-02-26 | 2016-07-20 | 湖南国科微电子股份有限公司 | Multi-CE NAND Flash dynamic block model based on multi-channel master control and bad block processing method |
CN105786407B (en) * | 2016-02-26 | 2017-07-14 | 湖南国科微电子股份有限公司 | The dynamic block models of many CE NAND Flash based on multichannel master control and bad block processing method |
CN106528443A (en) * | 2016-11-09 | 2017-03-22 | 上海微小卫星工程中心 | FLASH management system and method suitable for satellite-borne data management |
CN106528443B (en) * | 2016-11-09 | 2019-08-06 | 上海微小卫星工程中心 | FLASH management system and method suitable for spaceborne data management |
CN109117319A (en) * | 2017-06-23 | 2019-01-01 | 爱思开海力士有限公司 | Storage system and its operating method |
CN109117319B (en) * | 2017-06-23 | 2022-03-29 | 爱思开海力士有限公司 | Memory system and operating method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105159843B (en) | 2018-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051564B (en) | The method and apparatus of dynamic resource allocation | |
CN107301093B (en) | Method and device for managing resources | |
CN107181679A (en) | A kind of port binding implementation method and device | |
CN109144658B (en) | Load balancing method and device for limited resources and electronic equipment | |
CN109417488A (en) | The method and apparatus of virtual network function resource management | |
CN105159843A (en) | Multichannel management method and system based on super block | |
CN104461649B (en) | chip compatible method and device | |
CN103365784B (en) | The method of Memory recycle and distribution and device | |
CN104283951A (en) | Method and device for migrating instances and system | |
CN106325999A (en) | Method and device for distributing resources of host machine | |
CN104537045A (en) | Service distribution method and device based on distributive system | |
CN103559093A (en) | Resource allocation method and device for servers | |
KR20220025746A (en) | Dynamic allocation of computing resources | |
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN105045670A (en) | Method and system for balancing loads of central processing units and graphic processing units | |
CN109857541A (en) | A kind of resource allocation methods of server, system and associated component | |
CN104349332A (en) | Grid structure optimization method and apparatus | |
CN103713953A (en) | Device and method for transferring data in memory | |
CN106484492A (en) | The method and system of configuration interface | |
CN104219290B (en) | A kind of multimode cloud application elasticity collocation method | |
CN104281587A (en) | Connection establishing method and device | |
CN104657216A (en) | Resource allocation method and device for resource pool | |
CN105208111A (en) | Information processing method and physical machine | |
CN104968051A (en) | Cell broadband up link resource distribution method and apparatus | |
CN106294731A (en) | Enter management method and the device of database data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |