Method and system for generating decorrelated random bit streams

By using resistive switching-selective characteristic devices in new memory devices to generate decorrelation random bit streams, the problem of controlling bit stream correlation in the existing technology is solved, low power consumption and high-precision calculations are achieved, and it is suitable for different calculations Task.

WO2024183222A1PCT designated stage expired Publication Date: 2024-09-12PEKING UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/108865
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2023-07-24
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to control and generate a decorrelated random bit stream based on new memory devices such as resistive random access memory (RRAM), resulting in increased circuit overhead and power consumption, and difficulty in adapting to different computing tasks.

Method used

Using a device with integrated resistive switching and selection characteristics, the delay time turned on in its selection characteristics is used as a random source to generate a random bit stream under preset pulse conditions, and control the pulse sequence by inserting deterministic or probabilistic pulses to achieve Generation of decorrelated random bitstreams.

Benefits of technology

There is no need for additional circuit control in the new memory device, which reduces circuit overhead and power consumption. It can adjust the probability and calculation accuracy of random bit streams, improve calculation accuracy and reduce latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023108865_12092024_PF_FP_ABST
    Figure CN2023108865_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the technical field of storage and computing, and provides a method and system for generating decorrelated random bit streams. The present disclosure uses probabilistic set / reset switching of a device in a nonvolatile resistive switching mode to adjust a pulse amplitude or a pulse width, sets a reset-set pulse pair to probabilistic switching, evenly divides a pulse generating a reference probability into Nsegment segments, inserts a deterministic reset-probabilistic set pulse pair at a starting end position of each pulse sequence segment or inserts a probabilistic reset pulse at the starting position of each pulse sequence segment, and inserts a deterministic set pulse at a tail end position of each pulse sequence segment, so as to fix a pulse condition. Since the device can be reset / set at random in the nonvolatile resistive switching mode, a random bit stream correspondingly generated by each pulse sequence segment will be set to 0 at random, thus generating random bit streams which are mutually independent of and uncorrelated with each other and have adjustable probabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Method and system for generating decorrelated random bit stream

[0001] This disclosure claims priority to a patent application filed on March 8, 2023, entitled “Method and system for generating decorrelated random bit streams.” The application number is 202310238774.7, and the filing date is March 8, 2023. Technical Field

[0002] The present disclosure belongs to the field of novel storage and computing technologies, and specifically relates to a method, system, electronic device, and storage medium for generating a decorrelated random bit stream. Background Art

[0003] As device dimensions continue to shrink toward the nanometer scale, circuit reliability will become an increasingly serious problem.

[0004] Stochastic computing (SC) is a novel computing method based on random bit streams consisting of 0s and 1s. It has attracted widespread attention in recent years due to its advantages, including simple circuitry, low power consumption, and high fault tolerance. Unlike binary encoding, each bit in a stochastic bit stream has equal weight, and errors caused by bit flips at any bit are equal, resulting in a high fault tolerance. Furthermore, due to its unique data encoding method, complex arithmetic operations can be implemented using simple gate circuits, such as multiplication using a single AND gate.

[0005] The accuracy of random computation depends on two factors: first, the numerical quantization accuracy, which is determined by the length of the random bit stream. This means that after the data is converted from binary to a random bit stream, a certain error will be generated. Second, the computational accuracy is affected by the correlation between the random bit streams. Increasing the length of the random bit stream can reduce the quantization error during the data encoding process to a certain extent. To improve computational accuracy, different random bit stream generation circuits with strong or weak correlations are required.

[0006] When performing multiplication calculations on random bit streams through AND gates, the input random bit streams must be independent of each other. That is, the weaker the correlation between the input random bit streams, the higher the calculation accuracy. However, input random bit streams with strong correlation can be used to perform specific calculations using simple gate circuits, such as minimum value calculation using AND gates, maximum value calculation using OR gates, and absolute value subtraction calculation using XOR gates.

