Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating pseudo-random number seeds and pseudo-random numbers

A pseudo-random number and seed technology, applied in the field of pseudo-random number seed generation and pseudo-random number generation, can solve problems such as reducing information protection security, unsatisfactory pseudo-random number randomness, and reducing pseudo-random number randomness.

Active Publication Date: 2013-05-08
NATIONZ TECH INC
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The randomness of the pseudo-random numbers produced by various methods is not ideal now, for example: the Chinese patent application document "A Pseudo-random Number Generating Circuit for a Radio Frequency Identification Tag Chip" whose publication number is CN101673351A and whose publication date is 2010-03-17 and Its Generation Method” proposes a circuit and method for generating a pseudo-random number using the initial state of a counter that has not been reset after power-on as a pseudo-random number seed in an RFID tag chip
Specifically, the oscillation frequency of the on-chip oscillator is unstable at the beginning of power-on, and the generation time and holding time of the reset signal are not fixed during different power-on processes to generate the seeds of the pseudo-random number generator. However, due to the unstable state caused by power-on It may not be different every time, so there will be a situation where the initial result of the current power-on is consistent with the initial result of the last power-on, resulting in the current generated pseudo-random number seed being the same as the last generated pseudo-random number seed, which in turn leads to The generated pseudo-random numbers are also the same, which reduces the randomness of pseudo-random numbers, thereby reducing the security of information protection

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating pseudo-random number seeds and pseudo-random numbers
  • Method and device for generating pseudo-random number seeds and pseudo-random numbers
  • Method and device for generating pseudo-random number seeds and pseudo-random numbers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] See figure 1 , the pseudo-random number seed generation device in this example includes an original pseudo-random number seed generation module, a processor and a storage module connected in sequence, wherein:

[0038] The original pseudo-random number seed generation module is used to generate the original pseudo-random number seed;

[0039] The storage module is used to store the pseudo-random number seed generated last time;

[0040] The processor is used to read a set of original pseudo-random number seeds from the original pseudo-random number seeds currently generated by the original pseudo-random number seed generation module, and read the pseudo-random number seeds generated last time from the storage module, and perform a combination of the two Compare and process to determine whether the two are the same, if they are the same, then re-read a set of original pseudo-random number seeds from the original pseudo-random number seed generation module for comparison...

Embodiment 2

[0058] The original pseudo-random number seed generation module in this example can be a readable and writable temporary memory. This type of memory has an indeterminate state after power-on and before reset, such as instruction registers, program counters, and SRAM memories. The following uses SRAM memories as Example for further detailed description: Due to the RAM structure, the data stored in the SRAM after power-on is related to the power-on speed, temperature and process deviation, and has an indeterminate state. Therefore, the SRAM memory can be used as the original pseudo-random data in this example. The number seed generation module can also use other memories with the same characteristics as the RAM structure as the original pseudo-random number seed generation module in this example. In this example, it is called the original pseudo-random number seed generation module, and the storage module used to store the pseudo-random number seed generated last time in the firs...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for generating pseudo-random number seeds and pseudo-random numbers. The method comprises reading a group of original pseudo-random number seeds from current original pseudo-random number seeds generated by an original pseudo-random number seed generation module; reading the pseudo-random number seeds generated the last time from a storage module; comparing the pseudo-random number seeds with the group of original pseudo-random number seeds, and reading a group of original pseudo-random number seeds from the original pseudo-random number seed generation module again for making comparison if the pseudo-random number seeds are identical; otherwise, performing calculation based on the current read original pseudo-random number seeds to obtain pseudo-random number seeds and storing the obtained pseudo-random number seeds in the storage module. Accordingly, the current generated pseudo-random number seeds can be guaranteed to be different from the pseudo-random number seeds generated the last time, the randomness of generated pseudo-random number seeds is improved, the randomness of pseudo-random numbers generated according to the pseudo-random number seeds is improved, and the security of information security protection is further enhanced.

Description

technical field [0001] The invention relates to the field of information security, in particular to a method and a device for generating a pseudo-random number seed, and a method and a device for generating a pseudo-random number. Background technique [0002] In the current communication technology, in order to ensure the security of communication information, it is necessary to encrypt the communication data, and the encryption process needs to use random numbers; in the process of non-contact chip communication, in order to improve the success rate of anti-collision, random numbers are also needed number. The randomness of the pseudo-random numbers produced by various methods is not ideal now, for example: the Chinese patent application document "A Pseudo-random Number Generating Circuit for a Radio Frequency Identification Tag Chip" whose publication number is CN101673351A and whose publication date is 2010-03-17 And Its Generation Method" proposes a circuit and method ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F7/58
Inventor 石道林
Owner NATIONZ TECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products