CN107832258A - A kind of acquisition can test several devices and methods therefors at random - Google Patents

A kind of acquisition can test several devices and methods therefors at random Download PDF

Info

Publication number
CN107832258A
CN107832258A CN201711139352.5A CN201711139352A CN107832258A CN 107832258 A CN107832258 A CN 107832258A CN 201711139352 A CN201711139352 A CN 201711139352A CN 107832258 A CN107832258 A CN 107832258A
Authority
CN
China
Prior art keywords
data
capture
random
acquisition
combination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711139352.5A
Other languages
Chinese (zh)
Inventor
李丕丁
张志飞
王秋思
胡龙宝
涂迦南
周祥宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN201711139352.5A priority Critical patent/CN107832258A/en
Publication of CN107832258A publication Critical patent/CN107832258A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Pinball Game Machines (AREA)

Abstract

The invention discloses a kind of acquisition can test several devices and methods therefors at random, including:Data capture portion, data are caught from the source data in public letter data source;Data combination section, the data captured are combined;Data store, the data after combination are stored;And data output section, exported using the data after combination as number can be tested at random, data capture portion includes:Capture time point setup unit, for setting the capture time point of capture data;Data capture unit, the capture time set according to capture time point setup unit click through the acquisition of row data;Data temporary storage location, the data obtained to data capture unit are kept in;Fluctuate computing unit, to the data kept in data temporary storage location, ten, hundred, thousand or ten thousand undulating value of each data bit calculate;And fluctuation data screening unit, data of the undulating value in data temporary storage location less than 5 are deleted according to the undulating value that fluctuation computing unit is calculated.

Description