[0007] Traditional CMOS-based random computing circuits require additional circuits for decorrelation or correlation enhancement to generate independent random bit streams or correlated bit streams, further increasing circuit overhead and power consumption. Furthermore, circuit reconfiguration for different computing tasks is difficult. While random bit stream generators designed based on novel memory devices such as resistive random access memory (RRAM) and threshold switch selectors can reduce power consumption and circuit overhead, currently no technology has been disclosed for controlling the correlation of generated bit streams in these novel memory devices.

[0008] Therefore, there is an urgent need for a technology for controlling and generating bit stream correlation in a new type of memory device.

[0009] Summary of the Invention

[0010] The present disclosure provides a method, system, electronic device and storage medium for generating a decorrelated random bit stream based on a novel resistive memory device, so as to overcome at least one technical problem existing in the prior art.

[0011] To achieve the above objectives, the present disclosure provides a method for generating a decorrelated random bit stream, comprising:

[0012] A device with integrated resistive switching and selective characteristics is used, and the delay time of the selective characteristics of the device is used as a random source to generate a random bit stream under preset pulse conditions; wherein the probability of "1" in the random bit stream is a reference probability;

[0013] The pulse sequence of the random bit stream is evenly divided into N segment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence; or insert a probabilistic reset pulse at the beginning of each pulse sequence and a deterministic set pulse at the end of each pulse sequence;

[0014] The device is used to generate a random bit stream, and the probability of the device being set / reset is controlled by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0015] In order to solve the above problems, the present disclosure further provides a system for generating a decorrelated random bit stream, comprising:

[0016] An initial random bit stream generating unit is configured to use a device with integrated resistive switching and selective characteristics, use the delay time of the selective characteristics of the device as a random source, and generate a random bit stream under preset pulse conditions; wherein the probability of "1" in the random bit stream is a reference probability;

[0017] A pulse sequence processing unit is used to divide the pulse sequence of the random bit stream into Nsegment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence; or insert a probabilistic reset pulse at the beginning of each pulse sequence and a deterministic set pulse at the end of each pulse sequence;

[0018] The pulse control unit is used to generate a random bit stream using the device, and control the probability of set / reset of the device by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0019] In order to solve the above problems, the present disclosure further provides an electronic device, which includes at least one processor; and a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the steps in the above-mentioned method for generating a decorrelated random bit stream.

[0021] In order to solve the above problems, the present disclosure also provides a computer-readable storage medium, which stores at least one instruction. When the at least one instruction is executed by a processor in an electronic device, the above-mentioned method for generating a decorrelated random bit stream is implemented.

[0022] The method, system, electronic device, and storage medium for generating a decorrelated random bit stream provided by the present disclosure have the following beneficial effects:

[0023] 1) Compared with the circuit for controlling bit stream correlation in traditional CMOS circuits, the present invention can realize the generation of decorrelated random bit streams in novel resistive switching devices without introducing additional correlation control circuits, thereby reducing circuit overhead and power consumption;

[0024] 2) The present disclosure can achieve probabilistic adjustment of random bit streams by inserting the amplitude of a probabilistic set pulse or a probabilistic reset pulse through a control device;

[0025] 3) The present disclosure can adjust the calculation accuracy of the decorrelated random bit stream by controlling the number of segments under a fixed bit stream length;

[0026] 4) The present disclosure can achieve higher calculation accuracy and further reduce delay by increasing the number of segments at a shorter bit stream length. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0028] FIG1 is a schematic flow chart of a method for generating a decorrelated random bit stream according to an embodiment of the present disclosure;

[0029] FIG2 is a schematic diagram of performing multiplication calculation on two random bit streams with different correlations through an AND gate according to an embodiment of the present disclosure;

[0030] FIG3 is a schematic diagram of inserting a deterministic reset pulse / probabilistic set pulse to generate a corresponding random bit stream probability pulse according to an embodiment of the present disclosure;

