CN113781699A - Number shaking method - Google Patents

Number shaking method Download PDF

Info

Publication number
CN113781699A
CN113781699A CN202110990127.2A CN202110990127A CN113781699A CN 113781699 A CN113781699 A CN 113781699A CN 202110990127 A CN202110990127 A CN 202110990127A CN 113781699 A CN113781699 A CN 113781699A
Authority
CN
China
Prior art keywords
number shaking
shaking
list
information
party
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
CN202110990127.2A
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.)
Nanjing Jugong Technology Co ltd
Original Assignee
Nanjing Jugong Technology Co ltd
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 Nanjing Jugong Technology Co ltd filed Critical Nanjing Jugong Technology Co ltd
Priority to CN202110990127.2A priority Critical patent/CN113781699A/en
Publication of CN113781699A publication Critical patent/CN113781699A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a number shaking method: generating data information W1 and W2 corresponding to the number shaking task; generating a message digest character string Z1 of W1 by using a message digest algorithm; data chunk B1 of Z1 was generated and stored by the blockchain system; before the random seeds of a third party on which the number shaking task depends are generated, the information of W1, Z1 and B1 is sent to the application equipment of a number shaking activity related party; after the third-party random seeds which are depended by the number shaking task are generated, the number shaking platform generates number shaking results according to the number shaking task data information W1 and W2 and sends the number shaking results and W2 to application equipment of a number shaking activity related party. The method can solve the technical problems that random seeds are easy to control, the randomness of the number shaking result is not high, the number shaking algorithm is difficult to verify and supervise, the confidentiality is not strong, the reliability of the number shaking result is not high and the practicability is not strong in the conventional block chain number shaking method.

Description