A kind of acquisition can test several devices and methods therefors at random
Technical field
Present invention relates particularly to a kind of acquisition can test several devices and methods therefors at random.
Background technology
Welfare lottery ticket is born in the case where caring about the background of difficult colony.All the time, welfare lottery ticket is all public opinion The focus of concern, the sound of query of the public to welfare lottery ticket can be heard without end.In the device of existing generation lottery data, winning numbers The more devices for making generating random number using fixed software of code, but these devices are regular by being manually set generating random number, Manipulation thus may be tampered.
Now, the Deceptive news of rich people's eyeball such as " welfare lottery ticket shady deal ", " welfare lottery ticket fraud " are flooded with network, or even are occurred The network fraudulent act of " prediction welfare lottery ticket prize-winning number ", the data of the computer of generation random number are also distorted, such as:In April, 2015 Across state lottery ticket NEWS FROM ASSOCIATION safety director Eddie Raymond Tipton are accused of generation random number of having distorted before the U.S. Computer, manipulating prize-winning number makes their own repeatedly win a prize, and wins tens million of dollars of lottery ticket bonus.Welfare that this is badly damaged is color The fair and just social image of ticket, the interests of lottery fan are compromised, cause severe social influence.
The content of the invention
The present invention is, and it is an object of the present invention to provide a kind of acquisition can test several devices at random in order to solving the above problems and carry out And its method.
The invention provides a kind of acquisition can test several devices at random, is connected with multiple public letter data sources traffics, has this The feature of sample, including:Data capture portion, data are caught from the source data in public letter data source;Data combination section, to what is captured Data are combined;Data store, the data after combination are stored;And data output section, by the data after combination Exported as number can be tested at random, data capture portion includes:Capture time point setup unit, for setting catching for capture data Obtain time point;Data capture unit, the capture time set according to capture time point setup unit click through the acquisition of row data;Number According to temporary storage location, the data obtained to data capture unit are kept in;Computing unit is fluctuated, to being kept in data temporary storage location Data, ten, hundred, thousand or ten thousand undulating value of each data bit calculated;And fluctuation data screening unit, according to The undulating value that fluctuation computing unit is calculated is deleted data of the undulating value in data temporary storage location less than 5, data group Conjunction portion includes:Rule of combination memory cell, the rule of combination of the data after fluctuation data screening unit screening is stored;With And combination computing unit, calculating is combined to data by the rule of combination that rule of combination memory cell stores, so as to obtain Number can be tested at random.
It can test in several devices, can also be had the feature that at random in acquisition provided by the invention:Wherein, data are caught The data for catching portion's seizure are the value pre-set at the time of catching data or are to pre-set data at the time of catching data One kind in the difference of the data caught with initial time.
It can test in several devices, can also be had the feature that at random in acquisition provided by the invention:Wherein, public letter number Include the data of security composite index and the temperature data of weather bureau according to the source data in source.
It can test in several devices, can also be had the feature that at random in acquisition provided by the invention, in addition to:Source number According to storage part, the source data obtained to data capture unit stores;And source data query interface, for being inquired about for third party Source data.
It can test in several devices, can also be had the feature that at random in acquisition provided by the invention:Wherein, source data Query interface includes http interfaces, https interfaces and socket interfaces.
Present invention also offers a kind of acquisition can test several methods at random, has the feature that, comprises the following steps:
Step 1, the capture time point of following capture data is pre-set;
Step 2, a pair source data corresponding with capture time point obtains;
Step 3, source data is combined according to rule of combination set in advance, number can be tested at random so as to obtain,
Wherein, step 2 includes following sub-step:
Step 2-1, the acquisition of row data is clicked through according to capture time;
Step 2-2, the data of acquisition are kept in;
Step 2-3, to temporary data, ten, hundred, thousand or ten thousand undulating value of each data bit calculate;
Step 2-4, data of the undulating value in data temporary storage location less than 5 are deleted according to undulating value.
It can test in several methods, can also be had the feature that at random in acquisition provided by the invention:Wherein, step 3 In rule of combination be the evolution of sum of data bit of the data captured, data bit be that the average of odd number, data bit are even Several average or data bit number remove two remainders.
The effect of invention and effect
Several devices and methods therefors can be tested according to acquisition involved in the present invention at random, because it is from the public that can test number at random It can inquire about, the source data that the personal data platform that can not be manipulated obtains, so ensure that randomness.Because used fluctuometer Calculation unit can be calculated the undulating value of each data bit of data and used fluctuation data screening unit can Undulating value is screened, so it is single to avoid source data.Because the data combination section having can be to data using combination Mode is combined, so that the scope for ultimately generating random number is wider, randomness is stronger..Therefore, acquisition of the invention with Machine can test several devices and methods therefors so that winning results is more fair, just interests that can ensure lottery fan.
Brief description of the drawings
Fig. 1 is the block diagram that acquisition in embodiments of the invention can test several devices at random;
Fig. 2 is the block diagram in the data capture portion in embodiments of the invention;
Fig. 3 is the block diagram of the data combination section in embodiments of the invention;
Fig. 4 is the schematic flow sheet in embodiments of the invention.
Embodiment
In order that the technological means that the present invention realizes is easy to understand with effect, with reference to embodiments and accompanying drawing is to this Invention is specifically addressed.
Embodiment:
Fig. 1 is the block diagram that acquisition in embodiments of the invention can test several devices at random.
As shown in figure 1, a kind of acquisition of the present embodiment can test several devices 100 at random, with multiple public letter data sources traffics Connection, including:Data capture portion 1, data combination section 2, data store 3, data output section 4, source data storage part is (in figure not Show) and source data query interface (not shown).
Fig. 2 is the block diagram in the data capture portion in embodiments of the invention.
As shown in Fig. 2 data capture portion 1, data are caught from the source data in public letter data source.
The data that data capture portion 1 is caught are the value pre-set at the time of catching data or are to pre-set seizure number According at the time of the difference of data that catches of data and initial time in one kind.
Data capture portion 1 includes:Capture time point setup unit 11, data capture unit 12, data temporary storage location 13, ripple Dynamic computing unit 14 and fluctuation data screening unit 15.
Capture time point setup unit 11, for setting the capture time point of capture data.
Data capture unit 12, the capture time set according to capture time point setup unit 11 click through obtaining for row data Take.
Data temporary storage location 13, the data obtained to data capture unit 12 are kept in.
Fluctuate computing unit 14, in data temporary storage location 12 keep in data, ten, hundred, thousand or ten thousand every number Calculated according to the undulating value of position.
Data screening unit 15 is fluctuated, the undulating value being calculated according to fluctuation computing unit is in data temporary storage location 12 Data of the undulating value less than 5 are deleted.
Fig. 3 is the block diagram of the data combination section in embodiments of the invention.
As shown in figure 3, the data captured are combined by data combination section 2.
The source data in public letter data source includes the data of security composite index and the temperature data of weather bureau.
Data combination section 2 includes:Rule of combination memory cell 21 and combination computing unit 22.
Rule of combination memory cell 21, the rule of combination of the data after being screened to fluctuation data screening unit 15 are deposited Storage.
Computing unit 22 is combined, the rule of combination stored by rule of combination memory cell 21 is combined meter to data Calculate, so as to obtain that number can be tested at random.
Data store 3, the data after combination are stored.
Data output section 4, exported using the data after combination as number can be tested at random.
Source data storage part 5, the source data obtained to data capture unit 1 store.
Source data query interface 6, for inquiring about source data for third party.
Source data query interface 6 includes http interfaces, https interfaces and socket interfaces.
Fig. 4 is the schematic flow sheet in embodiments of the invention.
As shown in figure 4, the course of work that the present embodiment acquisition can test several devices 100 at random is as follows:
Step 1, the capture time point of following capture data is pre-set.
In the present embodiment, with 22 days 14 November in 2017:00 is data capture time point.
Step 2, a pair source data corresponding with capture time point obtains.
Step 2 includes following sub-step:
Step 2-1, the acquisition of row data is clicked through according to capture time.
In the present embodiment, the data captured are:14.5 degrees Celsius of Shanghai City Weather Bureau temperature;Jiangsu Meteorological Bureau of Shanxi Province temperature 14.1 degrees Celsius of degree;13.8 degrees Celsius of Zhejiang Meteorological Bureau of Shanxi Province temperature;13.6 degrees Celsius of Anhui Meteorological Office's temperature;Hubei Province is meteorological 13.0 degrees Celsius of temperature of office;13.9 degrees Celsius of Hunan Meteorological Bureau of Shanxi Province temperature.
Step 2-2, the data of acquisition are kept in.
Step 2-3, to temporary data, ten, hundred, thousand or ten thousand undulating value of each data bit calculate.
In the present embodiment, tens is respectively:1st, 1,1,1,1,1, units is respectively:3rd, 3,3,3,4,4, decimal point Latter position is respectively:0、1、5、6、8、9.Variance be each data respectively and the difference of its average square and average.
Formula is:Wherein, x represents the average of sample, n Represent the quantity of sample, xiRepresent individual, and s2Variance is meant that, by being calculated:Tens variance is 0, units variance For 0.148, one decimal place variance:11.375.
Step 2-4, data of the undulating value in data temporary storage location 13 less than 5 are deleted according to undulating value.
In the present embodiment, the one decimal place for the data average that variance is 11.375 is taken, other data are deleted. If having multiple variances more than 5, take variance it is maximum for valid data.
Step 3, source data is combined according to rule of combination set in advance, number can be tested at random so as to obtain.
In the present embodiment, the one decimal place for the data average that variance is 11.375 is taken, average is 4.833333 it is 8 to obtain random number.Other data splittings weigh the first step and started again.
Rule of combination is the evolution of the sum of the data bit of the data captured, data bit is the average of odd number, data bit It is that the average of even number or data bit number remove two remainders, the rule that other logarithm values can also be used to be calculated and combined.
The effect of embodiment and effect
The acquisition of the present embodiment can test several devices and methods therefors at random because can test at random number be can be inquired about from the public, The source data that the data platform that individual can not manipulate obtains, so ensure that randomness.Because used fluctuation computing unit The undulating value of each data bit of data can be calculated and used fluctuation data screening unit can be to fluctuation Value is screened, so it is single to avoid source data.Because the data combination section having can be entered to data using combination Row combination, so that the scope for ultimately generating random number is wider, randomness is stronger..Therefore, acquisition of the invention can test at random Several devices and methods therefors make it that winning results is more fair, just interests that can ensure lottery fan.
Above-mentioned embodiment is the preferred case of the present invention, is not intended to limit protection scope of the present invention.