[0031] FIG4 is a schematic diagram of inserting a probabilistic reset pulse / deterministic set pulse to generate a corresponding random bit stream probability according to an embodiment of the present disclosure;

[0032] FIG5 is a module diagram of a system for generating a decorrelated random bit stream according to an embodiment of the present disclosure;

[0033] FIG6 is a schematic diagram of the internal structure of an electronic device for implementing a method for generating a decorrelated random bit stream according to an embodiment of the present disclosure.

[0034] The realization of the objectives, functional features and advantages of the present disclosure will be further explained with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0035] It should be understood that the specific embodiments described herein are only used to illustrate the present disclosure and are not intended to limit the present disclosure.

[0036] Based on the above problems existing in the prior art, the present disclosure mainly provides a method and system for generating a decorrelated random bit stream.

[0037] Figure 1 is a flow chart of a method for generating a decorrelated random bit stream according to an embodiment of the present disclosure. The method can be executed by a system, which can be implemented by software and / or hardware.

[0038] Figure 1 provides an overall description of the method for generating a decorrelated random bit stream. As shown in Figure 1 , in this embodiment, the method for generating a decorrelated random bit stream includes steps S110 to S140.

[0039] S110, using a device with integrated resistive switching and selective characteristics, using the delay time of the selective characteristics of the device as a random source, and generating a random bit stream under a preset pulse condition;

[0040] S120, divide the pulse sequence of the random bit stream into N segment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence, or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse at the end of each pulse sequence;

[0041] S130 , using the device to generate a random bit stream, and controlling the probability of the device being set / reset by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0042] Compared with the traditional solution of generating decorrelated bit streams based on CMOS circuits, the present invention generates decorrelated independent random bit streams based on new resistive switching devices. The circuit for generating independent and uncorrelated random bit streams is simpler and consumes less power. At the same time, due to the nanosecond switching speed of the new resistive switching devices, the bit generation rate is higher. If the cross-array structure is utilized at the same time and corresponding pulses are applied to a column / row of devices in the array at the same time, each device will produce a different response, corresponding to the 0 and 1 bits in the bit stream, thereby enabling large-scale parallel generation of decorrelated random bit streams, further reducing latency.

[0043] The following is a targeted description of each step.

[0044] In order to generate a decorrelated random bit stream based on the new resistive random memory, it is first necessary to use the delay time turned on in the device's selection characteristics as a random source to generate a random bit stream under preset pulse conditions.

[0045] In the present disclosure, a device with integrated resistance switching and selection characteristics is selected as a device for generating random bit streams. After the delay time of the device selection characteristics is used as a random source, the probability of "1" in the random bit stream generated under the preset pulse condition is used as the reference probability P. base .

[0046] Specifically, as an example, the preset pulse conditions for generating a random bit stream are: the pulse amplitude is within the threshold voltage fluctuation range, and the pulse width is the average value of the device turn-on delay time obtained statistically under the corresponding pulse amplitude.

[0047] Among them, as an example, the device with integrated resistive switching and selection characteristics selected in the present disclosure is a two-terminal device structure or a three-terminal field effect transistor structure using a resistive switching layer and a phase change layer superimposed. Through voltage regulation, the device with integrated resistive switching and selection characteristics can be switched between a non-volatile resistive switching mode and a volatile threshold switching mode. That is, through a higher negative reset voltage, the device can be changed from a volatile threshold switching mode to a non-volatile resistive switching mode; through a higher positive set voltage, the device can be set from a non-volatile mode to a volatile threshold switching mode. In addition, the resistive switching voltage V of the device in the non-volatile resistive switching mode is set Greater than the threshold transition voltage V in volatile threshold switching mode th .

