IP Library Granted Patent US 10,649,734
Granted Patent B2
US 10,649,734 · App. 16/287,617 · Granted May 12, 2020

Random number generation method and device utilized in computer system

Inventor: He Zhang (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06F7/58G06F7/582
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,649,734
App. No.
16/287,617
Granted
May 12, 2020
Kind
B2
Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for distributing a value among a plurality of accounts. One of the methods includes receiving, from a first terminal associated with a first account, a request for generating values, wherein the request comprises a sum of the values to be generated and a count of multiple second accounts, to which the values are to be distributed. The method also includes determining an average based on the sum and the count, generating multiple values in response to the request, the generated values comprising one or more value pairs and zero or one individual value, wherein a count of the generated values equals the count of second accounts in the request. The method further includes distributing the multiple values to the second accounts, wherein each of the second accounts is associated with a second terminal.

Claims (69)

1. A computer-implemented method for distributing a plurality of random numbers among a plurality of accounts, comprising:

receiving, at a service end system comprising a processor, a request for generating random numbers from a first terminal associated with a first account, wherein the request comprises a sum of the random numbers to be generated and a count of a plurality of second accounts, to which the random numbers are to be distributed;

determining an average based on the sum and the count;

generating, by the service end system, a plurality of random numbers in response to the request, the generated random numbers comprising one or more random number pairs and zero or one individual random number, wherein a count of the generated random numbers equals the count of second accounts in the request, and wherein the generating comprises:

determining two random numbers for each of the one or more random number pairs such that a sum of the two random numbers equals the average multiplied by two, and

determining any individual random number based at least in part on the average; and

distributing, by the service end system, the plurality of random numbers to the second accounts, wherein each of the second accounts is associated with a second terminal, and

wherein the service end system, first terminal, and second terminals are coupled via a network.

2. The method of claim 1 , wherein the determining two random numbers for each of the one or more random number pairs comprises determining the two random numbers based at least in part on a preset quotient between the two random numbers.

3. The method of claim 1 , wherein the determining two random numbers for each of the one or more random number pairs comprises:

determining a deviation range for the two random numbers of the random number pair based at least in part on the count and a preset threshold;

determining a deviation by randomly selecting a number within the deviation range; and

determining the two random numbers based at least in part on the deviation and the average.

4. The method of claim 1 , wherein the determining an individual random number comprises:

randomly attenuating the average to obtain an attenuated value; and

determining the individual random number based on the attenuated value and a preset minimum.

5. The method of claim 1 , further comprising:

determining a residue number based on the sum and the generated random numbers;

determining a residue value by dividing the residue number by the count; and

adding the residue value to each of the generated random numbers to obtain a plurality of updated random numbers.

6. The method of claim 1 , further comprising:

sorting the generated random numbers; and

storing the sorted random numbers to a list.

7. A service end system for distributing a plurality of random numbers among a plurality of accounts, comprising a processor and a non-transitory computer-readable storage medium storing instructions executable by the processor to cause the system to perform operations comprising:

receiving, at the service end system, a request for generating random numbers from a first terminal associated with a first account, wherein the request comprises a sum of the random numbers to be generated and a count of a plurality of second accounts, to which the random numbers are to be distributed;

determining an average based on the sum and the count;

generating, by the service end system, a plurality of random numbers in response to the request, the generated random numbers comprising one or more random number pairs and zero or one individual random number, wherein a count of the generated random numbers equals the count of second accounts in the request, and wherein the generating comprises:

determining two random numbers for each of the one or more random number pairs such that a sum of the two random numbers equals the average multiplied by two, and

determining any individual random number based at least in part on the average; and

distributing, by the service end system, the plurality of random numbers to the second accounts, wherein each of the second accounts is associated with a second terminal, and

wherein the service end system, first terminal, and second terminals are coupled via a network.

8. The service end system of claim 7 , wherein the determining two random numbers for each of the one or more random number pairs comprises determining the two random numbers based at least in part on a preset quotient between the two random numbers.

9. The service end system of claim 7 , wherein the determining two random numbers for each of the one or more random number pairs comprises:

determining a deviation range for the two random numbers of the random number pair based at least in part on the count and a preset threshold;

determining a deviation by randomly selecting a number within the deviation range; and

determining the two random numbers based at least in part on the deviation and the average.

10. The service end system of claim 7 , wherein the determining an individual random number comprises:

randomly attenuating the average to obtain an attenuated value; and

determining the individual random number based on the attenuated value and a preset minimum.

11. The service end system of claim 7 , wherein the operations further comprise:

determining a residue number based on the sum and the generated random numbers;

determining a residue value by dividing the residue number by the count; and

adding the residue value to each of the generated random numbers to obtain a plurality of updated random numbers.

12. The service end system of claim 7 , wherein the operations further comprise:

sorting the generated random numbers; and

storing the sorted random numbers to a list.

13. A non-transitory computer-readable storage medium associated with a service end system for distributing a plurality of random numbers among a plurality of accounts, configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

receiving, at the service end system, a request for generating random numbers from a first terminal associated with a first account, wherein the request comprises a sum of the random numbers to be generated and a count of a plurality of second accounts, to which the random numbers are to be distributed;

determining an average based on the sum and the count;

generating, by the service end system, a plurality of random numbers in response to the request, the generated random numbers comprising one or more random number pairs and zero or one individual random number, wherein a count of the generated random numbers equals the count of second accounts in the request, and wherein the generating comprises:

determining two random numbers for each of the one or more random number pairs such that a sum of the two random numbers equals the average multiplied by two, and

determining any individual random number based at least in part on the average; and

distributing, by the service end system, the plurality of random numbers to the second accounts, wherein each of the second accounts is associated with a second terminal, and

wherein the service end system, first terminal, and second terminals are coupled via a network.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the determining two random numbers for each of the one or more random number pairs comprises determining the two random numbers based at least in part on a preset quotient between the two random numbers.

15. The non-transitory computer-readable storage medium of claim 13 , wherein the determining two random numbers for each of the one or more random number pairs comprises:

determining a deviation range for the two random numbers of the random number pair based at least in part on the count and a preset threshold;

determining a deviation by randomly selecting a number within the deviation range; and

determining the two random numbers based at least in part on the deviation and the average.

16. The non-transitory computer-readable storage medium of claim 13 , wherein the determining an individual random number comprises:

randomly attenuating the average to obtain an attenuated value; and

determining the individual random number based on the attenuated value and a preset minimum.

17. The non-transitory computer-readable storage medium of claim 13 , wherein the operations further comprise:

determining a residue number based on the sum and the generated random numbers;

determining a residue value by dividing the residue number by the count; and

adding the residue value to each of the generated random numbers to obtain a plurality of updated random numbers.

18. The non-transitory computer-readable storage medium of claim 13 , wherein the operations further comprise:

sorting the generated random numbers; and

storing the sorted random numbers to a list.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2019
From: ZHANG, HE
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048458/0661 →
Cited By (1)
US 12,632,221