Claims (7)

1. a kind of acquisition can test several devices at random, it is connected with multiple public letter data sources traffics, it is characterised in that including:
Data capture portion, data are caught from the source data in the public letter data source;
Data combination section, the data captured are combined;
Data store, the data after combination are stored;And
Data output section, exported the data after combination as the number that can test at random,
Wherein, the data capture portion includes:
Capture time point setup unit, for setting the capture time point of capture data;
Data capture unit, the capture time set according to the capture time point setup unit click through the acquisition of row data;
Data temporary storage location, the data obtained to the data capture unit are kept in;
Fluctuate computing unit, in data temporary storage location keep in the data, ten, hundred, thousand or ten thousand each data bit Undulating value calculated;And
Data screening unit is fluctuated, the undulating value being calculated according to the fluctuation computing unit is temporary to the data single Data of the undulating value less than 5 are deleted in member,
The data combination section includes:
Rule of combination memory cell, the rule of combination of the data after fluctuation data screening unit screening is stored;With And
Computing unit is combined, the rule of combination stored by the rule of combination memory cell is combined to the data Calculate, so as to obtain described can testing number at random.
2. acquisition according to claim 1 can test several devices at random, it is characterised in that:
Wherein, the data that the data capture portion is caught are the value pre-set at the time of catching data or are to set in advance Put one kind in the difference for the data that data at the time of catching data are caught with initial time.
3. acquisition according to claim 1 can test several devices at random, it is characterised in that:
Wherein, the source data in the public letter data source includes the data of security composite index and the temperature data of weather bureau.
4. acquisition according to claim 3 can test several devices at random, it is characterised in that also include:
Source data storage part, the source data obtained to the data capture portion store;And
Source data query interface, for inquiring about the source data for third party.
5. acquisition according to claim 4 can test several devices at random, it is characterised in that
Wherein, the source data query interface includes http interfaces, https interfaces and socket interfaces.
6. a kind of acquisition can test several methods at random, it is characterised in that comprise the following steps:
Step 1, the capture time point of following capture data is pre-set;
Step 2, a pair source data corresponding with the capture time point obtains;
Step 3, the source data is combined according to rule of combination set in advance, number can be tested at random so as to obtain,
Wherein, the step 2 includes following sub-step:
Step 2-1, the acquisition of row data is clicked through according to the capture time;
Step 2-2, the data of acquisition are kept in;
Step 2-3, to the temporary data, ten, hundred, thousand or ten thousand undulating value of each data bit calculate;
Step 2-4, data of the undulating value in the data temporary storage location less than 5 are deleted according to the undulating value.
7. acquisition according to claim 6 can test several methods at random, it is characterised in that:
Wherein, the rule of combination in the step 3 is the evolution of the sum of the data bit of the data captured, data bit Average, the data bit for being odd number are that the average of even number or data bit number remove two remainders.
CN201711139352.5A 2017-11-16 2017-11-16 A kind of acquisition can test several devices and methods therefors at random Pending CN107832258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711139352.5A CN107832258A (en) 2017-11-16 2017-11-16 A kind of acquisition can test several devices and methods therefors at random

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711139352.5A CN107832258A (en) 2017-11-16 2017-11-16 A kind of acquisition can test several devices and methods therefors at random