[0048] In a specific embodiment of the present disclosure, the device with integrated resistance switching and selection characteristics used in the random bit stream generator adopts a structure in which a resistance switching layer and a phase change layer are superimposed, wherein the resistance switching layer can be made of a metal oxide with resistance switching characteristics, such as HfO2, TaO x The phase change layer can be made of a phase change material with insulator-metal-transition (IMT) characteristics, such as VO x 、NbO x wait.

[0049] Because the device undergoes a metal-insulator transition (IMT) in the volatile threshold switching mode, this transition process is affected by thermal perturbations, resulting in fluctuations in the threshold transition voltage of the corresponding device during different current-voltage sweep cycles. By exploiting this characteristic, if a series of pulse sequences with fixed amplitude and pulse width are applied to the device, the device will randomly turn on at each pulse, generating a corresponding 0 / 1 random bit stream sequence. Therefore, after using the delay time of the device selection characteristic as a random source, the pulse sequence with fixed amplitude and pulse width is used as a fixed pulse, causing the device to generate a random bit stream under this fixed pulse. The probability of a "1" in this random bit stream can be regarded as the baseline probability P. base .

[0050] In the original pulse sequence, a reset-set pulse pair is inserted to set the device to the non-volatile resistive switching mode through the reset pulse. Since the resistive switching voltage V set Higher than the threshold transition voltage V in volatile threshold switching mode th Therefore, the device will not be able to turn on randomly under the original pulse, and all 0 bits will be generated. Then, by applying a set pulse to the device to restart the generation of random bit streams, the device can be put back into the volatile threshold switching mode. At this time, by controlling the number of reset-set pulse pairs, the probability of 0-P can be achieved. base Random bit stream adjustment between.

[0051] In order to generate independent and unrelated random bit streams, the present disclosure utilizes the probabilistic set / reset switching of the device in the non-volatile resistive switching mode, adjusts the pulse amplitude or pulse width, sets the reset-set pulse pair as a probabilistic switching, and divides the pulse sequence generating the reference probability into N segment Each pulse sequence consists of a deterministic reset pulse, a probabilistic set pulse, and a series of pulses with the preset pulse conditions. Alternatively, a probabilistic reset pulse is inserted at the beginning of each pulse sequence, and a deterministic set pulse is inserted at the end of each pulse sequence, with a series of pulses with the preset pulse conditions in between. The deterministic reset pulse / probabilistic set pulse or the probabilistic reset pulse / deterministic set pulse is a control signal for generating a random bit stream, thereby adjusting the probability of the random bit stream. The series of pulses with the preset pulse conditions is a signal for generating a random bit stream. Under this condition, the device response corresponding to each pulse is used as a 0 / 1 bit in the final random bit stream.

[0052] Insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence; or insert a probabilistic reset pulse at the beginning of each pulse sequence and a deterministic set pulse at the end of each pulse sequence, thereby fixing the pulse condition. Given that the device can randomly perform probabilistic switching in non-volatile resistive switching mode, after probabilistic switching, the random bit stream corresponding to each pulse sequence will be randomly set to 0. Therefore, this method can generate independent and unrelated random bit streams with adjustable probability. The probability of probabilistic switching of the device set / reset by controlling the pulse amplitude or pulse width is P set / P reset The probability of the decorrelated random bit stream obtained by the above two pulse sequence insertion schemes is P base *(1-P set ) or P base *P reset , where P set is the probability that the device successfully sets to the threshold switching mode, P reset is the probability that the device is successfully reset to the non-volatile resistive mode.

[0053] Therefore, the above-described method for generating a decorrelated random bit stream can be used to generate two decorrelated random bit streams using the same device, or two devices can be used to generate two decorrelated random bit streams simultaneously and in parallel, under the control of reset-set pulses. The pulse conditions for generating the decorrelated random bit streams include the control signal for generating the random bit stream of the reset-set pulse pair and the random bit stream generation signal of a series of predetermined pulse conditions.

