Supercharge Your Innovation With Domain-Expert AI Agents!

Random number generation control method and device, computer equipment and storage medium

A control method and random number technology, applied in the computer field, can solve problems such as increased labor costs, inability to meet complex random number usage requirements, and low efficiency

Pending Publication Date: 2019-08-02
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the use and function of the existing random number functions are relatively simple. It can only generate simple strings, which cannot meet the use requirements of complex random numbers. Complex random numbers require the intervention of staff to create them, which is inefficient and increased labor costs

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 control method and device, computer equipment and storage medium
  • Random number generation control method and device, computer equipment and storage medium
  • Random number generation control method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] For details, please refer to figure 1 , figure 1 It is a schematic flow chart of the random number generation control method of this embodiment.

[0073] Such as figure 1 As shown, a random number generation control method includes the following steps:

[0074] S1100. Obtain a preset random number format data list, wherein the random number format data list includes format information of a custom random number;

[0075] When it is necessary to generate a random number sequence, first obtain the random number format data list, the random number format data list is preset by the system, and the random number format data list includes the format information of the custom random number, which is used to represent the Define the format of the random number. For example, if the custom random number is a string of 8 characters starting with a letter, the format information represents the string of 8 characters starting with a letter. During implementation, the system is pr...

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 invention discloses a random number generation control method and device, computer equipment and a storage medium, and the method comprises the following steps: obtaining a preset random number format data list, the random number format data list comprising format information of a user-defined random number; configuring a preset random number configuration option of a randomnumber function according to the format information of the user-defined random number; calling a random number function to calculate the value of each digit of the user-defined random number accordingto the reset random number configuration option; and receiving the value of each digit output by the random number function and forming a target random number according to the value of each digit output by the random number function, the target random number being a random number sequence meeting the user-defined random number use requirement. The format of the target random number generated by the embodiment of the invention is matched with the format information of the user-defined random number, the complex random number use requirement is met, the responsible random number meeting the userequirement can be generated without manual intervention, the efficiency is high, and the labor cost input is reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, in particular to a random number generation control method, device, computer equipment, and storage medium. Background technique [0002] In the process of life and work, it is often necessary to use random numbers. For example, when using computers to program, random numbers are often used, especially in fields such as simulation, which put forward higher requirements for the generation of random numbers. The random number function generates random numbers, and the random number function is a function that generates random numbers, such as rand() or srand() in C language and other random number functions. [0003] However, the use and function of the existing random number functions are relatively simple. It can only generate simple strings, which cannot meet the use requirements of complex random numbers. Complex random numbers require the intervention of staff to cr...

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): G06F9/30
CPCG06F9/30076G06F9/30094G06F9/30007
Inventor 胡鹏强
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More