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

Method, apparatus and system for on-line generating random data

A random data generation system technology, applied in the field of network applications, can solve the problems of random data not being random enough, occupying a large storage space, and being easily affected by the server, so as to achieve the effect of increasing fairness and improving efficiency

Inactive Publication Date: 2009-04-22
BEIJING SOHU NEW MEDIA INFORMATION TECH
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to pursue a truly random sequence, many primitive physical methods have been used to generate a uniformly distributed sequence that meets the accuracy within a certain range. The disadvantages are: slow speed, low efficiency, large storage space and non-reproducible, etc.
[0005] From the above description, we can know that the random seeds of the existing random data generation methods are related to the system clock on the server side, so the generated random data is easily affected by the server side, and the generated random data is not random enough.
In specific applications, such as in the real estate opening lottery system, the developer enters the registration numbers of all potential consumers on a single computer, and uses the system clock of the computer as a random seed to generate random data, because the random data is on a single computer. Generated, easily affected by a stand-alone server, the random data generated is not random enough, consumers often do not agree with the fairness of the generated random data, and the random data is not generated online, consumers cannot timely Check

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, apparatus and system for on-line generating random data
  • Method, apparatus and system for on-line generating random data
  • Method, apparatus and system for on-line generating random data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0053] refer to figure 1 , shows a flow chart of the method for generating random data online according to an embodiment of the present invention, including steps:

[0054] Step 101, record the session id of the client accessing the server.

[0055] When the server creates a session (session) for a client's request, the server first checks whether the client's request already contains a session identifier, which is called a session id (session id), if it contains a session id, it means A session has been created for this client before, and the server retrieves the session according to the session id, and records the session id of the client accessing the server. If the client request does not contain a session id, create a sessio...

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 provides a method for generating random data on line. The method comprises the steps as follows: a client-side session id accessing a server is recorded; bitwise binary operation is carried out on all client-side session ids to generate a parameter d; original data is input; and the parameter d is used as a random seed to generate the random data. The random data is generated by recording the client-side session id accessing the server on line, generating the parameter d on line and using the parameter d as the random seed, thereby improving the efficiency and increasing the fairness and the satisfaction degree of the user. The invention also discloses a random data online generator and a random data online generating system. In the actual application, the random data online generating system can be a building opening quotation lot number remote live broadcasting system.

Description

technical field [0001] The invention relates to the field of network applications, in particular to a random data online generation method, device and system. Background technique [0002] In reality, due to the needs of applications, a limited number of data needs to be randomly selected from a large number of original data. Therefore, there are many random data generation systems, such as lottery lottery systems and real estate opening lottery systems. Assuming that the system is a real estate opening lottery system, the existing real estate opening lottery process is as follows: potential customers register at the sales office and receive a registration number. A limited number of random data is generated, the developer publishes the generated random number, and consumers who match the generated random number subscribe. [0003] Random numbers are widely used in software design, especially in the field of practice environment simulation and testing. In order to pursue a...

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 Applications(China)
IPC IPC(8): H04L12/16G06F7/58
Inventor 何民虎傅民尚磊
Owner BEIJING SOHU NEW MEDIA INFORMATION TECH
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