CN105068939A - Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system - Google Patents
Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system Download PDFInfo
- Publication number
- CN105068939A CN105068939A CN201510431776.3A CN201510431776A CN105068939A CN 105068939 A CN105068939 A CN 105068939A CN 201510431776 A CN201510431776 A CN 201510431776A CN 105068939 A CN105068939 A CN 105068939A
- Authority
- CN
- China
- Prior art keywords
- data
- storage
- storage unit
- capsule
- software system
- 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
Abstract
The invention discloses a storage chip applied to an industrial embedded software system and a storage method applied to the industrial embedded software system. A physical storage space of the storage chip is divided into a plurality of storage units according to the size of a fixed number of bytes; the format of the storage units includes the data type, the data format version number, the use container serial number, the first data container, the second data container, the first data container checking information and the second data container checking information. The method can realize high-reliability data application on the basis of an ordinary hardware storage chip; the cost is greatly reduced; and the application range is wider.
Description
Technical field
The present invention relates to data storage technology, particularly a kind of storage chip and method thereof being applied to technical grade embedded software system.
Background technology
In the real-time embedded control software design system of industry, the correct reliability of data is extremely important, simultaneously, a lot of parameter and data need to preserve in storage chip, if preserve corrupt data and can not find, the problem of control aspect may be caused, even accidents caused.
Some technical approach solved is at present: by increasing verification unit or additional memory units within hardware, ensure the reliability of data, application is had in the product such as storage card of technical grade, but use hard-wired data reliability, its design is complicated, cost is high, the risk of existing defects is also very large, is difficult to realize and be applied for amateur level memory device producer.
Summary of the invention
For solving the problems of the technologies described above, the object of this invention is to provide a kind of storage chip and the method thereof that are applied to technical grade embedded software system.
The technical solution used in the present invention is:
A kind of storage chip being applied to technical grade embedded software system, the amount of physical memory of this storage chip is divided into multiple storage unit by fixed byte size, and the form of described storage unit comprises data type, data layout version number, use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
Wherein, described amount of physical memory divides storage unit by 16 byte-sized.
Concrete, each storage unit preserves data and check information.
Further, described first data capsule and the second data capsule are used alternatingly.
The present invention also comprises the technical scheme with the same inventive concept of above-mentioned storage chip, namely be applied to a storage means for technical grade embedded software system, comprise the following steps: S1, the amount of physical memory of storage chip is divided into multiple storage unit by fixed byte size; S2, define each data and need to preserve the serial number of position, serial number is less than or equal to number of memory cells; S3, following form is adopted to carry out data write or digital independent in storage unit: data type, data layout version number, to use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
Further, in described step S3 data write comprise: A1, to storage chip preserve data; B1, calculate the concrete storage unit that should use according to serial number; C1, in storage unit, write data according to form in S3; D1, rear reading data are write; E1, judge read with write data whether consistent, if unanimously return correct prompting, otherwise feedback error point out; F1, complete data write.
Further, described step B1 also judges according to current time that the concrete data capsule that should use stores physical location with verification, and data and proof test value are write calculated data capsule and verification storage physical location by step C1 respectively.
Further, in described step S3, digital independent comprises: A2, from storage chip read data; B2, calculate the concrete storage unit that should use according to serial number; The full content of C2, reading cells; D2, to read data verify; E2, judge that checking data is whether correct, if correct, return corresponding data of preserving data type, otherwise return miscue; F2, complete digital independent.
Beneficial effect of the present invention:
1. the present invention does not rely on proprietary hardware, highly versatile, is widely used; 2. can realize reliable preservation and the reading of data, meet the high reliability needs of technical grade embedded Control software; 3. the design of distinctive data memory format can extend pin-saving chip serviceable life.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described.Obviously, described accompanying drawing is a part of embodiment of the present invention, instead of whole embodiments, those skilled in the art under accompanying drawing illustrates prerequisite, other design proposals of acquisition and accompanying drawing:
Fig. 1 is the Organization Chart of storage chip of the present invention;
Fig. 2 is the process flow diagram of data of the present invention write;
Fig. 3 is the process flow diagram of digital independent of the present invention.
Embodiment
With reference to shown in Fig. 1, be a kind of storage chip being applied to technical grade embedded software system of the present invention, based on general EEPROM or FRAM storage chip, or the chip of other similar functions.The amount of physical memory of this storage chip is divided into multiple storage unit by 16 byte fixed sizes, and the form of described storage unit comprises data type, data layout version number, use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
Concrete, each storage unit preserves data and check information.
Further, described first data capsule and the second data capsule are used alternatingly.
Be applied to a storage means for technical grade embedded software system, comprise the following steps: S1, the amount of physical memory of storage chip is divided into multiple storage unit by fixed byte size; S2, define each data and need to preserve the serial number of position, serial number is less than or equal to number of memory cells; S3, following form is adopted to carry out data write or digital independent in storage unit: data type, data layout version number, to use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
As shown in Figure 2, in described step S3 data write comprise: A1, to storage chip preserve data; B1, calculate the concrete storage unit that should use according to serial number; C1, in storage unit, write data according to form in S3; D1, rear reading data are write; E1, judge read with write data whether consistent, if unanimously return correct prompting, otherwise feedback error point out; F1, complete data write.
Described step B1 also judges according to current time that the concrete data capsule that should use stores physical location with verification, and data and proof test value are write calculated data capsule and verification storage physical location by step C1 respectively.
As shown in Figure 3, in described step S3, digital independent comprises: A2, from storage chip read data; B2, calculate the concrete storage unit that should use according to serial number; The full content of C2, reading cells; D2, to read data verify; E2, judge that checking data is whether correct, if correct, return corresponding data of preserving data type, otherwise return miscue; F2, complete digital independent.
This method can based on common hardware store chip, and realize the market demand of high reliability, greatly cost-saving, range of application is more extensive.
The foregoing is only preferred embodiments of the present invention, the present invention is not limited to above-mentioned embodiment, as long as the technical scheme realizing the object of the invention with basic same approach all belongs within protection scope of the present invention.
Claims (8)
1. one kind is applied to the storage chip of technical grade embedded software system, it is characterized in that: the amount of physical memory of this storage chip is divided into multiple storage unit by fixed byte size, the form of described storage unit comprises data type, data layout version number, use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
2. a kind of storage chip being applied to technical grade embedded software system according to claim 1, is characterized in that: described amount of physical memory divides storage unit by 16 byte-sized.
3. a kind of storage chip being applied to technical grade embedded software system according to claim 1 and 2, is characterized in that: each storage unit preserves data and check information.
4. a kind of storage chip being applied to technical grade embedded software system according to claim 1, is characterized in that: described first data capsule and the second data capsule are used alternatingly.
5. be applied to a storage means for technical grade embedded software system, it is characterized in that comprising the following steps: S1, the amount of physical memory of storage chip is divided into multiple storage unit by fixed byte size; S2, define each data and need to preserve the serial number of position, serial number is less than or equal to number of memory cells; S3, following form is adopted to carry out data write or digital independent in storage unit: data type, data layout version number, to use container sequence number, the first data capsule, the second data capsule, the first data capsule School Affairs second data capsule verification.
6. storage means according to claim 5, is characterized in that: in described step S3 data write comprise: A1, to storage chip preserve data; B1, calculate the concrete storage unit that should use according to serial number; C1, in storage unit, write data according to form in S3; D1, rear reading data are write; E1, judge read with write data whether consistent, if unanimously return correct prompting, otherwise feedback error point out; F1, complete data write.
7. storage means according to claim 6, it is characterized in that: described step B1 also judges according to current time that the concrete data capsule that should use stores physical location with verification, data and proof test value are write calculated data capsule and verification storage physical location by step C1 respectively.
8. storage means according to claim 5, is characterized in that: in described step S3, digital independent comprises: A2, from storage chip read data; B2, calculate the concrete storage unit that should use according to serial number; The full content of C2, reading cells; D2, to read data verify; E2, judge that checking data is whether correct, if correct, return corresponding data of preserving data type, otherwise return miscue; F2, complete digital independent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431776.3A CN105068939A (en) | 2015-07-21 | 2015-07-21 | Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510431776.3A CN105068939A (en) | 2015-07-21 | 2015-07-21 | Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105068939A true CN105068939A (en) | 2015-11-18 |
Family
ID=54498316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510431776.3A Pending CN105068939A (en) | 2015-07-21 | 2015-07-21 | Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105068939A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112256194A (en) * | 2020-09-30 | 2021-01-22 | 新华三技术有限公司成都分公司 | Storage space distribution method and storage server |
CN112835510A (en) * | 2019-11-25 | 2021-05-25 | 北京灵汐科技有限公司 | Method and device for controlling storage format of on-chip storage resource |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103620565A (en) * | 2011-05-31 | 2014-03-05 | 美光科技公司 | Apparatus and methods for providing data integrity |
US20140082266A1 (en) * | 2012-09-18 | 2014-03-20 | Kabushiki Kaisha Toshiba | Nonvolatile semiconductor memory device |
CN104541253A (en) * | 2012-09-26 | 2015-04-22 | 英特尔公司 | Techniques associated with protecting system critical data written to non-volatile memory |
-
2015
- 2015-07-21 CN CN201510431776.3A patent/CN105068939A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103620565A (en) * | 2011-05-31 | 2014-03-05 | 美光科技公司 | Apparatus and methods for providing data integrity |
US20140082266A1 (en) * | 2012-09-18 | 2014-03-20 | Kabushiki Kaisha Toshiba | Nonvolatile semiconductor memory device |
CN104541253A (en) * | 2012-09-26 | 2015-04-22 | 英特尔公司 | Techniques associated with protecting system critical data written to non-volatile memory |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835510A (en) * | 2019-11-25 | 2021-05-25 | 北京灵汐科技有限公司 | Method and device for controlling storage format of on-chip storage resource |
CN112835510B (en) * | 2019-11-25 | 2022-08-26 | 北京灵汐科技有限公司 | Method and device for controlling storage format of on-chip storage resource |
CN112256194A (en) * | 2020-09-30 | 2021-01-22 | 新华三技术有限公司成都分公司 | Storage space distribution method and storage server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101558452B (en) | Method and device for reconfiguration of reliability data in flash eeprom storage pages | |
CN104220991B (en) | Framework for allowing effective storage of the data on nand flash memory | |
WO2009095902A3 (en) | Systems and methods for handling immediate data errors in flash memory | |
CN104932951B (en) | A kind of nand flash memory occur ECC can not error correction when data reconstruction method | |
CN101963912A (en) | Implementation method for storing and checking hardware configuration information of system | |
CN104699417A (en) | Data storage device and data access method thereof | |
US10248497B2 (en) | Error detection and correction utilizing locally stored parity information | |
CN100445963C (en) | Method and apparatus for realizing high-reliability chain list | |
CN103744744B (en) | The data verification method of data memory device and volatile memory | |
CN101526885A (en) | Method for improving capability of redundant array of independent disk and controller therefor | |
CN109426441A (en) | data storage device and operation method thereof | |
US10191670B2 (en) | Method and device of data protection, storage equipment | |
CN105808378B (en) | Metadata restorative procedure and device | |
CN105868127A (en) | Data storage method and device and data reading method and device | |
CN105068939A (en) | Storage chip applied to industrial embedded software system and storage method applied to industrial embedded software system | |
CN100468367C (en) | Solid state storage unit safety storage system and method | |
CN103257905A (en) | Embedded computer system stored data checking circuit and method | |
CN104598330B (en) | Data based on double copies are preserved and method of calibration | |
CN105511982A (en) | Memory access method for tolerating DRAM particle failure | |
CN102541677A (en) | Implementation method for increasing comparison table loading speed of nandflash storage device | |
CN104794019B (en) | The data guard method and device of a kind of in-line memory | |
CN105868120A (en) | A data storage method based on substitution of FLASH in a chip for EEPROM | |
CN105354107A (en) | Data transmission method and system for NOR Flash | |
CN114203252A (en) | Bad block detection method, device, equipment and storage medium of nonvolatile memory | |
CN103559141A (en) | Management method and device for nonvolatile memory (NVM) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20151118 |