Random number generation method, random number generation device and electronic equipment

A random number and random seed technology, applied in the field of information security, can solve problems such as random results being tampered with, and achieve the effect of improving trust and credibility

Active Publication Date: 2022-02-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present disclosure is to provide a random number generation method, a random number generation device, an electronic device, and a computer-readable storage medium, which can improve the random number generation process to a certain extent, and there are some people who know the random result in advance. And there is the possibility of random results being tampered with, thereby improving the credibility of the random number generation process

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 number generation method, random number generation device and electronic equipment
  • Random number generation method, random number generation device and electronic equipment
  • Random number generation method, random number generation device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solution...

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 disclosure provides a random number generation method and electronic equipment; it relates to the technical field of information security. The method includes: generating a smart contract including execution conditions according to configuration information, and writing the smart contract into the block chain; wherein, the configuration information includes a random seed generation method and a random function; triggering when the execution conditions are met The smart contract is executed; the random parameters in the block chain are obtained through the smart contract according to the random seed generation method, and a random seed is generated based on the random parameters; and the random function is called based on the random seed Generate random numbers. This disclosure can improve the credibility of the random number generation process.

Description

technical field [0001] The present disclosure relates to the technical field of information security, and in particular, to a random number generation method, a random number generation device, electronic equipment, and a computer-readable storage medium. Background technique [0002] In many scenarios, random events need to be generated through random numbers. For example, when a certain event needs to be implemented by selecting a preset number of objects, and the number of alternative objects exceeds the preset number, and these alternative objects have no obvious difference in the implementation of the event, it can be based on the above A random number is chosen from among these candidates. The random event may be, for example, a list-selected random event such as a lottery in a game. [0003] In the prior art, part of the solution for obtaining random numbers is to calculate a pseudo-random number by calling a random function through the server; part of the solution ...

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/58G06F16/27
CPCG06F7/588G06F16/27
Inventor 林伟东
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products