Unlock instant, AI-driven research and patent intelligence for your innovation.

Random seed generation method and device

A random seed and clock technology, applied in the electronic field, can solve problems such as the inappropriateness of single-chip microcomputers, and achieve the effects of low cost, simple implementation, and less hardware occupation

Active Publication Date: 2021-02-26
深圳和而泰小家电智能科技有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Using this scheme to generate random seeds requires an EEROM inside the microcontroller, which is obviously inappropriate for a microcontroller without EEROM

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
  • Random seed generation method and device
  • Random seed generation method and device
  • Random seed generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0027] It should also be understood that the terminology 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
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a method and device for generating a random seed, wherein the method includes: counting clock signals of a first clock source to obtain counting results within a predetermined time period; and determining a random seed according to the counting results. In the embodiment of the present invention, start the counting timer based on the first clock source; after the second clock source determines that the timer start time reaches the preset duration, acquire the count value of the timer to obtain a random seed, The random seed can be quickly generated, the implementation is simple, the cost is low, and the required hardware occupation is small.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a random seed generation method and device. Background technique [0002] At present, many electronic products have the function of generating random numbers, ranging from shuffling cards in poker games in smart phones to randomness in the load work of electronic devices when they are powered on. The realization of these functions is inseparable from random numbers. When using a computer or a single-chip microcomputer to generate random numbers, it is necessary to generate a random seed first, and then use a random function to generate random numbers. [0003] One solution currently adopted is to use the on-chip Electronically Erasable Programmable Read-Only Memory (EEROM) of the single-chip microcomputer to store the working time of the machine, and use the uncertainty of the working time to generate random seeds. The specific implementation of this scheme is that the singl...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F7/58
Inventor 谢荣姜毅黄陈
Owner 深圳和而泰小家电智能科技有限公司