[0054] Corresponding to the above two pulse sequence schemes, the first one inserts a deterministic reset-probabilistic set pulse pair at the starting position of each pulse sequence, in which the device does not need to be reset to the volatile threshold switching mode; the second one inserts a probabilistic reset pulse at the starting position of each pulse sequence and a deterministic set pulse at the end position of each pulse sequence. In this scheme, a deterministic set pulse needs to be applied to reset the device to the volatile threshold switching mode.

[0055] Furthermore, in the above-mentioned method for generating random bit streams, since the number of segments N segment It will affect the randomness of the bit stream, which will further affect the calculation accuracy. Therefore, the calculation accuracy of the decorrelated random bit stream can be adjusted by controlling the number of segments under a fixed bit stream length.

[0056] As an example, in the process of controlling the number of segments, the pulse generation conditions can be adjusted through the pulse sequence processing unit in the aforementioned process of generating the decorrelated random bit stream, thereby achieving different numbers of pulse segments, and then adjusting the calculation accuracy of the decorrelated random bit stream through different numbers of pulse segments.

[0057] In addition, through the pulse sequence processing unit in the process of generating the decorrelated random bit stream mentioned above, a shorter random bit stream can be used to adjust the pulse generation conditions and increase the number of pulse fractional segments, thereby achieving higher calculation accuracy and further reducing delay.

[0058] The random bit streams generated by the randomness of the device are independent of each other and can be used for multiplication calculations.

[0059] The following will describe in more detail an application example of improving calculation accuracy in multiplication calculation by generating a decorrelated bit stream using the decorrelated random bit stream generation method proposed in the present disclosure in conjunction with FIG. 2 to FIG. 4 .

[0060] Figure 2 is a schematic diagram illustrating the multiplication of two random bit streams with different correlations through an AND gate according to an embodiment of the present disclosure. As shown in Figure 2, when two independent and uncorrelated random bit streams are input through an AND gate, an accurate calculation result is obtained; when there is a correlation between the two input random bit streams, an erroneous result is output. This demonstrates that when the input random bit streams are identical, meaning that the input random bit streams have the maximum positive correlation, the output random bit stream is identical to the input random bit stream, and the multiplication error is maximized.

[0061] FIG3 is a pulse diagram illustrating inserting a deterministic reset pulse / probabilistic set pulse to generate corresponding random bit stream probabilities according to an embodiment of the present disclosure.

[0062] The present invention selects a device with integrated resistive switching and selective characteristics, that is, the device has two resistive switching modes. Utilizing the characteristic that the operating voltage of the device fluctuates in the volatile threshold switching mode, a series of identical pulse sequences are applied to the device. The device will randomly turn on / off under different pulses, corresponding to the generation of 1 / 0 bits in the random bit stream. By adjusting the amplitude or pulse width of the pulse, the probability of the device turning on can be adjusted, that is, the proportion of 1 in the resulting random bit stream. When the device is set to the volatile threshold switching mode, under certain pulse conditions, a reference probability P will be generated. base A random bit stream.

[0063] As shown in FIG3 , the present disclosure will generate a baseline probability P base The pulse sequence is divided into N segment , insert a deterministic reset pulse / probabilistic set pulse at the beginning of each pulse sequence. The deterministic reset pulse sets the device to non-volatile resistive switching mode, and the probabilistic set pulse sets the device to a non-volatile resistive switching mode with a certain probability P. set Set the device to the threshold switching mode. If the set is successful, the device will be set to the threshold switching mode and can continue to generate random bit streams. If the set is not successful, the device is still in the non-volatile resistive switching mode and all the random bit streams generated are set to 0 bits. base *(1-P set )) of random bit stream, where P set is the probability that the device successfully sets to the threshold switching mode.

[0064] FIG4 is a schematic diagram of inserting a probabilistic reset pulse / deterministic set pulse to generate a pulse of a corresponding random bit stream probability according to an embodiment of the present disclosure.