Number shaking method
Technical Field
The application relates to the technical field of random number generation, in particular to a number shaking method.
Background
At present, the number shaking method is used in various application scenes such as number shaking in house sale, commodity sales promotion lottery, sports event drawing, student number shaking for entrance, random product sampling inspection and the like of real estate developers. The existing number shaking method generally comprises the following steps:
1. the conventional random data generating device developed by the number shaking event host can cause the abnormality of the number shaking result due to various reasons (such as the failure of the random data generating device during use) so as to cause the low reliability of the number shaking result.
2. The number shaking event host generates a number shaking result by combining random data of the third-party platform with a preset algorithm, when workers of the third-party platform are bribed, the number shaking event host carries out malicious cheating when the number shaking result is generated, and the reliability of the number shaking result is low because the random data and the preset algorithm are not public and official.
3. Some large lottery event promoters employ a team of attorneys or professional notary personnel to increase confidence in the lottery, but the notary personnel may be bribered, resulting in less confidence in the lottery results.
4. The existing method for shaking numbers by using block chain distributed application has the defects that the cost for storing and calculating the block chain is high, the speed is low, the shaking number result cannot be quickly generated in a large batch according to a third party authority seed, and common participants cannot easily understand the block chain distributed application codes so as to supervise and verify.
5. The existing number shaking method using the block chain evidence storing technology has the problems that the number shaking result is controlled by controlling a third-party random seed, the randomness of the generated number shaking result is not high due to the limited capacity of random numbers in a random number set, the number shaking related party is not easy to verify and supervise the number shaking process due to the excessively complex number shaking algorithm, and the number shaking result loses confidentiality after the third-party random seed is disclosed due to the fact that all number shaking data information is disclosed in advance.
Therefore, for the technical problems that random seeds, number shaking algorithms and number shaking devices in the existing number shaking method are easily controlled by human interference, block chain distributed number shaking application cost is high, speed is low, verification is difficult, and a large number of number shaking results are difficult to generate rapidly in batches, the number shaking method in the existing block chain number storage technology has the defects that random seeds are easily controlled, the randomness of the number shaking results is not high, the number shaking algorithm is difficult to verify and supervise, confidentiality is not strong, and the number shaking results are not high in reliability and not strong in practicability, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the disclosure provides a number shaking method so as to solve the technical problems that random seeds of number shaking, number shaking algorithms and number shaking devices in the existing number shaking method are easily controlled by human interference, block chain distributed number shaking application cost is high, speed is low, verification is difficult, and a large number of number shaking results are difficult to generate rapidly in batches, and the number shaking method of the existing block chain number storage technology has the problems that random seeds are easy to control, the randomness of number shaking results is not high, the number shaking algorithms are difficult to verify and supervise, confidentiality is not strong, and the number shaking results are not high in reliability and not strong in practicability.
The embodiment of the disclosure provides a number shaking method for a number shaking platform, which comprises the following steps:
generating the number shaking task data information W1 and W2 corresponding to the number shaking task, wherein the number shaking task is used for carrying out number shaking activities in a preset scene and generating a number shaking result;
generating an information abstract character string Z1 corresponding to the serial number shaking task data information by using a preset information abstract algorithm according to the serial number shaking task data information W1;
generating and storing a data chunk for recording the message digest character string Z1 through a preset blockchain system, and receiving identification information B1 for accessing the data chunk from the blockchain system;
sending the information of W1, Z1 and B1 to the application equipment of the number shaking activity related party before the random seed of the third party on which the number shaking task depends is generated;
after the third-party random seeds which are depended by the number shaking task are generated, the number shaking platform generates a number shaking result according to the number shaking task data information W1 and W2 and sends the number shaking result and W2 to application equipment of a number shaking activity related party.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computing device for implementing a method of shaking numbers according to an embodiment of the present disclosure;
fig. 2 is an application scenario diagram of a method for shaking numbers according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of a method of shaking numbers according to an embodiment of the present disclosure;
reference numerals: the system comprises a number shaking platform 201, a block chain system 202, a third-party random seed generation platform 203, a number shaking host application person 301, a business operator 302, a number shaking activity correlation party 303, a block chain link point 2021 and a block chain link point 2022.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Examples
According to the present embodiment, an embodiment of a method of shaking numbers is provided, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method embodiments provided by the present embodiment may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. FIG. 1 illustrates a block diagram of a hardware architecture of a computing device for implementing a method of panning. As shown in fig. 1, the computing device may include one or more processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computing device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device. As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the method of shaking numbers in the embodiments of the present disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the method of shaking numbers of application programs described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computing device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the computing devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device.
It should be noted here that in some alternative embodiments, the computing device shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that FIG. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in a computing device as described above.
In the above operating environment, the present embodiment provides a method of shaking numbers. Fig. 2 is an application scenario diagram of the number shaking method provided in this embodiment, and as shown in fig. 2, the application scenario diagram includes a number shaking platform 201, a preset block chain system 202, and a third-party random seed generation platform 203 for generating random seeds. The personnel actually involved in the number shaking method include number shaking host application personnel 301 who initiate or organize number shaking activities, business operator 302 who maintains the operation number shaking platform 201, and number shaking activity related party 303, wherein information is transferred and exchanged through the network.
The third-party random seed generation platform 203 in this embodiment may be, for example, a lottery drawing platform in china, and the random seed generated by the third-party random seed generation platform 203 may be, for example, a lottery drawing number generated by the lottery drawing platform. Accordingly, number shaking platform 201 may generate further number shaking results based on the random seed number shaking operation.
In this embodiment, for example, the service operator 302 may issue, in the serial number platform 201, the serial number shaking application methods in various application scenarios and the random seed information of the random seed associated with the serial number shaking application methods. Wherein the random seed information may be, for example, lottery drawing numbers generated by the chinese welfare lottery two-color ball drawing platform in the future (the future refers to the time when the lottery drawing activity is issued).
For example, the service operator 302 may implement the functions of adding, deleting, issuing, and offline of the number shaking application method and the functions of adding and issuing the random seed information through the number shaking platform 201. Specifically, the service operator 302 may operate the number shaking platform 201 to add a number shaking application method through a browser webpage interaction mode, including adding the following information related to the number shaking application method: the number of the number shaking application method, the name of the number shaking application method, the application scene description of the number shaking application method, the number shaking result interaction method and the like.
More specifically, for example, the service operator 302 may add a shake application method with the number M1 to the shake platform 201. The name of the number shaking application method M1 is real estate opening disc number shaking application, the application scene of the number shaking application method is described as that the number shaking application method supports the opening disc number shaking application scene of a real estate selling room, and the number shaking result interaction method is a webpage interaction method.
In addition, the service operator 302 may further add a number shaking application method numbered M2 to the number shaking platform 201, where the name of the number shaking application method M2 is a double random one-open number shaking application, and the number shaking application method application scenario describes that the number shaking application method supports government law enforcement agencies to perform double random one-open law enforcement number shaking activities, and the number shaking result interaction method is a computer network data interface interaction method.
Thus, the service operator 302 can issue the above number shaking method through the number shaking platform 201. The number shaking host application person 301 may select a required number shaking application method and corresponding random seed information on the number shaking platform 201 according to the number shaking application scene, set a number shaking task corresponding to the number shaking scene through the number shaking platform 201 according to the selected number shaking application method and corresponding random seed information, and generate a number shaking task data file (i.e., number shaking task data information described in the claims) corresponding to the number shaking task.
The rocker office application 301 may be, for example, a real estate sales room opening rocker or a person operating a double random one open event. The number shaking host application person 301 may access the number shaking platform 201 through the network terminal device, so as to query the number shaking application method and the related random seed information issued by the service operator 302, and generate a number shaking task data file (i.e., the number shaking task data information described in the claims) corresponding to the application scenario of the number shaking through the number shaking platform 201.
For example, a real estate opening disc shaking activity organizer at 16.8.2021 may log in to the shaking platform 201, select a shaking application method named as real estate opening disc shaking application with number M1, and select a welfare lottery at 2021094.8.19.3 days later at 2021 as random seed information D1, and set a shaking task at number T1 on the shaking platform 201. The number shaking platform 201 thus generates the number shaking task data files T11.txt and T12.txt corresponding to the number shaking task T1. Among them, the following text information is provided in the rocking number task data file "t 12. txt" (described in the corresponding claim as W2): the list of people to buy rooms participating in shaking is, for example, 199xxxx6308 Liu Shuo, 150xxxx0021 Chenxiang bamboo No. 2, 185xxxx5131 Wangzi No. 3, 177xxxx0997 Zuman, 135xxxx6889 Huang Ziqi, 6 136xxxx0032 Tujixi, 7 138xxxx2491 Li Kunming, 8 180xxxx7085 Zhuyun, 9 131xxxx6056 Dujun Yao, 10 139xxxx1809 Luxi … … (all lists in T12.txt are not listed here because of space limitation of the patent specification), and the total number of the list is 4700 (corresponding to the list L3 obtained by randomly sorting the list of people L1 in W1 and the list of people No. 393525 in the W2 in the claim); the encryption string is 2eed034aac54c5fbf1a1be7004fe2311 (corresponding to the encryption string in W2 in the claims). Among them, the following text information is provided in the shaking number task data file "t 11. txt" (described in the corresponding claim as W1): some developer company some house number shaking sales participation number shaking condition and number shaking rule notice (corresponding to the number shaking activity rule description related to the number shaking activity host in the W1 in the claim); lists of people to buy rooms participating in shaking number such as 139xxxx1809 Luxi, 2 138xxxx6865 Wu Cimeng, 3 188xxxx6818 Chenyuxin, 4 151xxxx2900 Liuhaoyui, 5131 xxxx6056 Du Jun Yao, 6 186xxxx8291 Wan pistil, 7 133xxxx2907 Wang Yundi, 8 135xxxx2735 congratyi, 9 156xxxx0928 Liya, 10 136xxxx4833 Lin Xiao … … (all lists in T11.txt are not listed here because of patent specification space limitation), the total number of lists is 4700 (corresponding to the list L1 of people participating in shaking number in the W1 in the claim); the number of persons in the shake is 1000 (corresponding to the number of persons in the shake in W1 in the claims); the lottery number of the welfare lottery 2021094 as a random seed (corresponding to the third party random seed information generated in the future in the W1 in the claims); the digest string obtained by calculating the random number set by the digest algorithm is 0cad8e6ccaa186061e57ede1d3900f27 (corresponding to the digest string S2 obtained by calculating the random number set by the digest algorithm in the W1 in the claims); the summary character string obtained after the third-party random seed permutation and combination sorting file is calculated by the summary algorithm is a585b7d49c69b2bf0eaf0004f6170879 (corresponding to the summary character string S1 obtained after the third-party random seed permutation and combination sorting file in the W1 in the claims is calculated by the summary algorithm); the summary character string of the rocking task data information "t 12. txt" calculated by the summary algorithm is 6dc2b9cedaafa8f63da0a66876a5b4dc (corresponding to the summary character string S3 of the rocking task data information W2 in the W1 in the claim calculated by the summary algorithm); the number shaking algorithm information is that a decimal arrangement serial number N2 corresponding to lottery numbers is taken from a third-party random seed arrangement combination sorting file corresponding to a summary character string a585b7d49c69b2bf0eaf0004f6170879 (the serial numbers are that all possible lottery combination arrangements of the lottery are arranged from small to large according to decimal system and numbering is started from a serial number 1), then integers corresponding to each subsequent row of numbers are read from a row N2+1 in a random number set corresponding to a summary character string 0cad8e6ccaa186061e57ede1d3900f27 in T11.txt, a total of 1000 integers are obtained (if the row 12759183360 is reached and 1000 integers are not obtained, the integers are continuously read from the row 1 till the 1000 integers are read), then the integers are respectively left for 4700 to obtain a remainder List < M >, then each number is sequentially taken from the List < M > (values are assigned to the List L12. txt, the List is assigned with the number of 12. T12. L, if the L +1 row List is occupied, continuously searching whether the next row List is extracted or not, if the number shaking List which is not extracted is not found at the end of the number shaking List, continuously searching the number shaking List which is not extracted from the first row number shaking List until the number shaking List F which is not extracted is found, setting the number shaking List to be in an extracted state, putting the number shaking List into a number shaking List < F >, and finally taking 1000 number shaking lists in the number shaking List < F > as the number shaking algorithm information in the W1 in the current house property billing.
For another example, an operator of a double random one public platform of a government on 8/17/2021 selects a number M2 named double random one public rock application method on the rock platform 201, and selects 2021094 times welfare lottery double-color ball drawing numbers on 8/19/2021/2 days later as random seed information D2, so as to set a rock task with a number T2 on the rock platform 201. The number shaking platform 201 thus generates the number shaking task data files T21.txt and T22.txt corresponding to the number shaking task T2. Among them, the following text information is provided in the shaking number task data file "t 22. txt" (described in the corresponding claim as W2): the number of people to be checked for random is 700 (corresponding to the L3 obtained by randomly sorting the L3652 list of the W1 and the L1 list of the rocking staff in the W2 in the claim) in total, such as 188xxxx9017 zhou huanan in number 1, 189xxxx2301 in number 2, 188xxxx4271 white and quiet in number 3, 183xxxx9906 qiyuchen in number 4, 186xxxx0527 he/meihui in number 5, 158xxxx9126 horse philosophy in number 6, 138xx 6320 morning joo in number 7, 8xxxx3521 zhang in number 9, 183xxxx9077 st in number 10, 189xxxx6167 ui element … … in number 7 (because of the limitation of the patent specification, all lists in t22. txt) are not listed here); the encryption string is 733a3f336acd6fe153b9045106bfd4c3 (corresponding to the encryption string in W2 in the claims). Among them, the following text information is provided in the shaking number task data file "t 21. txt" (said W1 in the corresponding claims): a government entity carries out food safety spot check on individual households in the jurisdiction (corresponding to the number shaking event rule specification related to the number shaking event host in W1 in the claim); the number of the lists to be checked participating in shaking is 700 (corresponding to the list of persons participating in shaking L1 in the claim W1), such as No. 1 No. 153xxxx1404 Korean Menu, No. 2 No. 189xxxx5089 Yangyuan, No. 3 No. 153xxxx9935 Songchen, No. 4 No. 185xxxx7352 Lishufangfin, No. 5 No. 188xxxx5587 Hanyun cellol, No. 6 No. 136xxxx7921 Yawei, No. 7 No. 185xxxx5862 Yang Xinsi, No. 8 No. 185xxxx5643 Weekingjis, No. 9 No. 158xxxx9126 Maryuzhen, No. 10 131xxxx3985 Li … … (all lists in T21.txt are not listed here due to the limitation of patent specification); the number of persons in the shake is 50 (corresponding to the number of persons in the shake in W1 in the claims); the lottery number of the welfare lottery 2021094 as a random seed (corresponding to the third party random seed information generated in the future in the W1 in the claims); the digest string obtained by calculating the random number set by the digest algorithm is 0cad8e6ccaa186061e57ede1d3900f27 (corresponding to the digest string S2 obtained by calculating the random number set by the digest algorithm in the W1 in the claims); the summary character string obtained after the third-party random seed permutation and combination sorting file is calculated by the summary algorithm is a585b7d49c69b2bf0eaf0004f6170879 (corresponding to the summary character string S1 obtained after the third-party random seed permutation and combination sorting file in the W1 in the claims is calculated by the summary algorithm); the summary character string obtained after the number shaking task data information "t 22. txt" is calculated by the summarization algorithm is 9a4ad13aeeb7fe96be50c5ca79e05a01 (corresponding to the summary character string S3 obtained after the number shaking task data information W2 in the W1 in the claim is calculated by the summarization algorithm); the number shaking algorithm information is that a decimal arrangement serial number N2 corresponding to lottery numbers is taken from a third-party random seed arrangement combination sorting file corresponding to a summary character string a585b7d49c69b2bf0eaf0004f6170879 (the serial numbers are that all possible lottery combination arrangements of the lottery are arranged from small to large according to decimal system and numbering is started from a serial number 1), then integers corresponding to each subsequent row of numbers are read from a row N2+1 in a random number set corresponding to a summary character string 0cad8e6ccaa186061e57ede1d3900f27 in T21.txt, 50 integers are obtained in total (if 50 integers are not obtained when the row 12759183360 is reached, the integers are continuously read from the row 1 till the 50 integers are read), then the integers are respectively left for 700 to obtain a remainder List List < M >, then each number is sequentially taken from the List < M > List (numerical values are assigned to the L of the txt table < 22 > List for value assignment, if the L +1 row List is occupied, continuously searching whether the next row List is extracted or not, if the number shaking List which is not extracted is not found at the end of the number shaking List, continuously searching the number shaking List which is not extracted from the first row number shaking List until the number shaking List F which is not extracted is found, setting the number shaking List to be in an extracted state and putting the number shaking List into a shaking List < F >, and finally taking 50 number shaking lists in the shaking List < F > as the double random one-public checking person List (corresponding to the number shaking algorithm information in the W1 in the claim).
The digest algorithms designed in the process of generating the files "t 11. txt", "t 12. txt", "t 21. txt" and "t 22. txt" by the shaking platform 201 are MD5 algorithm (a widely used cryptographic hash function).
The digest character string a585b7d49c69b2bf0eaf0004f6170879 corresponds to the third party random seed permutation and combination ordering file (the digest character string S1 obtained by calculating the third party random seed permutation and combination ordering file in the W1 by the digest algorithm in the corresponding claim) can be arranged and combined by the computer according to the chinese welfare lottery double-color ball winning rule and numbered from small to large according to the decimal numeric value of the permutation and combination (for example, the permutation and combination 01020304050601 is numbered 1, the permutation and combination 01020304050602 is numbered 2, the permutation and combination 01020304050603 is numbered 3 … …, the permutation and combination 01020304050701 is numbered 17 58 33323130292816, the permutation and combination is numbered 12759183360, because the patent specification is limited, all the permutation and combinations and corresponding numbers thereof are not listed here), then all the permutation and combinations and numbers are written into the electronic file, and finally, the digest character string a585b7d49c69b2bf 0f 70879 is obtained by calculating the MD5 digest algorithm.
The method for making the random number set corresponding to the digest character string obtained by calculating the random number set by the digest algorithm being 0cad8e6ccaa186061e57ede1d3900f27 (corresponding to the digest character string S2 obtained by calculating the random number set by the digest algorithm in the W1 in the claims) comprises: adopting a nextLong method of a SecureRandom tool class in a JAVA Development Kit (JDK) to generate 12759183360 random numbers, starting from the number 1 and ending at the number 12759183360 according to the generation sequence of each random number; then, the 12759183360 random numbers and the corresponding numbers are sorted from small to large according to the decimal numerical value of the random numbers; then writing the numbers corresponding to the random numbers which are ordered from small to large according to the decimal system into a random number set electronic file one by one according to the ordered sequence; and finally, carrying out MD5 abstract algorithm calculation on the electronic file to obtain the character string.
The encrypted string 2eed034aac54c5fbf1a1be7004fe2311 in the t12.txt and the encrypted string 733a3f336acd6fe153b9045106bfd4c3 in the t22.txt are strings calculated by the serial number platform 201 through the MD5 algorithm (the random number is not related to the serial number task data). Therefore, the third party random seed generation organization personnel and the personnel involved in the shaking number can not deduce a random number set list L3 in the T12.txt or the T22.txt and a drawn random number set summary character string S2 according to the summary character string in the T12.txt or the T22.txt file, the list information in the T11.txt or the T21.txt, and the random number set list information in the T11.txt or the T21. txt.
After the shaking platform 201 generates the "t 11.txt" and the "t 12.txt" for the house property billing and selling shaking activity and the "t 21.txt" and the "t 22.txt" electronic files for the house property billing and selling shaking activity (generating shaking task data information W1 and W2 corresponding to the shaking task in the corresponding claims), wherein the shaking task is used for carrying out the shaking activity in a predetermined scene and generating a shaking result, corresponding to step S301 in fig. 3 of the specification, information summary character strings are respectively generated for the "t 11.txt" and the "t 21.txt" files (generating the information summary character string Z1 corresponding to the shaking task data information by using a preset information summary algorithm according to the shaking task data information W1 in the corresponding claims, corresponding to step S302 in fig. 3 of the specification).
We calculate the summary character string 9b843183f60e9c066d43675dd67a891d321c429e51c52b25792bad4fb5f279ed by using the SM3 summary algorithm to the T11.txt, and calculate the summary character string 6fff88435d1281c85c4f83a3f01ae66511eae6cf88c559d 48196594b9364ac to the T21. txt.
Then the forensic development kit using a hundred degree hyperlink (https:// xupper. ***.com /) at 18/8/2021 (the day before random seed generation) of the shaking platform 201 stores 9B843183f60e9c066d43675dd67a891d321c429e51c52B25792bad4fb5f279ed and 6fff88435d1281c85c4f83a3f01ae66511eae6cf88c559d1B48196594B9364ac onto the block chain respectively, while obtaining a warranty ID B69a61acd2ee05a1e86c616d 4350d4ba9a42dfe0cf2701bf1c47 fbdace 0d and 02af 2 c 583 d4350d4ba9a42dfe0c 47B 31B and a 3B 53B 3B and receiving corresponding summary data record of the summary database record of the summary record string 468B 466B 39B and the summary database record ID NO 8B 48B 8B (the summary record B463B) for generating the summary database record of the summary record ID B463B 8B 468B 303 and the summary record B3878B 3B.
Then, the shake platform 201 sends the electronic file of t11.txt, the digest character string 9B843183f60e9c066d43675dd67a891d321c429e51 e 52 c 25792bad4fb5f279ed, the deposit security ID B69a61acd2ee05a1e86c616d 4350d4ba9a42dfe0cf2701bf1c47bcdafb 0d to the relevant person participating in the house draft shake number through the internet at 18 th 8 th 18 th (the day before the random seed generation) in 2021, and sends the electronic file of t 21.865txt, the digest character string 6fff88435d1281c85c4f83a3f01ae66511eae6cf88c559d1B48196594B93 ac, the deposit security text B829 2B 128f 85 f83a3f 3a 66511 aee 6c 559d1B 38735, the deposit security text B368B and the corresponding shake information of the corresponding to the application of the twin shake book of the document No. 3625B 368B and the random seed generation (the corresponding shake No. 368). At this time, the number shaking platform 201 shall pair the documents of "T12. txt" and "T22. txt" to the relevant persons participating in the number shaking activity. Thus, the third party random seed generator cannot control the lottery outcome by controlling the number of prizes won by the welfare lottery at 8/19/2021094/2021 because the third party random seed generator cannot know the order of actual participation in the lottery list (corresponding to claim L3).
Then number shaking platform 201 in 2021 8 month 19 evening 22: 00 obtains the current day lottery number 25113309282415 as the third party random seed from the official website of the Chinese welfare lottery through the web crawler program. Then the number shaking platform 201 calculates the number shaking result according to the algorithm information in the t11. txt': taking a decimal arrangement serial number 9412039519 corresponding to lottery numbers from a third-party random seed arrangement combination sorting file corresponding to the summary character string a585b7d49c69b2bf0eaf0004f6170879 (the serial numbers are used for arranging all possible lottery combination arrangements in descending order of decimal and numbering from serial number 1), then extracting 1000 integers from 9412039520 lines in a random number set corresponding to the summary character string 0cad8e6ccaa186061e57ede1d3900f27 in T11. txt), then respectively extracting the integers from 4700 to obtain a remainder List List < M >, then sequentially extracting each number from the List < M > List (assigning a numerical value to L) to carry out the following operation, extracting the number List from the L +1 line in the rocking List of T12.txt, if the L +1 line is searched, continuing to extract the next line, and if the L +1 line is not found, continuing to extract the number List from the rocking List of the first line which is not found, until finding the rolling List F which is not extracted, setting the rolling List to be in an extracted state and putting the rolling List into a rolling List List < F >, then taking 1000 rolling lists in the rolling List List < F > as the signing List of the current house property billing rolling (because of patent space limitation, a detailed calculation rolling result process is not listed here), and finally sending the rolling result and the T12. txt' to related personnel participating in the house property open tray sales rolling activity (after the third party random seed which is depended on the rolling task in the corresponding claim is generated, the rolling platform generates the rolling result according to the rolling task data information W1 and W2 and sends the rolling result and the W2 to the application equipment of the related party of the rolling activity, corresponding to the step S305 in the attached figure 3 of the specification). The number shaking platform 201 calculates the number shaking result according to the algorithm information in the t21. txt': taking a decimal arrangement serial number 9412039519 (which is the serial number of all possible lottery combination arrangements of the lottery arranged from small to large in decimal order and numbering from serial number 1) from a third-party random seed arrangement combination sorting file corresponding to the summary character string a585b7d49c69b2bf0eaf0004f6170879, then respectively taking 50 integers from 9412039520 lines in a random number set corresponding to the summary character string 0cad8e6ccaa186061e57ede1d3900f27 in T21.txt, then respectively taking the integers from 700 to obtain a remainder List List < M >, then sequentially taking each number from the List < M > List (assigning a numerical value to L) to carry out the following operation, extracting the List from the L +1 line in the rocking List of T22.txt, if the List L +1 line is searched for the next line, continuing to extract the List from the rocking List of the number of the first line if the List of the last line is not searched, continuing to extract the List of the number from the last line of the List of the third-party random seed arrangement sorting file, until finding the shaking List F which is not extracted, setting the shaking List to be in an extracted state and putting the shaking List into the shaking List List < F >, then 50 shaking lists in the shaking List List < F > are used as the result List of the double random one-public shaking (because of the patent space limitation, the detailed procedure for calculating the shaking result is not listed here), and then sending the number shaking result to a law enforcement officer in the double random one-public activity for law enforcement, and after the law enforcement is finished, sending t22.txt to a related officer participating in the double random one-public number shaking activity (after a third party random seed depending on the number shaking task is generated in the claims, the number shaking platform generates a number shaking result according to number shaking task data information W1 and W2, and sends the number shaking result and W2 to an application device of a related party of the number shaking activity, corresponding to step S305 in fig. 3 of the specification). For the double random one-publication activity, because the 'T22. txt' publication is performed after the law enforcement activity is finished, the law enforcement and casual inspection personnel still cannot know whether the personnel is evacuated after the third party random seed publication, and the confidentiality function of the number shaking result is realized.
In conclusion, the number shaking method provided by the invention has the following effects:
1. the method and the process for storing the verification shaking number in the block chain are disclosed and cannot be tampered, so that the shaking number result is generated, and the problem of low reliability of the shaking number result due to the fact that the shaking number method and the process are not disclosed, easy to tamper, unprofessional and difficult to verify is solved.
2. The number shaking platform 201 and the third-party random seed module for generating the random seeds in the embodiment of the invention are independent of personnel in a number shaking application scene, so that the interest relevance is greatly reduced, and the problem of subjective distrust of a number shaking result by a number shaking activity relevant party 303 is reduced.
3. In the invention, the summary character strings of the number shaking task data are stored and certified in the preset block chain system 202, and the third-party random seed arrangement combination sequencing number file and the random number set file are used, so that the number shaking result generation algorithm principle can be easily understood by personnel and related personnel participating in number shaking in a number shaking application scene, the number shaking result can be automatically and quickly calculated, and the calculated number shaking result and the result generated by the number shaking platform 201 are certified, so that the number shaking result generated by the number shaking application platform is high in reliability.
4. In the invention, only a small amount of data of the data summary character string of the number shaking task is stored and verified to a preset block chain system, and other large amount of data storage and operation are realized in the traditional centralized computing architecture. The method avoids the problems of high cost, low speed and difficult supervision and verification caused by storing and operating all shake number related data and calculation through a block chain system like block chain distributed contract application, and thus the method has more economic practicability.
5. By reordering and encrypting the list actually participating in the calculation of the number shaking algorithm, the randomness of the number shaking result is enhanced (the number of possibility of permutation and combination of the number shaking result is increased). If the calculation is carried out only according to the disclosed list sequence and the disclosed random number set, the number of permutation combinations of the number shaking result cannot exceed the number of permutation combinations of the third-party random seed due to the limitation of the number of random numbers in the random number set. The number of the arranged combinations of the two-color balls of the chinese welfare lottery ticket in the above embodiment is 12759183360. If the list of rocker numbers is not randomly ordered and encrypted, the permutation and combination probability of the rocker result (relative to the fixed list of participating rocker numbers in W1) cannot exceed 12759183360. The invention randomly orders and encrypts the list of the shaking numbers in W2, thereby greatly increasing the number of permutation and combination (exceeding 12759183360) of the final shaking number result (relative to the fixed list of the participating shaking numbers in W1).
6. By encrypting part of data of the number shaking task data and disclosing the encrypted data after the third-party random seeds are generated, the invention enhances the security of the number shaking activity, so that third-party random seed generation personnel can not control the number shaking result by controlling the random seeds.
7. By encrypting part of data (W2 in the claims) of the number shaking task data and disclosing the encrypted part of data at intervals after the third-party random seeds are generated, the invention realizes that after the third-party random seeds are disclosed, personnel participating in number shaking can not calculate the number shaking result by themselves due to lack of part of data, thereby realizing the confidentiality of the number shaking result.
It should be noted that the foregoing embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (4)

1. A number shaking method is used for a number shaking platform and is characterized by comprising the following steps:
generating the number shaking task data information W1 and W2 corresponding to the number shaking task, wherein the number shaking task is used for carrying out number shaking activities in a preset scene and generating a number shaking result;
generating an information abstract character string Z1 corresponding to the serial number shaking task data information by using a preset information abstract algorithm according to the serial number shaking task data information W1;
generating and storing a data chunk for recording the message digest character string Z1 through a preset blockchain system, and receiving identification information B1 for accessing the data chunk from the blockchain system;
sending the information of W1, Z1 and B1 to the application equipment of the number shaking activity related party before the random seed of the third party on which the number shaking task depends is generated;
after the third-party random seeds which are depended by the number shaking task are generated, the number shaking platform generates a number shaking result according to the number shaking task data information W1 and W2 and sends the number shaking result and W2 to application equipment of a number shaking activity related party.
2. The method of claim 1, wherein the number shaking task data information W1 includes a list of people participating in number shaking L1, a number setting of people in number shaking, a summary character string obtained after a random number set is calculated by a summary algorithm S2, a summary character string obtained after a third party random seed permutation and combination sorting file is calculated by a summary algorithm S1, a summary character string obtained after a number shaking task data information W2 is calculated by a summary algorithm S3, a number shaking activity rule specification related to a number shaking activity sponsor, third party random seed information generated in the future, and number shaking algorithm information.
3. The method as claimed in claim 1, wherein the number shaking task data information W2 includes a list L3 obtained by randomly sorting a list L1 of persons participating in number shaking in W1, and an encrypted character string.
4. The method of claim 1, wherein the number shaking platform generates the number shaking result according to the number shaking task data information W1 and W2 by calculating the number shaking result according to the list L3 in W2, the random number set corresponding to the summary character string S2 in W1, the number setting of persons in shaking in W1, the third party random seed permutation and combination ranking file corresponding to the character string S1 in W1, the third party random seed information generated in the future in W1 and the number shaking algorithm information in W1.
CN202110990127.2A 2021-08-26 2021-08-26 Number shaking method Pending CN113781699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110990127.2A CN113781699A (en) 2021-08-26 2021-08-26 Number shaking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110990127.2A CN113781699A (en) 2021-08-26 2021-08-26 Number shaking method

Publications (1)

Publication Number Publication Date
CN113781699A true CN113781699A (en) 2021-12-10

Family

ID=78839694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110990127.2A Pending CN113781699A (en) 2021-08-26 2021-08-26 Number shaking method

Country Status (1)

Country Link
CN (1) CN113781699A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115376239A (en) * 2022-08-23 2022-11-22 北京女娲补天科技信息技术有限公司 Method, device and system for registering and shaking number, computer equipment and storage medium
CN115880829A (en) * 2022-12-30 2023-03-31 唯品会(广州)软件有限公司 Combined drawing method, device and equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115376239A (en) * 2022-08-23 2022-11-22 北京女娲补天科技信息技术有限公司 Method, device and system for registering and shaking number, computer equipment and storage medium
CN115880829A (en) * 2022-12-30 2023-03-31 唯品会(广州)软件有限公司 Combined drawing method, device and equipment and readable storage medium
CN115880829B (en) * 2022-12-30 2024-05-28 唯品会(广州)软件有限公司 Combined lottery method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US11875607B2 (en) Electronic voting system and control method
US11394773B2 (en) Cryptographic currency block chain based voting system
CA2711243C (en) System and method for secure voting
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
CN113781699A (en) Number shaking method
CN111698088B (en) Key alternation method, key alternation device, electronic equipment and medium
CN110602217B (en) Block chain-based alliance management method, device, equipment and storage medium
EP3779756A1 (en) Information processing device, information processing method, and program
CN116432247A (en) Infringement evidence method and device based on blockchain
CN111291394A (en) False information management method, false information management device and storage medium
JP2017023348A (en) Game system, score processing program, management device for game system and score processing method
CN111429643B (en) Method and device for shaking numbers and storage medium
CN111223227B (en) Target user screening method and device
CN108924089B (en) Client device identification method and device and client device
EP3457622A1 (en) Electronic voting system and control method
CN104468549B (en) Client operation request responding method, device and server
CN113422834A (en) Questionnaire research method, questionnaire research device, computer equipment and storage medium
Auerbach et al. Inverse-sybil attacks in automated contact tracing
CN112328882A (en) Information recommendation method and device, terminal equipment and storage medium
CN111202987A (en) Login control method and device for game application
CN110569416A (en) APP control processing method based on data crawling and related product
US20200250913A1 (en) Voting facility for small communities
CN111656328A (en) Information processing apparatus, information processing method, and program
CN111554368B (en) System and method for intercommunication between public health system and medical system
CN112734455B (en) Method, device and equipment for generating prize exchanging result and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication