Device with data security mechanism and method of operation thereof
By using scrambling keys between the host and the memory device for data encoding and decoding, the problem of insufficient data security in the prior art is solved, efficient protection of the memory device is achieved, and unauthorized access to illegal activities is protected from illegal activities. .
Patent Information
- Application Number
- CN202410920725.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-11-14
- Filing Date
- 2020-08-17
- Publication Date
- 2024-11-08
AI Technical Summary
The prior art is difficult to effectively resist unauthorized access to memory devices by illegal activities, especially eavesdropping and illegal intrusion at the hardware level, resulting in insufficient data security.
By introducing an encoding mechanism between the host and the memory device, the target data is encoded and decoded using a scrambling key, ensuring that the stored and read data is different, so that the original data cannot be restored without authorization, increasing the security of the data sex.
Effectively resisting unauthorized access to illegal activities increases data security, reduces the possibility of eavesdropping and reverse engineering, and improves the security of memory devices.
Smart Images

Figure CN118916934A_ABST
Abstract
Description
[0001] Divisional application
[0002] This application is a divisional application of the invention patent application with the application date of August 17, 2020, application number 202010826100.5, and invention name “Device with data security mechanism and operation method thereof”. Technical Field
[0003] The disclosed embodiments relate to apparatus, and more particularly to apparatus having a data security mechanism and methods of operating the same. Background Art
[0004] An apparatus (e.g., a processor, a memory system, and / or other electronic device) may include one or more semiconductor circuits configured to store and / or process information. For example, the apparatus may include a memory device, such as a volatile memory device, a non-volatile memory device, or a combination device. A memory device, such as a dynamic random access memory (DRAM), may utilize electrical energy to store and access data. Thus, a system including a host (e.g., one or more processors and / or an operating system) may write data to a memory device and / or read stored data from the memory device. Summary of the invention
[0005] According to an embodiment of the present invention, a device is provided, the device comprising: at least one data pad configured to receive initial data from a host, the initial data comprising target data and a scrambling key; an encoding mechanism coupled to the at least one data pad and configured to generate encoded data based on encoding the received target data according to the received scrambling key; and a memory array comprising a plurality of memory cells, the memory array coupled to the encoding mechanism and configured to store the encoded data.
[0006] According to an embodiment of the present invention, a method for operating a device is provided, the method comprising: receiving initial data including target data and a scrambling key from a host; generating encoded data based on encoding the received target data according to the received scrambling key; and storing the encoded data.
[0007] According to an embodiment of the present invention, an apparatus is provided, the apparatus comprising: a host; and a memory device, which is coupled to the host and is configured to: receive initial data including target data and a scrambling key from the host, wherein the initial data corresponds to a write operation for the target data; generate encoded data based on encoding the received target data according to the received scrambling key; and store the encoded data. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 is a block diagram of an apparatus according to an embodiment of the present technology.
[0009] Figure 2 is a block diagram of another apparatus according to an embodiment of the present technology.
[0010] Figure 3 is a flowchart illustrating an example method of operating an apparatus in accordance with an embodiment of the present technology.
[0011] Figure 4 is a schematic diagram of a system including devices according to embodiments of the present technology. DETAILED DESCRIPTION
[0012] As described in more detail below, the technology disclosed herein relates to, for example, an apparatus for a computing system, a memory system, a system having a memory device, a related method for securing stored data, etc. An apparatus (e.g., a memory device and / or a system including a memory device) may receive initial data from a host (e.g., a processor, a memory controller) and / or an operating system implemented on the host. In some embodiments, the initial data (e.g., a write burst) may include a scrambling key located at a predetermined portion of the initial data (e.g., at a beginning portion and / or an end portion of the write burst). An encoding mechanism may be used in the apparatus, such as a circuit configured to scramble, reorder, and / or change target data according to a predetermined equation and / or process to generate encoded data based on the received initial data. In some embodiments, the encoding mechanism may include an exclusive OR (XOR) and / or a linear feedback shift register (LFSR) for encoding or changing target write data within the initial data according to the scrambling key. Thus, the memory device may generate and store the encoded data instead of the target data initially received. In some embodiments, the memory device may discard (e.g., not store and / or erase) the scrambling key after generating the encoded data.
[0013] Subsequently, upon receiving a read command for the initial data, the memory device may provide the encoded data instead of the initial target data. The host may track the corresponding scrambling key of the original target data after sending the initial data (e.g., according to a predetermined pattern, corresponding data storage location). Upon receiving the encoded data from the memory device, the host may decode the encoded data using the scrambling key to recover and read the original target data.
[0014] Previously, illegal activities (e.g., illegal intrusion, eavesdropping, etc.) occurred at levels above the hardware layer. For example, hackers attempted to access data stored in addresses without authorization via software-based methods (e.g., by copying / stealing passwords, using software tools (e.g., computer worms), etc.). However, recently discovered activities utilize lower-level (e.g., at the device / component level) exchanges to access equipment / data without authorization. For example, some eavesdropping devices coupled to devices may be configured to listen to data exchanged between a host and a memory device. In addition, some illegal devices / applications may be configured to send commands to a memory device and / or access information from a memory device when the corresponding host is silent (e.g., in a sleep state).
[0015] As described in further detail below, embodiments of the present technology provide additional protection against illegal activities by encoding data at one end (e.g., outside the host and / or at the memory device). Thus, the initial write data sent from the host to the memory device may be different from the read data transmitted back from the memory to the host. Thus, an eavesdropping device / application that may access the data stored in the memory device without authorization will still be unable to recover the original target data due to the encoding. Furthermore, illegal devices, applications, and / or parties will not be able to match the written data with the read data, thereby disrupting any unauthorized pattern detection or reverse engineering.
[0016] Figure 1 1 is a block diagram of an apparatus 100 according to an embodiment of the present technology. The apparatus 100 (e.g., a computing device / system, a memory system, and / or other semiconductor-based digital device) may include a host 102 that interacts with one or more memory devices 104. Some examples of the host 102 may include a processor, a central processing unit (CPU), a coprocessor, a single-chip system, a dedicated memory controller, other control circuits, or a combination thereof. In addition, the host 102 may include software, such as an operating system implemented via a processor, a CPU, etc.
[0017] During operation of the apparatus 100, the host 102 may interact with the memory device 104 to store and / or access data. The memory device 104 may include a volatile memory device, a non-volatile (NV) memory device, and / or a hybrid memory device. Some examples of the memory device 104 may include a cache memory, a RAM (e.g., DRAM, NV RAM, etc.), a magnetic data storage device, and / or a flash device.
[0018] For example, the host 102 may write data by sending initial data 110 (e.g., write burst data) to the memory device 104. The initial data 110 may include target data 112 that is intended for storage and / or subsequent access via a read command. The target data 112 may correspond to an address that the host 102 may utilize to perform subsequent read operations associated with the target data 112. In some embodiments, the initial data 110 may include one or more scrambling keys 114 and / or encoding selections 116 associated with encrypting the target data 112. In some embodiments, the scrambling key 114 may include one or more digital values configured for encrypting the target data 112. In some embodiments, the encoding selection 116 may include a selection value or address configured to identify one of a plurality of available encryption schemes / circuits.
[0019] The host 102 may include and / or utilize a key tracking memory 120 to maintain / update a tracking profile 122. In some embodiments, the key tracking memory 120 includes a memory (e.g., cache memory) located locally at the host 102 or an external memory device (e.g., DRAM). In some embodiments, the key tracking memory 120 may be implemented as a virtual memory accessible by the host 102. In some embodiments, the tracking memory 120 may be separate / distinct from the memory device 104. The tracking profile 122 may include a mechanism for generating and / or tracking a scrambling key 114 based on the corresponding target data 112. In some embodiments, the host 102 may dynamically generate the scrambling key 114, such as via a random number generator, so that each process may secure the corresponding memory in a different manner. In some embodiments, the tracking profile 122 may be based on regions within the memory. For example, the tracking profile 122 may be a lookup table that links a unique scrambling key 114 to a predetermined region. The host 102 may be configured to control / issue a unique key for each of the predetermined memory regions. In some embodiments, the tracking profile 122 can generate, select, and / or assign scrambling keys 114 in real time for specific memory regions and / or addresses. The host 102 can store the scrambling keys 114 and the corresponding assignments in the key tracking memory 120. The host 102 can maintain the tracking profile 122 and track the scrambling keys 114 based on the process identifier and / or memory address associated with or triggering the write operation. Similarly, the host 102 can track the encoding selections 116 described above.
[0020] Initial data 110 may be received by memory device 104. Memory device 104 may include an encoding mechanism 140 configured to generate encoded data 142 based on changing / encrypting target data 112. In some embodiments, encoding mechanism 140 may include circuitry configured to change or rearrange input data according to one or more predetermined encoding schemes. For example, encoding mechanism 140 may include an XOR-based circuit and / or an LFSR-based circuit configured to generate encoded data 142 based on encrypting target data 112 according to scrambling key 114. Memory device 104 may store the generated encoded data 142 instead of target data 112, and discard (e.g., not save and / or erase) target data 112 and / or scrambling key 114.
[0021] In some embodiments, the memory device 104 may include an encoding mechanism 140 configured to implement a plurality of different encoding schemes. The encoding mechanism 140 may be configured to select and implement one of the encoding schemes according to the encoding selection 116. For example, the encoding mechanism 140 may be configured to encode based on an XOR scheme or an LFSR scheme. The host 102 (e.g., a mode register set (MRS) therein) may select and specify one of the available encoding schemes, such as the XOR scheme, via the encoding selection 116. Thus, the memory device 104 may receive the encoding selection 116 from the host 102 (e.g., via the initial data 110). The memory device 104 and / or the encoding mechanism 140 may select and implement an encoding scheme corresponding to the encoding selection 116. In some embodiments, the encoding scheme may be predetermined for each memory region. In other embodiments, a predetermined encoding scheme may be implemented across all regions of the memory device 104.
[0022] In some embodiments, for example, the host 102 may send a scrambling key 114 with each write burst (e.g., initial data 110). The scrambling key 114 may be used to modify data (e.g., target data 112) written to the memory device 104. After receiving the data and the scrambling key 114, the memory device 104 may generate encoded data 142 based on modifying the target data 112 according to the scrambling key 114 and the encoding mechanism 140. In response to a read, the memory device 104 may send the encoded data 142 (instead of the target data 112) back to the host 102, and the host 102 may decode the encoded data 142 to recover the target data 112. Thus, the host 102 and / or the memory device 104 provide a method for securing data within the memory device 104, for example, with reduced complexity compared to conventional key protection. Furthermore, the encoding mechanism 140 returning the encoded data 142 and / or decoding the encoded data 142 at the host 102 provides controls for the system builder and / or operating system to customize the protection of the memory contents.
[0023] In some embodiments, the encoding mechanism 140, such as a cyclic redundancy check (CRC) mechanism, may also be implemented separately from and / or in addition to other conventional data manipulations. For example, since conventional CRC mechanisms do not alter information stored in memory, the CRC mechanism may be implemented before the encoding mechanism 140 (e.g., before storage in the memory device 104) and / or after decoding (e.g., after recovering the target data 112 at the host 102). The target data 112 may include CRC data, and the memory device 104 may generate the encoded data 142 based on encoding the target data 112 having the CRC data therein. In some embodiments, the encoding mechanism 140 may be implemented in addition to any error correction code (ECC) implementation. For example, in a system utilizing ECC (e.g., NAND applications), the encoding mechanism 140 may be implemented before the ECC engine. In other words, the data may be corrected via ECC and then encoded before being stored, and the data may be first decoded and then corrected for reading. In other embodiments, the encoding mechanism 140 may be implemented after the ECC engine.
[0024] Figure 2 is a block diagram of an apparatus 200 (eg, a semiconductor die assembly including a three-dimensional integration (3DI) device or a die stack package) according to an embodiment of the present technology. For example, the apparatus 200 may include Figure 1 The memory device 104 may include, for example, a DRAM or a portion of a DRAM including one or more dies / chips.
[0025] The apparatus 200 may include an array of memory cells, such as the memory array 250. The memory array 250 may include a plurality of banks (e.g., banks 0 to 15), and each bank may include a plurality of word lines (WL), a plurality of bit lines (BL), and a plurality of memory cells arranged at the intersections of the word lines and the bit lines. The memory cells may include one of any of a number of different memory media types, including capacitive, magnetoresistive, ferroelectric, phase change, etc. The selection of the word lines WL may be performed by a row decoder 240, and the selection of the bit lines BL may be performed by a column decoder 245. A sense amplifier (SAMP) may be provided for the corresponding bit lines BL and connected to at least one corresponding local I / O line pair (LIOT / B), which in turn may be coupled to at least one corresponding main I / O line pair (MIOT / B) via a transfer gate (TG), which may act as a switch. The sense amplifiers and transfer gates may be operated based on control signals from decoder circuitry, which may include command decoder 215, row decoder 240, column decoder 245, any control circuitry, or any combination thereof, of memory array 250. Memory array 250 may also include plate lines and corresponding circuitry for managing their operation.
[0026] The device 200 may employ a plurality of external terminals including a command terminal and an address terminal, which are respectively coupled to a command bus and an address bus to receive a command signal (CMD) and an address signal (ADDR). The device 200 may further include: a chip select terminal for receiving a chip select signal (CS); a clock terminal for receiving clock signals CK and CKF; a data clock terminal for receiving data clock signals WCK and WCKF; data terminals DQ, RDQS, DBI, and DMI; and power supply terminals VDD, VSS, and VDDQ.
[0027] The command terminal and the address terminal can be supplied with address signals and bank address signals from the outside ( Figure 2 The address signal supplied to the address terminal and the bank address signal are transmitted to the address decoder 210 via the command / address input circuit 205. The address decoder 210 may receive the address signal and supply the decoded row address signal (XADD) to the row decoder 240 and the decoded column address signal (YADD) to the column decoder 245. The address decoder 210 may also receive the bank address signal and supply the bank address signal to the row decoder 240 and the column decoder 245.
[0028] The command terminal and the address terminal may be supplied with a command signal (CMD), an address signal (ADDR), and a chip select signal (CS) from a memory controller and / or an illegal chipset. The command signal may represent various memory commands (e.g., including access commands, which may include read commands and write commands) from the memory controller. The chip select signal may be used to select the device 200 to respond to the command and address provided to the command terminal and the address terminal. When the active chip select signal is provided to the device 200, the command and address may be decoded, and a memory operation may be performed. The command signal may be provided to the command decoder 215 as an internal command signal ICMD via the command / address input circuit 205. The command decoder 215 may include a circuit for decoding the internal command signal ICMD to generate various internal signals and commands for performing memory operations (e.g., a row command signal for selecting a word line and a column command signal for selecting a bit line). The command decoder 215 may further include one or more registers for tracking various counts or values (e.g., a count of refresh commands received by the device 200 or a self-refresh operation performed by the device 200).
[0029] Read data may be read from a memory cell specified by a row address (e.g., an address set with an activation command) and a column address (e.g., an address set with a read) in the memory array 250. The read command may be received by a command decoder 215, which may provide an internal command to an input / output circuit 260 so that the read data may be output from data terminals DQ, RDQS, DBI, and DMI via a read / write amplifier 255 and the input / output circuit 260 according to the RDQS clock signal. The read data may be provided at a time defined by read latency information RL, which may be stored in the device 200 (e.g., in a mode register ( Figure 2 The read latency information RL may be defined in terms of clock cycles of the CK clock signal. For example, when providing associated read data, the read latency information RL may be a number of clock cycles of the CK signal after the apparatus 200 receives a read command.
[0030] The write data may be supplied to the data terminals DQ, DBI, and DMI according to the WCK and WCKF clock signals. The command decoder 215 may receive the write command, and the command decoder 215 may provide an internal command to the input / output circuit 260, so that the write data may be received by the data receiver in the input / output circuit 260 and supplied to the memory array 250 via the input / output circuit 260 and the read / write amplifier 255. The write data may be written into the memory cell specified by the row address and the column address. The write data may be provided to the data terminal at a time defined by the write latency WL information. The write latency WL information may be programmed in the device 200 (for example, in a mode register). The write latency WL information may be defined in view of the clock cycle of the CK clock signal. For example, the write latency information WL may be a number of clock cycles of the CK signal after the device 200 receives the write command when receiving the associated write data.
[0031] In some embodiments, the apparatus 200 may include an encoding mechanism 262 (e.g., Figure 1 The encoding mechanism 262 may include an encoding mechanism configured to perform (e.g., Figure 1 For example, the encoding mechanism 262 may include an XOR, LFSR, and / or other circuitry that can update or change the value of the written data. Thus, the encoding mechanism 262 may generate Figure 1 In some embodiments, the encoding mechanism 262 may change the write data based on other data (e.g., the scrambling key 114). In some embodiments, the encoding mechanism 262 may be configured to change the write data based on another input / command (e.g., Figure 1 Coding selection 116) selects and implements one or more coding schemes / circuits.
[0032] For illustration purposes, the encoding mechanism 262 is shown as being separate from and located between the read / write amplifier 255 and the input / output circuit 260. However, it should be understood that the encoding mechanism 262 may have a different configuration. For example, the encoding mechanism 262 may be integrated or included within the read / write amplifier 255 and / or the input / output circuit 260.
[0033] The power supply terminal can be supplied with a power supply potential V DD and V SS These power supply potentials V DD and V SS The internal voltage generator circuit 270 can be supplied to the internal voltage generator circuit 270. The internal voltage generator circuit 270 can be based on the power supply potential V DD and VSS Generate various internal potentials V PP 、V OD 、V ARY 、V PERI etc. Internal potential V PP Can be used in row decoder 240, the internal potential V OD and V ARY can be used in the sense amplifier included in the memory array 250, and the internal potential V PERI Can be used in many other circuit blocks.
[0034] The power supply terminal may also be supplied with a power supply potential V DDQ . The power supply potential V DDQ The power supply potential VSS is supplied to the input / output circuit 260. In the embodiment of the present technology, the power supply potential V DDQ can be with the power supply potential V SS In another embodiment of the present technology, the power supply potential V DDQ can be with the power supply potential V DD However, a dedicated power supply potential V may be used for the input / output circuit 260. DDQ , so that the power supply noise generated by the input / output circuit 260 will not propagate to other circuit blocks.
[0035] An external clock signal and a complementary external clock signal may be supplied to the clock terminal and the data clock terminal. The external clock signals CK, CKF, WCK, and WCKF may be supplied to the clock input circuit 220. The CK signal and the CKF signal may be complementary, and the WCK signal and the WCKF signal may also be complementary. The complementary clock signals may have opposite clock levels and simultaneously transition between opposite clock levels. For example, when the clock signal is at a low clock level, the complementary clock signal is at a high level, and when the clock signal is at a high clock level, the complementary clock signal is at a low clock level. In addition, when the clock signal transitions from a low clock level to a high clock level, the complementary clock signal transitions from a high clock level to a low clock level, and when the clock signal transitions from a high clock level to a low clock level, the complementary clock signal transitions from a low clock level to a high clock level.
[0036] The input buffer included in the clock input circuit 220 may receive an external clock signal. For example, when the clock / enable signal from the command decoder 215 is enabled, the input buffer may receive the clock / enable signal. The clock input circuit 220 may receive the external clock signal to generate an internal clock signal ICLK. The internal clock signal ICLK may be supplied to the internal clock circuit 230. The internal clock circuit 230 may generate an internal clock signal ICLK based on the received internal clock signal ICLK and the clock enable ( Figure 2 For example, the internal clock circuit 230 may include a clock path (not shown) that receives the internal clock signal ICLK and provides various clock signals to the command decoder 215. Figure 2 200 ). The internal clock circuit 230 may further provide an input / output (IO) clock signal. The IO clock signal may be supplied to the input / output circuit 260 and may be used as a timing signal to determine the output timing of read data and / or the input timing of write data. The IO clock signal may be provided at multiple clock frequencies so that data may be output from and input to the device 200 at different data rates. When high memory speeds are desired, a higher clock frequency may be required. When lower power consumption is desired, a lower clock frequency may be required. The internal clock signal ICLK may also be supplied to the timing generator 235 and various internal clock signals may be generated accordingly.
[0037] The device 200 may be connected to any of a number of electronic devices capable of utilizing memory to temporarily or permanently store information or to components thereof. For example, the host device (e.g., host 102) of the device 200 may be a computing device, such as a desktop or portable computer, a server, a handheld device (e.g., a mobile phone, a tablet computer, a digital reader, a digital media player), or some components thereof (e.g., a central processing unit, a coprocessor, a dedicated memory controller, etc.). The host device may be a networking device (e.g., a switch, a router, etc.) or a recorder of digital images, audio, and / or video, a vehicle, an appliance, a toy, or any of a number of other products. In one embodiment, the host device may be directly connected to the device 200; however, in other embodiments, the host device may be indirectly connected to the memory device (e.g., via a networking connection or through an intermediate device).
[0038] Figure 3 is a diagram illustrating an operating device (e.g., Figure 1 The device 100 and / or Figure 2 200) is a flow chart of an exemplary method 300 of an apparatus 200. The method 300 may be used to write to Figure 1 The memory device 104 is stored in Figure 1The method 300 may include encrypting the written content data at the memory device 104 and providing the encrypted content in response to the read command. Figure 1 The encrypted content is decoded at the host 102.
[0039] At block 302, the host 102 may be a server for transmitting content (e.g., Figure 1 The write operation of storing the target data 112 at the memory device 104 determines Figure 1 In some embodiments, the host 102 may dynamically generate the scrambling key 114, for example, according to a predetermined process and / or via a random number generator. In some embodiments, the host 102 may determine the scrambling key 114 using a lookup table that includes a predetermined key value for each memory region. The host device 102 may determine the scrambling key 114 according to a predetermined key value corresponding to a region that includes a write address (e.g., a logical address) and / or a starting process.
[0040] At block 304, the host 102 may write the content and the key (eg, Figure 1 The host 102 may further track the key of the content being written, as illustrated at block 306. For example, the host 102 may track the scrambling key 114 corresponding to the target data 112 based on storing the scrambling key 114 according to the initial process and / or the write address. In some embodiments, the lookup table may correspond to Figure 1 The tracking profile 122 of the host 102 thus tracks the scrambling key 114 according to the memory area corresponding to the write operation. In some embodiments, the host 102 can track the encoding selection 116 in a similar manner.
[0041] At block 312, the memory device 104 may receive the content and key sent by the host 102. For example, the memory device 104 may receive the initial data 110 via one or more data pads and / or the input / output circuit 260. The initial data 110 may include a blank. Figure 1 The target data 112, scrambling key 114 and / or encoding selection 116. In some embodiments, the memory device 104 may receive initial data 110 corresponding to a write burst / operation for writing and storing content (eg, target data 112).
[0042] At block 314, the memory device 104 may encode the content using the key. For example, the memory device 104 may use Figure 1 The encoding mechanism 140 generates a target data 112 based on the scrambling key 114. Figure 1314. In some embodiments, the encoding mechanism 140 may be configured to implement an XOR encoding scheme, an LFSR encoding scheme, and / or another relatively fast encoding scheme (i.e., relative to the duration associated with the write operation), for example. In some embodiments, as illustrated at block 314, the memory device 104 (e.g., the encoding mechanism 140) may select one of a plurality of encoding schemes according to the encoding selection 116. The memory device 104 may generate the encoded data 142 based on implementing the selected encoding scheme. After generating the encoded data 142, the memory device 104 (e.g., the encoding mechanism 140 therein) may discard the target data 112, the scrambling key 114, and / or the encoding selection 116.
[0043] In some embodiments, encoding mechanism 140 and / or one encoding scheme may apply to the entire memory device 104. In other embodiments, each encoding mechanism 140 or encoding scheme may be coupled to one or more predetermined memory areas (e.g., packages, dies, banks, and / or address groups) in memory device 104.
[0044] At block 318, the memory device 104 may store the encoded content. For example, the memory device 104 may store the encoded data 142 in a memory array (e.g., Figure 2 The memory device 104 may store the encoded data 142 at the end of a write operation instead of storing the original target data 112 corresponding to the write operation / burst.
[0045] The stored content data may be accessed at a later time via a read operation. At block 322, the host 102 may initiate a read operation to access the target data 112, for example, by sending a read command and / or a corresponding address to the memory device 104. At block 332, the memory device 104 may implement the read operation by sending the encoded content. For example, the memory device 104 may access the encoded data 142 according to the read command and / or the associated address corresponding to the target data 112. Thus, when implementing a read operation corresponding to the target data 112, the memory device 104 may provide the accessed encoded data 142 to the host device 102 instead of the target data 112.
[0046] At block 324, the host 102 may receive the encoded content (e.g., the encoded data 142) from the memory device 104 for the read operation. At block 326, the host 102 may access a key (e.g., the scrambling key 114) corresponding to the target data 112. The host 102 may access the scrambling key 114 and / or the encoding selection 116 using the tracking configuration file 122. For example, the host 102 may use a lookup table to again identify the scrambling key 114 based on an address (e.g., a memory region) associated with the written content. In addition, the host 102 may access the tracking configuration file 122 based on the process identifier and / or the address to retrieve the scrambling key 114. In some embodiments, the host 102 may access / retrieve the encoding selection 116 associated with the target data 112 / encoded content in a similar manner.
[0047] At block 328, the host 102 may recover the content based on decoding the encoded data 142 using the tracked scrambling key 114. The host 102 may decode the encoded data 142 based on a predetermined routine and / or circuitry that corresponds to or is complementary to the encoding mechanism 140. The host 102 may use the encoded data 142 and the tracked scrambling key 114 as inputs to the predetermined routine / circuitry to recover the target data 112. In some embodiments, the host 102 may use the tracked encoding selection 116 to select a decoding scheme prior to inputting the encoded data 142 and the tracked scrambling key 114.
[0048] Based on encoding the target data 112 at one end (e.g., at the memory device 104) and decoding at the other end (e.g., at the host 102), the apparatus can provide high and customizable data security. Since only authorized devices / processes will know the scrambling key 114 and the encoding / decoding scheme, illegal devices / processes will not be able to decode and access the stored data. In addition, the difference between the sent write data and the returned read data will further increase the difficulty of reverse engineering the security mechanism. In addition, the scrambling key 114 and / or encoding selection 116 can enable the system builder / designer to customize data security with minimal cost.
[0049] Figure 4 is a schematic diagram of a system including an apparatus according to an embodiment of the present technology. Figures 1 to 3 Any of the aforementioned apparatus (eg, memory devices) described may be incorporated into any of a variety of larger and / or more complex systems, a representative example of which is Figure 4 4. The system 480 is schematically shown in FIG. 4. The system 480 may include a memory device 400, a power supply 482, a driver 484, a processor 486, and / or other subsystems or components 488. The memory device 400 may include the same subsystems or components as described above. Figures 1 to 3The features of the described apparatus are generally similar to those of the described apparatus, and may therefore include various features for performing direct read requests from a host device. The resulting system 480 may perform any of a wide variety of functions, such as memory storage, data processing, and / or other suitable functions. Thus, representative systems 480 may include, but are not limited to, handheld devices (e.g., mobile phones, tablet computers, digital readers, and digital audio players), computers, vehicles, appliances, and other products. The components of system 480 may be housed in a single unit or distributed across multiple interconnected units (e.g., via a communications network). Components of system 480 may also include any of a wide variety of computer-readable media and remote devices.
[0050] In light of the foregoing, it should be understood that specific embodiments of the present technology have been described herein for illustration purposes, but various modifications may be made without departing from the present invention. In addition, certain aspects of the new technology described in the context of a particular embodiment may also be combined or removed in other embodiments. In addition, although advantages that may be associated with certain embodiments of the new technology have been described in the context of the embodiments, other embodiments may also exhibit these advantages and not all embodiments must exhibit these advantages to fall within the scope of the present technology. Therefore, the present invention and associated technology may encompass other embodiments that are not explicitly shown or described herein.
[0051] In the embodiments illustrated above, the apparatus is described in the context of a DRAM device. However, in addition to or in place of a DRAM device, an apparatus configured according to other embodiments of the present technology may also include other types of suitable storage media, such as devices including NAND-type or NOR-type non-volatile storage media (e.g., NAND flash memory), magnetic storage media, phase-change storage media, ferroelectric storage media, etc.
[0052] As used herein, the term "processing" includes manipulating signals and data, such as writing or programming, reading, erasing, refreshing, adjusting or changing values, calculating results, executing instructions, assembling, transmitting and / or manipulating data structures. The term data structure includes information arranged into bits, words or codewords, blocks, files, input data, system-generated data (such as calculated or generated data and program data). In addition, the term "dynamic" as used herein describes processes, functions, actions or implementations that occur during the operation, use or deployment of the corresponding device, system or embodiment and after or while running manufacturer or third-party firmware. Dynamically occurring processes, functions, actions or implementations may occur after or following design, manufacturing and initial testing, setup or configuration.
[0053] The above embodiments are described in sufficient detail to enable those skilled in the art to make and use the invention. However, those skilled in the relevant art will appreciate that the present technology may have additional embodiments and may be used without the above reference. Figures 1 to 4 The present technology is practiced without the use of numerous details of the described embodiments.
Claims
1. A host system, comprising: a data pad configured to transfer initial data to a memory system, the initial data including target data and a scrambling key; a command and address pad configured to transmit a read command to access the target data; and A decoder is coupled to the data pad and is configured to receive the encoded data and decode the encoded data using the scrambling key to recover the target data.
2. The host system according to claim 1, further comprising: A memory configured to store one or more tracking profiles including a tracking profile indicating a mapping between the scrambling key and a memory location associated with the target data.
3. The host system of claim 2, wherein the decoder is further configured to access the scrambling key based on the tracking profile.
4. The host system according to claim 1, further comprising: A memory is configured to generate the scrambling key based on a random number generator. 5 . The host system of claim 1 , wherein the data pad is configured to transmit the initial data including a write burst for writing the target data. 6 . The host system of claim 1 , wherein the decoder is configured to decode the encoded data based on an exclusive-or (XOR) decoding scheme according to the scrambling key.
7. The host system of claim 1, wherein the decoder is configured to decode the encoded data based on a linear feedback shift register (LFSR) decoding scheme according to the scrambling key.
8. The host system of claim 1, wherein the initial data includes an encoding selection identifying one of a plurality of encryption schemes.
9. A method of operating a host system, comprising: At the host system, transmitting initial data including target data and a scrambling key; At the host system, transmitting a read command to access the target data; At the host system, receiving encoded data based on the read command; and The encoded data is decoded using the scrambling key to recover the target data.
10. The method according to claim 9, further comprising: One or more tracking profiles are stored, the one or more tracking profiles including a tracking profile indicating a mapping between the scrambling keys and memory locations associated with the target data.
11. The method according to claim 10, further comprising: The scrambling key is accessed based on the tracking profile.
12. The method according to claim 9, further comprising: The scrambling key is generated based on a random number generator.
13. The method of claim 9, wherein the initial data corresponds to a write burst for writing the target data.
14. The method of claim 9, wherein decoding the encoded data comprises: The encoded data is decoded based on an exclusive-OR (XOR) decoding scheme.
15. The method of claim 9, wherein decoding the encoded data comprises: The encoded data is decoded based on a linear feedback shift register (LFSR) decoding scheme.
16. The method of claim 9, wherein the initial data includes a coding selection identifying one of a plurality of encryption schemes.
