CN111429643B - Method and device for shaking numbers and storage medium - Google Patents

Method and device for shaking numbers and storage medium Download PDF

Info

Publication number
CN111429643B
CN111429643B CN202010192210.0A CN202010192210A CN111429643B CN 111429643 B CN111429643 B CN 111429643B CN 202010192210 A CN202010192210 A CN 202010192210A CN 111429643 B CN111429643 B CN 111429643B
Authority
CN
China
Prior art keywords
information
shaking
number shaking
algorithm
task
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.)
Active
Application number
CN202010192210.0A
Other languages
Chinese (zh)
Other versions
CN111429643A (en
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 CN202010192210.0A priority Critical patent/CN111429643B/en
Publication of CN111429643A publication Critical patent/CN111429643A/en
Application granted granted Critical
Publication of CN111429643B publication Critical patent/CN111429643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G07C15/006Generating random numbers; Lottery apparatus electronically
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device and a storage medium for shaking numbers, wherein the method comprises the following steps: generating the number shaking task data information 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 corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information; generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system; and sending the shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information to application equipment of a shaking activity related party. Through the embodiment, the technical problem that the reliability of the number shaking result is low due to the fact that the random number shaking seeds, the number shaking algorithm and the number shaking device are easily controlled by human interference in the existing number shaking method can be solved.

Description

Number shaking method and device and storage medium
Technical Field
The present application relates to the field of random number generation technologies, and in particular, to a method and an apparatus for generating a signature, and a storage medium.
Background
At present, the number shaking method is used in various application scenes such as number shaking of a house sold by a real estate developer, commodity sales promotion lottery, sports event drawing, license plate number shaking, random product sampling inspection and the like. 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 activity 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 activity 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 prior method of shaking numbers using the block chain technique is to generate the shaking number result by random factors in the block chain. The random factor is easily controlled by the spacious worker in the blockchain or the super node of the blockchain, and the method for generating the shaking number result through the random factor is not easily verified by the interested persons participating in the shaking number, so the reliability of the shaking number result generated by using the method is not high.
Therefore, no effective solution is provided at present for the technical problems that the number shaking random seed, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference, and the number shaking result is low in reliability.
Disclosure of Invention
The embodiment of the disclosure provides a number shaking method, a number shaking device and a storage medium, so as to solve the technical problem that the reliability of the number shaking result is low due to the fact that a random number shaking seed, a number shaking algorithm and a number shaking device are easily controlled by human interference in the existing number shaking method.
In a first aspect, an embodiment of the present disclosure provides a number shaking method for a number shaking platform, including:
generating shaking task data information corresponding to the shaking task, wherein the shaking task is used for carrying out shaking activities in a preset scene and generating a shaking result;
generating an information abstract character string corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system;
and sending the shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information to the application equipment of the shaking activity related party.
In a second aspect, an embodiment of the present disclosure further provides a number shaking method, which is used for an application device of a party related to a number shaking activity, and includes:
receiving shaking task data information corresponding to a shaking task, information summary algorithm information corresponding to an information summary algorithm and identification information of a data block for accessing a block chain system from a remote shaking platform, wherein the shaking task is used for carrying out a shaking activity in a preset scene and generating a shaking result;
generating a first information abstract character string corresponding to the number shaking task data information by using an information abstract algorithm according to the number shaking task data information;
acquiring a second information summary character string corresponding to the shaking number task data information from the block chain system by using the identification information; and matching the first information summary character string with the second information summary character string.
In a third aspect, an embodiment of the present disclosure further provides a storage medium including a stored program. Wherein the method of shaking numbers as described in the above first aspect and the above second aspect is performed by a processor when the program is running.
In a fourth aspect, there is further provided, according to an embodiment of the present disclosure, an apparatus for shaking a number, where the apparatus is used for a number shaking platform, and includes:
the number shaking task data generating module is used for generating number shaking task data information 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;
the information abstract character string generating module is used for generating an information abstract character string corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
the data block identification receiving module is used for generating and storing a data block for recording the information summary character string through a preset block chain system and receiving identification information for accessing the data block from the block chain system;
and the number shaking related data sending module is used for sending the number shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information to the application equipment of the number shaking activity related party.
In a fifth aspect, there is further provided another apparatus for shaking numbers according to an embodiment of the present disclosure, where the apparatus is used for an application device of a party related to a shaking number activity, and the apparatus includes:
the system comprises a shaking number related data receiving module, a remote shaking number platform and a block chain system, wherein the shaking number related data receiving module is used for receiving shaking number task data information corresponding to a shaking number task, information abstract algorithm information corresponding to an information abstract algorithm and identification information of a data block for accessing the block chain system from the remote shaking number platform, and the shaking number task is used for carrying out shaking number activities in a preset scene and generating a shaking number result;
the first message abstract generating module is used for generating a first message abstract character string corresponding to the number shaking task data information by using a message abstract algorithm according to the number shaking task data information;
the second message abstract generating module is used for acquiring a second message abstract character string corresponding to the shaking number task data information from the block chain system by using the identification information;
and the information abstract character string matching module is used for matching the first information abstract character string with the second information abstract character string.
In a sixth aspect, an embodiment of the present disclosure further provides an apparatus for shaking a number, where the apparatus is used for a number shaking platform, and includes:
a first processor;
a first memory coupled to the first processor for providing instructions to the first processor to process the following process steps:
generating the number shaking task data information 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 corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system;
and sending the shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information to the application equipment of the shaking activity related party.
In a seventh aspect, an embodiment of the present disclosure further provides another apparatus for shaking numbers, where the apparatus is used for an application device of a party related to a shaking number activity, and the apparatus includes:
a second processor;
a second memory coupled to the second processor for providing instructions to the second processor to process the following process steps:
receiving shaking task data information corresponding to a shaking task, information summary algorithm information corresponding to an information summary algorithm and identification information of a data block for accessing a block chain system from a remote shaking platform, wherein the shaking task is used for carrying out a shaking activity in a preset scene and generating a shaking result;
generating a first information abstract character string corresponding to the number shaking task data information by using an information abstract algorithm according to the number shaking task data information;
acquiring a second information summary character string corresponding to the shaking number task data information from the block chain system by using the identification information;
and matching the first information summary character string with the second information summary character string.
According to the technical scheme of the embodiment, after the number shaking platform generates the number shaking task data information related to the number shaking task, the number shaking platform generates the information abstract character string corresponding to the number shaking task data information by using a preset information abstract algorithm. The number shaking platform then stores the message digest string in the blockchain system and receives corresponding identification information from the blockchain system. And finally, the number shaking platform sends the number shaking task data information, the information abstract algorithm information corresponding to the information abstract algorithm and the identification information to terminal equipment of a number shaking activity related party.
The relevant party of the number shaking activity can calculate the message digest character string corresponding to the number shaking task data information by using a message digest algorithm, so that the calculated message digest character string is compared with the message digest character string acquired from the block chain system through the identification information. Because the data stored in the block chain system has the characteristic of being not falsifiable, whether the received task data information is falsified or not can be obtained through the character string comparison result, so that the reliability of the number shaking activity is improved, and the technical problem that the reliability of the number shaking result is low because the random seed of the number shaking, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference is solved.
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 for shaking numbers according to embodiment 1 of the present disclosure;
fig. 2 is an application scenario diagram of the method for shaking numbers according to embodiment 1 of the present disclosure;
fig. 3 is a schematic flow chart of a method of shaking numbers according to a first aspect of embodiment 1 of the present disclosure;
fig. 4 is a schematic flow chart of a method of panning according to a second aspect of embodiment 1 of the present disclosure;
fig. 5A and 5B are schematic flow charts of a method of a number shaking activity according to embodiment 1 of the present disclosure;
fig. 6 is a schematic diagram of an apparatus for generating a rocker according to the first aspect of embodiment 2 of the present disclosure;
FIG. 7 is a schematic illustration of an apparatus for generating a rocker according to a second aspect of example 2 of the present disclosure;
fig. 8 is a schematic illustration of an apparatus for generating a rocker according to the first aspect of embodiment 3 of the present disclosure;
fig. 9 is a schematic diagram of an apparatus for shaking numbers according to a second aspect of embodiment 3 of the present disclosure.
Reference numerals are as follows: 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 other sequences than those illustrated or 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.
Example 1
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 publish, in the number rocking platform 201, the number rocking application methods in various application scenarios and the random seed information of the random seed associated with the number rocking application methods. Where the random seed information may be, for example, a time list of lottery drawing numbers generated by the lottery drawing platform. For example, the random seed information may be: "2020007 th", "2020008 th" and "2020009 th".
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 pan application method numbered M2 to the pan platform 201, where the name of the pan application method M2 is treasure-deprived pan application, and the pan application method application scenario describes that the pan application method supports treasure-deprived lottery pan application, and the pan 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 swing host application 301 may be, for example, a real estate sales room drive swing or a robo swing. 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. The number shaking task data file may include, for example, the following information: random seed information associated with the number shaking operation and number shaking method information that generates a number shaking result using the random seed.
For example, a particular real estate opening disc shaking event organizer at 17.1.2020 may log into the shaking platform 201, select a shaking application method named as real estate opening disc shaking application with number M1, and select welfare lottery 2020008 as random seed information D1, and set the shaking task at number T1 on the shaking platform 201. The number shaking platform 201 generates a number shaking task data file "T1. txt" corresponding to the number shaking task T1. The following information is provided in the number shaking task data file "t 1. txt": the house property sales lottery activity description data, the number of house staff to be bought who participate in the lottery is 4700, the number of lottery participants is 1000, the lottery number of welfare lottery in 2020008 period is used as a random seed, and the interactive method of the lottery result is a lottery application platform webpage showing mode.
For another example, the operator of a website scoring treasure-taking activity on 18.1.2020 selects a number M2-named treasure-taking lottery in the number platform 201 and selects the welfare lottery 2020008 as the random seed information D2, thereby setting the number task T2 on the number platform 201. The number shaking platform 201 thus generates a number shaking task data file "T2. txt" corresponding to the number shaking task T2. Wherein the following information is provided in the number shaking task data file t2. txt': the explanation data of the treasure capturing lottery event, the number of the persons participating in treasure capturing lottery shaking is 1000, the number of persons in the lottery is 1, the drawing number of the welfare lottery in 2020008 period is used as a random seed, and the result interaction method of the shaking is a computer network data interface interaction mode interacting through an Http protocol.
Then, the number shaking platform 201 may obtain a random seed from the third party random seed generation platform 203, and perform number shaking using the random seed according to the number shaking task data file, and send the number shaking result to the application device 204 of the number shaking activity related party 303. For example, the number shake platform 201 may retrieve a lottery number from the lottery drawing platform and generate a number shake result based on the lottery number and the real estate drawing number shake task T1 and robo drawing task T2 described above and send to the application device 204 of the number shake activity stakeholder 303.
In the above operating environment, according to the first aspect of the present embodiment, a method for shaking numbers is provided, and the method is implemented by the shaking number platform 201 shown in fig. 2. Fig. 3 is a schematic flow chart of a method for shaking numbers according to an embodiment of the present disclosure, and referring to fig. 3, the method includes:
s301, generating the number shaking task data information 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;
s302, generating an information abstract character string corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
s303, generating and storing a data block for recording the information digest character string by using the preset block chain system 202, and receiving identification information for accessing the data block from the block chain system 202; and
s304, the number shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information are sent to the application device 204 of the number shaking activity correlation party 303.
Specifically, as described above, the number shaking host application personnel 301 may select a desired number shaking application method on the number shaking platform 201 according to the number shaking application scene, and 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 the related number shaking seed information. Thus, the number panning platform 201 generates number panning task data information corresponding to a number panning task for performing a number panning activity in a predetermined scene and generating a number panning result (step S301). Specifically, as described above, the pan platform 201 may generate pan task data information corresponding to the pan task T1 or pan task data information corresponding to the pan task T2, for example.
Then, the number shaking platform 201 generates an information summary character string corresponding to the number shaking task data information by using a preset information summary algorithm according to the number shaking task data information (step S302). The preset message digest algorithm may be a SHA-1 hash algorithm, or other message digest algorithms. For example, the shake platform 201 may generate an information digest string "d 421198680c7a6005670d7a87bdc99d7295a4e3 e" (corresponding to the first information digest string) corresponding to the shake task data file "T1. txt" (corresponding to the first data file) of the shake task T1 using the SHA-1 hashing method. Or the shake platform 201 may generate an information digest string "40 c5541fba53b48d6154e3c361c0fdbf14455d6 c" (corresponding to the first information digest string) corresponding to the shake task data file "T2. txt" (corresponding to the first data file) of the shake task T2 using the SHA-1 hashing method.
Then, referring to fig. 2, the shaking platform 201 may generate and store a data chunk for recording the information digest character string, for example, through the preset blockchain system 202, and receive identification information for accessing the data chunk from the blockchain system 202 (step S303).
The preset blockchain system 202 may be a third-party blockchain system, such as a third-party blockchain system EOS, or an autonomously developed blockchain system, which is not limited herein. The rocker platform 201 may access the tile chain node 2021 of the tile chain system 202, for example, over a network, and send a request to the tile chain node 2021 for storing a record information digest string.
The blockchain node 2021, upon receiving the request, generates a data block for storing the message digest string and broadcasts the data block within the blockchain system 202. The blockchain node 2021 then sends identification information for accessing the data chunk to the rocker platform 201 so that the data chunk can be accessed in the blockchain system 202 according to the identification information.
For example, the pan platform 201 may send a request to the tile link point 2021 for storing an information summary string "d 421198680c7a6005670d7a87bdc99d7295a4e3 e" corresponding to the task data file "t 1. txt", the tile link point 2021 generates a data tile storing the information summary string from the request, and sends identification information for accessing the data tile to the pan platform 201. And the number shaking platform 201 receives the identification information.
Alternatively, the rocker platform 201 may send a request to the chunk link point 2021 for storing the information summary string "40 c5541fba53b48d6154e3c361c0fdbf14455d6 c" corresponding to the task data file "t 2. txt", the chunk link point 2021 generates a data chunk storing the information summary string from the request, and sends identification information for accessing the data chunk to the rocker platform 201. And the number shaking platform 201 receives the identification information.
The shake platform 201 may then send the shake task data information, the information digest algorithm information for recording the information digest algorithm, and the identification information to the application device 204 of the shake activity related party 303 (step S304).
The number shaking activity correlation party 303 can be, for example, a number shaking participant who participates in opening a disc in real estate, or a number shaking participant who participates in bonus point-robbing a treasure shaking. Of course, the party 303 associated with the number shaking activity may also be a notary associated with the number shaking activity. The number shake activity correlation party 303 is thus able to receive the number shake task data information, the information digest algorithm information for recording the information digest algorithm, and the identification information through the application device 204.
As described in the background of the present application, the conventional number shaking method has the technical problem that the number shaking random seed, the number shaking algorithm and the number shaking device are easily controlled by human interference, which results in low reliability of the number shaking result.
In view of this, according to the technical solution of this embodiment, after the number shaking platform 201 generates the number shaking task data information related to the number shaking task, the number shaking platform generates an information summary character string corresponding to the number shaking task data information by using a preset information summary algorithm. The rocker platform 201 then stores the message digest string in the blockchain system 202 and receives corresponding identification information from the blockchain system 202. Finally, the number shaking platform 201 sends the number shaking task data information, the information abstract algorithm information corresponding to the information abstract algorithm and the identification information to the terminal device 204 of the number shaking activity related party 303.
Since the data stored in the blockchain system 202 has the property of being not tampered with, the message digest string stored in the blockchain system 202 can be guaranteed against tampering. The number shaking activity stakeholder 303 may thus verify the number shaking task data information by:
first, the number shaking activity correlation party 303 may calculate an information digest character string corresponding to the received number shaking task data information from the number shaking task data information received from the number shaking platform 201 using an information digest algorithm. Then, the number shaking activity correlation party 303 may obtain the information digest character string stored in the block chain system 202 through the identification information, and compare whether the calculated information digest character string is consistent with the information digest character string obtained through the identification information. Therefore, the number shaking activity correlation party 303 can judge whether the number shaking task data used by the number shaking platform 201 for generating the number shaking result is tampered with according to the comparison result of the information summary character strings.
Therefore, the technical scheme of the embodiment can verify whether the number shaking task data related to the number shaking activity is tampered, so that the reliability of the number shaking activity is improved, and the technical problem that the reliability of the number shaking result is low due to the fact that the number shaking random seed, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference is solved.
Optionally, the method further comprises: executing the number shaking task according to the number shaking task data information and generating a number shaking result; and send the shake result to the application device 204.
In the real estate opening disc shaking activity, the shaking platform 201 obtains the random seed from the third-party random seed generation platform 203, for example, obtains the corresponding shaking task with the number of T1 according to the random seed, then executes the shaking task according to the random seed and the data information of the shaking task corresponding to the shaking task T1, and generates a shaking result. And the number shaking platform 201 sends the number shaking result to the application device 204 of the number shaking activity related party 303, where the application device 204 may be a mobile phone, a computer, a tablet, or other terminal device, and is not particularly limited herein.
For another example, in the above-mentioned point treasure taking activity, the number shaking platform 201 obtains a random seed from the third-party random seed generation platform 203, obtains a corresponding number shaking task with a number of T2 according to the random seed, then executes the number shaking task according to the random seed and number shaking task data information corresponding to the number shaking task T1, and generates a number shaking result. And the shake platform 201 sends the shake result to the application device 204 of the shake activity related party 303.
Accordingly, the number shake activity correlator 303 may receive the number shake results via the application device 204. Further, the number shaking activity correlation party 303 may generate a number shaking result by using the verified and untampered number shaking task data, and then compare the generated number shaking result with the received number shaking result, thereby verifying the number shaking result.
Optionally, the number shaking task data information includes a list of people participating in number shaking, the number of people in the number shaking, number shaking algorithm information related to a number shaking algorithm of the number shaking activity, a random number set for the number shaking algorithm, and random seed information related to a random seed for the number shaking algorithm, and the operation of executing the number shaking task according to the number shaking task data information and generating a number shaking result includes:
(a1) acquiring random seeds generated by a third-party random seed platform, and determining shaking task data information corresponding to the random seeds;
(a2) and obtaining a shaking result by using the shaking application algorithm information according to the list of participating shaking, the preset number in shaking, the preset random number set and the random seed.
For example, the lottery platform 201 may obtain the winning number 01040610112816 at stage 2020008 from the random seed generated by a lottery platform on 19/01/2020. Wherein, the random seed information corresponding to the random seed is the winning number at 2020008 th stage corresponding to a certain lottery drawing platform, and the corresponding number shaking task is matched according to the random seed information: a shaking task T1 and a shaking task T2. The lottery platform 201 may obtain the winning number 01040610112816 of the 2020008 th stage from a lottery drawing platform by means of a crawler script, for example, or may obtain the winning number by other means, which is not limited herein.
Specifically, the title of the title task T1 is a title application method for opening a disc jockey application in real estate, and data information of a corresponding jockey task in the jockey task T1 includes: the participation list is 4700 participation lists of people, the preset shaking amount is 1000 shaking participation lists, the preset random number set is a random number set formed by randomly combining one hundred million different integers, the winning number of the random seed information at 2020008 th stage and shaking application algorithm information corresponding to the shaking task T1, and the obtained random seed is 01040610112816. Then, according to the number list participating in the number shaking, the preset number in the number shaking, the preset random number set and the random seed, the process of calculating the number shaking result of the number shaking task T1 by using the corresponding number shaking application algorithm information is as follows:
the number shaking platform 201 obtains a remainder 10112816 by using the random seed 01040610112816 and an integer 1 hundred million balance, then takes 1000 numbers in the order of a random number set from the 10112816 th bit in a preset random number set (a random number set randomly combined by one hundred million different integers), and then obtains 1000 remainders as first remainders by taking each of the 1000 numbers and 4700 balance, and uses the 1000 first remainders as shaking numbers. If the 1000 first remainders are repeated, the result of adding 1 to the first remainder in the following sequence is used as the shake list. That is, in obtaining 1000 first remainders, the first remainder in the sequence of 3386 is set as the list of 3386 to be shaken, the first remainder in the sequence of 977 is set as the list of 977 to be shaken, and the first remainder in the sequence of 3386 is set as the list of 3387 to be shaken … …, so that 1000 first remainders are processed to obtain the results of 1000 successful house-shaking buying lists required by the number-shaking task T1.
For another example, the title of the number shaking task T2 is a number shaking application method for robo lottery application, and the number shaking task data information corresponding to the number shaking task T2 includes: the number participating list is 1000 participating lists, the preset shaking number is 1 shaking participating list, the preset random number set is a random number set formed by randomly combining one hundred million different integers, the winning number of the random seed information at 2020008 th stage and shaking application party algorithm information corresponding to the shaking task T2, and the random seed is 01040610112816. Then, according to the number list participating in the number shaking, the preset number in the number shaking, the preset random number set and the random seed, the process of calculating the number shaking result of the number shaking task T2 by using the corresponding number shaking application algorithm information is as follows:
the number shaking platform 201 obtains a remainder 10112816 by subtracting the random seed 01040610112816 from an integer of one hundred million, then extracts 1 digit from the 10112816 th digit of 1 hundred million digits in the preset data set, subtracts the extracted digit from 1000, and uses the obtained remainder 386 as a shaking number extraction list.
Thus, number shaking platform 201 may generate number shaking results using random seeds obtained from third party random seed generation platform 203. Because the random seed is generated by the third-party random seed generation platform 203, the generation process of the random seed can be prevented from being artificially interfered, and the reliability of the number shaking activity is further ensured.
Optionally, the number shaking task data information further includes number shaking result interaction method information, and the number shaking result interaction method information is used for indicating an interaction method for sending the number shaking result to the application device 204.
The shake result interaction method information may instruct, for example, the shake platform 201 to send the shake result to the application device 204 through at least one of the following interaction methods: the data may be sent via web page interaction, via a computer network data interface, or via application program interaction, or via other interaction methods, which are not limited herein. The information of the number shaking result interaction method is used for sending the number shaking result to the application device 204 through the number shaking result interaction method.
For example, the number shaking platform 201 may send the number shaking result generated by the number shaking task T1 to the mobile phone of the number shaking activity related party 303 in the form of a short message notification in the application program interaction method according to the number shaking result interaction method information in the number shaking task data file "T1. txt", and the person participating in the number shaking activity 303 receives the corresponding number shaking result through a short message. For another example, the number shaking platform 201 may send the number shaking result generated by the number shaking task T2 to a computer of the number shaking activity related party 303 in a web browser manner according to the number shaking result interaction method information in the number shaking task data file "T2. txt", and the number shaking activity related party 303 receives the corresponding number shaking result by accessing the corresponding web account.
Optionally, generating and storing a data block for recording the message digest character string by the predetermined blockchain system 202, and receiving identification information for accessing the data block from the blockchain system 202, including:
(b1) initiating, by a first node of the blockchain system 202, a transfer transaction associated with the number shaking task;
(b2) generating a data block related to the transfer transaction by using the information summary character string as transaction information related to the transfer transaction through the block chain system 202; and
(b3) the transfer transaction identification associated with the transfer transaction is received from the blockchain system 202 as identification information.
The transfer transaction identifier may be number information generated by the blockchain system 202 through the transfer transaction, or may be identification information in other forms, which is not particularly limited herein.
Specifically, for example, in the real estate opening reel shaking activity described above, the shaking platform 201 initiates a transfer transaction associated with the shaking task T1 through a first node of the blockchain system 202 (e.g., blockchain link point 2021 in fig. 2), and generates a data block related to the transfer transaction through the blockchain system 202 using the information summary character string "d 421198680c7a6005670d7a87bdc99d7295a4e3 e" corresponding to the shaking task data file "T1. txt" as transaction information related to the transfer transaction. The blockchain system 202 then sends the transfer transaction number information "44 c9e9b692dcee05e261b042d81458e4d093a7c0866770323175Fd39acd5 bce" associated with the transfer transaction to the rocker platform 201 via the first node 2021. Thus, the shake platform 201 may receive the transfer transaction number information from the blockchain system 201 as identifying information for accessing the data block.
Further, the blockchain system 202 may be, for example, an EOS blockchain system, so that the number rocking platform 201 may write the information summary string "d 421198680c7a6005670d7a87bd c99d7295a4e3 e" as remark information into the MEMO related to the transfer transaction through the first node 2021, so as to record in the corresponding data block.
For another example, in the treasure drawing application activity described above, the shake platform 201 initiates a transfer transaction associated with the shake task T2 through a first node (e.g., block link point 2021 in fig. 2) of the blockchain system 202, and generates a data block associated with the transfer transaction by using the information summary character string "40 c5541fba53b48d6154e3c361c0fdbf14455d6 c" corresponding to the shake task data file "T2. txt" as transaction information associated with the transfer transaction through the blockchain system 202. The blockchain system 202 then sends the transfer transaction number information "8 b6030f6e9c8d25e6d3685c8e9c433e5aeecb8108aea2b6bb6919ee6d9a96c 13" associated with the transfer transaction to the rocker platform 201 via the first node 2021. Thus, the number shaking platform 201 may receive the transfer transaction number information from the blockchain system 201 as identification information for accessing the data block.
Further, the blockchain system 202 may be, for example, an EOS blockchain system, so that the number shaking platform 201 may write the information summary character string "40 c5541fba53b48d6154e3c361c0fdbf14455d6 c" as remark information into the MEMO related to the transfer transaction through the first node 2021, and thus record in the corresponding data chunk.
Thus, in the above manner, blockchain system 202 may store the message digest string associated with the shake task data file in a manner that generates transfer transaction information. Thus, in this embodiment, the blockchain system 202 does not need to be additionally configured for storage of the message digest character string, but only the message digest character string needs to be stored in the existing manner of storing the transfer transaction information in the blockchain system 202. The operation of the blockchain system 202 is simplified, and the operation cost of storing the above message digest character string in the blockchain system 202 is reduced.
Optionally, the number shaking task data information includes a first data file, where the first data file includes number shaking algorithm information related to a number shaking algorithm of the number shaking activity, and the operation of generating an information digest character string corresponding to the number shaking task data information by using a preset information digest algorithm further includes: and generating a first information abstract character string corresponding to the first data file by using a first information abstract algorithm. And, the operation of generating and storing a data chunk for recording the message digest character string by a preset blockchain system, and receiving identification information for accessing the data chunk from the blockchain system includes: a first data chunk for recording a first message digest string is generated and stored by a blockchain system, and first identification information for accessing the first data chunk is received from the blockchain system.
As described above, the rocker platform 201 can generate a message digest string (i.e., a first message digest string) corresponding to the task data file t1.txt and the task data file t2.txt (i.e., a first data file). The shake platform 201 may then generate and store a data chunk for recording the information digest string through the blockchain system, and receive first identification information (e.g., a transfer transaction number corresponding to the transfer transaction) for accessing the data chunk from the blockchain system 202.
Therefore, the number shaking activity correlation party 303 can verify whether task data information including number shaking algorithm information and the like is tampered or not according to the manner, so that the number shaking process can be verified, and the reliability of the number shaking activity is guaranteed.
Further optionally, the ticker task data information further includes a second data file, wherein the second data file includes a set of random numbers for the ticker algorithm. And the operation of generating the message digest character string corresponding to the shaking number task data information by using a preset message digest algorithm further comprises the following steps: and generating a second information abstract character string corresponding to the second data file by using a second information abstract algorithm. And, the operation of generating and storing a data chunk for recording the message digest character string by a preset blockchain system, and receiving identification information for accessing the data chunk from the blockchain system includes: and generating and storing a second data block for recording a second information summary character string by the blockchain system, and receiving second identification information for accessing the second data block from the blockchain system.
Specifically, in this embodiment, the shaking platform 201 may also store the random number set for the shaking algorithm in the blockchain system 202. For example, the set of random numbers may be a set of random numbers consisting of random integers in the range of 1 to one hundred million. The shake platform 201 may save the random number set to a random num. txt file (i.e., a second data file), generate an information digest string "2 DFBFEB4BEF0532568B44D6C7380F02B12B 81810" (i.e., a second information digest string) corresponding to the file using SHA-1 hashing algorithm, then generate and store a data chunk for recording the information digest string through the chunk chain system 202, and then the shake platform 201 receives a transfer transaction number "171D 19eb565dd582ac3cfc9cf32eabbc1933ee F230e825B7ac9291D958204ed 2" for accessing the data chunk from the chunk chain system 202 as identification information (i.e., second identification information) for accessing the data chunk.
Further, the blockchain system 202 may be, for example, an EOS blockchain system, so that the shaking platform 201 may write the information digest string "2 DFBFEB4BEF0532568B44D6C7380F02B12B 81810" as remark information into the MEMO related to the transfer transaction through the first node 2021, and thus record in the corresponding data block.
Thus, the shake platform 201 sends the random Nums txt file recording the random number set, the transfer transaction number "171 d19eb565dd582ac3cfc9cf32eabbc1933eef230e825b7ac9291d958204ed 2" and the corresponding SHA-1 hashing algorithm to the application device 204 of the shake activity related party 303. Thus, the directions 303 related to the number shaking activities can calculate the corresponding information digest strings according to the randomnums. txt file and the SHA-1 hash algorithm. The number shaking activity stakeholder 303 then obtains the corresponding information digest string from the blockchain system 202 using the transfer transaction number "171 d19eb565dd582ac3cfc9cf32eabbc1933eef230e825b7ac9291d958204e d 2". The activity-related party 303 may then compare the calculated message digest string with the message digest string obtained from the blockchain system 202 to verify that the random number set has been tampered with.
Referring to fig. 4, in addition, according to the method for shaking numbers described in the second aspect of the present embodiment, fig. 4 is a schematic flowchart of a method for shaking numbers provided in another embodiment of the present disclosure, and referring to fig. 4, the method is used for the application device 204 of the activity-related party 303 for shaking numbers, and includes:
further, according to a second aspect of the present embodiment, there is provided a method of shaking numbers, which is implemented by the application device 204 of the shaking number activity correlation party 303 shown in fig. 2. Fig. 4 shows a flow diagram of the method, which, with reference to fig. 4, comprises:
s401, receiving, from the remote number shaking platform 201, number shaking task data information corresponding to a number shaking task, information summarization algorithm information corresponding to an information summarization algorithm, and identification information of a data block for accessing the block chain system 202, wherein the number shaking task is used for performing a number shaking activity in a predetermined scene and generating a number shaking result;
s402, generating a first information abstract character string corresponding to the number shaking task data information by using an information abstract algorithm according to the number shaking task data information;
s403, acquiring a second information summary character string corresponding to the shaking number task data information from the block chain system 202 by using the identification information; and
s404, matching the first information summary character string with the second information summary character string.
Specifically, as described in the first aspect of the present embodiment, the shake platform 201 sends the shake task data information, the information summarization algorithm information for recording the information summarization algorithm, and the identification information to the application device 204 of the party 303 involved in the shake activity.
Thus, the application device 204 of the shake activity correlator 303 may receive shake task data information, information digest algorithm information corresponding to the information digest algorithm, and identification information for accessing data chunks of the chunk chain system 202 from the shake platform 201 (S401). The number shaking activity correlation party 303 may then generate an information digest character string corresponding to the number shaking task data information by using an information digest algorithm according to the number shaking task data information through the application device 204 (S402). The number shaking activity correlator 303 may then acquire the information digest character string corresponding to the number shaking task data information from the blockchain system 202 according to the identification information by using the second node 2022 of the blockchain system 202 through the application device 204 (S403). The number shaking activity correlator 303 may then compare the computationally generated message digest string with the message digest string obtained from the blockchain system 202 via the application device 204. Thereby verifying whether the shaking task data information is tampered.
For example, in the real estate opening panning activity described above, the panning activity correlation party 303 receives, from the remote panning platform 201 through the application device 204, the panning task data file "T1. txt" corresponding to the real estate opening panning task T1, SHA-1 hashing algorithm information corresponding to the information summarization algorithm, and transfer transaction codes for accessing data blocks of the blockchain system 202. The party 303 associated with the code shaking activity then calculates the corresponding message digest string from the code shaking task data file "t 1. txt" using the SHA-1 hashing algorithm through the application device 204. And further, the number shaking activity-side stakeholder 303 obtains the information summary string corresponding to the number shaking task data information of the number shaking task T1 from the blockchain system 202 (such as the blockchain node 2022 in fig. 2) using the transfer transaction code "44 c9e9b692dcee05e261b042d81458e4d093a7c0866770323175Fd39acd5b ce". Then, the number shaking active side related party 303 compares the calculated message digest character string with the message digest character string acquired from the blockchain system through the application device 204, so as to verify whether the number shaking task data file "t 1. txt" acquired from the number shaking platform 201 is tampered.
As another example, in the point-and-treasure activity described above, the application 204 of the party 303 associated with the shaking activity receives from the remote shaking platform 201 the shaking task data file "T2. txt" information corresponding to the point-and-treasure activity shaking task T2, SHA-1 hash algorithm information corresponding to the information digest algorithm, and a transfer transaction code for accessing data blocks of the blockchain system 202. The directions 303 related to the number shaking activities calculate the information summary character string corresponding to the number shaking task data file T2.txt by using SHA-1 hash algorithm. And obtains the message digest string corresponding to the rocker task data file of rocker task T2 from blockchain system 202 using the transfer transaction code. Then, the number shaking active side related party 303 compares the calculated message digest character string with the message digest character string acquired from the blockchain system through the application device 204, so as to verify whether the number shaking task data file t2.txt acquired from the number shaking platform 201 is tampered.
Therefore, in this embodiment, since the blockchain system 202 has the characteristic that the stored data is not tampered with, it can be ensured that the message digest character string stored in the blockchain system 202 is not tampered with. Therefore, the party 303 related to the number shaking activity can verify whether the task data file provided by the number shaking platform 201 is tampered by comparing the calculated information summary character string with the information summary character string acquired from the block chain system 202, so that the reliability of the number shaking activity is improved.
Optionally, in a case that the first message digest character string matches the second message digest character string, the method further includes:
(c1) generating a first number shaking result corresponding to the number shaking task according to the number shaking task data information;
(c2) receiving a second number shaking result corresponding to the number shaking task from the number shaking platform 201; and
(c3) and matching the first shaking result and the second shaking result.
Specifically, in the case that the number shaking activity correlation party 303 verifies that the number shaking task data information is not tampered, the number shaking result (the first number shaking result) can be further generated by the application device 204 through calculation according to the number shaking task data information. The number shake activity correlator 303 may then receive the number shake result (i.e., the second number shake result) corresponding to the number shake task from the number shake platform 201 via the application device 204. The number shaking activity correlation party 303 may then compare the number shaking result generated by the calculation with the number shaking result received from the number shaking platform 201 through the application device 204, thereby verifying whether the number shaking result received from the number shaking platform 201 is not tampered.
For example, the directions 303 related to the number shaking activity may generate a number shaking result corresponding to the number shaking task T1 according to the verified number shaking task data file "T1. txt" through the application device 204. Then, the number shaking activity correlation party 303 compares the number shaking result generated by the calculation with the number shaking result obtained from the number shaking platform 201 through the application device 204, so as to verify whether the number shaking result obtained from the number shaking platform 201 is tampered.
For another example, referring to the embodiment of the point-and-treasure shaking described in embodiment 1, the shaking activity correlation side 303 generates a shaking result corresponding to the shaking task T2 according to the verified shaking data file "T2. txt". The number shaking activity correlation party 203 compares the number shaking result generated by calculation with the number shaking result received from the number shaking platform 201 through the application device 204, so as to verify whether the number shaking result obtained from the number shaking platform 201 is tampered.
Therefore, the credibility of the number shaking result of the number shaking platform 201 can be further verified in such a way, and the credibility of the number shaking activity is further ensured.
In addition, optionally, the number shaking task data information further includes a random number set for a number shaking algorithm, and an operation of generating a first information digest character string corresponding to the number shaking task data information by using an information digest algorithm according to the number shaking task data information further includes: and generating a first information abstract character string corresponding to the shaking task data information by using an information abstract algorithm according to the random number set.
Thus, as described above, the shake platform 201 sends the randomNums. txt file recording the set of random numbers, the transfer transaction number "171 d19eb565dd582ac3cfc9cf32eabbc1933eef230e825b7ac9291d958204ed 2" and the corresponding SHA-1 hashing algorithm to the application device 204 of the shake activity stakeholder 303. Thus, the directions 303 related to the number shaking activities can calculate the corresponding information digest strings according to the randomnums. txt file and the SHA-1 hash algorithm. The number shaking activity stakeholder 303 then obtains the corresponding information digest string from blockchain system 202 using transfer transaction number "171 d19eb565dd582ac3cfc9cf32eabbc1933eef230e825b7ac9291d958204ed 2". The activity-related party 303 may then compare the calculated message digest string with the message digest string obtained from the blockchain system 202 to verify that the random number set has been tampered with.
In summary, by utilizing the characteristic that the data stored in the block chain system 202 is not falsifiable, the technical scheme of this embodiment can verify whether the number shaking task data related to the number shaking activity is falsified, thereby improving the reliability of the number shaking activity, and solving the technical problem that the reliability of the number shaking result is not high because the random number shaking seed, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference.
Further, referring to fig. 1, according to a third aspect of the present embodiment, there is provided a storage medium. The storage medium includes a stored program, wherein the method of shaking the number of any of the above is performed by a processor when the program is run.
The method flow of the number shaking activity according to the present embodiment is described in chronological order with reference to the flow charts shown in fig. 5A and 5B, wherein the steps of the flow described below can be understood with reference to the content described above in the present embodiment:
s501, a service operator 302 controls a number shaking platform 201 to add a number shaking application method and random seed information of random seeds related to the number shaking application method to the number shaking platform 201;
s502, the number shaking platform 201 issues random seed information and a number shaking application method;
s503, the number shaking host application personnel 301 logs in the number shaking platform 201, selects a number shaking application method and random seed information, and inputs related data related to the number shaking application method;
s504, the number shaking platform 201 generates a number shaking task corresponding to the number shaking task and number shaking task data information corresponding to the number shaking task according to the selected random seed information, the number shaking application method and the input related data, and adds a random number set stored by the block chain system 202 into the number shaking task data information;
s505, the number shaking platform 201 generates an information summary character string corresponding to the number shaking task data information according to a preset information summary character string algorithm, and initiates a transfer transaction for storing the information summary character string to a first node of the block chain system 202;
s506, the blockchain system 202 generates a corresponding data block by taking the information summary character string as the related transaction information of the transfer transaction and returns a related transfer transaction code to the number shaking platform 201;
s507, the number shaking platform 201 sends the number shaking task data information, the information abstract character string algorithm and the transfer transaction code to the application equipment 204 of the number shaking activity related party 303;
s508, the number shaking platform 201 obtains random seeds from the third-party random seed generation platform 203;
s509, the number shaking platform 201 matches the corresponding number shaking task according to the random seed information corresponding to the random seed, acquires the corresponding number shaking task data information, and generates a number shaking result according to the acquired random seed and the matched number shaking task;
s510, the number shaking platform 201 sends the number shaking result, number shaking task data information, an information abstract algorithm and a transfer transaction number corresponding to the number shaking result to a number shaking activity correlation party 303;
s511, the number shaking activity correlation party 303 calculates a first information summary character string corresponding to the number shaking task data information by using the received information summary algorithm;
s512, the related participant 303 of the number shaking activity acquires a corresponding second information abstract character string from the blockchain system 202 according to the account transfer transaction number, and compares the first information abstract character string with the second information abstract character string;
and S513, if the information summary character strings are matched and compared, calculating the number shaking result according to the number shaking task data information by the related participant 303 of the number shaking activity, and verifying the number shaking result sent by the number shaking platform 201 according to the calculated number shaking result.
According to the technical scheme of this embodiment, after generating the number shaking task data information related to the number shaking task, the number shaking platform 201 generates an information summary character string corresponding to the number shaking task data information by using a preset information summary algorithm. The rocker platform 201 then stores the message digest string in the blockchain system 202 and receives corresponding identification information from the blockchain system 202. Finally, the number shaking platform 201 sends the number shaking task data information, the information abstract algorithm information corresponding to the information abstract algorithm and the identification information to the terminal device 204 of the number shaking activity related party 303.
The number shaking activity correlation party 303 may calculate an information digest character string corresponding to the number shaking task data information by using an information digest algorithm, so as to compare the calculated information digest character string with the information digest character string acquired from the block chain system 202 through the identification information. Because the data stored in the block chain system 202 has the characteristic of being not falsifiable, whether the received task data information is falsified or not can be obtained through the character string comparison result, so that the reliability of the number shaking activity is improved, and the technical problem that the reliability of the number shaking result is low because the random seed of the number shaking, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference is solved.
In conclusion, the number shaking method provided by the invention has the following effects:
1. the embodiment of the invention adopts the disclosed number shaking method and the disclosed number shaking flow to generate the number shaking result, thereby obviously reducing the problem of low reliability of the number shaking result caused by the fact that the number shaking method and the number shaking flow are not disclosed and are not professional.
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 shaking task data and the random number set data are stored and verified in the preset block chain system 202, so that the shaking result generation principle can be easily understood by personnel and relevant personnel participating in the shaking in a shaking application scene, the shaking result can be automatically calculated, and the calculated shaking result and the result generated by the shaking platform 201 are verified, so that the reliability of the shaking result generated by the shaking application platform is higher.
The storage medium provided by the embodiment of the present application can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
It should be noted that for simplicity of description, the above-mentioned method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently preferred and that no acts or modules are 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 or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to the third aspect, fig. 6 is a schematic diagram of an apparatus 600 for generating a rock number according to an embodiment of the present disclosure, and the apparatus 600 corresponds to the method for generating a rock number according to fig. 3. Referring to fig. 6, the apparatus 600 includes: the number shaking task data generating module 601 is configured to generate number shaking task data information corresponding to a number shaking task, where the number shaking task is used to perform number shaking activities in a predetermined scene and generate a number shaking result; an information abstract character string generating module 602, configured to generate, according to the number shaking task data information, an information abstract character string corresponding to the number shaking task data information by using a preset information abstract algorithm; a data block identifier receiving module 603, configured to generate and store a data block for recording an information summary character string through a preset block chain system 202, and receive identifier information for accessing the data block from the block chain system 202; the shake related data sending module 604 is configured to send shake task data information, information digest algorithm information for recording an information digest algorithm, and identification information to the application device 204 of the shake activity related party 303.
Optionally, the device further comprises a number shaking result generating module, configured to execute a number shaking task according to the number shaking task data information, and generate a number shaking result; and send the shake result to the application device 204.
Optionally, the data block identifier receiving module 603 includes: the transfer transaction initiating submodule is used for initiating a transfer transaction related to the number shaking task through a first node of the blockchain system 202; the data block generation sub-module is used for generating a data block related to the transfer transaction by using the information summary character string as transaction information related to the transfer transaction through the block chain system 202; and the identification information receiving submodule is used for receiving the transfer transaction identification related to the transfer transaction from the blockchain system 202 as identification information.
The number shaking task data information comprises a list of people participating in number shaking, the number of people in the number shaking, number shaking algorithm information related to a number shaking algorithm of the number shaking activity, a random number set used for the number shaking algorithm and random seed information related to random seeds used for the number shaking algorithm. And, the shaking number result generating module comprises: the random seed acquisition sub-module is used for acquiring random seeds generated by a third-party random seed platform and determining the number shaking task data information corresponding to the random seeds; and the number shaking result generation submodule is used for generating a number shaking result by using a number shaking algorithm according to the list of the personnel participating in number shaking, the number of the personnel in number shaking, the random number set and the random seed information in the number shaking task data information.
Optionally, the number shaking task data information further includes number shaking result interaction method information, and the number shaking result interaction method information is used for indicating an interaction method for sending the number shaking result to the application device 204 through the number shaking result interaction method.
Optionally, the number shake task data information includes a first data file, wherein the first data file includes number shake algorithm information related to a number shake algorithm of the number shake activity. The message digest character string generation module 602 further includes: and the first information abstract character string generating submodule is used for generating a first information abstract character string corresponding to the first data file by utilizing a first information abstract algorithm. The data block id receiving module 603 includes a first data block id receiving sub-module, configured to generate and store a first data block for recording a first information digest character string through a blockchain system, and receive first identification information for accessing the first data block from the blockchain system.
Optionally, the number shaking task data information further comprises a second data file, wherein the second data file comprises a set of random numbers for the number shaking algorithm. The message digest character string generation module 602 further includes: and the second information abstract character string generating submodule is used for generating a second information abstract character string corresponding to the second data file by using a second information abstract algorithm. And the data chunk id receiving module 603 includes a second data chunk id receiving sub-module for generating and storing a second data chunk for recording a second information digest character string through the blockchain system, and receiving second identification information for accessing the second data chunk from the blockchain system.
According to the technical scheme of this embodiment, after generating the number shaking task data information related to the number shaking task, the number shaking platform 201 generates an information summary character string corresponding to the number shaking task data information by using a preset information summary algorithm. The rocker platform 201 then stores the message digest string in the blockchain system 202 and receives corresponding identification information from the blockchain system 202. Finally, the number shaking platform 201 sends the number shaking task data information, the information digest algorithm information corresponding to the information digest algorithm, and the identification information to the application device 204 of the number shaking activity related party 303.
The number shaking activity correlation party 303 may calculate an information digest character string corresponding to the number shaking task data information by using an information digest algorithm, so as to compare the calculated information digest character string with the information digest character string acquired from the block chain system 202 through the identification information. Because the data stored in the block chain system 202 has the characteristic of being not falsifiable, whether the received task data information is falsified or not can be obtained through the character string comparison result, so that the reliability of the number shaking activity is improved, and the technical problem that the reliability of the number shaking result is low because the random seed of the number shaking, the number shaking algorithm and the number shaking device in the existing number shaking method are easily controlled by human interference is solved.
The method and the device for shaking numbers provided by the embodiment of the application can realize the processes in the embodiments mentioned in the first aspect, and achieve the same functions and effects, and are not repeated here.
Fig. 7 is a schematic diagram of an apparatus for generating a wobble signal according to another embodiment of the present disclosure, the apparatus 700 corresponding to the method for generating a wobble signal according to fig. 4. Referring to fig. 7, the apparatus 700 includes:
a number shaking related data receiving module 701, configured to receive, from the remote number shaking platform 201, number shaking task data information corresponding to a number shaking task, information summarization algorithm information corresponding to an information summarization algorithm, and identification information for accessing a data block of the block chain system 202, where the number shaking task is used to perform a number shaking activity in a predetermined scene and generate a number shaking result;
a first message digest generation module 702, configured to generate, according to the number shaking task data information, a first message digest character string corresponding to the number shaking task data information by using a message digest algorithm;
a second message digest generation module 703, configured to obtain, by using the identification information, a second message digest character string corresponding to the rocker task data information from the blockchain system 202;
the message digest character string matching module 704 is configured to match the first message digest character string with the second message digest character string.
Optionally, the information summary character string matching module 704 is specifically configured to:
under the condition that the first information abstract character string is matched with the second information abstract character string, generating a first number shaking result corresponding to the number shaking task according to the number shaking task data information;
receiving a second number shaking result corresponding to the number shaking task from the number shaking platform 201;
and matching the first shaking result and the second shaking result.
In an embodiment of the present invention, the application device 204 of the number shaking activity correlation party 303 may receive the number shaking task data information, the information summarization algorithm information corresponding to the information summarization algorithm, and the identification information of the data blocks for accessing the block chain system 202 from the number shaking platform 201. Then, the number shaking activity correlation party 303 may generate an information summary character string corresponding to the number shaking task data information by using an information summary algorithm according to the number shaking task data information through the application device 204. The number shaking activity correlator 303 may then obtain, via the application device 204 and using the second node 2022 of the blockchain system 202, the message digest string corresponding to the number shaking task data information from the blockchain system 202 based on the identification information. The number shaking activity correlator 303 may then compare the computationally generated message digest string with the message digest string obtained from the blockchain system 202 via the application device 204. Thereby verifying whether the shaking task data information is tampered.
The method and the device for shaking numbers provided by the embodiment of the application can realize the processes in the embodiment mentioned in the second aspect, and achieve the same functions and effects, and are not repeated here.
Example 3
Fig. 8 is a schematic diagram of an apparatus for generating a wobble signal according to an embodiment of the disclosure, the apparatus 800 corresponding to the method according to the first aspect of the embodiment 1. Referring to fig. 8, the apparatus 800 includes: a first processor 810; and a first memory 820 coupled to the first processor 810 for providing instructions to the first processor 810 to process the following process steps:
generating the number shaking task data information 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 corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
generating and storing a data block for recording the information summary character string by a preset block chain system 202, and receiving identification information for accessing the data block from the block chain system 202;
and sending the number shaking task data information, the information summarization algorithm information for recording the information summarization algorithm and the identification information to the application device 204 of the number shaking activity correlation party 303.
Optionally, the apparatus 800 further comprises: executing the number shaking task according to the number shaking task data information and generating a number shaking result; and send the shake result to the application device 204.
Optionally, generating and storing a data block for recording the message digest character string by the predetermined blockchain system 202, and receiving identification information for accessing the data block from the blockchain system 202, including:
initiating, by a first node of the blockchain system 202, a transfer transaction associated with the number shaking task;
generating a data block related to the transfer transaction by using the information summary character string as transaction information related to the transfer transaction through the block chain system 202;
the transfer transaction identification associated with the transfer transaction is received from the blockchain system 202 as identification information.
Optionally, the number shaking task data information includes a list of people participating in number shaking, the number of people in the number shaking, number shaking algorithm information related to a number shaking algorithm of the number shaking activity, a random number set for the number shaking algorithm, and random seed information related to a random seed for the number shaking algorithm, and the operation of executing the number shaking task according to the number shaking task data information and generating a number shaking result includes:
acquiring random seeds generated by a third-party random seed platform, and determining shaking task data information corresponding to the random seeds;
and generating a number shaking result by using a number shaking algorithm according to a list of people participating in number shaking, the number of people in the number shaking, a random number set and random seed information in the number shaking task data information.
Optionally, the number shaking task data information further includes number shaking result interaction method information, and the number shaking result interaction method information is used for indicating an interaction method for sending the number shaking result to the application device 204 through the number shaking result interaction method.
Optionally, the number shake task data information includes a first data file, wherein the first data file includes number shake algorithm information related to a number shake algorithm of the number shake activity. And the operation of generating the message digest character string corresponding to the shaking number task data information by using a preset message digest algorithm further comprises the following steps: and generating a first information abstract character string corresponding to the first data file by using a first information abstract algorithm. And generating and storing a data chunk for recording the message digest character string by a preset blockchain system, and receiving identification information for accessing the data chunk from the blockchain system, including: a first data chunk for recording a first message digest string is generated and stored by a blockchain system, and first identification information for accessing the first data chunk is received from the blockchain system.
Optionally, the number shaking task data information further comprises a second data file, wherein the second data file comprises a set of random numbers for the number shaking algorithm. And the operation of generating the message digest character string corresponding to the shaking number task data information by using a preset message digest algorithm further comprises the following steps: and generating a second information abstract character string corresponding to the second data file by using a second information abstract algorithm. And generating and storing a data chunk for recording the message digest character string by a preset blockchain system, and receiving identification information for accessing the data chunk from the blockchain system, including: and generating and storing a second data block for recording a second information summary character string by the blockchain system, and receiving second identification information for accessing the second data block from the blockchain system.
According to the technical scheme of this embodiment, after generating the number shaking task data information related to the number shaking task, the number shaking platform 201 generates an information summary character string corresponding to the number shaking task data information by using a preset information summary algorithm. The rocker platform 201 then stores the message digest string in the blockchain system 202 and receives corresponding identification information from the blockchain system 202. Finally, the number shaking platform 201 sends the number shaking task data information, the information abstract algorithm information corresponding to the information abstract algorithm and the identification information to the terminal device 204 of the number shaking activity related party 303.
The number shaking activity correlation party 303 may calculate an information digest character string corresponding to the number shaking task data information by using an information digest algorithm, so as to compare the calculated information digest character string with the information digest character string acquired from the block chain system 202 through the identification information. Because the data stored in the block chain system 202 has the characteristic of being not tampered, whether the received task data information is tampered can be obtained through the character string comparison result, so that the reliability of the number shaking activity is improved, and the technical problem that the reliability of the number shaking result is low due to the fact that the number shaking random seed, the number shaking algorithm and the number shaking device are easily controlled by human interference in the existing number shaking method is solved.
The method and the device for shaking numbers provided by the embodiment of the application can realize the processes in the embodiments mentioned in the first aspect, and achieve the same functions and effects, which are not repeated here.
Fig. 9 is a schematic diagram of an apparatus for shaking numbers provided in another embodiment of the present disclosure, the apparatus 900 corresponding to the method according to the second aspect of embodiment 1. Referring to fig. 9, the apparatus 900 includes: a second processor 910; and a second memory 920, coupled to the second processor 910, for providing instructions to the second processor 910 to process the following steps:
receiving, from the remote number shaking platform 201, number shaking task data information corresponding to a number shaking task, information summarization algorithm information corresponding to an information summarization algorithm, and identification information for accessing a data block of the block chain system 202, where the number shaking task is used to perform a number shaking activity in a predetermined scene and generate a number shaking result;
generating a first information abstract character string corresponding to the number shaking task data information by using an information abstract algorithm according to the number shaking task data information;
acquiring a second information summary character string corresponding to the shaking task data information from the block chain system 202 by using the identification information;
and matching the first information summary character string with the second information summary character string.
Optionally, in a case that the first message digest character string matches the second message digest character string, the apparatus 900 further includes:
generating a first number shaking result corresponding to the number shaking task according to the number shaking task data information;
receiving a second number shaking result corresponding to the number shaking task from the number shaking platform 201;
and matching the first shaking result and the second shaking result.
In an embodiment of the present invention, the application device 204 of the number shaking activity correlation party 303 may receive the number shaking task data information, the information summarization algorithm information corresponding to the information summarization algorithm, and the identification information of the data blocks for accessing the block chain system 202 from the number shaking platform 201. Then, the number shaking activity correlation party 303 may generate an information summary character string corresponding to the number shaking task data information by using an information summary algorithm according to the number shaking task data information through the application device 204. The number shaking activity correlator 303 may then obtain, via the application device 204 and using the second node 2022 of the blockchain system 202, the message digest string corresponding to the number shaking task data information from the blockchain system 202 based on the identification information. The number shaking activity correlator 303 may then compare the computationally generated message digest string with the message digest string obtained from the blockchain system 202 via the application device 204. Thereby verifying whether the shaking task data information is tampered.
The method and the device for number shaking provided by the embodiment of the application can realize the processes in the embodiment mentioned in the second aspect, and achieve the same functions and effects, which are not repeated here.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
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 amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (5)

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 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 corresponding to the number shaking task data information by using a preset information abstract algorithm according to the number shaking task data information;
generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system; and
sending the number shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information to application equipment of a number shaking activity related party, wherein the number shaking task data information, the information abstract algorithm information for recording the information abstract algorithm and the identification information are sent to the application equipment of the number shaking activity related party
The number shaking task data information includes a list of people participating in the number shaking, a number of people in the number shaking, number shaking algorithm information related to a number shaking algorithm for the number shaking activity, a set of random numbers for the number shaking algorithm, and random seed information related to a random seed for the number shaking algorithm, and the method further includes:
acquiring the random seeds generated by a third-party random seed platform, and determining the shaking task data information corresponding to the random seeds;
generating the number shaking result by using the number shaking algorithm according to the list of the personnel participating in number shaking, the number of the personnel in number shaking, the random number set and the random seed information in the number shaking task data information; and
sending the shaking result to the application device, wherein
Generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system, wherein the identification information comprises: initiating, by a first node of the blockchain system, a transfer transaction associated with the shaking task; generating the data block related to the transfer transaction by using the information summary character string as transaction information related to the transfer transaction through the block chain system; and receiving a transfer transaction identification associated with the transfer transaction from the blockchain system as the identification information.
2. The method of claim 1, wherein the number shaking task data information comprises a first data file, wherein the first data file comprises number shaking algorithm information related to a number shaking algorithm of the number shaking activity, and wherein the operation of generating an information digest character string corresponding to the number shaking task data information by using a preset information digest algorithm further comprises: generating a first message digest character string corresponding to the first data file using a first message digest algorithm, and
generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system, including: generating and storing a first data block for recording the first information summary character string by the blockchain system, and receiving first identification information for accessing the first data block from the blockchain system.
3. The method of claim 1, wherein the number shaking task data information further comprises a second data file, wherein the second data file comprises a set of random numbers for a number shaking algorithm, and wherein the operation of generating an information digest string corresponding to the number shaking task data information using a preset information digest algorithm further comprises: generating a second message digest string corresponding to the second data file using a second message digest algorithm, and
generating and storing a data block for recording the information summary character string through a preset block chain system, and receiving identification information for accessing the data block from the block chain system, including: generating and storing a second data block for recording the second information summary character string through the blockchain system, and receiving second identification information for accessing the second data block from the blockchain system.
4. A method for shaking numbers, which is used for an application device of a party related to a shaking number activity, and is characterized by comprising the following steps:
receiving shaking task data information corresponding to a shaking task, information summary algorithm information corresponding to an information summary algorithm and identification information of a data block for accessing a block chain system from a remote shaking platform, wherein the shaking task is used for carrying out a shaking activity in a preset scene and generating a shaking result;
generating a first information abstract character string corresponding to the number shaking task data information by using the information abstract algorithm according to the number shaking task data information;
acquiring a second information summary character string corresponding to the shaking number task data information from the block chain system by using the identification information; and
matching the first message digest string with the second message digest string, wherein
Under the condition that the first message digest character string is matched with the second message digest character string, the method further comprises the following steps:
generating a first number shaking result corresponding to the number shaking task according to the number shaking task data information;
receiving a second number shaking result corresponding to the number shaking task from the number shaking platform; and
matching the first and second shake results, wherein
The number shaking task data information further comprises a random number set used for a number shaking algorithm, and the operation of generating a first information summary character string corresponding to the number shaking task data information by using the information summary algorithm according to the number shaking task data information further comprises: and generating a first information abstract character string corresponding to the shaking task data information by using the information abstract algorithm according to the random number set.
5. A storage medium comprising a stored program, wherein the method of rocker numbering according to any one of claims 1 to 4 is performed by a processor when the program is run.
CN202010192210.0A 2020-03-18 2020-03-18 Method and device for shaking numbers and storage medium Active CN111429643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010192210.0A CN111429643B (en) 2020-03-18 2020-03-18 Method and device for shaking numbers and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010192210.0A CN111429643B (en) 2020-03-18 2020-03-18 Method and device for shaking numbers and storage medium

Publications (2)

Publication Number Publication Date
CN111429643A CN111429643A (en) 2020-07-17
CN111429643B true CN111429643B (en) 2022-07-08

Family

ID=71553568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010192210.0A Active CN111429643B (en) 2020-03-18 2020-03-18 Method and device for shaking numbers and storage medium

Country Status (1)

Country Link
CN (1) CN111429643B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003927A (en) * 2020-08-21 2020-11-27 福州华纳信息科技有限公司 Network virtual number shaking method and system
CN112801713A (en) * 2021-02-18 2021-05-14 浪潮云信息技术股份公司 Anti-cheating lottery drawing method and device for online general lottery drawing activity

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217487A (en) * 2013-05-30 2014-12-17 刘海云 Verifiable computer ranking method
CN106339203A (en) * 2016-08-10 2017-01-18 钱庆照 Random data generation method
CN107862782A (en) * 2017-10-27 2018-03-30 链家网(北京)科技有限公司 Drawing method and device based on ether mill block chain
CN109615759A (en) * 2018-12-06 2019-04-12 西南电子技术研究所(中国电子科技集团公司第十研究所) It is random to take out number number of shaking system
CN109871709A (en) * 2018-12-20 2019-06-11 顺丰科技有限公司 Block chain private data deposits card method, system and storage medium
CN110033546A (en) * 2019-04-20 2019-07-19 刘海云 The computer ranking method that has equal opportunities and can verify that

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111882745B (en) * 2018-10-26 2022-12-20 创新先进技术有限公司 Object selection method and device and electronic equipment
CN110851843A (en) * 2019-10-08 2020-02-28 立旃(上海)科技有限公司 Data management method and device based on block chain
CN110780847B (en) * 2019-10-15 2022-02-25 腾讯科技(深圳)有限公司 Random number generation method, random number generation device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217487A (en) * 2013-05-30 2014-12-17 刘海云 Verifiable computer ranking method
CN106339203A (en) * 2016-08-10 2017-01-18 钱庆照 Random data generation method
CN107862782A (en) * 2017-10-27 2018-03-30 链家网(北京)科技有限公司 Drawing method and device based on ether mill block chain
CN109615759A (en) * 2018-12-06 2019-04-12 西南电子技术研究所(中国电子科技集团公司第十研究所) It is random to take out number number of shaking system
CN109871709A (en) * 2018-12-20 2019-06-11 顺丰科技有限公司 Block chain private data deposits card method, system and storage medium
CN110033546A (en) * 2019-04-20 2019-07-19 刘海云 The computer ranking method that has equal opportunities and can verify that

Also Published As

Publication number Publication date
CN111429643A (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN110825349B (en) Random number generation method, block chain node, system and medium
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
JP6293269B2 (en) Content viewing confirmation apparatus and method
CN110674222B (en) Data sharing method, device, equipment and medium
US11677845B2 (en) Matching and attribution of user device events
CN116432247A (en) Infringement evidence method and device based on blockchain
US20140040414A1 (en) Methods and systems for providing event related information
CN106341381A (en) Method and system of key management for rack server system
CN111429643B (en) Method and device for shaking numbers and storage medium
CN106982377A (en) barrage management method and device
CN110266872B (en) Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium
CN108429918A (en) The method and apparatus of net cast
US20210089673A1 (en) Information processing apparatus, information processing method, and program
CN110266505A (en) A kind of method and apparatus managing session group
CN111314746A (en) Advertisement playing method, device and system
CN110838067A (en) Real estate transaction data processing method, device, server and storage medium
CN111461720A (en) Identity verification method and device based on block chain, storage medium and electronic equipment
CN113781699A (en) Number shaking method
CN108924089B (en) Client device identification method and device and client device
CN109544372B (en) Artificial intelligence-based outpatient chronic disease qualification monitoring method and related device
CN110807209A (en) Data processing method, device and storage medium
CN109224451B (en) Game development method and device based on block chain subchain and storage medium
US9842507B1 (en) Video filming and discovery system
CN112202875B (en) Method and device for safety detection based on block chain node weight and related products

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
GR01 Patent grant
GR01 Patent grant