[0065] As shown in FIG4 , in addition to utilizing the probabilistic set of the device, the probabilistic reset of the device in the non-volatile resistive switching mode can also be used to generate a decorrelated random bit stream. Therefore, the present disclosure will generate a reference probability P base The pulse sequence is divided into N segment , insert a probabilistic reset pulse at the beginning of each pulse sequence, and insert a deterministic set pulse at the end of each pulse sequence. The probabilistic reset pulse has a certain probability P reset Set the device to non-volatile resistive switching mode. If the reset is successful, the device will be set to the high-impedance state of the non-volatile resistive switching mode. Subsequently, no random bit stream can be generated under the original pulse conditions, and all 0 bits will be generated. If the reset is not successful, the device is still in the threshold switching mode and can continue to generate random bit streams under the original pulse conditions. The probability is P m (=P base *P resetTo ensure that the generation of each random bit stream is not affected, a deterministic set pulse is applied to reset the device to the threshold switching mode.

[0066] Under a certain baseline probability, the corresponding set / reset probability can be adjusted by the pulse amplitude / pulse width, and the probability can be achieved between 0-P base Random bit stream adjustment between.

[0067] It can be seen from the above implementation cases that the method for generating a decorrelated random bit stream provided by the present disclosure generates decorrelated independent random bit streams based on a new resistive switching device. The circuit for generating independent and mutually unrelated random bit streams is simpler and has lower power consumption. At the same time, due to the nanosecond-level switching speed of the new resistive switching device, the bit generation rate is higher. At the same time, by utilizing its cross-array structure, decorrelated random bit streams can be generated in parallel on a large scale, further reducing latency.

[0068] Corresponding to the above-mentioned method for generating a decorrelated random bit stream, the present disclosure further provides a system for generating a decorrelated random bit stream, which can be installed in an electronic device. FIG5 is a schematic diagram of the logical structure of the system for generating a decorrelated random bit stream according to an embodiment of the present disclosure.

[0069] As shown in FIG5 , according to the functions to be implemented, the system 500 for generating a decorrelated random bit stream may include an initial random bit stream generating unit 510, a pulse sequence processing unit 520, and a pulse control unit 530. A unit in the present disclosure may also be referred to as a module, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform fixed functions, and is stored in the memory of the electronic device.

[0070] In this embodiment, the functions of each module / unit are as follows:

[0071] The initial random bit stream generating unit 510 is configured to generate a random bit stream under a preset pulse condition using a device with integrated resistive switching and selective characteristics, using the delay time of the selective characteristics of the device as a random source; wherein the probability of "1" in the random bit stream is a reference probability;

[0072] The pulse sequence processing unit 520 is configured to divide the pulse sequence of the random bit stream into N equal parts. segment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence, or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse at the end of each pulse sequence;

[0073] The pulse control unit 530 is used to control the probability of set / reset of the device through pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0074] In addition, the system 500 for generating decorrelated random bit streams provided by the present disclosure generates decorrelated independent random bit streams based on new resistive switching devices. The circuit for generating independent and uncorrelated random bit streams is simpler and consumes less power. At the same time, due to the nanosecond-level switching speed of the new resistive switching devices, the bit generation rate is higher. At the same time, by utilizing its cross-array structure, decorrelated random bit streams can be generated in parallel on a large scale, further reducing latency.

[0075] As shown in FIG6 , the present disclosure further provides an electronic device 6 for generating a decorrelated random bit stream.

[0076] The electronic device 6 may include a processor 60, a memory 61, and a bus. It may also include a computer program stored in the memory 61 and executable on the processor 60, such as a decorrelated random bit stream generation program 62. The memory 61 may include both an internal storage unit of the decorrelated random bit stream generation system and an external storage device. The memory 61 may be used not only to store installed application software and various data, such as the code of the decorrelated random bit stream generation program, but also to temporarily store data that has been output or is about to be output.

