CN110233852A - Prize drawing data cochain method and its equipment based on block chain - Google Patents

Prize drawing data cochain method and its equipment based on block chain Download PDF

Info

Publication number
CN110233852A
CN110233852A CN201910546986.5A CN201910546986A CN110233852A CN 110233852 A CN110233852 A CN 110233852A CN 201910546986 A CN201910546986 A CN 201910546986A CN 110233852 A CN110233852 A CN 110233852A
Authority
CN
China
Prior art keywords
client
lottery
drawing data
verification
public key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910546986.5A
Other languages
Chinese (zh)
Inventor
杨慧
吉建勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic 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 Beijing Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910546986.5A priority Critical patent/CN110233852A/en
Publication of CN110233852A publication Critical patent/CN110233852A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0225Avoiding frauds
    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses prize drawing data cochain methods and its equipment based on block chain, which comprises block chain node receives the prize drawing data cochain request that the first client is sent;Triggering verifies intelligent contract, and the intelligent contract of the verification verifies the identity of first client, after verification passes through, executes the cochain process of the prize drawing data;Receive the inquiry request of the prize drawing data of the second client;Triggering verifies intelligent contract, and the intelligent contract of the verification verifies the identity of second client;The inquiry cochain request that first client is sent is received, which includes the prize drawing data of the second client public key encryption;Triggering verifies intelligent contract, and the intelligent contract of the verification verifies the identity of first client, and after verification passes through, the prize drawing data of second client public key encryption are executed cochain process.The application can disclose data cochain of drawing a lottery credible.

Description

