CN114489516A - Data storage device and method - Google Patents

Data storage device and method Download PDF

Info

Publication number
CN114489516A
CN114489516A CN202210132985.8A CN202210132985A CN114489516A CN 114489516 A CN114489516 A CN 114489516A CN 202210132985 A CN202210132985 A CN 202210132985A CN 114489516 A CN114489516 A CN 114489516A
Authority
CN
China
Prior art keywords
data
storage
burning
changed
storage space
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
Application number
CN202210132985.8A
Other languages
Chinese (zh)
Other versions
CN114489516B (en
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.)
Hefei Xinying Technology Co ltd
Original Assignee
Hefei Xinying 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 Hefei Xinying Technology Co ltd filed Critical Hefei Xinying Technology Co ltd
Priority to CN202210132985.8A priority Critical patent/CN114489516B/en
Publication of CN114489516A publication Critical patent/CN114489516A/en
Application granted granted Critical
Publication of CN114489516B publication Critical patent/CN114489516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • 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

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)
  • Read Only Memory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a data storage device and a method, which relate to the technical field of programmable storage, and are characterized in that a first storage space, a second storage space and other two storage spaces are arranged for storing data; the first storage space is pre-configured with a plurality of storage units with fixed quantity, fixed size and fixed position, and is used for storing one-time programmable burning data; the second storage space is used for storing the data to be changed in the first storage space, and the combination of the data in the first storage space and the data in the second storage space is used for indicating the storage information of the data storage device. By adopting the data storage device provided by the application, the local or overall change of the one-time programmable burning data can be realized, the burning times of the target data in each storage unit are not fixed any more, the changing times can be flexibly determined by the size of the second storage space, the waste of space resources of the data storage device is avoided, the storage efficiency is improved, and the cost is saved.

Description