[0077] The memory 61 includes at least one type of readable storage medium, including a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 61 may be an internal storage unit of the electronic device 6, such as a mobile hard disk of the electronic device 6. In other embodiments, the memory 61 may also be an external storage device of the electronic device 6, such as a plug-in mobile hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6.

[0078] In some embodiments, the processor 60 may be composed of an integrated circuit, such as a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 60 is the control core (Control Unit) of the electronic device, connecting the various components of the entire electronic device using various interfaces and circuits. It executes or executes programs or modules stored in the memory 61 (such as a program for generating a decorrelated random bit stream) and calls data stored in the memory 61 to perform various functions of the electronic device 6 and process data.

[0079] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable connection and communication between the memory 61 and at least one processor 60, etc.

[0080] Figure 6 only shows an electronic device with components. Those skilled in the art will understand that the structure shown in Figure 6 does not constitute a limitation on the electronic device 6, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0081] For example, although not shown, the electronic device 6 may further include a power source (such as a battery) for powering various components. Preferably, the power source may be logically connected to the at least one processor 60 via a power management system, thereby implementing functions such as charge management, discharge management, and power consumption management through the power management system. The power source may further include any components such as one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device 6 may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which are not further described here.

[0082] Furthermore, the electronic device 6 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the electronic device 6 and other electronic devices.

[0083] Optionally, the electronic device 6 may further include a user interface, which may be a display or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 6 and to display a visual user interface.

[0084] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0085] The decorrelation random bit stream generation program 62 stored in the memory 61 of the electronic device 6 is a combination of multiple instructions. When executed in the processor 60, the following can be achieved:

[0086] S110, using a device with integrated resistive switching and selective characteristics, using the delay time of the selective characteristics of the device as a random source, and generating a random bit stream under a preset pulse condition;

[0087] S120, divide the pulse sequence of the random bit stream into N segment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence, or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse at the end of each pulse sequence;

[0088] S130 , controlling the probability of set / reset of the device by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0089] Specifically, the specific implementation method of the processor 60 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of Figure 1, which will not be repeated here.

[0090] Furthermore, if the modules / units integrated in the electronic device 6 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable medium may include any entity or system capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0091] The present disclosure also provides a computer-readable storage medium, which may be non-volatile or volatile. The storage medium stores a computer program, which, when executed by a processor, implements:

[0092] S110, using a device with integrated resistive switching and selective characteristics, using the delay time of the selective characteristics of the device as a random source, and generating a random bit stream under a preset pulse condition;

[0093] S120, divide the pulse sequence of the random bit stream into N segment Segment, insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence, or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse at the end of each pulse sequence;

[0094] S130 , controlling the probability of set / reset of the device by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

[0095] Specifically, the specific implementation method when the computer program is executed by the processor can refer to the description of the relevant steps in the method for generating a decorrelated random bit stream in the embodiment, and will not be repeated here.

[0096] In the several embodiments provided in this disclosure, it should be understood that the disclosed devices, systems, and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the module division is merely a logical function division, and other division methods may be used in actual implementation.

[0097] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of the solution of this embodiment according to actual needs.

[0098] In addition, the functional modules in the various embodiments of the present disclosure may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0099] It is obvious to those skilled in the art that the present disclosure is not limited to the details of the above exemplary embodiments, and that the present disclosure can be implemented in other specific forms without departing from the spirit or essential characteristics of the present disclosure.

[0100] Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the present disclosure is defined by the appended claims rather than the foregoing description, and all changes that come within the meaning and range of equivalents of the claims are intended to be embraced therein. Any reference to a figure in a claim should not be construed as limiting the claim to which it relates.

[0101] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems recited in a system claim may also be implemented by a single unit or system through software or hardware. Second-order terms are used to indicate names and do not imply any particular order.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure and are not limiting. Although the present disclosure has been described in detail with reference to preferred embodiments, those skilled in the art should understand that the technical solutions of the present disclosure may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present disclosure.

Claims