Publications (1)

Publication Number Publication Date
CN107832258A true CN107832258A (en) 2018-03-23

Family

ID=61651783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711139352.5A Pending CN107832258A (en) 2017-11-16 2017-11-16 A kind of acquisition can test several devices and methods therefors at random

Country Status (1)

Country Link
CN (1) CN107832258A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003288680A1 (en) * 2002-11-21 2004-06-15 Novamedia B.V. Systems and methods for establishing a verifiable random number
CN102648467A (en) * 2009-09-25 2012-08-22 阿德南·法科 Database and method for evaluating data therefrom
CN103678254A (en) * 2013-12-04 2014-03-26 四川理工学院 Method capable of verifying random number generation based on linear equation set
CN103824372A (en) * 2014-03-10 2014-05-28 北京壹平台科技有限公司 Hand-shaking number selection method adopting MT (mobile terminal)
CN105827402A (en) * 2016-05-18 2016-08-03 武汉理工大学 Distributed public verifiable random number generation method
CN106980488A (en) * 2017-03-14 2017-07-25 腾讯科技(深圳)有限公司 Random digit generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003288680A1 (en) * 2002-11-21 2004-06-15 Novamedia B.V. Systems and methods for establishing a verifiable random number
CN102648467A (en) * 2009-09-25 2012-08-22 阿德南·法科 Database and method for evaluating data therefrom
CN103678254A (en) * 2013-12-04 2014-03-26 四川理工学院 Method capable of verifying random number generation based on linear equation set
CN103824372A (en) * 2014-03-10 2014-05-28 北京壹平台科技有限公司 Hand-shaking number selection method adopting MT (mobile terminal)
CN105827402A (en) * 2016-05-18 2016-08-03 武汉理工大学 Distributed public verifiable random number generation method
CN106980488A (en) * 2017-03-14 2017-07-25 腾讯科技(深圳)有限公司 Random digit generation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
叶俊 等: "基于可验证随机数的电子彩票方案", 《计算机工程与应用》 *
杨俊英 等: "《义务教育教科书 数学 九年级 上 冀教版 2017版》", 31 July 2017 *