Data storage device and method
Technical Field
The present application relates to the field of programmable storage technologies, and in particular, to a data storage apparatus and method.
Background
The OLED (Organic Light-Emitting Diode) display driving chip divides a plurality of registers into a plurality of Group-type memory cells, and each memory cell can burn the set value of the register into an Integrated Circuit (IC) in an OTP (one time program) manner.
At present, the number of times that each storage unit can be burned is preconfigured through experience or judgment of the use habit of a customer, and after the preconfiguration is completed, the number of times that each storage unit can be burned is fixed and cannot be modified, so that two defects are brought: if local modification is to be performed in a certain memory cell, the whole memory cell is required to be re-burned; if the number of times of writing exceeds the fixed number of times, the register module will be discarded and cannot be used.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a data storage device and a method thereof, which solve the problem that "if a local modification is to be performed in a certain memory cell, the whole memory cell must be re-programmed; if the number of times of writing exceeds the fixed number of times of writing, the register module will be discarded and cannot be used.
In a first aspect, an embodiment of the present application provides a data storage device, where the device includes: the first storage space comprises a plurality of storage units, and the storage units are used for storing one-time programmable burning data; the second storage space is used for storing changed data, and the changed data is used for indicating the information of the one-time programmable burning data needing to be changed in the storage unit; wherein the combination of the one-time programmable burning data and the alteration data is used for indicating the storage information of the data storage device.
In the implementation process, two storage spaces, namely a first storage space and a second storage space, are arranged in the data storage device for storing data; the first storage space is provided with a plurality of storage units in advance according to a traditional mode and used for storing one-time programmable burning data; the second storage space is used for storing the data to be changed in the first storage space; by storing the data in the mode, the modification information is stored in the second storage space after the one-time programmable burning data stored in the storage unit is locally or wholly modified, and meanwhile, the number of times of modification is flexibly determined by the size of the second storage space, so that the two defects are avoided, the storage efficiency is improved, and the cost is saved.
Optionally, the change data includes a change data body and a change data header; the second storage space comprises a changed data body storage area and a changed data head storage area; the changed data body storage area is used for storing the one-time programmable burning data needing to be changed in the storage unit, and the changed data head storage area is used for indicating the one-time programmable burning data needing to be changed in the first storage space.
In the implementation process, the modified data stored in the second storage space may specifically include a modified data body and a modified data header, where the two portions of data are stored in respective storage areas corresponding to the second storage space, and the modified data header is used to indicate a relationship between the modified data body and a modified storage unit, so as to facilitate searching and locating of the modified data.
Optionally, the change data header storage area includes a first sub storage area, a second sub storage area and a third sub storage area; the first sub storage area is used for storing the name of the storage unit where the changed data body is located; the second sub-storage area is used for storing the initial position of the storage unit where the changed data body is located; and the third sub storage area is used for storing the change byte number contained in the change data body.
In the implementation process, the second storage space allocation storage area sequentially stores the name, the initial position and the number of change bytes contained in the storage unit where the change data body is located, so that the attribute of the change data is accurately defined, and the change data is conveniently searched and positioned.
Optionally, the first storage space predefines a number of each of the storage units, where the number is used to indicate a number of times of one-time programmable burning of the storage unit.
In the implementation process, the number of each storage unit is preset in the first storage space, and the number may represent the number of times that the storage unit can be burned.
Optionally, the first storage space predefines a size of each of the storage units, where the size is used to indicate a size of the one-time programmable burning data in the storage unit.
In the implementation process, the size of each storage unit is preset in the first storage space, and the size may represent the size of the storage capacity of the storage unit.
Optionally, the first storage space predefines a burning position of each storage unit, and the burning position is used for indicating an arrangement position of one-time programmable burning data in the storage unit.
In the implementation process, the burning position of each storage unit is preset in the first storage space, and the position may represent a physical position where the storage unit stores data.
Optionally, the storage unit includes a burning identification data bit for indicating whether the one-time programmable burning data is burned or not.
In the implementation process, the storage unit is provided with the burning identification data bit which can indicate whether the data is burnt or not, and the data is changed under the condition that the data is burnt, so that the positioning efficiency of the changed data is improved.
Optionally, the storage unit includes a start-up writing flag data bit, where the start-up writing flag data bit is used to indicate whether the storage unit starts a writing state.
In the implementation process, the storage unit is provided with a data bit of the start burning identification which can indicate whether to start burning, so that the on-off control of whether to start burning state is realized.
Optionally, the storage unit includes a burning data bit for storing the one-time programmable burning data.
In the implementation process, the storage unit is provided with a burning data bit capable of containing burning data, so that the oriented burning of the data is realized.
In a second aspect, an embodiment of the present application provides a data storage method, which is applied to a data storage device, where the data storage device includes a first storage space and a second storage space, and the method includes: fixedly arranging a plurality of different storage units in the first storage space, wherein the storage units are used for storing one-time programmable burning data; determining changed data based on the information of the one-time programmable burning data to be changed, and storing the changed data into the second storage space; wherein the combination of the one-time programmable burning data and the alteration data is used for indicating the storage information of the data storage device.
In the implementation process, the data information required to be changed by the plurality of storage units in the first storage space is determined, and the changed data information is stored in the second storage space, when the data storage device works, the data information stored in the first storage space and the data information stored in the second storage space are sequentially read, and the changed data in the second storage space can update the corresponding data stored in the first storage space, so that the local modification or the overall modification of the plurality of storage units in the first storage space is realized, two defects caused by the burning times of the storage units, namely the fixed and non-modifiable times, are avoided, the storage efficiency is improved, and the cost is saved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a diagram illustrating a one-time programmable memory configuration according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data storage device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a first storage space according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a second storage space according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a preferred data storage device according to an embodiment of the present application;
fig. 6 is a flowchart of a data storage method according to an embodiment of the present application;
fig. 7 is a block diagram illustrating an electronic device providing a data storage method according to an embodiment of the present application.
Icon: 01-data storage means; 10-a first storage space; 101-a storage unit; 20-a second storage space; 300-an electronic device; 311-a memory; 312 — a storage controller; 313-a processor; 314-peripheral interfaces; 315-input-output unit; 316-display unit.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The inventor of the present application has noticed that, in the conventional one-time programmable memory configuration, the number of times each Group memory cell 101 can be burned is fixed and unchangeable after being configured in advance. Fig. 1 is a configuration structure common in the prior art, as shown in fig. 1. Suppose that the memory is pre-configured with Y Group memory cells 101 capable of being burned; the Group1, the Group4, the Group7 and the Group8 are all pre-configured to be burned for 2 times; group3 represents an important and frequently changed register combination, so that one more recording times is reserved, and 3 recording times are configured in advance; group2, Group5, Group6, Group pm and Group y represent less used register combinations, and therefore, only one recordable time is reserved.
The above conventional method is characterized in that after pre-configuration, the method is fixed and not modifiable, thereby bringing about two defects: (1) taking the display Gamma as an example, assuming that the number of times of burning is 3, but if the production line of the module needs rework, the number of times of adjusting the display Gamma may exceed 3, but the module must be scrapped due to the limitation of the configuration of the one-time programmable memory, so that the module cannot be used; (2) the number of times that each Group memory cell 101 can be programmed in the otp memory is flexibly adjusted, but each programming still uses the Group as a unit, and if only a few data bits of the Group memory cell 101 are adjusted, the whole Group memory cell 101 still needs to be programmed.
Based on the above research, the present embodiment provides a data storage device 01, in which two storage spaces, i.e., a first storage space 10 and a second storage space 20, are designed for storing data; the first storage space 10 is pre-configured with a plurality of storage units 101 with fixed quantity, fixed size and fixed position as in the conventional manner, and is used for storing one-time programmable burning data; the second storage space 20 is used for storing the data to be changed in the first storage space 10; by storing the data in this way, after the one-time programmable burning data stored in the storage unit 101 is modified locally or wholly, the modification information is stored in the second storage space 20, and meanwhile, the number of times of modification is flexibly determined by the size of the second storage space 20, so that the two defects are avoided, the storage efficiency is improved, and the cost is saved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a data storage device 01 according to an embodiment of the present application. The specific apparatus shown in fig. 2 will be described in detail below.
The data storage device 01 comprises a first storage space 10 and a second storage space 20, wherein the first storage space 10 comprises a plurality of storage units 101, and the storage units 101 are used for storing one-time programmable burning data; the second storage space 20 is used for storing changed data, and the changed data is used for indicating information of the one-time programmable burning data needing to be changed in the storage unit 101; the combination of the one-time programmable burning data and the alteration data is used to indicate the storage information of the data storage device 01.
The data storage device 01 may be an OTP (one time program) storage device, and may be another type of storage device. The data storage device 01 is designed with two storage spaces, and may include one or more storage spaces other than the first storage space 10 and the second storage space 20, and the positions and sizes of these storage spaces may be pre-configured according to actual needs.
The first storage space 10 includes a plurality of storage units 101 with different sizes, different burning times and different burning positions, and specifically, the storage units 101 may be respectively written into the first storage space 10 according to predefined arrangements and positions, and at the same time, one-time programmable burning data may be stored in the storage units 101 according to the above-mentioned conventional manner. Optionally, during burning, the IC type of the OLED display module is selected, whether to hook the OTP for continuation is configured, after hooking, the NG time elastic frame is adjusted, whether to continue the OTP burning is determined, the OTP burning is directly performed when the OK is adjusted, and the one-time programmable storage of the storage unit 101 is completed when the burning is completed.
The second storage space 20 has data information recorded therein that needs to be changed or modified in the first storage space 10. The position and size of the data information can be adjusted according to actual requirements and actual burning conditions, so that the burning times of the storage unit 101 in the first storage space 10 are not fixed any more, and the whole data information is not required to be burned again if local change is required; if the one-time programmable burning data stored in the storage unit 101 needs to be changed locally or wholly, the change-related information can be stored in the second storage space 20, and meanwhile, the number of times of change is flexibly determined by the size of the second storage space 20.
When the data storage device 01 works, firstly, the one-time programmable burning data stored in the first storage space 10 can be read in sequence, then the change data stored in the second storage space 20 can be read in sequence, after the change data is read, the data of the corresponding storage unit 101 in the first storage space 10 is updated, and the updated data is finally output data, so that the local or overall change of the one-time programmable burning data is realized, the burning times of the target data in each storage unit 101 are not fixed any more, the flexible burning of the target data is realized, and the space waste of the data storage device 01 is avoided.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a first storage space 10 according to an embodiment of the present disclosure. The first storage space 10 predefines the number, size, location and other basic properties of each storage unit 101, which respectively represent the basic characteristics of the storage units 101, such as the number of times that the storage units 101 can be burned, the storage capacity, and the burning physical location. Meanwhile, each memory cell 101 in the first memory space 10 has data bits with a fixed format, and specifically, may include three fixed data bits, namely, a recording flag data bit, a starting recording flag data bit, and a recording data bit.
In one embodiment, the first memory space 10 predefines the number of each of the memory cells 101, which is used to indicate the number of one-time programmable burning of the memory cells 101.
For example, the number of each memory unit 101 in the first memory space 10 is preset, and the number may represent the number of times that the memory unit 101 can be burned. Optionally, the first storage space 10 stores Y storage units 101 in Group form, which represents that the data storage device 01 can burn for Y times in total. As shown in fig. 3, the number of the memory cells 101 in which Group1 and Group4 are located is set to be 2, which means that the memory cells 101 in which Group1 and Group4 are located can be burned for 2 times; the number of the Group2, the Group5, the Group pM and the Group pY is set to be 1, which means that the storage units 101 where the Group2, the Group5, the Group pM and the Group pY are located can only be burned for 1 time; the number of the memory cells 101 in which Group3 is located is set to be 3, which means that the memory cells 101 in which Group1 and Group4 are located can be burned for 3 times.
In one embodiment, the first storage space 10 predefines the size of each of the storage units 101, and the size is used for indicating the size of the one-time programmable burning data in the storage unit 101.
Illustratively, the size of each storage unit 101 is preset in the first storage space 10, and the size may represent the size of the storage capacity of the storage unit 101, and may be one or more bytes. Alternatively, the first storage space 10 stores Y storage units 101 in the form of groups with different sizes, representing that the data storage device has 01 storage units 101 with different storage capacities. As shown in fig. 3, the storage cells 101 in which Group1, Group2, Group3, Group4, Group5 …, Group pm, and Group py are located have different lengths, that is, different storage capacities.
In one embodiment, the first storage space 10 predefines a burning position of each of the storage units 101, where the burning position is used to indicate an arrangement position of one-time programmable burning data in the storage unit 101.
Illustratively, the burning position of each storage unit 101 is preset in the first storage space 10, and the position may represent a physical arrangement position where the storage unit 101 stores data. Alternatively, the first storage space 10 stores Y storage units 101 with different sizes and locations in a Group format, and represents that the data storage device 01 storage units 101 have different storage capacity sizes and locations. As shown in fig. 3, the storage units 101 in which Group1, Group2, Group3, Group4, Group5 …, and the like are respectively located are sequentially arranged according to a predefined physical position.
In one embodiment, the memory unit 101 includes a burning identification data bit for indicating whether the one-time programmable burning data is burned or not.
For example, the burst cutting identification data bit in the memory unit 101 may be disposed at the head or the tail of the memory unit 101, and the burst cutting identification data bit may generally have two forms of values, i.e., "1" or "0". Wherein, the data bit value of the burning identification is "1", which represents that the state of the memory cell 101 is burnt; the bit value of the write flag is "0", which indicates that the state of the memory cell 101 is not yet written.
In one embodiment, the memory unit 101 includes a start-up programming flag bit, which is used to indicate whether the memory unit 101 is in a programming state.
For example, the start-up burst id data bit in the memory cell 101 may also be set at the head or the tail of the memory cell 101, and the start-up burst id data bit may generally have two types of values, i.e., "1" or "0". Wherein, the starting burning identification data bit value is '1', the burning switch of the memory unit 101 is turned on, and the memory unit 101 starts to burn the one-time programmable data; and starting the data bit value of the burning identification to be 0, closing the burning switch of the memory unit 101, and suspending the burning of the current one-time programmable data by the memory unit 101.
In one embodiment, the memory unit 101 includes a burst data bit for storing the one-time programmable burst data.
For example, the burning flag bit in the memory cell 101 may be set between the burning flag bit and the start burning flag bit, or may be set after or before the burning flag bit and the start burning flag bit. The burst data bits may store one-time programmable burst data in hexadecimal form, which includes one or more bytes of data in size.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a second storage space 20 according to an embodiment of the present disclosure.
In one embodiment, the change data includes a change data body and a change data header; the second storage space 20 includes a modified data body storage area and a modified data header storage area; the modified data body storage area is used for storing the one-time programmable burning data to be modified in the storage unit 101, and the modified data head storage area is used for indicating the one-time programmable burning data to be modified in the first storage space 10.
For example, the modified data stored in the second storage space 20 may specifically include a modified data body and a modified data head, and the two portions of data are respectively stored in the storage areas corresponding to the second storage space 20. The modified data header is mainly related to positioning information of the modified data body, and is used for indicating which part of data of which storage unit 101 in the first storage space 10 is modified by the modified data body; the changed Data body is the changed part of the Data content in the storage unit 101, such as the Data part shown in fig. 4.
Optionally, the IC further defines a OTP memory space, i.e. the second memory space 20, for storing the modified data information of the modified data body and the modified data header, and since only partial modification is generally performed, the reserved space of the second memory space 20 is much smaller than that of the first memory space 10, and about 1 kbyte can meet the requirement.
In one embodiment, the altered data header storage area comprises a first sub-storage area, a second sub-storage area and a third sub-storage area; the first sub-storage area is used for storing the name of the storage unit 101 where the changed data body is located; the second sub-storage area is used for storing the initial position of the storage unit 101 where the changed data body is located; the third sub-storage area is used for storing the number of changed bytes contained in the changed data body.
For example, the second storage space 20 may be provided with four storage areas for storing changed data. The first three storage areas, namely the first sub-storage area, the second sub-storage area and the third sub-storage area, may respectively store the name, the start position and the number of change bytes included in the storage unit 101 where the changed data body is located. As shown in fig. 4, the second storage space 20 continuously allocates N rows of storage areas for N changes, each row of storage area includes four storage areas, that is, a changed data header storage area and a changed data body storage area including a first sub storage area, a second sub storage area and a third sub storage area, and respectively stores changed data: group number (name of storage section 101), Address (start position), Word count (number of bytes changed included), and Data (Data after change).
In a preferred embodiment, the OLED display driving chip needs to perform Gamma correction on the image, the Gamma correction is to perform exponential transformation (i.e. Gamma transformation) on RGB data of the image, the cost is high for implementing the exponential transformation for the digital logic circuit, generally, output values of some fixed points (i.e. fixed input value points) in the RGB data are stored in a register in advance, and then linear interpolation is used to calculate output values between the fixed points when performing the Gamma correction.
Further, the fixed points corresponding to different Gamma transformations have different output values, and in order to meet different Gamma correction requirements, a plurality of storage units 101 with different numbers, sizes and positions may be disposed in the first storage space 10 for storing different output values of the preset fixed points. Alternatively, the first memory space 10 may be provided with Y Group memory cells 101, and the output value of each fixed point of the memory cells 101 is used for one kind of Gamma correction. Here, the number of preset fixed points may be q, that is, each Group storage unit 101 may include output values of q fixed points. Thus, the output values of the fixed points of the Y kinds of Gamma conversion can be stored in the data storage device 01, when the OLED display screen driving chip is powered on, the output values of the fixed points stored in the data storage device 01 can be automatically loaded into the register, and the Gamma correction related module in the driving chip can utilize the corresponding register values to perform the Gamma conversion so as to normally display images.
During Gamma correction, as shown in fig. 5, when the output values of the fixed points of the three bytes at the starting position X in the mth storage unit 101 in the 10 Group storage units 101 in the first storage space need to be locally changed, the xth position and the three bytes after the xth position in the mth Group storage unit 101 can be specified in the N-row storage area of the second storage space 20 for burning. The first sub-storage area where the Group number is located can store the name M in a hexadecimal form; the second sub-storage area where the Address is located can store X in a hexadecimal form; the number of the third sub-storage area where Word count is located can be 3 in hexadecimal form; the storage area of the changed Data body in which Data is located can store Data 1-3 to be updated with three bytes in hexadecimal form.
Further, the data stored in each Group storage unit includes functional data which is not limited to a Gamma conversion output value, for example, the storage unit in which Group1 is located, the storage unit … in which Group2 is located, and the storage unit in which Group y is located may store various different functional data, so as to implement different functions.
In order to better realize the data storage function of the data storage device 01, the application also provides a data storage method, which is applied to the data storage device 01, wherein the data storage device 01 comprises a first storage space 10 and a second storage space 20.
Referring to fig. 6, fig. 6 is a flowchart of a data storage method provided in the present application, where the data storage method includes the following steps:
step 100: fixedly storing and setting a plurality of different storage units 101 in the first storage space 10, wherein the storage units 101 are used for storing one-time programmable burning data;
step 200: determining changed data based on the information of the one-time programmable burning data to be changed, and storing the changed data into the second storage space 20;
wherein the combination of the one-time programmable burning data and the alteration data is used for indicating the storage information of the data storage device 01.
The data storage method provided by the present application can be used in combination with the data storage device described above to manage data storage in the data storage device, and can also be applied to other data storage devices in the field without departing from the inventive scope of the present application.
Referring to fig. 7, fig. 7 is a block diagram of an electronic device. The electronic device 300 may include a memory 311, a memory controller 312, a processor 313, a peripheral interface 314, an input-output unit 315, and a display unit 316. It will be understood by those skilled in the art that the structure shown in fig. 7 is merely illustrative and is not intended to limit the structure of the electronic device 300. For example, electronic device 300 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
The aforementioned components of the memory 311, the memory controller 312, the processor 313, the peripheral interface 314, the input/output unit 315, and the display unit 316 are electrically connected to each other directly or indirectly to implement data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses or signal lines. The processor 313 described above is used to execute executable modules stored in memory.
The Memory 311 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 311 is configured to store a program, and the processor 313 executes the program after receiving an execution instruction, and the method executed by the electronic device 300 defined by the process disclosed in any embodiment of the present application may be applied to the processor 313, or implemented by the processor 313.
The processor 313 may be an integrated circuit chip having signal processing capabilities. The Processor 313 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 314 couples various input/output devices to the processor 313 and to the memory 311. In some embodiments, peripheral interface 314, processor 313, and memory controller 312 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input/output unit 315 is used for providing input data to a user. The input/output unit 315 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 316 provides an interactive interface (e.g., a user interface) between the electronic device 300 and the user for reference. In this embodiment, the display unit 316 may be a liquid crystal display or a touch display. The liquid crystal display or the touch display can display the process of the program executed by the processor.
The electronic device 300 in this embodiment may be configured to perform each step in each method provided in this embodiment.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps in the foregoing method embodiments.
The computer program product of the foregoing method provided in the embodiment of the present application includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute steps in the foregoing method embodiment, which may be referred to specifically in the foregoing method embodiment, and details are not described herein again.
In summary, the following steps: an embodiment of the present application provides a data storage device 01, where the device includes: the device comprises a first storage space 10, wherein the first storage space 10 comprises a plurality of storage units 101, and the storage units 101 are used for storing one-time programmable burning data; a second storage space 20, where the second storage space 20 is used to store changed data, and the changed data is used to indicate information of the one-time programmable burning data that needs to be changed in the storage unit 101; wherein the combination of the one-time programmable burning data and the alteration data is used for indicating the storage information of the data storage device 01.
In the implementation process, two storage spaces, namely a first storage space 10 and a second storage space 20, are arranged for storing data; the first storage space 10 is pre-configured with a plurality of storage units 101 with fixed quantity, fixed size and fixed position as in the conventional manner, and is used for storing one-time programmable burning data; the second storage space 20 is used for storing data to be changed in the first storage space 10, so that local or overall change of the one-time programmable burning data is realized, the burning times of the target data in each storage unit 101 are not fixed any more, the changing times are flexibly determined by the size of the second storage space 20, the space waste of the data storage device 01 is avoided, the storage efficiency is improved, and the cost is saved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form. The functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A data storage device, characterized in that the device comprises:
the first storage space comprises a plurality of storage units, and the storage units are used for storing one-time programmable burning data;
the second storage space is used for storing changed data, and the changed data is used for indicating the information of the one-time programmable burning data needing to be changed in the storage unit;
wherein the combination of the one-time programmable burning data and the change data is used for indicating the storage information of the data storage device.
2. The apparatus of claim 1, wherein the change data comprises a change data body and a change data header;
the second storage space comprises a changed data body storage area and a changed data head storage area;
the changed data body storage area is used for storing the one-time programmable burning data needing to be changed in the storage unit, and the changed data head storage area is used for indicating the one-time programmable burning data needing to be changed in the first storage space.
3. The apparatus of claim 2, wherein the change data header storage area comprises a first sub storage area, a second sub storage area, and a third sub storage area;
the first sub storage area is used for storing the name of the storage unit where the changed data body is located;
the second sub-storage area is used for storing the initial position of the storage unit where the changed data body is located;
and the third sub storage area is used for storing the number of changed bytes contained in the changed data body.
4. The apparatus of claim 1, wherein the first storage space predefines a number of each of the storage units, the number indicating a number of one-time programmable burning of the storage unit.
5. The apparatus of claim 1, wherein the first storage space predefines a size of each of the storage units, the size indicating a size of one-time programmable burning data in the storage unit.
6. The apparatus of claim 1, wherein the first storage space predefines a burning location of each of the storage units, and the burning location is used to indicate an arrangement location of one-time programmable burning data in the storage unit.
7. The apparatus of claim 1, wherein the storage unit comprises a burning identification data bit for indicating whether the one-time programmable burning data is burned.
8. The apparatus of claim 1, wherein the memory cell comprises a start-burning flag data bit, and the start-burning flag data bit is used to indicate whether the memory cell is in a burning state.
9. The apparatus of claim 1, wherein the storage unit comprises a burst data bit for storing the one-time programmable burst data.
10. A data storage method, applied to a data storage device, wherein the data storage device includes a first storage space and a second storage space, the method comprising:
fixedly arranging a plurality of different storage units in the first storage space, wherein the storage units are used for storing one-time programmable burning data;
determining changed data based on the information of the one-time programmable burning data to be changed, and storing the changed data into the second storage space;
wherein the combination of the one-time programmable burning data and the alteration data is used for indicating the storage information of the data storage device.
CN202210132985.8A 2022-02-08 2022-02-08 Data storage device and method Active CN114489516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210132985.8A CN114489516B (en) 2022-02-08 2022-02-08 Data storage device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210132985.8A CN114489516B (en) 2022-02-08 2022-02-08 Data storage device and method

