Memories, storage devices, integrated circuits, radio components and equipment
By using preset encoding to protect E-Fuse storage elements in the data storage, the problem of rewriting and leakage of E-Fuse storage information is solved, and data stability and security are achieved.
Patent Information
- Application Number
- CN202011033432.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-10-18
AI Technical Summary
The hardware version number and chip serial number stored in E-Fuse are easily overwritten and invalidated, and confidential information is easily read and leaked by external programs.
Design a data memory that includes a first storage unit and a second storage unit. When storing a preset code in the second storage unit, the corresponding first storage unit is placed in a write-protected or read-protected state to prevent further writing. or read.
It effectively prevents the secondary rewriting of hardware version numbers and serial numbers and the leakage of confidential information, ensuring the stability and security of data.
Smart Images

Figure CN112233716B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data storage, and in particular to a memory, a storage device, an integrated circuit, a radio device and an apparatus. Background Art
[0002] One Time Programmable (OTP) devices are devices that write information by generating a large current to burn out certain fuses inside the device. The burning feature of OTP makes OTP non-volatile, so OTP can be used to store specific information such as hardware version numbers and specific serial numbers. Common types of OTP include E-Fuse.
[0003] Generally, once a bit in the E-Fuse is written as a binary 1, it cannot be modified again. However, there are still two human operations that can cause the information stored in the E-Fuse to become invalid: 1. Adding a large current to a bit that has been written as 1 again will cause 1 to become 0 with a certain probability. 2. Writing a value that was originally 0 in the valid information to 1. In addition, the OTP also stores confidential information such as key information that users need for confidentiality, which can be easily read and leaked by external programs. Summary of the invention
[0004] The present application provides a memory, a storage device, an integrated circuit, a radio device and an apparatus for solving the problem that specific information such as the hardware version number and chip serial number stored in the E-Fuse is easily rewritten and becomes invalid, and the problem that confidential information is easily read and leaked by external programs.
[0005] A first aspect. The present application provides a data storage device for use in an integrated circuit, the data storage device comprising: a first storage unit, comprising at least one first storage element; and a second storage unit, comprising at least one second storage element; wherein, when the data stored in the second storage element is encoded as a preset encoding, at least one of the first storage elements corresponding to the second storage element is in a write protection state and / or a read protection state.
[0006] The product information can be stored in several first storage elements of the first storage unit, and the data codes stored in the second storage elements corresponding to these first storage elements are set to preset codes. In this way, the several first storage elements storing the product information will be in a write-protected state, that is, these first storage elements cannot be written again, thus preventing the product information stored in the first storage elements from being manually rewritten twice. Similarly, confidential information can be stored in several first storage elements of the first storage unit, and the data codes stored in the second storage elements corresponding to these first storage elements are set to preset codes. In this way, the several first storage elements storing the confidential information will be in a read-protected state, that is, these first storage elements cannot be read by external programs. This solves the problem of leakage caused by the confidential information stored in the first storage elements being accessed by external programs.
[0007] Optionally, when the first storage element is in a write-protected state, the first storage element cannot be written; and / or when the first storage element is in a read-protected state, the first storage element cannot be read by a program located outside the integrated circuit.
[0008] Optionally, when the second storage unit includes a second storage element, when the data stored in the second storage element is encoded as the preset code, at least one of the first storage elements corresponding to the second storage element is in a write protection state and / or a read protection state.
[0009] Optionally, when the second storage unit includes at least two second storage elements, each second storage element corresponds one-to-one to the first storage element; and when the data stored in any second storage element is encoded as the preset code, the first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
[0010] Optionally, the preset is encoded as a binary bit "1".
[0011] Optionally, the first storage unit is used to store hardware version number, product serial number and / or key information.
[0012] Optionally, the data memory is a memory with a programmable fuse structure.
[0013] Optionally, the data storage device is a one-time programmable device.
[0014] In a second aspect, the present application provides a data storage device for performing data operations based on data storage request information, wherein the data storage request information includes an operation address and an operation protection address; the device includes: a data storage module; an operation module, for performing the data operation on a storage element corresponding to the operation address in the data storage module; and a self-locking protection module, for controlling the working state of the operation module based on the code in the storage element corresponding to the operation protection address in the data storage module.
[0015] In the write scenario, when the self-locking protection module determines that the first storage element corresponding to the write address is in a write-protected state, the control operation module is in a closed state, so that the operation module cannot perform the write operation, preventing the storage element corresponding to the write address in the data storage module from being written again, and ensuring the validity of the data already written in the storage element corresponding to the write address. In the read scenario, when the self-locking protection module determines that the first storage element corresponding to the read address is in a read-protected state, the control operation module is in a closed state, so that the operation module cannot perform the read operation, preventing the storage element corresponding to the read address from being read by an external program, thus solving the problem of stored confidential information being accessed by an external program and leaked.
[0016] Optionally, the data storage module includes the data storage device of the first aspect; wherein the storage element corresponding to the operation address in the data storage module is the first storage element, and the storage element corresponding to the operation protection address in the data storage module is the second storage element.
[0017] Optionally, the working state includes a closed state and a running state; wherein, when the data stored in the second storage element is encoded as the preset code, the self-locking protection module controls the operating module to be in a closed state, so that the first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
[0018] Optionally, the operation module includes a reading unit; wherein, when the data encoding stored in the second storage element is the preset encoding, the self-locking protection module controls the reading unit to be in a closed state so that the first storage element corresponding to the second storage element is in a read protection state.
[0019] Optionally, the above-mentioned data storage device also includes: a shadow register connected to the reading unit; wherein the shadow register is used to read the key information from the first storage element through the reading unit when the integrated circuit is powered on.
[0020] Optionally, the operation module includes a writing unit; wherein, when the data encoding stored in the second storage element is the preset encoding, the self-locking protection module controls the writing unit to be in a closed state so that the first storage element corresponding to the second storage element is in a write-protected state.
[0021] Optionally, the data storage device further includes: an encapsulator for encapsulating the interface of the data storage module; wherein the operation module is connected to the data storage module via the encapsulator.
[0022] In a third aspect, the present application provides an integrated circuit, comprising: a data storage device as in the first aspect, or a data storage device as in the second aspect, for storing hardware version numbers, product serial numbers and / or key information, etc.
[0023] Optionally, the integrated circuit is a millimeter wave radar chip.
[0024] Optionally, the integrated circuit may be a packaged antenna AiP chip.
[0025] In a fourth aspect, the present application provides a radio device, comprising: a carrier, the integrated circuit of the third aspect, and an antenna. The integrated circuit is disposed on the carrier. The antenna is disposed on the carrier, or integrated in the package of the integrated circuit. The integrated circuit is connected to the antenna for transmitting and receiving radio signals.
[0026] It should be noted that the radio devices in the embodiments of the present application may be devices that are sold separately, and / or devices that implement functions such as target detection, imaging and / or communication separately, such as vehicle-mounted radars, speed meters, life sign meters, communications and other devices, or various development boards, mainboards and other circuit boards that integrate the above-mentioned integrated circuits (i.e., chips).
[0027] In a fifth aspect, the present application provides a device, comprising: a device body and a radio device according to the fourth aspect disposed on the device body, wherein the radio device is used for target detection and / or communication.
[0028] The memory, storage device, integrated circuit, radio device and equipment provided by the present application can store product information in several first storage elements of the first storage unit of the memory, and set the data codes stored in the second storage elements corresponding to these first storage elements to preset codes, so that the above-mentioned several first storage elements storing product information will be in a write-protected state, that is, these first storage elements cannot be written again, thus preventing the product information stored in the first storage element from being manually rewritten twice. Similarly, confidential information can be stored in several first storage elements of the first storage unit, and the data codes stored in the second storage elements corresponding to these first storage elements are set to preset codes, so that the above-mentioned several first storage elements storing confidential information will be in a read-protected state, that is, these first storage elements cannot be read by external programs. This solves the problem of leakage caused by the confidential information stored in the first storage element being contacted by external programs. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the structure of the data storage device provided for this application;
[0030] Figure 2 Schematic diagram of the first storage unit and the second storage unit provided in this application Figure 1 ;
[0031] Figure 3 Schematic diagram of the first storage unit and the second storage unit provided in this application Figure 2 ;
[0032] Figure 4 Schematic diagram of the first storage unit and the second storage unit provided in this application Figure 3 ;
[0033] Figure 5 Schematic diagram of the first storage unit and the second storage unit provided in this application Figure 4 ;
[0034] Figure 6 A schematic diagram of the structure of the data storage device provided by this application;
[0035] Figure 7 A schematic diagram of the structure of the radio device provided for this application;
[0036] Figure 8 A schematic diagram of the structure of the device provided in this application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] In the present application, it should be explained that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " is generally used to indicate that the objects associated with each other are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a combination of a, b and c, where a, b, c can be single or multiple.
[0039] The burning feature of One Time Programmable (OTP) makes OTP non-volatile. Therefore, OPT can be used to store hardware version number, product serial number and / or key information. Commonly used OPT types include electronic fuses E-Fuse. Take the product serial number 0xFFFF_0000 as an example: if you want to store the serial number in E-Fuse, through a special burning sequence, a large current is introduced to the upper 16 bits to blow the internal metal fuse, and the corresponding bit is rewritten as a binary bit 1.
[0040] Generally, once a bit in the E-Fuse is written as a binary 1, it cannot be modified again. However, there are still two human operations that will cause the information stored in the E-Fuse to become invalid:
[0041] 1. If a large current is applied to a bit that has been written as 1 again, there is a certain probability that 1 will become 0.
[0042] 2. Write the value of valid information that was originally 0 to 1. Taking the serial number 0xFFFF_0000 as an example, the upper 16 bits have changed to 1, so there is a small chance that it will become 0 when reprogrammed. However, the lower 16 bits are the default values without any data written. It is very easy to change these 16 bits. Any change in the data in the lower 16 bits will cause the serial number to become invalid.
[0043] In addition, OTP also stores confidential information such as key information required by users for confidentiality purposes. After being confirmed to be written correctly, this confidential information can only be accessed and used by the internal hardware of the chip and cannot be accessed by external programs, thereby ensuring that the confidential information is not leaked.
[0044] In order to prevent the product information stored in the E-Fuse from being artificially rewritten a second time, and to prevent the confidential information stored in the E-Fuse from being accessed by external programs, the present application provides a data storage device, in which the storage unit in the storage device is divided into a first storage unit and a second storage unit, wherein the first storage unit includes at least one first storage element; the second storage unit includes at least one second storage element; when the data stored in the second storage element is encoded as a preset code, at least one first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
[0045] The product information can be stored in several first storage elements of the first storage unit, and the data codes stored in the second storage elements corresponding to these first storage elements can be set to preset codes. In this way, the above-mentioned several first storage elements storing the product information will be in a write-protected state, that is, these first storage elements cannot be written again, thus preventing the product information stored in the first storage element from being manually rewritten for the second time.
[0046] Similarly, confidential information can be stored in a plurality of first storage cells of the first storage unit, and the data codes stored in the second storage cells corresponding to these first storage cells are set to the preset codes, so that the plurality of first storage cells storing confidential information will be in a read protection state, that is, these first storage cells cannot be read by external programs. This solves the problem of leakage caused by the confidential information stored in the first storage cells being accessed by external programs.
[0047] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0048] Embodiment 1
[0049] Figure 1 This is a schematic diagram of the structure of the data storage provided by the present application. The data storage can be applied to an integrated circuit, such as Figure 1 As shown, the data storage provided by the present application includes a first storage unit and a second storage unit, the first storage unit includes at least one first storage element, and the second storage unit includes at least one second storage element. The relationship between the first storage element and the second storage element is that when the data encoding stored in the second storage element is a preset encoding, at least one first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
[0050] The write protection scenario and the read protection scenario are introduced separately below:
[0051] First, the write protection scenario is introduced. The data written into the first storage unit may be product information, such as hardware version number, product serial number, or single-bit data.
[0052] When the data written into the first storage unit is product information, the second storage unit includes a second storage element, and when the second storage element is a preset code, at least one first storage element corresponding to the second storage element for storing the product information is in a write-protected state.
[0053] Here are some examples:
[0054] See also Figure 2 As shown, the first storage unit includes at least one storage element, and the at least one first storage element is: Bit0 to Bit7 of address 0, and Bit1 to Bit7 of address 1. The second storage unit includes a second storage element, whose address is: Bit0 of address 1. At least one first storage element corresponding to the second storage element is: Bit0 to Bit7 of address 0. When the data stored in the second storage element is encoded as a binary bit "1", the corresponding at least one first storage element is in a write protection state.
[0055] The product information can be written to Bit0 to Bit7 of address 0. Figure 2 The serial number is used as an example, and then the corresponding second storage element is written with the binary bit "1". In this way, since Bit0 to Bit7 of address 0 are in a write-protected state, that is, Bit0 to Bit7 of address 0 cannot be written again, the stored serial number will not become invalid due to manual rewriting.
[0056] When the data written into the above-mentioned first storage unit is single-bit data, the second storage unit includes at least two second storage elements, and each second storage element corresponds to the first storage element one by one; when the data encoding stored in any second storage element is a preset encoding, the first storage unit corresponding to the second storage element is in a write-protected state.
[0057] Here are some examples:
[0058] See also Figure 3As shown, the first storage unit includes at least one storage element, and the at least one first storage element is: Bit0 to Bit7 of address 2. The second storage unit includes at least two second storage elements, and the at least two second storage elements are: Bit0 to Bit7 of address 3. Bit0 of address 3 corresponds to Bit0 of address 2, Bit1 of address 3 corresponds to Bit1 of address 2, Bit2 of address 3 corresponds to Bit2 of address 2, Bit3 of address 3 corresponds to Bit3 of address 2, Bit4 of address 3 corresponds to Bit4 of address 2, Bit5 of address 3 corresponds to Bit5 of address 2, Bit6 of address 3 corresponds to Bit6 of address 2, and Bit7 of address 3 corresponds to Bit7 of address 2. When the data stored in any second storage element is encoded as a binary bit "1", the first storage element corresponding to the second storage element is in a write protection state.
[0059] Single-bit data can be written to any one of Bit0 to Bit7 of address 2. Figure 3 As an example, 7 single-bit data are stored, and then the corresponding second storage element is written with the binary bit "1". In this way, since Bit0 to Bit7 of address 2 are in write-protected state, that is, Bit0 to Bit7 of address 2 cannot be written again, the stored data 1 to data 7 will not become invalid due to manual rewriting.
[0060] Next, a read protection scenario is introduced. The data stored in the first storage unit may be confidential information, such as key information, or may be single-bit data.
[0061] When the data stored in the first storage unit is confidential information, the second storage unit includes a second storage element, and when the second storage element is a preset code, the first storage element corresponding to the second storage element and used to store the above confidential information is in a read protection state.
[0062] Here are some examples:
[0063] See also Figure 4 As shown, the first storage unit includes at least one storage element, and the at least one first storage element is: Bit0 to Bit7 of address 0, and Bit1 to Bit7 of address 1. The second storage unit includes a second storage element, whose address is: Bit0 of address 1. The at least one first storage element corresponding to the second storage element is: Bit0 to Bit7 of address 0. When the data stored in the second storage element is encoded as a binary bit "1", the corresponding at least one first storage element is in a read protection state.
[0064] Confidential information can be written to Bit0 to Bit7 of address 0. Figure 4The key information is indicated in the figure, and then the corresponding second storage element is written into the encoded binary bit "1". In this way, since Bit0 to Bit7 of address 0 are in a read protection state, that is, Bit0 to Bit7 of address 0 cannot be read by a program outside the integrated circuit, the stored key information will not be leaked due to contact with an external program.
[0065] When the data stored in the first storage unit is single-bit data, the second storage unit includes at least two second storage elements, and each second storage element corresponds to the first storage element one by one; when the data encoding stored in any second storage element is a preset encoding, the first storage element corresponding to the second storage element is in a read protection state.
[0066] Here are some examples:
[0067] See also Figure 5 As shown, the first storage unit includes at least one storage element, and the at least one first storage element is: Bit0 to Bit7 of address 2. The second storage unit includes at least two second storage elements, and the at least two second storage elements are: Bit0 to Bit7 of address 3. Bit0 of address 3 corresponds to Bit0 of address 2, Bit1 of address 3 corresponds to Bit1 of address 2, Bit2 of address 3 corresponds to Bit2 of address 2, Bit3 of address 3 corresponds to Bit3 of address 2, Bit4 of address 3 corresponds to Bit4 of address 2, Bit5 of address 3 corresponds to Bit5 of address 2, Bit6 of address 3 corresponds to Bit6 of address 2, and Bit7 of address 3 corresponds to Bit7 of address 2. When the data stored in any second storage element is encoded as a binary bit "1", the first storage element corresponding to the second storage element is in a read protection state.
[0068] Single-bit data can be written to any one of Bit0 to Bit7 of address 2. Figure 3 As an example, 7 single-bit data are stored, and then the corresponding second storage element is written with the binary bit "1". In this way, since Bit0 to Bit7 of address 2 are in a read protection state, that is, Bit0 to Bit7 of address 2 cannot be read by a program outside the integrated circuit, the stored data 1 to data 7 will not be leaked due to contact with an external program.
[0069] Optionally, the data storage device provided in this embodiment may be a memory device with a programmable fuse structure, or may be other types of one-time programmable devices.
[0070] The data storage device provided in this embodiment can store product information in several first storage elements of the first storage unit, and set the data codes stored in the second storage elements corresponding to these first storage elements to preset codes, so that the several first storage elements storing product information will be in a write-protected state, that is, these first storage elements cannot be written again, thus preventing the product information stored in the first storage elements from being manually rewritten twice. Similarly, confidential information can be stored in several first storage elements of the first storage unit, and set the data codes stored in the second storage elements corresponding to these first storage elements to preset codes, so that the several first storage elements storing confidential information will be in a read-protected state, that is, these first storage elements cannot be read by external programs. This solves the problem of leakage caused by the confidential information stored in the first storage elements being accessed by external programs.
[0071] Embodiment 2
[0072] Figure 6 Schematic diagram of the structure of the data storage device 6 provided in this application. The data storage device 6 provided in this embodiment is used to perform data operations according to data storage request information, and the data storage request information includes an operation address and an operation protection address. Figure 6 As shown, the data storage device 6 provided in this embodiment includes: a data storage module 601, an operation module 602 and a self-locking protection module 603, wherein the operation module 602 is used to perform data operations on the storage element corresponding to the operation address in the data storage module 601; the self-locking protection module 603 is used to control the working state according to the coding in the storage element corresponding to the operation protection address in the data storage module 601.
[0073] Optionally, the above data storage request information can be triggered by a user through a terminal device such as a computer or a mobile phone.
[0074] When the above-mentioned data storage request information is used to request writing data, the data storage request information includes a write address and a write protection address. The self-locking protection module 603 determines whether the storage element is in a write-protected state according to the code in the storage element corresponding to the write protection address in the data storage module 601. If it is in the write-protected state, the control operation module 602 is in a closed state, so that the operation module 602 cannot perform the write operation, thereby preventing the storage element corresponding to the write address in the data storage module 601 from being written again, and ensuring the validity of the data already written in the storage element corresponding to the write address; if the storage element corresponding to the above-mentioned write address is not in a write-protected state, the control operation module 602 is in an open state, so that the operation module 602 can perform the write operation normally.
[0075] When the above-mentioned data storage request information is used to request to read data, the data storage request information includes a read address and a read protection address. The self-locking protection module 603 determines whether the storage element is in a read protection state according to the code in the storage element corresponding to the read protection address in the data storage module 601. If it is in the read protection state, the control operation module 602 is in a closed state, so that the operation module 602 cannot perform a read operation, thereby preventing the storage element corresponding to the read address from being read by an external program, thereby solving the problem of stored confidential information being accessed and leaked by an external program.
[0076] In a possible implementation, the data storage module 601 in this embodiment may include the data storage provided in the above embodiment. In this case, the storage element corresponding to the operation address in the data storage module 601 is the first storage element in the above embodiment, and the storage element corresponding to the operation protection address in the data storage module 601 is the second storage element in the above embodiment. When the data encoding stored in the second storage element is a preset encoding, the self-locking protection module 603 controls the operation module 602 to be in a closed state, so that the first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
[0077] In the above implementation, the operation module 602 in this embodiment may further include a write unit. In the write scenario, the operation address is the write address, the operation protection address is the write protection address, and the self-locking protection module 603 determines whether the data code stored in the second storage element corresponding to the write protection address is a preset code. If so, the write unit is controlled to be in a closed state, so that the write unit cannot perform a write operation, thereby making the first storage element corresponding to the second storage element in a write protection state. The first storage element corresponding to the write address is prevented from being written again, ensuring the validity of the data already written in the first storage element; if the data code stored in the second storage element corresponding to the write protection address is not a preset code, the write unit is controlled to be in an open state, so that the write unit can perform a write operation normally.
[0078] Here are some examples:
[0079] See also Figure 2 As shown, assuming that the user triggers a data storage request, the data storage request carries data storage request information, which includes a write address and a write protection address corresponding to the write address, the write address is address 0, and the write protection address is Bit0 of address 1. The self-locking protection module 603 determines whether the code stored in Bit0 of address 1 is a binary bit "1". If so, the write unit is controlled to be in a closed state so that the write unit cannot perform a write operation. In this way, address 0 will not be written again, and the content already written to address 0 will not be overwritten, thereby ensuring the validity of the serial number.
[0080] Under the above implementation, the operation module 602 in this embodiment may further include a reading unit. In the reading scenario, the operation address is the reading address, and the operation protection address is the reading protection address. The self-locking protection module 603 determines whether the data code stored in the second storage element corresponding to the read protection address is a preset code. If so, the reading unit is controlled to be in a closed state so that the reading unit cannot perform a reading operation, thereby making the first storage element corresponding to the second storage element in a read protection state, preventing the first storage element from being read by an external program, and solving the problem of confidential information stored in the first storage element being accessed by an external program and leaked.
[0081] Here are some examples:
[0082] See also Figure 4 As shown, assuming that the user triggers a data storage request, the data storage request carries data storage request information, which includes a read address and a read protection address corresponding to the read address, the read address is address 0, and the read protection address is Bit0 of address 1. The self-locking protection module 603 determines whether Bit0 of address 1 is a binary bit "1". If so, the reading unit is controlled to be in a closed state, so that the reading unit cannot perform a read operation. In this way, address 0 will not be read by an external program, which solves the problem of confidential information stored in address 0 being accessed by an external program and leaked.
[0083] Optionally, the data storage device 6 provided in this embodiment further includes a shadow register, which is connected to the reading unit, and is used to read the key information from the first storage element through the reading unit when the integrated circuit is powered on, thereby achieving the purpose that the confidential information can only be accessed and used by internal hardware, but cannot be accessed by external software.
[0084] Optionally, the data storage device 6 provided in this embodiment further includes a wrapper, which is used to wrap the interface of the data storage module 601 so that the operation module 602 can be connected to the data storage module 601 through the wrapper.
[0085] The data storage device provided in this embodiment includes a data storage module, an operation module and a self-locking protection module. In a writing scenario, when the self-locking protection module determines that the first storage element corresponding to the write address is in a write protection state, the operation module is controlled to be in a closed state, so that the operation module cannot perform a write operation, thereby preventing the storage element corresponding to the write address in the data storage module from being written again, thereby ensuring the validity of the data already written in the storage element corresponding to the write address. In a reading scenario, when the self-locking protection module determines that the first storage element corresponding to the read address is in a read protection state, the operation module is controlled to be in a closed state, thereby preventing the operation module from performing a read operation, thereby preventing the storage element corresponding to the read address from being read by an external program, thereby solving the problem of stored confidential information being accessed by an external program and leaked.
[0086] Embodiment 3
[0087] The present application provides an integrated circuit. The integrated circuit provided by the present application may include the data storage device in the first embodiment or the data storage device in the second embodiment to implement the storage of hardware version number, product serial number and / or key information.
[0088] For example, the integrated electrical device or module may include a data storage device provided in an embodiment of the present application for data processing of special information such as version numbers, serial numbers, and confidential information, and may perform write protection and / or read protection on the above information in special application scenarios.
[0089] In another optional embodiment, the integrated circuit provided by the present application may also include the data storage device provided in the embodiment of the present application, that is, a data storage module, an operation module and a self-locking protection module, etc., so as to control the working state of the operation module according to the code in the storage element corresponding to the operation protection address in the data storage module, and also realize write protection and / or read protection when processing special information such as version number, serial number and confidential information.
[0090] As an optional embodiment, the data storage module may include the data storage device described in any embodiment of the present application, that is, the storage element corresponding to the operation address in the data storage module may be the first storage element in the data storage device, and the storage element corresponding to the operation protection address in the data storage module may be the second storage element in the data storage device.
[0091] In one possible implementation, the integrated circuit may be a millimeter wave radar chip, such as an FMCW millimeter wave radar chip in frequency bands such as 24 GHz, 60 GHz and / or 77 GHz.
[0092] In another possible implementation, the integrated circuit may also be a packaged antenna (Antennas in Package, AiP for short) chip.
[0093] Embodiment 4
[0094] Figure 7 A schematic diagram of the structure of the radio device 7 provided in this application, such as Figure 7 As shown, the radio device 7 provided in the present application includes a carrier 701, an integrated circuit 702 in the third embodiment, and an antenna 703. The integrated circuit 702 is arranged on the carrier 701, and the antenna 703 is arranged on the carrier 701, or integrated in the package of the integrated circuit 702, and the integrated circuit 702 is connected to the antenna 703 for transmitting and receiving radio signals. Among them, when the integrated circuit 702 is an AiP structure, the radio device may not include the antenna 703, and transmit and / or receive radio signals through the packaged antenna in the AiP structure.
[0095] Embodiment 5
[0096] Figure 8 A schematic diagram of the structure of the device 8 provided in this application, such as Figure 8 As shown, the device comprises: a device body 2, and a radio device 3 as described in any of the above embodiments arranged on the device body 2; wherein the radio device 3 is used for target detection and / or communication.
[0097] Optionally, based on the above embodiments, in one embodiment of the present application, the radio device 3 may be disposed outside the device body 2, in another embodiment of the present application, the radio device 3 may be disposed inside the device body 2, and in other embodiments of the present application, the radio device 3 may be partially disposed inside the device body 2 and partially disposed outside the device body 2. The present application does not limit this, and it depends on the specific circumstances.
[0098] It should be noted that the radio device 3 can realize functions such as target detection and communication by transmitting and receiving signals.
[0099] In an optional embodiment, the device body 2 may be intelligent transportation equipment (such as cars, bicycles, motorcycles, ships, subways, trains, etc.), security equipment (such as cameras), intelligent wearable devices (such as bracelets, glasses, etc.), smart home devices (such as TVs, air conditioners, smart lights, etc.), various communication devices (such as mobile phones, tablets, etc.), as well as gates, intelligent traffic lights, intelligent signs, traffic cameras and various industrial manipulators (or robots). The radio device may be the radio device described in any embodiment of the present application. The structure and working principle of the radio device have been described in detail in the above embodiments, and will not be repeated here.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data storage device, characterized in that: Applied in an integrated circuit, the data storage device comprises: A first storage unit, comprising at least one first storage element; and A second storage unit, comprising at least one second storage element; Wherein, when the data of the first storage unit is product information / confidential information, the second storage unit includes a second storage element, and when the data encoding stored in the second storage element is a preset encoding, at least one of the first storage elements corresponding to the second storage element is in a write protection state and / or a read protection state; When the data of the first storage unit is single-bit data, the second storage unit includes at least two second storage elements, each of the second storage elements corresponds to the first storage element one-to-one, and when the data encoding stored in any of the second storage elements is the preset encoding, the first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
2. The data storage device according to claim 1, characterized in that: When the first storage element is in a write-protected state, the first storage element cannot be written; and / or When the first storage element is in a read protection state, the first storage element cannot be read by a program located outside the integrated circuit.
3. The data storage device according to claim 1 or 2, characterized in that: The preset encoding is a binary bit "1".
4. The data storage device according to claim 3, characterized in that: The first storage unit is used to store hardware version number, product serial number and / or key information.
5. The data storage device according to claim 3, characterized in that: The data memory is a memory with a programmable fuse structure.
6. The data storage device according to claim 3, characterized in that: The data memory is a one-time programmable device.
7. A data storage device, characterized in that: Used to perform data operation according to data storage request information, wherein the data storage request information includes an operation address and an operation protection address; the device includes: A data storage module, the data storage module comprising the data storage device according to any one of claims 1 to 6; An operation module, configured to perform the data operation on the storage element corresponding to the operation address in the data storage module; and A self-locking protection module is used to control the working state of the operation module according to the code in the storage element corresponding to the operation protection address in the data storage module; wherein, when the data code stored in the storage element corresponding to the operation protection address is a preset code, the self-locking protection module is also used to control the operation module so that the storage element corresponding to the operation protection address is in a write protection state and / or a read protection state.
8. The device according to claim 7, characterized in that The storage element corresponding to the operation address in the data storage module is the first storage element, and the storage element corresponding to the operation protection address in the data storage module is the second storage element.
9. The device according to claim 8, characterized in that The working state includes a closed state and a running state; Among them, when the data code stored in the second storage element is the preset code, the self-locking protection module controls the operation module to be in a closed state, so that the first storage element corresponding to the second storage element is in a write protection state and / or a read protection state.
10. The device according to claim 9, characterized in that The operation module includes a reading unit; When the data code stored in the second storage element is the preset code, the self-locking protection module controls the reading unit to be in a closed state, so that the first storage element corresponding to the second storage element is in a read protection state.
11. The device according to claim 10, characterized in that Also includes: A shadow register connected to the reading unit; The shadow register is used to read key information from the first storage element through the reading unit when the integrated circuit is powered on.
12. The device according to claim 10, characterized in that The operation module includes a writing unit; When the data code stored in the second storage element is the preset code, the self-locking protection module controls the writing unit to be in a closed state, so that the first storage element corresponding to the second storage element is in a write-protected state.
13. The device according to any one of claims 7 to 12, characterized in that: Also included is a wrapper for wrapping the interface of the data storage module; Wherein, the operation module is connected to the data storage module through the encapsulator.
14. An integrated circuit, characterized in that: include: A data storage device as claimed in any one of claims 1 to 6, or a data storage device as claimed in any one of claims 7 to 13, for storing a hardware version number, a product serial number and / or key information.
15. The integrated circuit according to claim 14, characterized in that The integrated circuit is a millimeter wave radar chip.
16. The integrated circuit according to claim 14, characterized in that The integrated circuit is a packaged antenna AiP chip.
17. A radio device, characterized in that: include: Carrier; An integrated circuit as claimed in any one of claims 14 to 16, arranged on the carrier; An antenna, disposed on the carrier or integrated in a package of the integrated circuit; Wherein, the integrated circuit is connected to the antenna for sending and receiving radio signals.
18. A device, characterized in that include: Equipment body; as well as The radio device according to claim 17 is arranged on the device body; Wherein, the radio device is used for target detection and / or communication.
Citation Information
Patent Citations
Non volatiel memory device
KR1020100054483A
Provisioning of secure storage for both static and dynamic rules for cryptographic key information
US20160154744A1