Block chain-based lottery drawing data chaining method and equipment thereof
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a lottery data chaining method and apparatus based on blockchain.
Background
At present, a block chain technology is based on a decentralized peer-to-peer network, and open source software is used for combining a cryptography principle, time sequence data and a consensus mechanism to ensure the consistency and the persistence of each node in a distributed database, so that information can be immediately verified and traceable, but is difficult to tamper and cannot be shielded, and a set of private, efficient and safe shared value system is created.
The existing lottery platform adopts a centralized database, and stores the lottery times of commodities, lottery time, mobile phones used for lottery of users and other contents; however, the database of the lottery platform has the problems that the data is falsified, the authenticity of the data cannot be guaranteed, the lottery operation platform modifies the lottery times of a certain commodity, and the user bad comment is deleted. Especially for some lottery drawing platforms with small scale, the data security and authenticity of the goods cannot be guaranteed: and the lottery contents of the goods or the services are not real, which can cause misleading to the user and influence the experience of the user.
Therefore, how to store the data of the lottery platform on the blockchain in a reliable manner based on the non-tampering of the blockchain becomes a problem to be solved urgently.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
In order to solve the above problem, the present application provides a block chain-based lottery drawing data chaining method and an apparatus thereof, where the method enables the lottery drawing data to be stored on the block chain, so that the lottery drawing data on the chain can be trusted.
A first aspect of the present application provides a block chain-based lottery data uplink method, the method comprising:
the method comprises the steps that a block chain node receives a lottery drawing data chain winding request sent by a first client, wherein the lottery drawing data chain winding request comprises lottery drawing data encrypted by a public key of the first client;
triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing the cochain process of the lottery drawing data after the verification is passed;
the block chain node receives a query request of the lottery drawing data of a second client;
triggering a verification intelligent contract, wherein the verification intelligent contract verifies the identity of the second client so that the block chain node sends a verification response to the second client after the verification of the verification intelligent contract is passed;
the block chain node receives an uplink inquiry request sent by the first client, wherein the uplink inquiry request comprises lottery data encrypted by the public key of the second client; the second client public key is sent to the first client for the block link node;
and triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
In a possible implementation manner, the second client public key is sent to the first client for the block link node, specifically:
the block chain node receives an inquiry request sent by the first client side, inquires whether the lottery drawing data is checked and the identity of a viewer;
and the block chain node sends a query response to the first client, wherein the query response comprises the public key of the second client.
In one possible embodiment, the lottery data is operation data of the first client on a lottery platform, and includes a lottery purchase number, a lottery winning number, a lottery period number, and a lottery purchase time.
In a possible implementation manner, the first client encrypts the lottery data by using its own public key, specifically:
and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
In one possible embodiment, the lottery data includes associated attributes and non-associated attributes; wherein the attribute values of the lottery data associated attributes are automatically superimposed.
In a second aspect, the present application provides a block chain-based lottery data uplink apparatus, which is a block chain node, and includes a receiving unit and a processing unit; wherein,
the receiving unit is used for receiving a lottery drawing data uplink request sent by a first client, wherein the lottery drawing data uplink request comprises lottery drawing data encrypted by a public key of the first client;
the processing unit is used for triggering a verification intelligent contract, the verification intelligent contract is used for verifying the identity of the first client, and after the verification is passed, a chain winding process of the lottery drawing data is executed;
the receiving unit is used for receiving the lottery drawing data query request of a second client;
the processing unit is used for triggering a verification intelligent contract, and the verification intelligent contract verifies the identity of the second client so that the block chain nodes send verification responses to the second client after the verification of the verification intelligent contract is passed;
the receiving unit is configured to receive an uplink inquiry request sent by the first client, where the uplink inquiry request includes lottery data encrypted by the public key of the second client; the second client public key is sent to the first client for the block link node;
and triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
In a possible implementation, the apparatus further comprises a transmitting unit; the second client public key is sent to the first client for the block link node, and specifically includes:
the receiving unit is used for receiving an inquiry request sent by the first client side and inquiring whether the lottery drawing data is checked and the identity of a viewer;
the sending unit sends a query response to the first client, where the query response includes the public key of the second client.
In one possible embodiment, the lottery data is operation data of the first client on a lottery platform, and includes a lottery purchase number, a lottery winning number, a lottery period number, and a lottery purchase time.
In a possible implementation manner, the first client encrypts the lottery data by using its own public key, specifically:
and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
In one possible embodiment, the lottery data includes associated attributes and non-associated attributes; wherein the attribute values of the lottery data associated attributes are automatically superimposed.
The lottery drawing data can be linked up, so that the lottery drawing data on the chain is credible and is public and transparent; thereby improving the user experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application.
Fig. 1 is a schematic flowchart of a block chain-based lottery data uplink method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a lottery data uplink method based on a block chain according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a block chain-based lottery data uplink apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to more clearly explain the overall concept of the present application, the following detailed description is given by way of example in conjunction with the accompanying drawings.
The terms "first," "second," and the like in the description and in the claims of the present application 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 order of such use may be interchanged under appropriate circumstances such that embodiments of the invention described herein may be practiced in other orders 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.
The block link point and the client referred to in the embodiment of the application may be understood as an abstract machine that responds to an external specific trigger condition and performs state conversion according to a certain rule, and may be a device that can be networked according to application software, such as a mobile phone, a tablet computer, a palm computer, a personal PC, and the like.
As shown in fig. 1, the lottery data uplink method based on the block chain includes steps S101-S106.
S101, a block chain node receives a lottery data chain link request sent by a first client, wherein the lottery data chain link request comprises lottery data encrypted by a public key of the first client.
And S102, triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing the chain winding process of the lottery drawing data after the verification is passed.
S103, the block chain node receives the lottery drawing data query request of the second client.
And S104, triggering a verification intelligent contract, and verifying the identity of the second client by the verification intelligent contract so that the block chain nodes send verification responses to the second client after the verification of the verification intelligent contract is passed.
S105, the block chain node receives an uplink inquiry request sent by the first client, wherein the uplink inquiry request comprises lottery data encrypted by the public key of the second client; and the public key of the second client is sent to the first client for the block link nodes.
And S106, triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
In one example, the public key of the second client is sent to the first client for the block link node, specifically: the block chain node receives an inquiry request sent by the first client side, inquires whether the lottery drawing data is checked and the identity of a viewer; and the block chain node sends a query response to the first client, wherein the query response comprises the public key of the second client.
In one example, the lottery data is operation data of the first client on a lottery platform, and comprises a lottery purchase number, a lottery winning number, a lottery period number and a lottery purchase time.
In one example, the first client encrypts the lottery data with its own public key, specifically: and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
In one example, the lottery data includes associated attributes and non-associated attributes; wherein the attribute values of the lottery data associated attributes are automatically superimposed.
In the above example, the first client is used as an operator of lottery drawing data, and the second client is used as an inquirer of the lottery drawing data; for a specific lottery platform, each user may be an operator of the lottery data, or an inquirer of the lottery data.
The uplink process of the lottery data on the blockchain will be described in detail with reference to fig. 2, which includes S201-S215.
S201, the first client encrypts the lottery operation data by using the public key thereof, wherein the lottery operation data comprises data generated by user operation behaviors of the user on a lottery platform, such as a lottery purchase number, a lottery winning number, a lottery period number, lottery purchase time, an IP address of the user, an account password of the user and the like.
The first client encrypts the lottery data generated by the first client by using the public key of the first client, wherein the encryption may be to encrypt all fields of the lottery data, or to encrypt part fields of the lottery data, such as: only privacy-related content is encrypted; the user may not encrypt the lottery data.
Further, the lottery data includes two kinds of attributes, an associated attribute and a non-associated attribute. For example: the user lottery purchase time belongs to the non-associated attribute, and the lottery time of each user can be stored in the blockchain; for example: the lottery drawing quantity of a certain period of lottery drawing is the associated attribute, the data format of the lottery drawing comprises the lottery drawing quantity, and the attribute values of the lottery drawing quantity can be automatically superposed as long as a user draws a lottery once.
The lottery purchase number refers to a lottery number selected or directly wanted by the user; the drawing period number refers to the number of drawing periods for drawing. The scene of the lottery, for example: the lottery drawing activity of a market, the lottery drawing promotion activity of a certain commodity merchant and the like.
S202, the first client sends a lottery drawing data uplink request to the block chain node.
And S203, triggering a verification intelligent contract on the block chain, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data after the verification is passed.
The checking means that whether the first client is a user of the lottery platform is judged, and only the user of the lottery platform can have permission to uplink the lottery data.
It should be noted that the uplink process is a conventional process in the art and will not be described in detail. For example: and under the workload certification PoW common mode, packaging and verifying the data, wherein the block link point of the account right can place the packaged block in the next block of the current block as a new block uplink.
S204, the block link node sends a link up response to the first ue.
And S205, the second client sends a query request to the blockchain node, wherein the query request is used for querying the lottery drawing data of the first client.
At this time, the user corresponding to the second client may query the lottery drawing data after seeing the lottery drawing data. In the application, the first client and the second client are both terminal devices provided with decentralized application software, and can directly perform information interaction with the blockchain nodes on the blockchain.
And S206, triggering a check intelligent contract on the block chain, wherein the check intelligent contract checks the identity of the second client and checks whether the second client is a user of the lottery platform.
After the verification is passed, executing the next flow; the check fails and the process terminates.
S207, the block node sends a check response to the second client.
And S208, the first client sends a query request to the blockchain node, the query request queries whether the lottery data is checked, and if the lottery data is checked, the public key of the viewer is obtained.
S209, the block node sends a query response to the first client, where the query response includes the public key of the second client.
S210, the first client sends an uplink inquiry request to the blockchain node, wherein the uplink inquiry request comprises lottery data encrypted by a public key of the second client.
And S211, triggering a verification intelligent contract on the block chain, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
S212, the block node sends a search uplink response to the first ue.
And S213, the second client sends a lottery drawing data query request to the blockchain node.
And S214, the block chain node sends a lottery drawing data response to the second client, wherein the lottery drawing data response comprises the lottery drawing data encrypted by the public key of the second client.
S215, the second client decrypts the lottery drawing data encrypted by the public key of the second client by using the private key of the second client to obtain the lottery drawing data.
According to the method and the device, lottery drawing data can be linked up, the link up process is public and transparent, and any user of the same lottery drawing platform can check the lottery drawing data; the authenticity of the lottery drawing data is ensured. In addition, the user can encrypt or not encrypt the lottery drawing data according to the preference of the user, and the user experience is improved.
It should be noted that, in the application, the client directly performs information interaction with the nodes of the blockchain, and the blockchain nodes directly store the information on the blockchain without a centralized server, so that the lottery drawing data is more open and credible; rather than the existing client interacting with a centralized server.
As shown in fig. 3, the apparatus for uplink data lottery based on blockchain, which is a blockchain node, includes a receiving unit and a processing unit.
The receiving unit is used for receiving a lottery drawing data uplink request sent by a first client, wherein the lottery drawing data uplink request comprises lottery drawing data encrypted by a public key of the first client;
the processing unit is used for triggering a verification intelligent contract, the verification intelligent contract is used for verifying the identity of the first client, and after the verification is passed, a chain winding process of the lottery drawing data is executed;
the receiving unit is used for receiving the lottery drawing data query request of a second client;
the processing unit is used for triggering a verification intelligent contract, and the verification intelligent contract verifies the identity of the second client so that the block chain nodes send verification responses to the second client after the verification of the verification intelligent contract is passed;
the receiving unit is configured to receive an uplink inquiry request sent by the first client, where the uplink inquiry request includes lottery data encrypted by the public key of the second client; the second client public key is sent to the first client for the block link node;
and triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
In one example, the apparatus further comprises a transmitting unit; the second client public key is sent to the first client for the block link node, and specifically includes:
the receiving unit is used for receiving an inquiry request sent by the first client side and inquiring whether the lottery drawing data is checked and the identity of a viewer;
the sending unit sends a query response to the first client, where the query response includes the public key of the second client.
In one example, the lottery data is operation data of the first client on a lottery platform, and comprises a lottery purchase number, a lottery winning number, a lottery period number and a lottery purchase time.
In one example, the first client encrypts the lottery data with its own public key, specifically: and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
In one example, the lottery data includes associated attributes and non-associated attributes; wherein the attribute values of the lottery data associated attributes are automatically superimposed.
According to the method and the device, lottery drawing data can be linked up, the link up process is public and transparent, and any user of the same lottery drawing platform can check the lottery drawing data; the authenticity of the lottery drawing data is ensured. In addition, the user can encrypt or not encrypt the lottery drawing data according to the preference of the user, and the user experience is improved.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A lottery data chaining method based on a block chain is characterized by comprising the following steps:
the method comprises the steps that a block chain node receives a lottery drawing data chain winding request sent by a first client, wherein the lottery drawing data chain winding request comprises lottery drawing data encrypted by a public key of the first client;
triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing the cochain process of the lottery drawing data after the verification is passed;
the block chain node receives a query request of the lottery drawing data of a second client;
triggering a verification intelligent contract, wherein the verification intelligent contract verifies the identity of the second client so that the block chain node sends a verification response to the second client after the verification of the verification intelligent contract is passed;
the block chain node receives an uplink inquiry request sent by the first client, wherein the uplink inquiry request comprises lottery data encrypted by the public key of the second client; the second client public key is sent to the first client for the block link node;
and triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
2. The method according to claim 1, wherein the second client public key is sent to the first client for the block link node, specifically:
the block chain node receives an inquiry request sent by the first client side, inquires whether the lottery drawing data is checked and the identity of a viewer;
and the block chain node sends a query response to the first client, wherein the query response comprises the public key of the second client.
3. The method according to claim 1, wherein the lottery data is operation data of a user corresponding to the first client on a lottery platform, and includes a lottery purchase number, a lottery winning number, a lottery period number, and a lottery purchase time.
4. The method according to claim 1, wherein the first client encrypts the lottery data with its own public key, in particular:
and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
5. The method of claim 1 or 3, wherein the lottery data comprises associated attributes and non-associated attributes; wherein,
and automatically superposing attribute values of the associated attributes of the lottery drawing data.
6. The lottery drawing data uplink equipment based on the block chain is characterized in that the equipment is a block chain node and comprises a receiving unit and a processing unit; wherein,
the receiving unit is used for receiving a lottery drawing data uplink request sent by a first client, wherein the lottery drawing data uplink request comprises lottery drawing data encrypted by a public key of the first client;
the processing unit is used for triggering a verification intelligent contract, the verification intelligent contract is used for verifying the identity of the first client, and after the verification is passed, a chain winding process of the lottery drawing data is executed;
the receiving unit is used for receiving the lottery drawing data query request of a second client;
the processing unit is used for triggering a verification intelligent contract, and the verification intelligent contract verifies the identity of the second client so that the block chain nodes send verification responses to the second client after the verification of the verification intelligent contract is passed;
the receiving unit is configured to receive an uplink inquiry request sent by the first client, where the uplink inquiry request includes lottery data encrypted by the public key of the second client; the second client public key is sent to the first client for the block link node;
and triggering a verification intelligent contract, verifying the identity of the first client by the verification intelligent contract, and executing a chain winding process on the lottery drawing data encrypted by the public key of the second client after the verification is passed.
7. The apparatus of claim 6, wherein the apparatus further comprises a transmitting unit; the second client public key is sent to the first client for the block link node, and specifically includes:
the receiving unit is used for receiving an inquiry request sent by the first client side and inquiring whether the lottery drawing data is checked and the identity of a viewer;
the sending unit sends a query response to the first client, where the query response includes the public key of the second client.
8. The apparatus of claim 6, wherein the lottery data is operational data of the first client at a lottery platform including a lottery purchase number, a lottery winning number, a lottery number, and a lottery purchase time.
9. The device according to claim 6, wherein the first client encrypts the lottery data with its own public key, in particular:
and the first client encrypts the lottery drawing data in a preset proportion by using a self public key.
10. The method of claim 6 or 8, wherein the lottery data comprises associated attributes and non-associated attributes; wherein,
and automatically superposing attribute values of the associated attributes of the lottery drawing data.
CN201910546986.5A 2019-06-24 2019-06-24 Prize drawing data cochain method and its equipment based on block chain Pending CN110233852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910546986.5A CN110233852A (en) 2019-06-24 2019-06-24 Prize drawing data cochain method and its equipment based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910546986.5A CN110233852A (en) 2019-06-24 2019-06-24 Prize drawing data cochain method and its equipment based on block chain