Publications (2)

Publication Number Publication Date
CN114489516A true CN114489516A (en) 2022-05-13
CN114489516B CN114489516B (en) 2024-06-25

Family

ID=81480767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210132985.8A Active CN114489516B (en) 2022-02-08 2022-02-08 Data storage device and method

Country Status (1)

Country Link
CN (1) CN114489516B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070153609A1 (en) * 2005-12-16 2007-07-05 Fortune Semiconductor Corporation One-time programmable memory and method of burning data of the same
US8429375B1 (en) * 2006-06-16 2013-04-23 Synopsys, Inc. Memory management unit (MMU) to make only one time programmable (OTP) memory appear multiple times programmable (MTP)
CN106875974A (en) * 2017-03-16 2017-06-20 成都信息工程大学 A kind of OTP storage devices and the method for accessing otp memory
CN112199047A (en) * 2020-10-12 2021-01-08 北京集创北方科技股份有限公司 Storage device, method, driving chip, display panel and electronic equipment
CN113031854A (en) * 2019-12-25 2021-06-25 新唐科技股份有限公司 One-time programmable memory device and fault-tolerant method thereof
CN113778471A (en) * 2021-09-10 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module burning method and device and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070153609A1 (en) * 2005-12-16 2007-07-05 Fortune Semiconductor Corporation One-time programmable memory and method of burning data of the same
US8429375B1 (en) * 2006-06-16 2013-04-23 Synopsys, Inc. Memory management unit (MMU) to make only one time programmable (OTP) memory appear multiple times programmable (MTP)
CN106875974A (en) * 2017-03-16 2017-06-20 成都信息工程大学 A kind of OTP storage devices and the method for accessing otp memory
CN113031854A (en) * 2019-12-25 2021-06-25 新唐科技股份有限公司 One-time programmable memory device and fault-tolerant method thereof
CN112199047A (en) * 2020-10-12 2021-01-08 北京集创北方科技股份有限公司 Storage device, method, driving chip, display panel and electronic equipment
CN113778471A (en) * 2021-09-10 2021-12-10 昆山丘钛微电子科技股份有限公司 Camera module burning method and device and readable storage medium