Similar Documents

Publication Publication Date Title
CN106980488A (en) Random digit generation method and device
Felix et al. Systematic literature review of preprocessing techniques for imbalanced data
KR101991642B1 (en) Methods and a system for detecting fraud in betting and lottery games
CN108174296A (en) Malicious user recognition methods and device
CN109857935B (en) Information recommendation method and device
CN106790019A (en) The encryption method for recognizing flux and device of feature based self study
DE102013108393A1 (en) Device and method for remote clearing of critical information
CN110599263A (en) User interaction data processing method and device, storage medium and computer equipment
CN106570481A (en) Processing method, apparatus and system for bill informatization
CN107563912A (en) A kind of lawyer recommends method and system
CN107563798A (en) Prize-winning data processing method and device
CN108733351A (en) A kind of random digit generation method based on block chain
CN116383708A (en) Transaction account identification method and device
CN107832258A (en) A kind of acquisition can test several devices and methods therefors at random
KR102402517B1 (en) Method for providing blockchain based lottery game service with merchandising prize
CN113326405B (en) Park entrance recommendation method and system based on BIM technology
WO2018215148A1 (en) Method and device for the computer-aided processing of a random bit pattern
CN112702159B (en) Online expert scoring method and system based on block chain
CN114638689A (en) Credit information generation method, device and system and electronic equipment
CN112383785A (en) Method and device for processing heat value and electronic equipment
CN113434783A (en) Method and device for calculating influence of network user and electronic equipment
US20140179419A1 (en) System and method for verification of identification and residence in an online gaming environment
CN108320400A (en) Sports formula lottery system based on wechat platform
CN111385655A (en) Advertisement bullet screen detection method and device, server and storage medium
CN109714150A (en) The System and method for of ordered series of numbers is generated based on block chain hash value

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180323

WD01 Invention patent application deemed withdrawn after publication