1. A method for generating a decorrelated random bit stream, characterized in that: include: A device with integrated resistance switching and selection characteristics is used, and the delay time of the selection characteristics of the device is used as a random source to generate a random bit stream under a preset pulse condition; wherein the probability of "1" in the random bit stream is the reference probability P base ; The pulse sequence of the random bit stream is evenly divided into N segment A deterministic reset-probabilistic set pulse pair is inserted at the beginning of each pulse sequence, or a probabilistic reset pulse is inserted at the beginning of each pulse sequence and a deterministic set pulse is inserted at the end of each pulse sequence; The device is used to generate a random bit stream, and the probability of set / reset of the device is controlled by pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

2. The method for generating a decorrelated random bit stream according to claim 1, characterized in that: The device with integrated resistance switching and selection characteristics is a two-terminal device structure or a three-terminal field effect transistor structure in which a resistance switching layer and a phase change layer are superimposed.

3. The method for generating a decorrelated random bit stream according to claim 2, characterized in that: When the resistive switching-selective characteristic integrated device is a two-terminal device structure with a resistive switching layer and a phase change layer stacked, the resistive switching layer is formed of a metal oxide with resistive switching characteristics, and the phase change layer is formed of a phase change material with insulator-metal-transition characteristics.

4. The method for generating a decorrelated random bit stream according to claim 3, characterized in that: The metal oxides include HfO2 and TaO x , the phase change material includes VO x and NbO x .

5. The method for generating a decorrelated random bit stream according to any one of claims 1 to 4, characterized in that: Insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence, or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse at the end of each pulse sequence. The probability of set / reset of the device through pulse amplitude or pulse width control is P set / P reset , get to go The probability of the correlation random bit stream is P base *(1-P set ) or P base *P reset ,in, P set is the probability that the device successfully sets to the threshold switching mode, P reset is the probability that the device is successfully reset to the non-volatile resistive mode.

6. The method for generating a decorrelated random bit stream according to any one of claims 1 to 4, characterized in that: The device is used to generate a random bit stream, including: generating two random bit streams using the same device; or, Two random bit streams are generated in parallel by the two devices simultaneously.

7. The method for generating a decorrelated random bit stream according to claim 6, characterized in that: The preset pulse condition is a series of pulse sequences with fixed amplitude and pulse width; The device randomly switches to a volatile threshold switching mode or a non-volatile resistive switching mode through a deterministic reset pulse / probabilistic set pulse or a probabilistic reset pulse / deterministic set pulse, and the random bit stream generated under each preset pulse condition is randomly set to 0; The probability of the random bit stream is adjusted by adjusting the amplitude of the probabilistic set pulse or the probabilistic reset pulse.

8. A system for generating a decorrelated random bit stream, characterized in that: include: An initial random bit stream generating unit is used to use a device with a resistive switching-selective characteristic as one, and use the delay time turned on in the selection characteristic of the device as a random source to generate a random bit stream under a preset pulse condition; wherein the probability of "1" in the random bit stream is a reference probability; A pulse sequence processing unit is used to divide the pulse sequence of the random bit stream into N segment Insert a deterministic reset-probabilistic set pulse pair at the beginning of each pulse sequence; or insert a probabilistic reset pulse at the beginning of each pulse sequence and insert a deterministic set pulse pair at the end of each pulse sequence; The pulse control unit is used to control the probability of set / reset of the device through pulse amplitude or pulse width to obtain mutually independent decorrelated random bit streams.

9. An electronic device, characterized in that: The electronic device includes at least one processor; and a memory connected in communication with the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps in the method for generating a decorrelated random bit stream as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium storing at least one instruction, characterized in that: When the at least one instruction is executed by a processor in an electronic device, the method for generating a decorrelated random bit stream as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for generating pulse signal

    CN112766469A

  • Method for adjusting random bit stream probability

    CN115563452A

  • Random number generation using threshold switching mechanism

    US20170153872A1