Also Published As

Publication number Publication date
CN114489516B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
JP4828816B2 (en) Memory card, semiconductor device, and memory card control method
CN108874301A (en) data storage device and operation method thereof
US20100125772A1 (en) Error correcting controller, flash memory chip system, and error correcting method thereof
JP2002278781A (en) Storage device, method for controlling storage device and program
WO2006009322A2 (en) Memory card, nonvolatile semiconductor memory, and method of controlling semiconductor memory
JP2004258946A (en) Memory card
KR20100088210A (en) Apparatus and method for downloadin contents using movinand in portable terminal
WO2022143991A1 (en) Multi-time programming electronic fuse apparatus
US20110004719A1 (en) Memory Element
KR20070003673A (en) Memory card using flash memory and controlling method thereof
CN114489516A (en) Data storage device and method
US20090119424A1 (en) Method for storing data
CN115509618A (en) Drive control method, device, apparatus, storage medium, and program product
CN115359828A (en) Server firmware refreshing method, device, terminal and storage medium
CN113849380A (en) Hard disk slot position and signal lamp number determining method, system and related components
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN112988038A (en) Data writing method of nonvolatile memory, terminal and readable storage medium
KR101106568B1 (en) File sorting System for mobile device and Method thereof
JPH11120044A (en) Data processor, data processing method, data processing system and recording medium
EP3816744B1 (en) Control device for industrial machine, setting system for control device for industrial machine, method of setting control device for industrial machine, and program
US20230350593A1 (en) Method, system, and circuit for deploying file system on embedded memory in programmable computing device
CN109976678B (en) Storage method and equipment
CN115774570A (en) Method and device for modifying adaptation of system external device through configuring private partition
CN117348919A (en) Information configuration method, information configuration device, computer equipment and storage medium
CN114371960A (en) Parameter management method and system of embedded 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
GR01 Patent grant