Publications (1)

Publication Number Publication Date
CN110233852A true CN110233852A (en) 2019-09-13

Family

ID=67857149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910546986.5A Pending CN110233852A (en) 2019-06-24 2019-06-24 Prize drawing data cochain method and its equipment based on block chain

Country Status (1)

Country Link
CN (1) CN110233852A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063092A (en) * 2019-10-15 2020-04-24 北京海益同展信息科技有限公司 Lottery drawing method and device based on block chain, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111063092A (en) * 2019-10-15 2020-04-24 北京海益同展信息科技有限公司 Lottery drawing method and device based on block chain, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110009356A (en) A kind of business datum cochain method and its system based on block chain
Pal et al. IoT technical challenges and solutions
CN110225032B (en) Business data transaction method and equipment
CN110232286B (en) E-commerce data chaining method and equipment applying intelligent contracts
CN110247923A (en) Number cochain method and its equipment are shaken based on block chain
CN110278270A (en) A kind of polled data cochain method and its equipment based on block chain
CN110247918A (en) Number cochain method and its equipment are shaken applied to block chain
CN110264206A (en) A kind of electric quotient data cochain method and its equipment based on block chain
CN110266699A (en) Prize drawing data cochain method and its equipment applied to block chain
CN110263563A (en) By means of the ad click data cochain method and its equipment of block chain
CN110266696A (en) A kind of evaluation data cochain method and its equipment applied to block chain
CN110263529A (en) Number cochain method and its equipment are shaken using intelligent contract
CN110247921A (en) A kind of polled data cochain method and its equipment for applying intelligent contract
CN110266698A (en) Pass through the Knowledge Sharing data cochain method and its equipment of block chain
CN110263100A (en) Using the shared economic data cochain method and its equipment of intelligent contract
CN110232287A (en) Pass through the shared economic data cochain method and its equipment of block chain
CN110233852A (en) Prize drawing data cochain method and its equipment based on block chain
CN110266691A (en) Credit data cochain method and its equipment based on block chain
CN110266695A (en) Using the lottery data cochain method and its equipment of intelligent contract
CN110263562A (en) A kind of evaluation data cochain method and its equipment based on block chain
CN110245512A (en) Lottery data cochain method and its equipment applied to block chain
CN110213296A (en) It is a kind of that data cochain method and its equipment are thumbed up based on block chain
CN110210975A (en) Data trade method and its equipment on block chain
CN110210861A (en) Data trade method and its equipment on block chain
CN110223065A (en) Business datum method of commerce and its equipment on a kind of chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication