CN109542362A - A kind of multiple kenel configuring management method of memory - Google Patents
A kind of multiple kenel configuring management method of memory Download PDFInfo
- Publication number
- CN109542362A CN109542362A CN201811499873.6A CN201811499873A CN109542362A CN 109542362 A CN109542362 A CN 109542362A CN 201811499873 A CN201811499873 A CN 201811499873A CN 109542362 A CN109542362 A CN 109542362A
- Authority
- CN
- China
- Prior art keywords
- data
- kenel
- controller
- memory
- write
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0626—Reducing size or complexity of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
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)
- Stored Programmes (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention discloses a kind of multiple kenel configuring management method of memory, including controller unit, memory block is set, which includes the data types that a head file is used to set corresponding core position in controller unit.The purpose of the present invention is to propose to a memory block hardware controls administrative mechanisms by controller realization support multiple configuration, corresponding address can be defined in advance when at the very start according to different data types in initialization by program and controller catcher is transferred to manage the memory block by this memory, and program is not required to increase the complexity of processing always because to manage numerous data types and influence efficiency.
Description
Technical field
The present invention relates to memory techniques field, specially a kind of multiple kenel configuring management method of memory.
Background technique
In extensive industry is applied with consumer storage device, because the application background and occasion supported are very polynary
(such as server, mobile phone or memory card) therefore related controller also must go to support a variety of not belong to for many different functions
Property data cell and simultaneously be stored in internal storage block.The memory kenel of this block be not singly simply can be read,
Read-only (can only read) and the data types only write and (can only be written) must also support more more complicated states, can only such as be written
It is primary but (Read Only) cannot be read, can only be written and can once be read (Write Only), can repeatedly be written and read simultaneously
It remains to retain data (R/W/E) when restarting power supply, repeatedly can be written and read and (the R/W/E_ that clears data when restarting power supply
P), it can repeatedly be written and remain to retain data when restarting power supply but (W/E) cannot be read, repeatedly can be written and read but work as control
Restart inside device processed and wants to retain data (R/W/E), can repeatedly be written and clear data when restarting power supply and (R/ cannot be read
The multifarious data types such as W/E_P), the kenel of data is also more with the occasion of application and constantly increases newly.
At present in controller unit, usually by internal processes (Firmware) according to different application, for various numbers
According to kenel voluntarily cook up the buffer areas (Buffer) of different blocks and store data, the data of various different kenels are separated or
Integration storage.In practical application, when external master device assigns setting data to controller, program can be arranged in pairs or groups according to data
Kenel it is referred to individually to different attributes and is stored in the block (Block) belonging to it or replys write error.When
When external device (ED) assigns reading order, the kenel that program can also be arranged in pairs or groups according to data corresponds to the block (Block) belonging to it
In, data fixed value (such as 0) or reply read error that interpretation submitting at this time updates.Locate since program need to be penetrated
Reason control, program can need more buffer areas (Buffer) to do cutting and interpretation and become increasingly because data shape
Complexity leads to the inefficiency of processing and occupies the space of many programs, and newly-increased memory requirements can also further result in control
The cost of device unit processed increases.
Summary of the invention
The purpose of the present invention is to provide a kind of multiple kenel configuring management methods of memory, to solve in above-mentioned background technique
The problem of proposition.
To achieve the above object, the invention provides the following technical scheme: a kind of multiple kenel configuring management method of memory,
Including controller unit, memory block is set, the memory block includes that a head file is used to set in the controller unit
Surely the data types of core position are corresponded to.
Preferably, comprising the following steps:
A, after electric power starting, program carries out initialization action, and the data types according to definition are corresponding and sequentially insert each data
Kenel;
B, controller waits master device to send out the order for reading data;
C, controller receives the order of master device write-in data and starts to process;
D, controller judges the kenel in head file according to the corresponding position of data, determines the mechanism of write-in;
If E, the position kenel is to allow to be written once, then the data are inserted and change the money kenel in head file by controller
For can not write state, forbid the movement of subsequent write-in, other kenels are handled according to similar fashions;
F, controller receives master device and reads the order of data and start to process;
G, controller decides whether normally to read data according to the kenel in the corresponding position interpretation head file of data;
If H, the position kenel is to allow to read primary, then controller is replied data and is correctly worth, and by the money in head file
Kenel be changed to can not reading state, forbid subsequent reading, other kenels are also handled according to similar fashion.
Compared with prior art, the beneficial effects of the present invention are: being realized the purpose of the present invention is to propose to one by controller
Support the memory block hardware controls administrative mechanism of multiple configuration, this memory can be by program at the very start according to different data
Kenel initialization when corresponding address is defined in advance and transfer to controller catcher manage the memory block, program be not required to because
Increase the complexity of processing always to manage numerous data types and influences efficiency.Such as when program receives external dress
Set for this block data data setting is assigned to controller when, corresponding core position is directly write to by program, if should
Position be it is read-only, when program write-in when then controller can block write-in automatically, if the position can only be written once, then program write-in
Controller can set in the position automatically and block secondary write-in afterwards, if instead when external device (ED) is directed to this block data
When to reading under controller, if the position data is to forbid reading, as being when reading, controller automatic shield when sending out falls
The data and the value of fixed submitting 0 or 1, the rest may be inferred for other kenels.
Detailed description of the invention
Fig. 1 is schematic structural view of the invention;
Fig. 2 is flow chart of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present invention provides a kind of technical solution referring to FIG. 1-2: a kind of multiple kenel configuring management method of memory, including
Controller unit 1, the controller unit 1 is interior to be arranged memory block 2, and the memory block 2 includes that a head file 3 is used to set
Surely the data types of core position are corresponded to.
In the present invention, a kind of multiple kenel configuring management method of memory the following steps are included:
A, after electric power starting, program carries out initialization action, and the data types according to definition are corresponding and sequentially insert each data
Kenel;
B, controller waits master device to send out the order for reading data;
C, controller receives the order of master device write-in data and starts to process;
D, controller judges the kenel in head file according to the corresponding position of data, determines the mechanism of write-in;
If E, the position kenel is to allow to be written once, then the data are inserted and change the money kenel in head file by controller
For can not write state, forbid the movement of subsequent write-in, other kenels are handled according to similar fashions;
F, controller receives master device and reads the order of data and start to process;
G, controller decides whether normally to read data according to the kenel in the corresponding position interpretation head file of data;
If H, the position kenel is to allow to read primary, then controller is replied data and is correctly worth, and by the money in head file
Kenel be changed to can not reading state, forbid subsequent reading, other kenels are also handled according to similar fashion.
In conclusion the purpose of the present invention is to propose to the memory block hardware by controller realization support multiple configuration
Control administrative mechanism, this memory can by program when at the very start according to different data types in initialization by corresponding address
In advance define and transfer to controller catcher manage the memory block, program be not required to because to manage numerous data types and one
The straight complexity for increasing processing simultaneously influences efficiency.Such as when program receives external device (ED) for this block data under controller
When up to data setting, corresponding core position is directly write to by program, if the position be it is read-only, controlled if when program write-in
Device processed can block write-in automatically, and if the position can only be written once, then controller can be set in the position automatically after program write-in
And secondary write-in is blocked, if instead when external device (ED) is directed to this block data to reading under controller, such as the position
Data are to forbid reading, and as being when reading, controller automatic shield when sending out falls the value of the data and fixed submitting 0 or 1,
The rest may be inferred for other kenels.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (2)
1. a kind of multiple kenel configuring management method of memory, including controller unit (1), it is characterised in that: the controller list
Memory block (2) are set in first (1), the memory block (2) includes that a head file (3) is used to set corresponding core position
Data types.
2. the multiple kenel configuring management method of a kind of memory according to claim 1, it is characterised in that: including following step
It is rapid:
A, after electric power starting, program carries out initialization action, and the data types according to definition are corresponding and sequentially insert each data
Kenel;
B, controller waits master device to send out the order for reading data;
C, controller receives the order of master device write-in data and starts to process;
D, controller judges the kenel in head file according to the corresponding position of data, determines the mechanism of write-in;
If E, the position kenel is to allow to be written once, then the data are inserted and change the money kenel in head file by controller
For can not write state, forbid the movement of subsequent write-in, other kenels are handled according to similar fashions;
F, controller receives master device and reads the order of data and start to process;
G, controller decides whether normally to read data according to the kenel in the corresponding position interpretation head file of data;
If H, the position kenel is to allow to read primary, then controller is replied data and is correctly worth, and by the money in head file
Kenel be changed to can not reading state, forbid subsequent reading, other kenels are also handled according to similar fashion.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811499873.6A CN109542362A (en) | 2018-12-09 | 2018-12-09 | A kind of multiple kenel configuring management method of memory |
PCT/CN2019/078223 WO2020118940A1 (en) | 2018-12-09 | 2019-03-15 | Management method for multiple memory type configurations |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811499873.6A CN109542362A (en) | 2018-12-09 | 2018-12-09 | A kind of multiple kenel configuring management method of memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542362A true CN109542362A (en) | 2019-03-29 |
Family
ID=65853158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811499873.6A Pending CN109542362A (en) | 2018-12-09 | 2018-12-09 | A kind of multiple kenel configuring management method of memory |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109542362A (en) |
WO (1) | WO2020118940A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1289968A (en) * | 2000-11-17 | 2001-04-04 | 后健慈 | Method and architecture for controlling access attributes of memory pages |
US20060015676A1 (en) * | 2004-07-15 | 2006-01-19 | Hiromichi Oribe | Semiconductor storage device |
CN101295281A (en) * | 2008-06-05 | 2008-10-29 | 北京中星微电子有限公司 | Memory device and method for limiting access authority of the same |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100017558A1 (en) * | 2008-04-11 | 2010-01-21 | Richard Matthew Fruin | Memory device operable in read-only and re-writable modes of operation |
US9697358B2 (en) * | 2013-06-13 | 2017-07-04 | Google Inc. | Non-volatile memory operations |
CN103617404A (en) * | 2013-12-17 | 2014-03-05 | 天津赢达信科技有限公司 | Storing device of safety partitions |
-
2018
- 2018-12-09 CN CN201811499873.6A patent/CN109542362A/en active Pending
-
2019
- 2019-03-15 WO PCT/CN2019/078223 patent/WO2020118940A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1289968A (en) * | 2000-11-17 | 2001-04-04 | 后健慈 | Method and architecture for controlling access attributes of memory pages |
US20060015676A1 (en) * | 2004-07-15 | 2006-01-19 | Hiromichi Oribe | Semiconductor storage device |
CN101295281A (en) * | 2008-06-05 | 2008-10-29 | 北京中星微电子有限公司 | Memory device and method for limiting access authority of the same |
Also Published As
Publication number | Publication date |
---|---|
WO2020118940A1 (en) | 2020-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103634375A (en) | Method, device and equipment for cluster node expansion | |
CN105653630A (en) | Data migration method and apparatus for distributed database | |
CN106452847B (en) | WIFI equipment intelligent identification Method and device | |
CN112000351B (en) | Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware | |
WO2017036330A1 (en) | Service configuration method and device for network cutover | |
CN102595184A (en) | Intelligent television automation test method and system | |
CN105759785A (en) | Test equipment control method and device | |
CN113778739B (en) | System repair method, system, equipment and storage medium of all-in-one machine | |
CN103064309A (en) | Needle selector address confirming method and system | |
EP3176789A1 (en) | Memory control method and apparatus | |
CN101581959A (en) | Method and equipment for resetting single core in multicore chip | |
CN109787688B (en) | Communication device, pluggable optical module, communication system, communication method, and storage medium | |
CN109542362A (en) | A kind of multiple kenel configuring management method of memory | |
CN101162430A (en) | Memory card and method of updating memory card program | |
CN109634516B (en) | Method and system for reading and writing data of chip memory | |
CN115599424A (en) | Method for remotely updating FPGA (field programmable Gate array) firmware by adopting CPU (Central processing Unit) | |
KR102359331B1 (en) | Substrate processing system, storage medium and method of registering new device | |
CN112860595B (en) | PCI (peripheral component interconnect express) equipment or PCIE (peripheral component interconnect express) equipment, data access method and related assembly | |
CN112994973B (en) | Automatic batch testing method and device for Internet of things equipment and computer-readable storage medium | |
CN106647717A (en) | Control parameter processing method, display terminal, controller, and equipment | |
US10192080B2 (en) | Method for configuring a communication module of at least one radio-frequency identification (RFID) reader and communication module | |
CN107025073B (en) | NAND FLASH array Mapping information storage method | |
CN107203392A (en) | A kind of many stipulations implementation methods of mini system end product | |
CN113515082A (en) | Polling communication method and device | |
CN110764789A (en) | Process control method and device, storage medium and electronic equipment |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190329 |